• Retrieves the progress of the TokenBridge.

    Returns

    A Promise that resolves to the progress value.

    Parameters

    • status: TokenBridgeStatus

      The TokenBridgeStatus to get the progress for.

    • Optional sdk: GlitterBridgeSDK

      (Optional) The GlitterBridgeSDK instance. if currentBlock is undefined, will try to get current block from CurrentBlock class.

    • Optional chain: BridgeNetworks

      (Optional) The BridgeNetworks value representing the chain.

    • Optional startBlock: number

      (Optional) The start block number.

    • Optional currentBlock: number

      (Optional) The current block number.

    Returns Promise<number>

Generated using TypeDoc