Type Alias MessageCompiledInstruction

MessageCompiledInstruction: {
    accountKeyIndexes: number[];
    data: Uint8Array;
    programIdIndex: number;
}

An instruction to execute by a program

Type declaration

  • accountKeyIndexes: number[]

    Ordered indices into the transaction keys array indicating which accounts to pass to the program

  • data: Uint8Array

    The program input data

  • programIdIndex: number

    Index into the transaction keys array indicating the program account that executes this instruction