New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on January 1, 1970

1 min read

Method /local/chain/blocks-after undefined ()
connect with REST protocol

/local/chain/blocks-after

info-circle-fill

Method not allowed

info-circle-fill

Gets up to 10 blocks after given block height from the chain. If thedatabase contains less than 10 block after the given height, then lessblocks are returned.

Parameters

height -

A BlockHeight JSON object. The block height describes the position of the block within the block chain. The first block of the chain has height one. Each subsequent block has a height which is one higher than the previous block. The following structure is used by the NEM block chain explorer for convenience reason.

Request

curl --location --request POST 'https://xem.getblock.io/local/chain/blocks-after'
 --header 'x-api-key: YOUR-API-KEY'
 --header 'Content-Type: application/json'
 --data-raw '{'height':3943115}'

Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
banner icon

Start Building with GetBlock RPCs for Free