ETH balance on Base ($0.001)
eth_balancePAID ($0.001 USDC via x402). The native ETH balance of any address on Base, in wei and ETH. 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>"
},
"name": "eth_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | A 40-hex EVM address (0x…) to read the ETH 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 |
|---|---|---|---|
| eth | Yes | ETH balance as a decimal string (18 dp, trimmed) | |
| wei | Yes | ETH balance in wei (string; may exceed Number range) | |
| asOf | Yes | ISO 8601 read time | |
| address | Yes | The queried address | |
| network | Yes | Chain read (always base) |