UNPKG

@dfinity/ledger-icrc

Version:

A library for interfacing with ICRC ledgers on the Internet Computer.

26 lines (25 loc) 1.37 kB
import type { IcrcIndexDid, IcrcLedgerDid } from "@icp-sdk/canisters/ledger/icrc"; export type Icrc3Value = IcrcLedgerDid.ICRC3Value; export type IcrcAllowance = IcrcLedgerDid.Allowance; export type IcrcApproveError = IcrcLedgerDid.ApproveError; export type IcrcBlockIndex = IcrcLedgerDid.BlockIndex; export type IcrcCandidAccount = IcrcLedgerDid.Account; export type IcrcGetBlocksArgs = IcrcLedgerDid.GetBlocksArgs; export type IcrcGetBlocksResult = IcrcLedgerDid.GetBlocksResult; export type IcrcStandardRecord = IcrcLedgerDid.StandardRecord; export type IcrcSubaccount = IcrcLedgerDid.Subaccount; export type IcrcTimestamp = IcrcLedgerDid.Timestamp; export type IcrcTokens = IcrcLedgerDid.Tokens; export type IcrcTransferArg = IcrcLedgerDid.TransferArg; export type IcrcTransferFromError = IcrcLedgerDid.TransferFromError; export type IcrcTransferVariantError = IcrcLedgerDid.TransferError; export type IcrcValue = IcrcLedgerDid.Value; export type IcrcIndexNgGetTransactions = IcrcIndexDid.GetTransactions; export type IcrcIndexNgTransaction = IcrcIndexDid.Transaction; export type IcrcIndexNgTransactionWithId = IcrcIndexDid.TransactionWithId; export type IcrcNgStatus = IcrcIndexDid.Status; export type IcrcNgTxId = IcrcIndexDid.BlockIndex; /** * @deprecated Use "@icp-sdk/canisters/ledger/icrc" directly instead */ export * from "@icp-sdk/canisters/ledger/icrc";