docs: add transaction introspection advanced guide - #1801
Conversation
|
9428976 to
bd86f86
Compare
|
Thanks for this! Structuring this to follow deserializing transactions is really nice.
|
BundleMonUnchanged files (150)
No change in files bundle size Final result: ✅ View report in BundleMon website ➡️ |
Plus small nitpicky changes
bd86f86 to
4758f9f
Compare
Your organization requires reapproval when changes are made, so Graphite has dismissed approvals. No previous SHAs found; treated as if diff has changed at https://github.com/anza-xyz/kit/actions/runs/28434376170
|
🔎💬 Inkeep AI search and chat service is syncing content for source 'Solana Kit Docs' |
|
Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up. |
Summary
Adds a dedicated Transaction Introspection advanced-guide page documenting the
@solana/transaction-introspectionpackage added in #1611. The page walks through:getTransactionresponse withdecodeTransactionFromRpcResponse(encodings,jsonParsedrejection,maxSupportedTransactionVersion).walkInstructions. The headline example sums every SPL-TokenTransferCheckedof a specific mint across a confirmed transaction, parsing each instruction with the@solana-program/tokenclient and filtering byaccounts.mint.address.getInstructionsFromCompiledTransactionMessage,getInnerInstructionsFromMeta,getAccountMetasFromCompiledTransactionMessage).meta.loadedAddresses, a Token-2022 footgun callout, and the introspection error codes.It pins the new page after
transactionsin the Advanced Guides nav and adds a cross-link from the "Deserializing transactions" section of the transactions guide.Should ship w/ kit v7