Class SDK

Base class to work with sdk.

Hierarchy

  • SDK

Properties

crossChainManager: 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.

deflationTokenManager: DeflationTokenManager

Deflation token manager object. Use it to check specific token for fees or deflation.

onChainManager: OnChainManager

On-chain manager object. Use it to calculate and create on-chain trades.

onChainStatusManager: OnChainStatusManager

On-chain status manager object. Use it for special providers, which requires more than one trade.

Accessors

Methods

  • Parameters

    • chainType: keyof IWalletProvider
    • address: string

    Returns void

  • Parameters

    • walletProvider: Partial<IWalletProvider>

    Returns void

  • 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