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

Encapsulate common service used throughout different part of the library

Hierarchy

  • Context

Index

Constructors

constructor

Properties

Readonly _config

_config: BehaviorSubject<{ confirmationPollingTimeoutSecond: number; defaultConfirmationCount: number }> = ...

Readonly batch

batch: RPCBatchProvider = ...

Readonly contract

contract: RpcContractProvider = ...

Readonly estimate

estimate: RPCEstimateProvider = ...

Readonly operationFactory

operationFactory: OperationFactory

Readonly tz

tz: RpcTzProvider = ...

Readonly wallet

wallet: Wallet = ...

Accessors

config

forger

globalConstantsProvider

injector

  • get injector(): Injector
  • set injector(value: Injector): void

packer

parser

proto

readProvider

rpc

signer

stream

walletProvider

Methods

clone

  • description

    Create a copy of the current context. Useful when you have long running operation and you do not want a context change to affect the operation

    Returns Context

isAnyProtocolActive

  • isAnyProtocolActive(protocol?: string[]): Promise<boolean>

isAnySignerConfigured

  • isAnySignerConfigured(): boolean

registerProviderDecorator

setPartialConfig

withExtensions

  • description

    Applies the decorators on a cloned instance of the context and returned this cloned instance. The decorators are functions that inject logic into the context. They are provided by the extensions set on the TezosToolkit by calling the registerProviderDecorator method.

    Returns Context

Generated using TypeDoc