Note: this is why @MagicEden_NFT transactions aren't listed in Solana Explorer.
For example, the instruction they use to list NFTs on the marketplace doesn't take in the mint account.
And thus, listing transactions don't show up in Solana Explorer on the mint account's page.
Why does this matter?
Well, say someone wanted to build a nice UI showing all of an NFT's transactions.
The most straightforward way to do this is to use connection.getConfirmedSignaturesForAddress2(mint), parse the transactions, and display them.
But if an instruction doesn't take in the mint account... transactions including the instruction may not show up when you call getConfirmedSignaturesForAddress2!
And that makes it harder for developers to build cool stuff.
• • •
Missing some Tweet in this thread? You can try to
force a refresh
Here's a diagram that shows all the different parts of a Solana transaction.
More details below 👇
1/ Each Solana transaction contains a message, and the first part of each message is its header.
The header is simple, it just contains the numbers described in the diagram.
2/ The next part of the transaction message is an array of accounts. They are ordered based on whether they require a signature and whether they are writable.
This array also contains the addresses of the programs used by the instructions.
1/ Here's a thread of all the Solana threads I've written (a thread of threads), plus some great threads/tweets by other folks. I'll try to keep adding onto this in the future.
First, 11 resources to get started with Solana development