DecodedFields
Defined in: types.ts:25
What a decoder recognised in one instruction.
Properties
Section titled “Properties”accountNames?
Section titled “accountNames?”
readonlyoptionalaccountNames?: readonly (string|null)[]
Defined in: types.ts:31
A name per account, by position (source, destination, authority…); null or missing for an unnamed slot.
readonlyoptionalargs?:Readonly<Record<string,PreviewValue>>
Defined in: types.ts:29
The instruction’s arguments, decoded.
readonlyname:string
Defined in: types.ts:27
The instruction’s name as its program defines it (TransferChecked, SharedAccountsRoute, DepositSol…).
partial?
Section titled “partial?”
readonlyoptionalpartial?: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.