@chromia/ft4 - v2.1.0
    Preparing search index...

    Function applyTransfer

    • Builds an operation object that can be used to call ft4.crosschain.complete_transfer operation

      Parameters

      • initTransferTx: GTX

        the transaction that contains the init_transfer operation for the transfer to apply

      • initTransferOpIndex: number

        the index of the transfer operation inside the initTransferTx transaction

      • tx: GTX

        the transaction that was submitted to the previous chain hop on the path which contains the transfer to apply

      • operationIndex: number

        the index inside the tx object at which the transfer to apply can be found

      • targetChainIndex: number

        the index of the current chain on the path

      Returns Operation