/local/chain/blocks-after {disallowed} - NEM

Example code for the /local/chain/blocks-after {disallowed} rest method. Сomplete guide on how to use /local/chain/blocks-after {disallowed} rest in GetBlock.io Web3 documentation.

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"
}

Last updated

© 2019-2024 GetBlock LLC. All rights reserved ID: 21835790. Address: Belgrade, Serbia.