Arbitrum One
Arbitrum One
Arbitrum One
Free tier covers personal projects. Pay-as-you-go scales without a card.
eth_getTransactionByHash fetches the full transaction object for a given hash on Arbitrum One, the Optimistic Rollup (chain ID 42161) where gas is paid in ETH and the sequencer issues sub-second soft confirmations before settling to Ethereum L1. Pass a 32-byte transaction hash to https://arbitrum.therpc.io/YOUR_API_KEY and it returns the transaction object for that hash — sender, recipient, value in ETH wei, input data, gas fields, and its block placement — or null if no such transaction is known.
blockNumber is non-null.input field to identify which contract function was called — for example a swap on Uniswap or a deposit on Aave.from address and value (ETH wei) to verify an incoming payment.| # | Name | Type | Required | Description |
|---|---|---|---|---|
| 1 | transactionHash | string (hex) | Yes | The hash of the transaction to retrieve. |
| Type | Description |
|---|---|
| object | null | Transaction object containing: hash, nonce, blockHash, blockNumber, transactionIndex, from, to (null for contract creation), value (hex wei), gas, gasPrice / maxFeePerGas / maxPriorityFeePerGas, input, type, accessList (type-1/2), chainId, v, r, s. Returns null if not found or still pending (blockHa |
Try it live in the Arbitrum One playground.
| Code | Message | Cause |
|---|---|---|
-32602 | Invalid params | Transaction hash is malformed or not 32 bytes. |
eth_getTransactionReceipt and read the status field for the execution outcome.blockHash, blockNumber, and transactionIndex are all null.null outright, so null-check the response before touching any field.Parameters
0x-prefixed 32-byte transaction hash