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

    Type Alias ScanMatchScope

    ScanMatchScope: "address" | "transaction"

    Where a program's instructions or a mint's balances must be to count:

    • address (default): they involve the scanned address. An instruction counts when one of its accounts is the address, a token account the address owns, or a token account whose mint is the address, or when the address is the program. A token balance counts when its token account is the address, is owned by the address, or its mint is the address.
    • transaction: anywhere in the transaction, e.g. when the address only pays the fee or executes a multisig transaction, or to find transactions of a token's mint that also hold the token it trades against.

    Token account ownership comes from the token balances' owner; in older transactions that don't record it, only the address itself counts.