Skip to main content

Receipt Lookup

Use this endpoint to fetch a receipt row and the associated transaction when available.

Network
FastNear API keyNo saved key
Get API key
Endpointhttps://tx.main.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 performs POST /v0/receipt with an application/json request body.

Required request inputs: yes

POST /v0/receipt
{
  "receipt_id": "gzqDSvd3ZMcVUWzBMP7j9KMWz89iZMkkEvW9g8QZjUP"
}

Request body schema

objectReceiptInput
requires receipt_id
receipt_id *string

Response reference

200 application/json

Receipt lookup result

Response schema

objectReceiptResponse
requires receipt, transaction
receipt *object
requires receipt_id, block_height, block_timestamp, receipt_index, appear_block_height, appear_receipt_index, transaction_hash, tx_block_height, tx_block_timestamp, tx_index, predecessor_id, receiver_id, receipt_type, priority, shard_id, is_success
appear_block_height *integer
appear_receipt_index *integer
block_height *integer
block_timestamp *string
is_success *boolean
predecessor_id *string
priority *integer
receipt_id *string
receipt_index *integer
receipt_type *string
receiver_id *string
shard_id *integer
transaction_hash *string
tx_block_height *integer
tx_block_timestamp *string
tx_index *integer
transaction *object