Transaction status on Base ($0.001)
tx_statusPAID ($0.001 USDC via x402). Confirmation status of a Base transaction — success/failed, block, confirmations, gas used, from/to. An unconfirmed/unknown tx returns 404 (and is NOT charged), so an agent can poll safely. Without payment this returns the 402 challenge; the fiatdock-mcp npm package pays automatically. On any RPC failure it returns 5xx and is NOT charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | Yes | A 64-hex transaction hash (0x…) on Base | |
| payment | No | Base64 of a single x402 v2 PaymentPayload (EIP-3009 transferWithAuthorization on Base USDC). OMIT it on the first call: the 402 you get back carries `howToPay.payloadTemplate` — the exact envelope to fill in — plus the price and the EIP-712 domain. Send it on the second call to complete the purchase; it is forwarded as the PAYMENT-SIGNATURE header, never as body data. Nothing is charged for the 402 itself, and a call that fails after payment settles nothing. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address (null for a contract-creation tx) | |
| asOf | Yes | ISO 8601 read time | |
| from | Yes | Sender address (null if the node omits it) | |
| status | Yes | success | failed (a pending/unknown tx returns 404, not this shape) | |
| txHash | Yes | The transaction hash queried | |
| gasUsed | Yes | Gas used by the tx (string) | |
| network | Yes | Chain read (always base) | |
| blockNumber | Yes | Block the tx was mined in | |
| confirmations | Yes | Confirmations as of the read (>=1) |