usdc_amount
USDC amount converter for x402 payments: dollars <-> atomic units (6 decimals) with precision guard, x402 amount strings, the native USDC contract address, EIP-55 checksum and EIP-712 domain per chain (Base, Base Sepolia, Ethereum, Arbitrum, Optimism, Polygon, Avalanche, Solana). Payment settles only after a successful (2xx) response; input errors are never charged. Paid: $0.02 USDC via x402.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "usdc_amount"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base (default) ... or all | |
| amount | No | decimal, e.g. 0.02 | |
| atomic | No | integer, e.g. 20000 | |
| address | No | optional 0x address to checksum |