Expand description
Declarative helper macros for decoder authors.
no_std-compatible — usable inside generated decoder crates without pulling
in std.
§Components
try_decode_instructions!— match an instruction’s data + accounts against a list of(variant, type)pairs and return the first hit.
Modules§
Macros§
- try_
decode_ instructions - Try-decode a Solana
Instructionagainst a series of variant/type pairs, returning the first variant whosedecodeandarrange_accountsboth succeed.