Helius SDK - v2.2.2
    Preparing search index...

    Interface BroadcastOptions

    Options for broadcastTransaction — submit to the Helius Sender and poll for confirmation.

    interface BroadcastOptions {
        commitment?: "confirmed" | "finalized" | "processed";
        lastValidBlockHeightOffset?: number;
        maxRetries?: bigint;
        pollIntervalMs?: number;
        pollTimeoutMs?: number;
        skipPreflight?: boolean;
        swqosOnly?: boolean;
    }
    Index

    Properties

    commitment?: "confirmed" | "finalized" | "processed"

    Confirmation commitment level to wait for.

    lastValidBlockHeightOffset?: number

    Number of slots to add to the current block height when computing the transaction expiry.

    maxRetries?: bigint

    Maximum number of automatic retry attempts. Should be set to 0 for Sender.

    pollIntervalMs?: number

    Polling cadence in milliseconds. Defaults to 2,000.

    pollTimeoutMs?: number

    Overall polling timeout in milliseconds. Defaults to 60,000.

    skipPreflight?: boolean

    Bypasses Solana's preflight transaction validation for faster submission. Must be true when submitting via Helius Sender. Defaults to true.

    swqosOnly?: boolean

    When true, routes exclusively through SWQOS infrastructure. Has a lower minimum tip requirement than the default dual-routing mode.