optionality_send_patron_dm
Sign and publish a Nostr DM as the patron, using the escrowed nsec.
The patron's escrowed nsec is loaded, decrypted in-process, used to
sign a kind-4 NIP-04 DM + a kind-1059 NIP-17 gift wrap, broadcast
via the operator's relay pool, then the plaintext drops out of
scope. The DM's pubkey is the patron's own — recipients see it
as authored by the patron, not relayed.
Returns {"success": True, "sender_npub", "target_npub"} on the happy path; {"success": False, "error"} on validation or send failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | No | Required. Your Nostr public key (npub1...) for credit billing. | |
| message | Yes | ||
| dpop_token | No | ||
| target_npub | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||