Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SDK

Base class to work with sdk.

Hierarchy

  • SDK

Index

Properties

crossChain: CrossChainManager

Cross-chain trades manager object. Use it to calculate and create cross-chain trades.

crossChainStatusManager: CrossChainStatusManager

Cross-chain status manager object. Use it to get trade statuses on source and target network.

crossChainSymbiosisManager: CrossChainSymbiosisManager

Cross-chain symbiosis manager object. Use it to get pending trades in symbiosis and revert them.

cryptoPriceApi: CoingeckoApi = Injector.coingeckoApi

Use it to get crypto price information.

gasPriceApi: GasPriceApi = Injector.gasPriceApi

Use it to get gas price information.

instantTrades: InstantTradesManager

Instant trades manager object. Use it to calculate and create instant trades.

tokens: TokensManager = ...

Tokens manager object. Use it to fetch and store tokens data.

Accessors

  • get web3PublicService(): Web3PublicService
  • Can be used to get Web3Public instance by blockchain name to get public information from blockchain.

    Returns Web3PublicService

Methods

  • Creates new sdk instance. Changes dependencies of all sdk entities according to new configuration (even for entities created with other previous sdk instances).

    Parameters

    Returns Promise<SDK>

Generated using TypeDoc