Skip to content
docs

DecodedFields

Defined in: types.ts:25

What a decoder recognised in one instruction.

readonly optional accountNames?: readonly (string | null)[]

Defined in: types.ts:31

A name per account, by position (source, destination, authority…); null or missing for an unnamed slot.


readonly optional args?: Readonly<Record<string, PreviewValue>>

Defined in: types.ts:29

The instruction’s arguments, decoded.


readonly name: string

Defined in: types.ts:27

The instruction’s name as its program defines it (TransferChecked, SharedAccountsRoute, DepositSol…).


readonly optional partial?: string

Defined in: types.ts:33

Set when the instruction is recognised but only its leading arguments decode (a layout newer than the decoder): why. The rest are null.