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) 686 B
import { Principal } from '@icp-sdk/core/principal'; import { type Icrc21Actor, type Icrc21Did } from '../declarations'; 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: Icrc21Did.icrc21_consent_message_request; } & SignerOptions): Promise<Icrc21Did.icrc21_consent_message_response>; protected getIcrc21Actor({ canisterId, ...rest }: { canisterId: string | Principal; } & SignerOptions): Promise<Icrc21Actor>; private createActor; }