Nostr Write icon

Nostr Write

Consume Nostr API

Actions4

  • BasicNote Actions
  • Event(advanced) Actions
  • Raw Json Event(advanced) Actions
  • Encrypted Direct Message(nip-04) Actions

BasicNote → Send

AI-generated

Summary

Send a BasicNote (kind1 event) to specified Nostr relays by creating and signing an event with provided content, then publishing it over WebSocket connections.

Inputs

  • Content (required) — The text content of the note to send.
  • Custom Relay — Comma-separated list of relay WebSocket URLs to which the note should be sent. Defaults to several public relays.

Output shape

a list of objects, each containing the sent event data and the results of publishing it to each relay

The output includes the full signed event object and an array of results for each relay indicating acceptance or failure. Connections to relays are closed after sending.

Examples

Example 1: Send a simple text note to default Nostr relays

Set resource to BasicNote, operation to Send, enter the note content, optionally modify the relay list.

Links

Discussion