Skip to content
docs

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.

(ix) => DecodedFields | null

Data the client cannot identify but the program accepts (the ATA program’s empty-data Create).

(data) => number

Record<number, string>

The client’s instruction enum (TokenInstruction), value → name.

Module

string

string

InstructionDecoder