UNPKG

@taquito/taquito

Version:

High level functionality that builds upon the other packages in the Tezos Typescript Library Suite.

17 lines (16 loc) 1.35 kB
import { Context } from '../context'; import { OpKind } from '../operations/types'; import { WalletDelegateParams, WalletIncreasePaidStorageParams, WalletOriginateParams, WalletProvider, WalletTransferParams } from './interface'; import { WalletParamsWithKind } from './wallet'; export declare class LegacyWalletProvider implements WalletProvider { private context; constructor(context: Context); getPKH(): Promise<string>; mapTransferParamsToWalletParams(params: () => Promise<WalletTransferParams>): Promise<import("../operations/types").withKind<WalletTransferParams, OpKind.TRANSACTION>>; mapOriginateParamsToWalletParams(params: () => Promise<WalletOriginateParams>): Promise<import("../operations/types").withKind<WalletOriginateParams<any>, OpKind.ORIGINATION>>; mapDelegateParamsToWalletParams(params: () => Promise<WalletDelegateParams>): Promise<import("../operations/types").withKind<WalletDelegateParams, OpKind.DELEGATION>>; mapIncreasePaidStorageWalletParams(params: () => Promise<WalletIncreasePaidStorageParams>): Promise<import("../operations/types").withKind<WalletIncreasePaidStorageParams, OpKind.INCREASE_PAID_STORAGE>>; sendOperations(params: WalletParamsWithKind[]): Promise<string>; sign(bytes: string, watermark?: Uint8Array): Promise<string>; getPK(): Promise<string>; }