Nostr Wallet Connect Docs
  • Introduction
    • Welcome to NWC
    • Introduction to NWC
  • What to Build
  • FAQ
  • Bitcoin apps and websites
    • Benefits and Features
    • Getting Started
    • Code Examples
    • Connecting To The Wallet
      • Traditional Connection Flow
      • 1-Click Wallet Connections
    • SDKs and Tools
    • Best Practices
  • Bitcoin Lightning wallets
    • Benefits and Features
    • Getting Started
    • Code Examples
    • NWC Relay
    • References & SDKs
    • Best Practices
  • Reference API
    • Overview
      • get_info
      • get_balance
      • make_invoice
      • pay_invoice
      • multi_pay_invoice
      • pay_keysend
      • lookup_invoice
      • list_transactions
    • Error Codes
  • Contribute
    • Specification
    • Design Assets
Powered by GitBook
On this page
  • Use case
  • Request
  • Response
  1. Reference API
  2. Overview

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
    }
}
Previousget_infoNextmake_invoice

Last updated 1 year ago