Helius SDK - v5.0.0
    Preparing search index...

    Interface SendViaSenderOptions

    Options for sendTransactionWithSender — route through Helius sender infra.

    interface SendViaSenderOptions {
        maxTipLamports?: number;
        mevProtect?: boolean;
        pollIntervalMs?: number;
        pollTimeoutMs?: number;
        skipPreflight?: boolean;
        swqosOnly?: boolean;
        tipAmount?: number;
    }
    Index

    Properties

    maxTipLamports?: number

    Hard ceiling, in lamports, on the tip derived from the Jito tip floor. Defaults to DEFAULT_MAX_TIP_LAMPORTS (10,000,000 = 0.01 SOL).

    Bounds only the derived tip; an explicit tipAmount is paid as given. Must be at least the tier minimum (MIN_TIP_LAMPORTS_MAX, or MIN_TIP_LAMPORTS_SWQOS with swqosOnly); a lower ceiling fails the send rather than paying above it.

    mevProtect?: boolean

    Route away from validators statistically linked to sandwich attacks (MEV Protect). Defaults to the client's mevProtect option (false unless set).

    pollIntervalMs?: number

    Polling cadence in milliseconds.

    pollTimeoutMs?: number

    Overall polling timeout in milliseconds.

    skipPreflight?: boolean

    Skip Solana's preflight checks. Caller-controlled passthrough — Sender no longer requires this to be true. Defaults to true.

    swqosOnly?: boolean

    Route only through SWQOS-only mode (lower 0.000005 SOL minimum tip).

    tipAmount?: number

    Explicit lamport tip override.