Interface Coder<A, T>

Coder provides a facade for encoding and decoding all IDL related objects.

interface Coder<A, T> {
    accounts: AccountsCoder<A>;
    events: EventCoder;
    instruction: InstructionCoder;
    types: TypesCoder<T>;
}

Type Parameters

  • A extends string = string
  • T extends string = string

Implemented by

Properties

accounts: AccountsCoder<A>

Account coder.

events: EventCoder

Coder for events.

instruction: InstructionCoder

Instruction coder.

types: TypesCoder<T>

Coder for user-defined types.