Skip to main content

EXPERIMENTAL_receipt RPC Method

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

Updated on
Oct 4, 2023

EXPERIMENTAL_receipt RPC Method

Parameters

receipt_id
string
The receipt id of the transaction originator

Returns

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
Request
1
curl https://docs-demo.near-mainnet.quiknode.pro/ \
2
--request POST \
3
--header "Content-Type: application/json" \
4
--data '{"jsonrpc": "2.0","method": "EXPERIMENTAL_receipt", "params": ["26ojqLfaArc9qviq3CKiSMyeMCRvL2XE8hETFZFdkaGh"],"id": 1}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free