Today I stopped treating a Solana transaction as a black box and looked at what's actually inside one.
Every transaction is a signed message made up of four parts:
A header that defines permission groups for all accounts involved
A list of account keys the resources the transaction touches
A recent blockhash proof of freshness and protection against replay attacks
Instructions the actual operations, each pointing into the account keys array by index

Top comments (0)