Get transaction
get_transactionFetch a transaction and its receipt by hash, optionally decoding input data and event logs with an ABI. Pending transactions return a null receipt.
Instructions
Fetch a transaction and its receipt by hash. With an ABI, the input data and event logs are decoded. If the transaction is still pending, receipt is null. systemTransaction is true for ArbOS-generated bookkeeping transactions (Arbitrum type 106, e.g. startBlock at index 0 of every block), which no user sent and which pay no fee.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | No | Optional ABI used to decode the input data and logs. Either a JSON ABI (array of items, or a single item), or human-readable signatures such as ["function balanceOf(address owner) view returns (uint256)", "event Transfer(address indexed from, address indexed to, uint256 value)"]. | |
| hash | Yes | Transaction hash: 0x followed by 64 hex characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | Yes | gasUsed × effectiveGasPrice. null while pending or if the node reports no effectiveGasPrice. | |
| logs | Yes | ||
| note | No | ||
| value | Yes | ||
| status | Yes | ||
| receipt | Yes | Receipt fields without logs (see logs). Arbitrum fields such as gasUsedForL1 are passed through. | |
| transaction | Yes | Transaction fields. Integers are decimal strings. | |
| decodedInput | Yes | Decoded call data, if an ABI was supplied and contains the called function. | |
| transactionType | Yes | From the raw type field. 0-4 are standard Ethereum types sent by users; 100-106 are Arbitrum types (bridge deposits and messages from the parent chain, retryable redeems, ArbOS internal transactions). | |
| systemTransaction | Yes | True for ArbOS internal transactions (type 106). |