Japanese version: /ja/doc/rpc/transactions-and-receipts.html
Transaction & Receipt Methods
TL;DR
- Transaction lookups are keyed by
eth_tx_hash. - Receipt lookups can explicitly return
PossiblyPruned/Pruned.
Methods
eth_getTransactionByHash->rpc_eth_get_transaction_by_eth_hasheth_getTransactionReceipt->rpc_eth_get_transaction_receipt_with_status_by_eth_hash
Notes
tx_idis an internal key; useeth_tx_hashfor external integrations.- For internal operations that directly use tx_id, call
rpc_eth_get_transaction_receipt_with_status_by_tx_id. - During migration/corrupt states, methods can return
state unavailable.
Sources
tools/rpc-gateway/src/handlers.tscrates/ic-evm-rpc/src/lib.rs