Helius SDK - v3.4.0
    Preparing search index...

    Interface ScanProgramMatch

    Match transactions with an instruction of programId, top-level or inner (CPI), in scope. instructions and discriminators combine: an instruction matches when its data starts with any of them. Set neither to match any instruction of the program.

    interface ScanProgramMatch {
        discriminators?: string[];
        instructions?: string[];
        programId: string;
        scope?: ScanMatchScope;
    }
    Index

    Properties

    discriminators?: string[]

    Instruction data prefixes, each 1 to 8 hex-encoded bytes with an optional 0x prefix (at most 50). Use these for programs without an IDL.

    instructions?: string[]

    Instruction names from any IDL version of the program, as the IDL spells them or in snake_case (at most 50). A name not in the program's IDLs is rejected with a 400.

    programId: string

    Program address. Each program can appear once in match.programs.

    Which of the program's instructions count. Defaults to address, those that involve the scanned address.