UNPKG

@funded-labs/plug-controller

Version:

Internet Computer Plug wallet's controller

12 lines (11 loc) 592 B
import { ActorSubclass } from '@dfinity/agent'; import NNSService, { GetTransactionsResponse } from '../../../interfaces/nns_uid'; import { BaseMethodsExtendedActor } from '../actorFactory'; declare type BaseNNSService = BaseMethodsExtendedActor<NNSService>; export interface NNSServiceExtended extends BaseNNSService { getTransactions: (accountId: string) => Promise<GetTransactionsResponse>; } declare const _default: { getTransactions: (actor: ActorSubclass<BaseMethodsExtendedActor<NNSService>>, accountId: string) => Promise<GetTransactionsResponse>; }; export default _default;