UNPKG

test-ic-wallet-middleware-icrc

Version:
13 lines (12 loc) 549 B
import { IcrcTransactionWithId } from "@dfinity/ledger-icrc"; import { Principal } from "@dfinity/principal"; import { PageInfo } from "@ic-wallet-middleware/common"; import { SubAccountId } from "../../../types"; export declare class IndexWrapper { private icrcIndexCanister; private constructor(); static create(address: any): IndexWrapper; getTransactions(principal: Principal, subAccountId: SubAccountId, pageInfo: PageInfo): Promise<IcrcTransactionWithId[]>; private getStartItem; private static getIcrcIndexCanister; }