chain_id
$0.001 via x402: EIP-155 chain ID (eth_chainId) for any of 6 chains — confirm which chain an RPC is on before signing. Multi-chain; 6 chains vs OneSource's Ethereum-only (Ethereum-only).
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": "chain_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base|ethereum|optimism|arbitrum|polygon|gnosis (default base) | |
| x_payment | No |