Type alias Instruction

Instruction: {
    data: Uint8Array;
    keys: AccountMeta[];
    programId: PublicKey;
}

Defines an instruction to be sent to a program.

Type declaration

  • data: Uint8Array

    The serialized data to pass to the program.

  • keys: AccountMeta[]

    The accounts required by the instruction.

  • programId: PublicKey

    The address of the program that will execute the instruction.

Generated using TypeDoc