Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 8046

combine VersionedTransaction[] into one for Actions/Blinks?

$
0
0

ActionPostResponsefrom @solana/actions accepts a "base64 encoded serialized transaction". I have an array of VersionedTransaction[] that I would like to compile as a single transaction for use as a Blink. Every method I have tried to combine these transactions results in a simulation revert, though I can see the correct transactions listed in the phantom preview. I also have no problem serializing a single VersionedTransaction from the array and getting a successful transaction preview and having the transaction land.

Is there a correct way to do this for Blinks?


Viewing all articles
Browse latest Browse all 8046


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>