For the complete documentation index, see llms.txt. This page is also available as Markdown.

Canto API

Access to fast, reliable, and secure API endpoints for the Canto ecosystem.

Network
Endpoint

Canto Mainnet

Canto Testnet

EVM RPC

https://rpc.ansybl.io/canto/mainnet/evm_rpc/

Example: get latest block

curl 'https://rpc.ansybl.io/canto/mainnet/evm_rpc/?X-API-KEY=<YOUR_API_KEY>' --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest", false],"id":1}' --header 'Content-Type: application/json'

You can alternatively pass your api key as a header. Example:

curl https://rpc.ansybl.io/canto/mainnet/evm_rpc/ --header "X-API-KEY: <YOUR_API_KEY>" --data '{"jsonrpc": "2.0","method": "eth_getBlockByNumber","params": ["latest", false],"id": 1}' --header 'Content-Type: application/json'

Cosmos REST (1317)

https://rpc.ansybl.io/canto/mainnet/api/

Example: get latest block

curl 'https://rpc.ansybl.io/canto/mainnet/api/cosmos/base/tendermint/v1beta1/blocks/latest?X-API-KEY=<YOUR_API_KEY>' --header 'Content-Type: application/json'

View full endpoint docs https://v1.cosmos.network/rpc/v0.45.1

Tendermint RPC (26657)

https://rpc.ansybl.io/canto/mainnet/rpc/

Example: get latest block

View full endpoint docs https://docs.tendermint.com/v0.34/rpc/

Last updated