Skip to content

IcrcApproveError

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

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