Errors

Code
Name
What it means

6000

InvalidOracleSignature

Signature didn't verify

6001

Ed25519InstructionNotFound

Missing sig verification instruction

6002

RemainingBalanceBelowRentExempt

Would leave dust in account

6003

NothingToWithdraw

PDA is empty

6004

Unauthorized

Not the authority

Fixes

InvalidOracleSignature - Usually means the oracle key rotated or something's corrupted. Refresh and try again.

Ed25519InstructionNotFound - If you're building transactions manually, the Ed25519 verification instruction needs to come before the withdraw instruction.

RemainingBalanceBelowRentExempt - Either withdraw everything (amount = 0) or leave at least ~0.00089 SOL.

NothingToWithdraw - Check if there's money in the vault that needs collection first.

Last updated