4

For legacy version of transactions I use transaction.getFeeForMessage, but for versionedTransactions I cannot call this method. How getFeeForMessage for versionedTransaction?

2

1 Answer 1

2

This is now possible, as of @solana/web3.js version 1.67.2. Here is the relevant code change.

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.