chain_tx
Look up a transaction by hash to get its success, reverted, or pending status plus block, from/to, value, nonce, gas used, effective gas price, and log count.
Instructions
[Trading Data API] Transaction lookup by hash: status (success/reverted/pending), block, from/to, value, nonce, gas used, effective gas price and log count.
Example: /v1/chain-tx?hash=0x...&chain=base
Use when you need the status and details of a transaction by hash. Not for account-level data (use chain_balance or chain_nonce).
Behavior: read-only. Priced via x402 (USDC on Base) or free with WICKEDAPI_API_KEY; with neither, you get HTTP 402 with the decoded price in payment_required (a price quote, not a failure).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | Required. 0x-prefixed 32-byte transaction hash. | |
| chain | No | Optional. ethereum, base, arbitrum, optimism, polygon (default base). |