Skip to main content

latest_block

Get the latest block successfully mined and stored on this Storage node.

Header Parameters
    x-cache-id string

    Possible values: Value must match regular expression ^[a-z0-9]{32}$

    An idempotent key for retrieving cached responses from the node

Responses

Successful operation


Schema
    id string

    The ID of the call, which corresponds to the x-cache-id used in the header

    status string

    The status of the call, which will be one of either "Success", "Error", or "Pending"

    reason string

    The reason for the status of the call. Most useful to debug errors

    route string

    The endpoint route that was called

    content object

    The block itself. The header contains specific info about the block, while the transactions are stored as a separate property.

    block object
    header object
    version number
    bits number
    b_num number

    The block number

    seed_value undefined[]

    The UNiCORN random number value, which is composed of both the UNiCORN witness and seed value for verification. The example array in this documentation is truncated for brevity.

    nonce_and_mining_tx_hash undefined[]
    previous_hash string
    txs_merkle_root_and_hash undefined[]
    transactions undefined[]

    A list of hashes for all transactions in this block

Loading...