How do you construct a MessageV0 formatted transaction?
What method is used to get an Address Lookup Table?
Submission Entered:
Challenge Id: [#221007020]
Hunter: DonnySolana
How many transaction versions are supported?
2
How do you construct a MessageV0 formatted transaction?
// create v0 compatible message
const messageV0 = new web3.TransactionMessage({
payerKey: payer.publicKey,
recentBlockhash: blockhash,
instructions,
}).compileToV0Message();
What method is used to get an Address Lookup Table?:
getAddressLookupTable
Rewards: 150 Points 🔥
Description
In this challenge your going to learn all about Versioned Transactions!
Preview the Solana Bytes video on Versioned Transactions
Look out for the answers to the challenge questions
Use the documentation provided as an additional resource!
Tips:
Resources:
Versioned Transactions Docs
Address Lookup Tables
Solana Bytes Youtube Video Playlist
How to Submit
Your submission should include the following:
Submission Entered:
Challenge Id: [#221007020]
Hunter: DonnySolana
How many transaction versions are supported? 2
How do you construct a MessageV0 formatted transaction? // create v0 compatible message const messageV0 = new web3.TransactionMessage({ payerKey: payer.publicKey, recentBlockhash: blockhash, instructions, }).compileToV0Message();
What method is used to get an Address Lookup Table?: getAddressLookupTable