How to get started building on Tgrade.
You'll need to create a free All That Node account first!
What is Tgrade?
Osmosis is an advanced AMM protocol built with the Cosmos SDK that will allow developers to design, build, and deploy their own customized AMMs with multiple tokens and parameters.
For more information on Tgrade APIs, please check out the official documentation.
Endpoints
Tgrade is currently only provided as a dedicated node.
Network | API Type | Endpoint |
---|---|---|
Mainnet | REST API (LCD) | https://tgrade-mainnet-rpc.allthatnode.com:1317 --header "x-allthatnode-api-key: 'YOUR-API-KEY'" |
Mainnet | Tendermint RPC | https://tgrade-mainnet-rpc.allthatnode.com:26657/'YOUR-API-KEY' |
Testnet | REST API (LCD) | https://tgrade-testnet-rpc.allthatnode.com:1317 --header "x-allthatnode-api-key: 'YOUR-API-KEY'" |
Testnet | Tendermint RPC | https://tgrade-mainnet-rpc.allthatnode.com:26657/'YOUR-API-KEY' |
*Find 'YOUR-API-KEY' by going to the Dashboard menu (Dashboard > Project Detail Page).
Sample
Request
curl https://tgrade-mainnet-rpc.allthatnode.com:1317/syncing \
--header "x-allthatnode-api-key: 'YOUR-API-KEY'"
curl https://tgrade-mainnet-rpc.allthatnode.com/'YOUR-API-KEY' \
--request POST \
--header "Content-Type: application/json" \
--data '{ "jsonrpc":"2.0", "method":"health","id":1}'
Response
{
"jsonrpc": "2.0",
"result": false,
"id": 1
}
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}