← All Recipes
Bazantic // Recipe

send_private_payment

By Specter

send-private-payment

Send a private payment using SPECTER stealth addresses. Resolves a recipient's ENS or SUI name to a meta-address, creates a stealth payment with a unique payment_id, and publishes an announcement once the transaction is confirmed. Runs in two passes: pass one returns the stealth address and payment_id for funding; pass two publishes the announcement when the transaction hash is provided.

Recipe inputs
Complete fields before a run.
The blockchain chain where the payment will be sent (e.g., sepolia, mainnet, sui)
The payment amount in base units (wei for Ethereum, MIST for Sui). Use string to avoid integer overflow on large values.
The payment_id returned from pass one. Required for pass two to publish the announcement.
The ENS name (e.g., vitalik.eth) or SUI name (e.g., alice.sui) to resolve
The on-chain transaction hash after funds have been sent to the stealth address. Required for pass two to publish the announcement.