Send privately
Pay another Plaza holder inside the pool. Amount and recipient stay private, and the payment keeps its label.
A transfer moves value from one of your notes to a new note for someone else, with your change in a second note. Nobody watching the chain learns the amount, the recipient or which note paid. The recipient's note carries your note's label, so it is approved in the same sets.
Before you start, unlock your notes and have the recipient's Plaza shielded address.
- In the Act box, open Transfer.
- Pick the asset.
- Paste the recipient's address into Recipient shielded address.
- Enter the amount.
- Under Prove membership in, pick a set. Each set shows your largest note approved in it, which is the most one spend can send.
- Press Send privately. The step bar runs Prove set membership, Prove the spend, Relay, Confirm.
- When it shows Confirmed, follow Read the receipt.
With the SDK or CLI
await session.transfer({ note, to: recipientShieldedAddress, amount: '500000000', set: setId })node cli/plaza.mjs transfer --keypair ./id.json --note NOTE_ID --to SHIELDED_ADDRESS --set SET_ID --amount 500000000The recipient finds their address as session.shieldedAddress, or in the output of plaza notes.
What happens
Your browser builds the membership path for your note's label from the set's leaves, proves the policy proof and SPP's proof, and sends both to the relayer through POST /relay. The relayer pays the network fee, so your wallet appears nowhere in the transaction. transact checks the proof against the set's window and calls SPP.
The receipt of a transfer shows the set, the root and the nullifier, and no amount, mint or destination. A transfer pays no protocol fee.
Amounts
A spend has one input note, so the amount has to fit in one note approved in the set you picked. Above that, the app says so and keeps the button off; send the rest as a second spend. The rest of the note comes back to you as change, carrying the same label.