Skip to main content

Receipt by ID (Experimental)

EXPERIMENTAL_receipt request type

This endpoint allows you to get a receipt by its ID on the NEAR blockchain.

Network
FastNear API keyNo saved key
Get API key
Endpointhttps://rpc.mainnet.fastnear.com
Authnone detected
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/json

This operation accepts a JSON-RPC body over POST to /.

Required request inputs: yes

{
  "jsonrpc": "2.0",
  "id": "fastnear",
  "method": "EXPERIMENTAL_receipt",
  "params": {
    "receipt_id": "5QtWzoy2VpKZEvUbe9aUjpwnXTqHzv4gehuox8g3DA4y"
  }
}

Request schema

object
requires jsonrpc, id, method, params
jsonrpc *string
2.0
id *string

Example: fastnear

method *string
EXPERIMENTAL_receipt
params *object
requires receipt_id
receipt_id *string

Base58-encoded hash

Response reference

200 application/json

Successful response

Response schema

objectJsonRpcResponse
requires jsonrpc, id
jsonrpc *string
2.0
id *one of
stringnumber
resultobject
requires predecessor_id, receiver_id, receipt_id, receipt
predecessor_id *string

NEAR account ID

priorityinteger

Deprecated, retained for backward compatibility.

Default: 0

receipt *object

One of multiple possible types

receipt_id *string

Base58-encoded hash

receiver_id *string

NEAR account ID

errorobject
codeinteger
messagestring
dataobject