Options
All
  • Public
  • Public/Protected
  • All
Menu
description

Facade class that surfaces all of the libraries capability and allow it's configuration

Hierarchy

  • TezosToolkit

Index

Constructors

constructor

Properties

batch

batch: batch = this._context.batch.batch.bind(this._context.batch)

Readonly format

format: format = format

Accessors

contract

estimate

operation

rpc

signer

stream

tz

wallet

Methods

getFactory

importKey

  • importKey(privateKeyOrEmail: string, passphrase?: undefined | string, mnemonic?: undefined | string, secret?: undefined | string): Promise<void>
  • deprecated

    Deprecated in favor of setting the signer provider with @taquito/signer importKey

    Parameters

    • privateKeyOrEmail: string
    • Optional passphrase: undefined | string
    • Optional mnemonic: undefined | string
    • Optional secret: undefined | string

    Returns Promise<void>

setForgerProvider

  • setForgerProvider(forger?: SetProviderOptions["forger"]): void
  • description

    Sets forger provider on the Tezos Taquito instance

    example

    Tezos.setForgerProvider(localForger)

    Parameters

    • Optional forger: SetProviderOptions["forger"]

    Returns void

setProvider

setRpcProvider

  • setRpcProvider(rpc?: SetProviderOptions["rpc"]): void

setSignerProvider

  • setSignerProvider(signer?: SetProviderOptions["signer"]): void
  • description

    Sets signer provider on the Tezos Taquito instance.

    example

    Tezos.setSignerProvider(new InMemorySigner.fromSecretKey('edsk...'))

    Parameters

    • Optional signer: SetProviderOptions["signer"]

    Returns void

setStreamProvider

  • setStreamProvider(stream?: SetProviderOptions["stream"]): void
  • description

    Sets stream provider on the Tezos Taquito instance

    example

    Tezos.setStreamProvider(...)

    Parameters

    • Optional stream: SetProviderOptions["stream"]

    Returns void

setWalletProvider

  • setWalletProvider(wallet?: SetProviderOptions["wallet"]): void
  • description

    Sets wallet provider on the Tezos Taquito instance

    example

    Tezos.setWalletProvider(...)

    Parameters

    • Optional wallet: SetProviderOptions["wallet"]

    Returns void

Generated using TypeDoc