Requires the Stock Token API add-on on Robinhood Chain mainnet. See additional details below or the full overview.
Parameters
- txHashstringREQUIRED
Transaction hash: 0x followed by 64 hex characters.
Returns
- resultobject
The stock token API result at the reported block.
- txHashstring
Hash of the transaction.
- blockNumberstring
Snapshot block number in hexadecimal. Nested event block numbers are integers.
- blockHashstring
Hash of the snapshot block.
- stagestring
The highest stage reached.
- stagesobject
One boolean per stage, e.g. check
stages.safe.- softboolean
Whether the transaction is included in a canonical Robinhood Chain block.
- postedboolean
Whether its batch is posted to Ethereum.
- safeboolean
Whether the batch posting block is safe on Ethereum.
- finalizedboolean
Whether the batch posting block is finalized on Ethereum.
- batchNumberinteger or null
The batch containing the block.
nullwhileSOFT. May be null when unavailable or not applicable.
- l1Confirmationsinteger
Ethereum blocks on top of the one that carried the batch: about 0–3 at
POSTED, about 32 atSAFE, and it keeps growing.
- l1BatchTxstring or null
The Ethereum transaction that posted the batch (look it up on Etherscan).
nulluntil posted, and occasionally after if the Ethereum lookup can't find it. May be null when unavailable or not applicable.
- estimatedSafeAtinteger or null
When
SAFEis expected (Unix seconds).nullonce reached. May be null when unavailable or not applicable.
- estimatedFinalizedAtinteger or null
When
FINALIZEDis expected (Unix seconds).nullonce reached. May be null when unavailable or not applicable.
- estimatedSecondsToFinalizedinteger or null
The same as a countdown from now; never below 0. May be null when unavailable or not applicable.
- warningsarray
Warning code strings describing partial data or unavailable signals; empty when there are no warnings.
- canonicalBlockHashstring
Present only for REORGED: the canonical hash now at blockNumber.
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"txHash": "0xb1852f6c0f6f6a212973b899f9f81487a28b29218785f5725dd17f272c4e3fce",6"blockNumber": "0x5a06909",7"blockHash": "0x9da6a2547e5ef6cf3b16a85b9c3eee7ec86be2c7e64696ee1ec50a45f9b0ed56",8"stage": "FINALIZED",9"stages": {10"soft": true,11"posted": true,12"safe": true,13"finalized": true14},15"batchNumber": 343433,16"l1Confirmations": 14475,17"l1BatchTx": "0x16b353f0b8de41d8d967c9ecf9f6c7be27b9fe7595e4ed8fc699936d7e7a44d1",18"estimatedSafeAt": null,19"estimatedFinalizedAt": null,20"estimatedSecondsToFinalized": null,21"warnings": []22}23}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"txHash": "0xb1852f6c0f6f6a212973b899f9f81487a28b29218785f5725dd17f272c4e3fce",6"blockNumber": "0x5a06909",7"blockHash": "0x9da6a2547e5ef6cf3b16a85b9c3eee7ec86be2c7e64696ee1ec50a45f9b0ed56",8"stage": "FINALIZED",9"stages": {10"soft": true,11"posted": true,12"safe": true,13"finalized": true14},15"batchNumber": 343433,16"l1Confirmations": 14475,17"l1BatchTx": "0x16b353f0b8de41d8d967c9ecf9f6c7be27b9fe7595e4ed8fc699936d7e7a44d1",18"estimatedSafeAt": null,19"estimatedFinalizedAt": null,20"estimatedSecondsToFinalized": null,21"warnings": []22}23}
Additional details
This method tracks a transaction's progress from sequencer inclusion through Ethereum finalization. Robinhood Chain is an Arbitrum Nitro rollup—the sequencer orders transactions, then posts them to Ethereum in batches.
Finality stages
| Stage | Meaning | Typically reached |
|---|---|---|
SOFT | Included in a Robinhood Chain block. Only the sequencer has committed. | Immediately |
POSTED | Batch posted to Ethereum, but that block can still reorg. | ~40 s |
SAFE | Ethereum block is safe (justified). Reversal requires major Ethereum failure. | ~6–13 min |
FINALIZED | Ethereum block is finalized. Reversing means reversing Ethereum. | ~13–19 min |
REORGED | Rare: block in receipt is no longer canonical. Query again—tx may be re-included. | — |
Choose the finality stage appropriate for your use case. Estimates are not guarantees.
How estimates work
SAFE and FINALIZED advance in steps once per Ethereum epoch (~6.4 minutes), not continuously. The estimate is the next step after the batch lands, based on steps observed over the last 30 minutes. Estimated times may hold still while the countdown falls, then jump to the next epoch if a step is missed.
Warnings
FINALITY_ESTIMATES_UNAVAILABLE— No estimate available right now (stage is still exact)L1_CONFIRMATIONS_UNAVAILABLE— Confirmation count couldn't be read (l1Confirmationsis 0)
Errors
| Code | When |
|---|---|
-32010 | No transaction with that hash on Robinhood Chain mainnet. |
-32602 | txHash is missing or not a valid 32-byte hex hash. |
See the overview for setup, conventions, and all error codes.