• Retrieves the description of a TokenBridgeStatus.

    Returns

    A Promise that resolves to the description string.

    Parameters

    • status: TokenBridgeStatus

      The TokenBridgeStatus to get the description for.

    • Optional sdk: GlitterBridgeSDK

      (Optional) The GlitterBridgeSDK instance. Used for DepositReceived status confirmation count. if currentBlock is undefined, will try to get current block from CurrentBlock class.

    • Optional chain: BridgeNetworks

      (Optional) The BridgeNetworks value representing the chain. Used for DepositReceived status confirmation count.

    • Optional startBlock: number

      (Optional) The start block number. Used for DepositReceived status confirmation count.

    • Optional currentBlock: number

      (Optional) The current block number. Used for DepositReceived status confirmation count.

    Returns Promise<string>

Generated using TypeDoc