Closed miaoluyao closed 3 months ago
swap function returns transaction
, you can use it to do whatever you want to send tx and don't have to call execute
, and of course, you have to sign it by yourself
just updated sdk in demo repo and it uses sendTransaction instead of sendAndConfirmTransaction.
Thank you!
I don't want to use sendAndConfirmTransaction for swapping. Can I use sendTransaction to send the transaction instead, so that it just broadcasts the transaction and does not wait for it to confirm on the network?