XEM
POST
GET
Last updated on January 1, 1970
1 min read
Method /local/chain/blocks-after undefined ()
connect with REST protocol
/local/chain/blocks-after
Method not allowed
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"
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }