Function
cancelTransfer
cancelTransfer( initTransferTx: GTX, initTransferOpIndex: number, tx: GTX, operationIndex: number, targetChainIndex: number, ): OperationBuilds an operation object that can be used to call
ft4.crosschain.cancel_transferoperationParameters
- initTransferTx: GTX
the transaction that contains the init_transfer operation for the transfer to cancel
- initTransferOpIndex: number
the index of the transfer operation inside the
initTransferTxtransaction - tx: GTX
the transaction that was submitted to this chain and which contains the transfer to cancel
- operationIndex: number
the index inside the
txobject at which the transfer to cancel can be found - targetChainIndex: number
the index of the current chain on the path
Returns Operation
- initTransferTx: GTX