NEAR RPC API - block method
v1.0.0https://near.nownodes.ioReturns detailed information about a specific block
Authentication
api-keyAuthapiKeyAPI Key: api-key in header
Block
Blocks
Get block details
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
jsonrpcstring2requiredJSON-RPC version specification
idstringrequiredRequest identifier for matching responses
methodstringblockrequiredRPC method name
paramsobject | objectrequiredBlock identification parameters
Response
Successful block information response
Authorization
api-keyAuthapiKey in headerReceipt To Tx
EXPERIMENTAL_receipt_to_tx
Map receipt ID to originating transaction (EXPERIMENTAL)
NEAR JSON-RPC call that returns the sender account and transaction hash for a given receipt ID.
Body
JSON-RPC 2.0 request envelope.
jsonrpcstringrequiredJSON-RPC protocol version. Must be "2.0".
idstring | integerrequiredClient-provided identifier to correlate request and response.
methodstringrequiredJSON-RPC method name.
paramsobjectrequiredMethod parameters.
Response
Successful JSON-RPC response containing transaction information.
Authorization
api-keyAuthapiKey in header