Swig TS — API References
    Preparing search index...

    Interface ProgramExecBasedAuthority

    Interface for ProgramExec-based authorities.

    Program execution authorities validate that a preceding instruction in the transaction was executed by a specific program with a matching instruction prefix.

    interface ProgramExecBasedAuthority {
        instructionPrefix: Uint8Array;
        instructionPrefixLen: number;
        programId: SolPublicKey;
    }

    Implemented by

    Index

    Properties

    instructionPrefix: Uint8Array

    The instruction data prefix that must match

    instructionPrefixLen: number

    Length of the instruction prefix to match (0-40)

    programId: SolPublicKey

    The program ID that must execute the preceding instruction (32 bytes)