@ledgerhq/coin-icon
Version:
Ledger Icon Coin integration
13 lines • 985 B
TypeScript
import type { Operation } from "@ledgerhq/types-live";
import { CryptoCurrency } from "@ledgerhq/types-cryptoassets";
import { AccountType, IconTransactionType } from "./api-type";
import { IconOperation } from "../types/index";
export declare const getAccount: (addr: string, network: CryptoCurrency) => Promise<AccountType>;
export declare const getCurrentBlockHeight: (network: CryptoCurrency) => Promise<number | undefined>;
/**
* Fetch operation list
*/
export declare const getOperations: (accountId: string, addr: string, skip: number, network: CryptoCurrency, maxLength: number) => Promise<Operation[]>;
export declare const fetchOperationList: (accountId: string, addr: string, skip: number, network: CryptoCurrency, maxLength: number, prevOperations?: IconOperation[]) => Promise<IconOperation[]>;
export declare const getTxHistory: (addr: string, skip: number, network: CryptoCurrency, limit?: number) => Promise<IconTransactionType[]>;
//# sourceMappingURL=index.d.ts.map