Receipt to Transaction (Experimental)
EXPERIMENTAL_receipt_to_tx request type
Resolve a receipt ID to the transaction hash and signer that produced it. Requires a node with `save_receipt_to_tx` enabled; unindexed receipts return `UNKNOWN_RECEIPT`.
EXPERIMENTAL_receipt_to_tx request type
Resolve a receipt ID to the transaction hash and signer that produced it. Requires a node with `save_receipt_to_tx` enabled; unindexed receipts return `UNKNOWN_RECEIPT`.
Responses from the selected endpoint appear here after you run a request.
Live response output will appear here after you run a request.
This operation accepts a JSON-RPC body over POST to /.
Required request inputs: yes
{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "EXPERIMENTAL_receipt_to_tx",
"params": {
"receipt_id": "FcFKrKQziMPCgYMFiLMZwecBtA7vqxdkatkhc1j3GYj8"
}
}jsonrpc *string2.0id *stringmethod *stringEXPERIMENTAL_receipt_to_txparams *objectblock_heightintegernullableOptional hint: block height near where the receipt was created, to bound the fallback scan.
receipt_id *stringBase58-encoded receipt ID to resolve to its originating transaction.
shard_idintegernullableOptional hint: shard to scan at the hint height; omit to scan all tracked shards.
windowintegernullableOptional hint: ± block-height window scanned around the hint before walking ancestor blocks.
Successful response
jsonrpc *string2.0id *one ofresultobjectsender_account_id *stringNEAR account ID
transaction_hash *stringBase58-encoded hash
errorobjectcodeintegermessagestringdataobject