Skip to content

Icrc1ApproveError

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

Defined in: packages/ledger-icp/src/candid/ledger.d.ts:58