ℹī¸Fetch NWC Info

GET https://api.getalby.com/nwc/nip47/info

Every NWC-enabled wallet has a pubkey according to the NWC specification. This GET request returns a pubkey's NWC capabilities (if any)

Request Body

NameTypeDescription

relayUrl

string

If no relay is provided, it uses the default relay (wss://relay.getalby.com/v1)

walletPubkey*

string

Pubkey of the NWC Wallet Provider

Response

{
  "event": {
    "id": "a16ye1391c22xx........xxxxx",
    "pubkey": "a16y69effexxxx........xxxxx",
    "created_at": 1708336682,
    "kind": 13194,
    "tags": [],
    "content": "pay_invoice,pay_keysend,get_balance,get_info,make_invoice,lookup_invoice,list_transactions",
    "sig": "<signature>"
  }
}

Last updated

Logo

Your bitcoin & nostr companion / from 🐝 with 🧡