I am doing this:
const xfer = await wh.tokenTransfer(
route.token,
route.amount,
route.source.address,
route.destination.address,
route.delivery?.automatic ?? false,
route.payload,
route.delivery?.nativeGas
);
console.log(xfer)
const sendChain = wh.getChain(options.sendChain);
const rcvChain = wh.getChain(options.rcvChain);
const quote = await TokenTransfer.quoteTransfer(
wh,
sendChain,
rcvChain,
xfer.transfer
);
// console.log(quote);
if (!options.execute)
return quote;
// Procced in order to execute the arbitrage trade
if (xfer.transfer.automatic && quote.destinationToken.amount < 0)
throw 'The amount requested is too low to cover the fee and any native gas requested.';
// 1) Submit the transactions to the source chain, passing a signer to sign any txns
console.log('Starting transfer');
const srcTxids = await xfer.initiateTransfer(route.source.signer);
here i don’t want to send the tx automatically but get the raw transaction for later execution, i am trying on solana/sui