USDC balance on Base ($0.001)
usdc_balancePAID ($0.001 USDC via x402). The USDC balance of any address on Base (the settlement asset for x402), in atomic units and USDC. Without payment this returns the 402 challenge; the fiatdock-mcp npm package pays automatically. An invalid address returns 400 and is NOT charged; on any RPC failure it returns 5xx and is NOT charged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | A 40-hex EVM address (0x…) to read the USDC balance of | |
| 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 |
|---|---|---|---|
| asOf | Yes | ISO 8601 read time | |
| usdc | Yes | USDC balance as a decimal string (trimmed) | |
| asset | Yes | Token symbol (USDC) | |
| atomic | Yes | USDC balance in atomic units (6 dp; string) | |
| address | Yes | The queried address | |
| network | Yes | Chain read (always base) | |
| contract | Yes | USDC contract address on Base |