UNPKG

@dfinity/oisy-wallet-signer

Version:

A library designed to facilitate communication between a dApp and the OISY Wallet on the Internet Computer.

16 lines (15 loc) 730 B
import { Principal } from '@dfinity/principal'; import type { _SERVICE as Icrc21Actor, icrc21_consent_message_request, icrc21_consent_message_response } from '../declarations/icrc-21'; import type { SignerOptions } from '../types/signer-options'; import { AgentApi } from './agent.api'; export declare class Icrc21Canister extends AgentApi { #private; consentMessage({ request, ...actorParams }: { canisterId: string | Principal; request: icrc21_consent_message_request; } & SignerOptions): Promise<icrc21_consent_message_response>; protected getIcrc21Actor({ canisterId, ...rest }: { canisterId: string | Principal; } & SignerOptions): Promise<Icrc21Actor>; private createActor; }