Skip to content

IcrcTransferFromError

IcrcTransferFromError = { GenericError: { error_code: bigint; message: string; }; } | { TemporarilyUnavailable: null; } | { InsufficientAllowance: { allowance: IcrcTokens; }; } | { BadBurn: { min_burn_amount: IcrcTokens; }; } | { Duplicate: { duplicate_of: IcrcBlockIndex; }; } | { BadFee: { expected_fee: IcrcTokens; }; } | { CreatedInFuture: { ledger_time: IcrcTimestamp; }; } | { TooOld: null; } | { InsufficientFunds: { balance: IcrcTokens; }; }

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