Skip to main content

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

The block info

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

curl -L -X GET '/v1/chains/:chainID/core/blocklog/blocks/:blockIndex' \
-H 'Accept: application/json'
Request Collapse all
Base URL
Parameters
— pathrequired
— pathrequired
— query
ResponseClear

Click the Send API Request button above and see the response here!