1s_chain_id
Retrieve the EIP-155 chain ID for Ethereum, Sepolia, or Avalanche as a hex-encoded value to verify the network before signing transactions.
Instructions
Get the EIP-155 chain ID for a network as a hex-encoded value. Use this to verify the network before signing transactions. Use 1s_network_info to get chain ID, block number, and gas price together.
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": "1s_chain_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | Blockchain network: "ethereum" (default), "sepolia", "avax" |