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

    Type Alias ScanMatch

    ScanMatch: { mints?: ScanMintMatch[]; programs?: ScanProgramMatch[] } & (
        { programs: ScanProgramMatch[] }
        | { mints: ScanMintMatch[] }
    )

    What a transaction must match. Set programs, mints, or both; when both are set, a transaction must match both.

    Type Declaration

    • Optionalmints?: ScanMintMatch[]

      Token mints (1 to 20, each once). Matches when the transaction has a token balance of any of them in its scope, or a lamport change for the native SOL pseudo-mint. An empty array counts as unset.

    • Optionalprograms?: ScanProgramMatch[]

      Programs (1 to 20, each once). Matches when the transaction has an instruction of any of them, in its scope. An empty array counts as unset.