Function createRevertOrchestrator

  • Creates an orchestrator instance to handle reverting a transfer that was started but did not reach its target chain withing the specified timeout.

    Parameters

    • connection: Connection

      a connection to the source chain

    • authenticator: Authenticator

      the authenticator to use when reverting the transfer

    • pendingTransfer: TransferRef

      the pending transfer to revert

    Returns Promise<RevertOrchestrator>

    The orchestrator instance which will be able to revert the transfer