How To Access Cronos via Tendermint RPC API

Follow these steps to Access Cronos via Tendermint RPC API:

Step 1: To access the available Tendermint methods, use the native access endpoint with tendermint-rpc at the end:

  • Network: Cronos Mainnet
  • Request Type: POST
https://svc.blockdaemon.com/cronos/mainnet/native/tendermint-rpc

Step 2: You should authorize your request. Learn more: Authentication Guide

Step 3: Specify a Tendermint method in the request body:

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x558153"
}

Example Request

Here is a cURL example for using health to get a node heartbeat for Cronos Mainnet:

curl -X \
POST https://svc.blockdaemon.com/cronos/mainnet/native/tendermint-rpc \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "health", "params": []}'

The following is a typical response you will get:

{
    "jsonrpc": "2.0",
    "id": 0,
    "result": {}
}