codamaDecoder
codamaDecoder(
options):InstructionDecoder
Defined in: decoders/official.ts:80
A decoder over one Codama client: identify picks the instruction, the client’s own codecs do the rest.
Parameters
Section titled “Parameters”options
Section titled “options”fallback?
Section titled “fallback?”(ix) => DecodedFields | null
Data the client cannot identify but the program accepts (the ATA program’s empty-data Create).
identify
Section titled “identify”(data) => number
instructions
Section titled “instructions”Record<number, string>
The client’s instruction enum (TokenInstruction), value → name.
module
Section titled “module”Module
programAddress
Section titled “programAddress”string
programName
Section titled “programName”string