Function
initTransfer
initTransfer( recipientId: BufferId, assetId: BufferId, amount: Amount, hops: BufferId[], deadline: number, ): OperationBuilds an operation object that can be used to call
ft4.crosschain.init_transferoperationParameters
- 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
- recipientId: BufferId