Home

NEAR RPC API - block method

v1.0.0
Base URL
https://near.nownodes.io

Returns detailed information about a specific block

Authentication

api-keyAuthapiKey

API Key: api-key in header

Block

Blocks

Get block details

POST
https://near.nownodes.io/

Returns information about a specific block. You can specify the block by its hash, height, or finality. Finality options: "optimistic" (latest block) or "final" (block that has been finalized by consensus).

Body

application/json
jsonrpcstring2required

JSON-RPC version specification

idstringrequired

Request identifier for matching responses

methodstringblockrequired

RPC method name

paramsobject | objectrequired

Block identification parameters

Response

200OK

Successful block information response

Authorization

api-keyAuthapiKey in header

Receipt To Tx

EXPERIMENTAL_receipt_to_tx

Map receipt ID to originating transaction (EXPERIMENTAL)

POST
https://near.nownodes.io/

NEAR JSON-RPC call that returns the sender account and transaction hash for a given receipt ID.

Body

application/json

JSON-RPC 2.0 request envelope.

jsonrpcstringrequired

JSON-RPC protocol version. Must be "2.0".

idstring | integerrequired

Client-provided identifier to correlate request and response.

methodstringrequired

JSON-RPC method name.

paramsobjectrequired

Method parameters.

Show child attributes
receipt_idstringrequired

Receipt identifier (base58-encoded) to be resolved to the originating transaction.

Response

200OK

Successful JSON-RPC response containing transaction information.

Authorization

api-keyAuthapiKey in header