Errors
6000
InvalidOracleSignature
Signature verification failed
6001
Ed25519InstructionNotFound
Missing signature verification instruction
6002
RemainingBalanceBelowRentExempt
Partial withdrawal would leave insufficient rent
6003
NothingToWithdraw
PDA balance is zero
6004
Unauthorized
Caller is not the protocol authority
Resolution
InvalidOracleSignature — The oracle key may have rotated or the signature data is malformed. Retry with a fresh permit.
Ed25519InstructionNotFound — When building transactions manually, the Ed25519 verification instruction must precede the withdraw instruction.
RemainingBalanceBelowRentExempt — Either withdraw the full balance (amount = 0) or leave at least ~0.00089 SOL for rent.
NothingToWithdraw — The PDA is empty. Check if there are funds in the vault that require collection first.
Last updated