Retrieves a receipt using it's ID. (without a status or execution outcome)


Supported on NEAR (mainnet) only.


  • receipt_id- string - The receipt id of the transaction originator


  • predecessor_id- The id of the account that was the previous contract in the chain
  • receipt- The receipt of the transaction
    • Action- The action to be performed on the receiver_id
      • actions- An action built from near-api-js.transactions
        • Transfer- The tokens transferred
          • deposit- The tokens deposited
      • gas_price- Integer of the gasPrice used for each paid gas encoded as a hexadecimal
      • input_data_ids- A vector of input data with the data_ids required for the execution of this receipt
      • output_data_receivers- A vector of output data receivers. It indicates where to send outgoing data. Each DataReceiver consists of data_id and receiver_id for routing
      • signer_id- The account id of the transaction originator
      • signer_public_key- he public key of the signer
  • receipt_id- The receipt id of the transaction originator
  • receiver_id- The account id of the transaction receiver

API Endpoint

The format of a Near API endpoint is

Here is an example:



curl https://open-platform.nodereal.io/{{apiKey}}/near/ \
--request POST \
--header "Content-Type: application/json" \
--data '{"jsonrpc": "2.0","method": "EXPERIMENTAL_receipt", "params": ["26ojqLfaArc9qviq3CKiSMyeMCRvL2XE8hETFZFdkaGh"],"id": 1}'