Block by Height
block request type
This endpoint allows you to get a block by its height on the NEAR blockchain.
Live Response
Responses from the selected endpoint appear here after you run a request.
Live response output will appear here after you run a request.
Request reference
application/jsonThis operation accepts a JSON-RPC body over POST to /.
Required request inputs: yes
{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "block",
"params": {
"block_id": 193909529
}
}Request schema
object
requires jsonrpc, id, method, paramsjsonrpc *string2.0id *stringmethod *stringblockparams *objectblock_id *integerBlock height to query
Response reference
200 application/jsonSuccessful response
Response schema
objectJsonRpcResponse
requires jsonrpc, idjsonrpc *string2.0id *one ofstringnumber
resultobjecterrorobjectcodeintegermessagestringdataobject