Shared operation inputs
Deposit
Move value from a public wallet balance into a private pool note.- Prepare — validate asset catalog, pool state, wallet secrets, and disclosure policy.
- Execute — sign and submit the pool deposit; emit encrypted audit data per policy.
- After success — SDK adds a new private record and updates pool state in local storage.
Withdraw
Spend a private pool note and pay out to a public wallet.- Prepare — select note(s) covering the amount, validate pool root, check disclosure.
- Execute — submit pool withdrawal; move public asset to the recipient account.
- After success — mark consumed record(s); persist change note if amount exceeds withdrawal.
Transfer to registered recipient
Spend a sender note and create output note(s) for a recipient who is already in the registry cache.- Prepare — resolve recipient private payment address from registry lookup; validate sender balance.
- Execute — submit pool transact with recipient output and optional sender change.
- After success — update consumed/sender records and add recipient/change records.
Transfer to unregistered recipient (pending claim)
Send to a public wallet when the recipient has not registered a private address yet.- Prepare — validate sender state and disclosure (recipient/asset/amount usually public).
- Execute — preset attaches onboarding payload so the recipient can claim later.
- After success — sender note consumed; pending claim indexed by your backend.
transactEnvironment hooks. See Transfer to unregistered recipient.
Typical disclosure:
Operation comparison
Concrete Stellar addresses, seed-state fixtures, and full code blocks live in the Stellar how-to guides. Seed state blocks are documentation fixtures, not production onboarding — see Data sources.
Deposit sequence
Related
Operation lifecycle
Prepare, execute, errors, and progress events.
Disclosure policy
Public vs private fields per route.
Data sources
Production vs fixture state.