CompiledInstruction: {
    accounts: number[];
    data: string;
    programIdIndex: number;
}

An instruction to execute by a program

Type declaration

  • accounts: number[]

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

  • data: string

    The program input data encoded as base 58

  • programIdIndex: number

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