3

How to merge two VersionedTransaction (V0 transaction format) into one Transaction in Rust?

https://docs.rs/solana-sdk/latest/solana_sdk/transaction/struct.VersionedTransaction.html

1
  • Share the part of code where you want to merge it. Commented Jan 5, 2023 at 21:30

1 Answer 1

1

Merging versioned transactions essentially involves extracting all instructions and account keys from both transactions and then combining them by creating a new one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.