โœ๏ธPublish Event

POST https://api.getalby.com/nwc/publish

Publishes any signed event to the specified relay

Request Body

NameTypeDescription

relayUrl

string

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

event*

JSON object (see example)

Signed event

Response

{
  "eventId": "a16ycf4a01bcxx........xxxxx",
  "relayUrl": "wss://relay.custom.com/v1",
  "state": "PUBLISHED",
}

Last updated

Logo

Your bitcoin & nostr companion / from ๐Ÿ with ๐Ÿงก