Skip to main content

Get block by number

API Deprecation Notice

This API endpoint will be deprecated by the end of Q1 2025 as part of Skynet sunsetting. Please migrate to the Moralis alternative: Get block by hash

GET 

/blocks/:blockNumber

Get block by number

Request

Path Parameters

    blockNumber integerrequired

    Block Number

Responses

OK
Schema

    result

    object

    hash string
    number integer
    parentHash string
    transactions string[]
    nonce integer
    mixHash string
    logsBloom string
    stateRoot string
    transactionsRoot string
    receiptsRoot string
    coinbase string
    difficulty integer
    totalDifficulty integer
    extraData string
    size integer
    gasLimit integer
    gasUsed integer
    baseFeePerGas string
    timestamp integer
Loading...