get_lightning_info
Retrieve Lightning Network node details and balance information for BTCPay Server stores. Shows node alias, version, channel count, peer count, and available balances.
Instructions
Get Lightning node info and balance for the store.
Args: crypto_code: Crypto code (e.g., 'BTC', 'BTCTest'). Default: 'BTC'.
Returns node alias, version, channel count, peer count, and balances.
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_lightning_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crypto_code | No | BTC |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |