How to get started building on Terra Classic.
You'll need to create a free All That Node account first!
What is Terra Classic?
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 Terra Classic APIs, please check out the official documentation.
Endpoints
Terra Classic is currently only provided as a dedicated node.
Network | API Type | Endpoint |
---|---|---|
Mainnet | REST API (LCD) | --header "x-allthatnode-api-key: 'YOUR-API-KEY'" |
Mainnet | Tendermint RPC | |
Bombay | REST API (LCD) | --header "x-allthatnode-api-key: 'YOUR-API-KEY'" |
Bombay | Tendermint RPC |
*Find 'YOUR-API-KEY' by going to the Dashboard menu (Dashboard > Project Detail Page).
Sample
Request
curl https://terra-mainnet-rpc.allthatnode.com:1317/syncing \
--header "x-allthatnode-api-key: 'YOUR-API-KEY'"
curl https://terra-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": {}
}