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

    Function initTransfer

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

      Parameters

      • recipientId: BufferId

        id of the account that will receive this transfer

      • assetId: BufferId

        the id of the asset that will be transferred

      • amount: Amount

        how much of the specified asset that will be transferred

      • hops: BufferId[]

        a list containing rids of the blockchains that are on the path from the source to the target chain, including the target chain

      • deadline: number

        on what timestamp this transfer can be reverted if not claimed

      Returns Operation