Hierarchy

  • TronBridge

Constructors

Properties

sdk: GlitterBridgeSDK

Methods

  • Returns

    Transaction Hash

    Parameters

    • tokenSymbol: string

      Token Symbol to SWAP

    • toNetwork: string

      Destination Network

    • fromWalletAddress: string

      Source Wallet Address

    • toWalletAddress: string

      Destination Wallet Address

    • amount: number

      Amount To SWAP

    • tronWeb: any

      TronWeb Wallet Instance

    Returns Promise<string>

  • Parameters

    • amount: number
    • decimals: number

    Returns Promise<number>

  • Returns

    Array of Tokens Balances

    Parameters

    • signerAddress: string

      Wallet Address

    Returns Promise<{
        balance: number;
        token: string;
    }[]>

  • Parameters

    • tokenSymbol: string

    Returns Promise<undefined | BridgeTokenConfig>

  • Parameters

    • amount: number
    • decimals: number

    Returns Promise<BigNumber>

Generated using TypeDoc