Function resumeCrosschainTransfer

  • Resumes a cross chain transfer that was started but not applied to the target chain yet. Which could happen if for example one intermediary were down or the client were disrupted before the transfer was completed.

    Parameters

    • connection: Connection

      connection to the source chain

    • authenticator: Authenticator

      authenticator that will be used when continuing the transfer. Should likely be the same authenticator which was used to initiate the transfer

    • pendingTransfer: TransferRef

      the transfer to resume. Can be acquired using getPendingCrosschainTransfers

    Returns Web3PromiEvent<void, {
        hop: Buffer;
    }>

    a promi-event that will emit once for each hop during the transfer. It will resolve once the transfer is completed.