getWalletDashboard

fun getWalletDashboard(numTransactions: Int = 20, numPaymentRequests: Int = 20): WalletDashboard?

Get the dashboard overview for a Lightning wallet. Includes balance info and the most recent transactions and payment requests.

Return

The dashboard overview for the wallet, including balance and recent transactions and payment requests.

Parameters

numTransactions

The max number of recent transactions to fetch. Defaults to 20.

numPaymentRequests

The max number of recent payment requests to fetch. Defaults to 20.

Throws

If the user is not authenticated.