Custom program error

0x1a26

Appears in logs as custom program error: 0x1a

Token-2022TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb

ConfidentialTransferElGamalPubkeyMismatch

“ElGamal public key mismatch”

The ElGamal key in the proof does not match the key registered on the account.

Common causes

  • The confidential transfer extension is in a state that does not allow this instruction, or the zero-knowledge proof data does not match the account state.

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: