channel_balance
Check a prepaid channel’s remaining Bitcoin BSV balance, spend, and request count. Uses the Authorization header or apiKey. On failure returns isError "error: (): ": no_channel_key, or invalid_channel (401/404: not found, bad secret, or closed).
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": "channel_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | channelId:channelSecret. Omit to use the Authorization header (preferred). |