set_chain
Sets the default blockchain for subsequent queries across Etherscan tools, enabling network switching by chain name or chain ID.
Instructions
Set the default blockchain for subsequent queries. Affects all Etherscan tools.
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": {
"chain": "<chain>"
},
"name": "set_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Chain name (e.g., 'ethereum', 'polygon', 'base', 'arbitrum') or chain ID |