Skip to content
This section is the onchain instruction reference. Most developers call these instructions through the generated TypeScript clients; you only need this if you are building operator tooling, writing custom integrations, or debugging instruction-level errors. Escrow Program (9tgHa1DcnaSSUtmMsst8ovKTe1Gfxzezn27KnH9xXYeU) - manages deposits, operator provisioning, and Mainnet settlement: Withdraw Program (J231K9UEpS4y4KAPwGc4gsMNCjKFRMYcQBcjVW7vBhVi) - runs on the private channel network:

​Error Codes

Escrow Program - PrivateChannelEscrowProgramError
CodeMessage
InvalidEventAuthorityInvalid event authority provided
InvalidAtaInvalid ATA provided
InvalidMintInvalid mint provided
InvalidInstanceIdInstance ID invalid or does not respect rules
InvalidInstanceInvalid instance provided
InvalidAdminInvalid admin provided
TransferHookNotAllowedTransfer hook extension not allowed
InvalidOperatorPdaInvalid operator PDA provided
InvalidTokenAccountInvalid token account provided
InvalidEscrowBalanceInvalid escrow balance
InvalidAllowedMintInvalid allowed mint
InvalidSmtProofInvalid SMT proof provided
InvalidTransactionNonceForCurrentTreeIndexInvalid transaction nonce for current tree index
UnexpectedTreeIndexUnexpected current tree index for SMT root reset
Withdraw Program - PrivateChannelWithdrawProgramError
CodeMessage
InvalidMintInvalid mint provided
ZeroAmountWithdrawal amount must be greater than zero