Custom program error

0x1b27

Appears in logs as custom program error: 0x1b

Token-2022TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb

ConfidentialTransferBalanceMismatch

“Balance mismatch”

The encrypted balance in the instruction does not match the balance stored on the account.

Common causes

  • Generating the proof against a stale balance, or a pending balance that was not applied.

How to fix it

  • Confidential transfers require the client to generate proofs with the Token-2022 confidential transfer SDK. Make sure the account is configured and approved, the pending balance is applied, and the proof was generated against the current encrypted balance.

Decode another error

Try: