Get P-Chain balance
avax_pchain_get_balanceCheck P-Chain balance for an address (unlocked, locked stakeable, locked non-stakeable) to verify funds before creating subnets or adding validators.
Instructions
Get P-Chain balance of a P-addr (e.g. P-fuji1...): unlocked, locked stakeable, locked not stakeable. Needed before creating subnets/chains or adding validators.
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": {
"address": "<address>"
},
"name": "avax_pchain_get_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | P-Chain address, e.g. P-fuji1abc... or P-avax1abc... | |
| network | No | Primary network: mainnet or fuji | fuji |