Skip to content

ApproveError

ApproveError = { GenericError: { error_code: bigint; message: string; }; } | { TemporarilyUnavailable: null; } | { Duplicate: { duplicate_of: BlockIndex; }; } | { BadFee: { expected_fee: bigint; }; } | { AllowanceChanged: { current_allowance: bigint; }; } | { CreatedInFuture: { ledger_time: Timestamp; }; } | { TooOld: null; } | { Expired: { ledger_time: Timestamp; }; } | { InsufficientFunds: { balance: bigint; }; }

Defined in: packages/canisters/src/declarations/ledger-icrc/icrc_ledger.d.ts:51