get_network_info
Retrieve the connected Chia node's network name and address prefix (e.g., mainnet, xch) to identify the active network before building or validating addresses.
Instructions
Get the network name and address prefix for the connected Chia node. Returns the network name (e.g., 'mainnet') and prefix (e.g., 'xch').
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": "get_network_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||