v1

latestOpenAPI 3.0.12026-07-177294143.2 KB
corecontracts

Get the block info of a certain block index

get/v1/chains/{chainID}/core/blocklog/blocks/{blockIndex}

Path parameters

chainIDstring string required

ChainID (Bech32)

blockIndexinteger required

BlockIndex (uint32)

Query parameters

blockstring string

Block index or trie root

Response

The block info

blockIndexinteger required
gasBurnedstring string required

The burned gas (uint64 as string)

gasFeeChargedstring string required

The charged gas fee (uint64 as string)

numOffLedgerRequestsinteger required
numSuccessfulRequestsinteger required
previousAliasOutputstring string required
timestampstring date-time required
totalRequestsinteger required

Example response

{
  "blockIndex": 1,
  "numSuccessfulRequests": 1,
  "gasFeeCharged": "gasFeeCharged",
  "previousAliasOutput": "previousAliasOutput",
  "gasBurned": "gasBurned",
  "totalRequests": 1,
  "numOffLedgerRequests": 1,
  "timestamp": "2000-01-23T04:56:07.000+00:00"
}