wallet_get_chain_id
Retrieve the chain ID of the Ethereum or EVM-compatible network connected to your wallet, ensuring accurate blockchain interactions and transaction processing.
Instructions
Get the chain ID the wallet is connected to
Input Schema
Name | Required | Description | Default |
---|---|---|---|
wallet | No | The wallet (private key, mnemonic, or JSON). If not provided, uses PRIVATE_KEY environment variable if set. |
Input Schema (JSON Schema)
{
"properties": {
"wallet": {
"description": "The wallet (private key, mnemonic, or JSON). If not provided, uses PRIVATE_KEY environment variable if set.",
"type": "string"
}
},
"required": [],
"type": "object"
}