test-ic-wallet-middleware-icrc
Version:
Ic middleware wallet ICRC protocol
13 lines (12 loc) • 549 B
TypeScript
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;
}