@dfinity/ledger-icp
Version:
A library for interfacing with the ICP ledger on the Internet Computer.
12 lines (11 loc) • 892 B
TypeScript
export type * from "../candid/index";
export type { Account as Icrc1Account, ApproveError as Icrc1ApproveError, Icrc1BlockIndex, SubAccount as Icrc1SubAccount, Icrc1Timestamp, Icrc1Tokens, Icrc1TransferError, Icrc1TransferResult, ApproveResult as Icrc2ApproveResult, TransferFromError as Icrc2TransferFromError, TransferFromResult as Icrc2TransferFromResult, Value, } from "../candid/ledger";
export { AccountIdentifier, SubAccount } from "./account_identifier";
export * from "./canisters/ledger/ledger.request.converts";
export * from "./errors/ledger.errors";
export { IndexCanister } from "./index.canister";
export { LedgerCanister } from "./ledger.canister";
export type * from "./types/common";
export * from "./types/ledger.options";
export type { Icrc1TransferRequest, Icrc2ApproveRequest, TransferRequest, } from "./types/ledger_converters";
export * from "./utils/accounts.utils";