get_balance

Request the balance of the wallet account

Use case

The app requests the balance of the account from the wallet.

Request

{
    "method": "get_balance",
    "params": {
    }
}

Response

{
    "result_type": "get_balance",
    "result": {
        "balance": 10000, // user's balance in msats
    }
}

Last updated