Skip to content

Icrc2TransferFromError

Icrc2TransferFromError = { GenericError: { error_code: bigint; message: string; }; } | { TemporarilyUnavailable: null; } | { InsufficientAllowance: { allowance: Icrc1Tokens; }; } | { BadBurn: { min_burn_amount: Icrc1Tokens; }; } | { Duplicate: { duplicate_of: Icrc1BlockIndex; }; } | { BadFee: { expected_fee: Icrc1Tokens; }; } | { CreatedInFuture: { ledger_time: Icrc1Timestamp; }; } | { TooOld: null; } | { InsufficientFunds: { balance: Icrc1Tokens; }; }

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