đĸPublish NWC Request
Publishes the NWC request event and returns the response
Without Webhook
POST
https://api.getalby.com/nwc/nip47
Request Body
Name
Type
Description
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
event*
Signed request event
Event Example
Response
With Webhook
POST
https://api.getalby.com/nwc/nip47/webhook
Request Body
Name
Type
Description
relayUrl
string
If no relay is provided, it uses the default relay (wss://relay.getalby.com/v1)
webhookUrl*
string
Webhook URL to publish the response event, returns the event directly if not provided
walletPubkey*
string
Pubkey of the NWC Wallet Provider
event*
Signed request event
Response
Response to webhook
Last updated