test-ic-wallet-middleware-icrc
Version:
Ic middleware wallet ICRC protocol
18 lines (17 loc) • 723 B
TypeScript
import { HttpAgent } from "@dfinity/agent";
import { ILogger } from "@ic-wallet-middleware/common";
import { SupportedStandardEnum } from "../../../types/wallets/supportedStandardEnum";
export declare class IcrcLedgerServiceWrapper {
private logger;
private icrcLedgerService;
private constructor();
static create(params: IcrcActorParams, logger: ILogger): IcrcLedgerServiceWrapper;
private static pollingStrategy;
getICRCSupportedStandards(): Promise<SupportedStandardEnum[]>;
}
export interface IcrcActorParams {
/** The ledgerAddress of the ICRC Ledger canister. */
ledgerAddress: string;
/** The HTTP agent used for communication with the Dfinity network. */
agent: HttpAgent;
}