GETBlockResults

https://rpc-cronospos-mainnet.nodit.io/block_results

Retrieves the execution results at the specified block height. Returns the latest block results if height is omitted.

Query Parameters
heightstring

Target block height.

Responses
jsonrpcstringrequired

JSON-RPC protocol version. Always 2.0.

idintegerrequired

The request ID, echoed back unchanged.

heightstring

Block height.

total_gas_usedstring

Total gas used by all transactions in the block.

txs_resultsobject[]

Execution results of each transaction in the block.

codestring

Result code. 0 means success; any other value is an error.

datastring

Data returned by transaction execution.

logstring

Execution log message.

infostring

Additional information.

gas_wantedstring

Gas limit requested by the transaction.

gas_usedstring

Gas actually used.

eventsobject[]

Events emitted during execution.

typestring

Event type.

attributesobject[]

Event attributes (key-value pairs).

keystring

Attribute key.

valuestring

Attribute value.

indexboolean

Whether the attribute is indexed.

codespacestring

Namespace of the result code.

begin_block_eventsobject[]

Events emitted during BeginBlock.

typestring

Event type.

attributesobject[]

Event attributes (key-value pairs).

keystring

Attribute key.

valuestring

Attribute value.

indexboolean

Whether the attribute is indexed.

end_blockobject[]

Events emitted during EndBlock.

typestring

Event type.

attributesobject[]

Event attributes (key-value pairs).

keystring

Attribute key.

valuestring

Attribute value.

indexboolean

Whether the attribute is indexed.

validator_updatesobject[]

Validator set changes in this block.

pub_keyobject

Validator public key.

typestring

Public key type (for example, tendermint/PubKeyEd25519).

valuestring

Public key value (Base64).

powerstring

Voting power of the validator.

consensus_params_updatesobject

Consensus parameter changes in this block.

blockobject

Block-related consensus parameters.

max_bytesstring

Maximum block size in bytes.

max_gasstring

Maximum gas per block. -1 means unlimited.

time_iota_msstring

Minimum time increment between blocks in milliseconds (legacy field).

evidenceobject

Evidence-related consensus parameters.

max_agestring

Maximum age of evidence, in blocks.

validatorobject

Validator-related consensus parameters.

pub_key_typesstring[]

Public key types validators can use.

X-API-KEY
RequestCU28
cURL
curl -X GET "https://rpc-cronospos-mainnet.nodit.io/block_results?height=1" \
  -H "X-API-KEY: {YOUR_API_KEY}"
Response
Example · 200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "height": "1",
    "total_gas_used": "0",
    "txs_results": [],
    "begin_block_events": [
      {
        "type": "transfer",
        "attributes": [
          {
            "key": "recipient",
            "value": "cosmos1jv65s3grqf6v6jl3dp4t6c9t9rk99cd88lyufl",
            "index": true
          }
        ]
      }
    ],
    "end_block": [],
    "validator_updates": [],
    "consensus_params_updates": {
      "block": {
        "max_bytes": "22020096",
        "max_gas": "-1",
        "time_iota_ms": "1000"
      },
      "evidence": {
        "max_age": "100000"
      },
      "validator": {
        "pub_key_types": [
          "ed25519"
        ]
      }
    }
  }
}