evm_get_chain_id
Retrieves the chain ID for a specified EVM blockchain, helping identify the correct network before sending transactions or interacting with contracts.
Instructions
Get the chain ID for the specified blockchain
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": "evm_get_chain_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes |