Get the block info of a certain block index
GET/v1/chains/:chainID/core/blocklog/blocks/:blockIndex
Get the block info of a certain block index
Request
Path Parameters
chainID stringrequired
ChainID (Bech32)
blockIndex int32required
Possible values: >= 1
BlockIndex (uint32)
Query Parameters
block string
Block index or trie root
Responses
- 200
- 401
The block info
- application/json
- Schema
- Example (from schema)
Schema
blockIndex int32required
Possible values: >= 1
gasBurned stringrequired
The burned gas (uint64 as string)
gasFeeCharged stringrequired
The charged gas fee (uint64 as string)
numOffLedgerRequests int32required
Possible values: >= 1
numSuccessfulRequests int32required
Possible values: >= 1
previousAliasOutput stringrequired
timestamp date-timerequired
totalRequests int32required
Possible values: >= 1
{
"blockIndex": 1,
"numSuccessfulRequests": 1,
"gasFeeCharged": "gasFeeCharged",
"previousAliasOutput": "previousAliasOutput",
"gasBurned": "gasBurned",
"totalRequests": 1,
"numOffLedgerRequests": 1,
"timestamp": "2000-01-23T04:56:07.000+00:00"
}
Unauthorized (Wrong permissions, missing token)
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
missingPermission stringrequired
{
"error": "string",
"missingPermission": "string"
}
Loading...