Parameters
- receipt_idstring
The receipt ID to resolve back to its originating transaction
- block_heightinteger
(Optional) The block height near where the receipt was created. Acts as a hint that enables a fallback scan of execution outcomes when the receipt is not found in the receipt-to-transaction column, which is useful for cold-archival queries. Added in nearcore v2.13.0.
- shard_idinteger
(Optional) The shard hint that narrows the fallback scan to a single shard at the hint height. Omitting it enumerates all tracked shards, which is more expensive. Added in nearcore v2.13.0.
- windowinteger
(Optional) The number of block heights (±window) around the hint to scan before the first resolved hop (default 5). It is capped by the node's receipt_to_tx_max_hint_window config (default 20). Added in nearcore v2.13.0.
Returns
- transaction_hashstring
The hash of the originating transaction that produced this receipt
- sender_account_idstring
The account ID of the transaction sender