Umi — API References - v1.3.0
    Preparing search index...

    Type Alias Instruction

    Defines an instruction to be sent to a program.

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

    Properties

    Properties

    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.