Tx Status
tx_statusConfirm a Base transaction's status by hash: check if it is pending, succeeded, or failed, with from, to, value, block number, and gas used.
Instructions
Look up a Base transaction by hash and report whether it is pending, succeeded, or failed, with from, to, value, block number, and gas used. Use it to confirm a payment or contract call landed. Input: the transaction hash (0x + 64 hex; the 0x is optional).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | Transaction hash, 0x followed by 64 hex characters (the 0x prefix is optional). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| hash | No | ||
| found | No | ||
| status | No | ||
| network | No | ||
| gas_used | No | ||
| value_eth | No | ||
| provenance | No | Where this answer came from. served_at is when Datakoot answered (UTC); upstream lists the official sources consulted. Datakoot may serve a briefly cached copy, so the source's own observation can be older than served_at. | |
| block_number | No |