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

    Interface TxHelpersLazy

    Transaction helper methods available on helius.tx.

    Provides utilities for simulating compute units, building smart transactions with automatic priority fees, sending via the Helius sender infrastructure, and polling for confirmations.

    interface TxHelpersLazy {
        broadcastTransaction: BroadcastTransactionFn;
        createSmartTransaction: CreateSmartTransactionFn;
        getComputeUnits: GetComputeUnitsFn;
        pollTransactionConfirmation: PollTransactionConfirmationFn;
        sendBundleWithSender: (
            transactions: readonly (
                FullySignedTransaction & TransactionWithinSizeLimit & Readonly<{}> & TransactionWithLifetime
            )[],
            options?: SendBundleOptions,
        ) => Promise<string[]>;
        sendSmartTransaction: SendSmartTransactionFn;
        sendTransaction: SendTransactionFn;
        sendTransactionWithSender: SendTransactionWithSenderFn;
    }
    Index

    Properties

    broadcastTransaction: BroadcastTransactionFn

    Submit a base-64 wire transaction and poll until confirmed.

    createSmartTransaction: CreateSmartTransactionFn

    Build, simulate, and sign a smart transaction with automatic compute budget and priority fees.

    getComputeUnits: GetComputeUnitsFn

    Simulate a transaction and return the compute units consumed.

    pollTransactionConfirmation: PollTransactionConfirmationFn

    Poll the RPC until a transaction reaches the desired confirmation status.

    sendBundleWithSender: (
        transactions: readonly (
            FullySignedTransaction & TransactionWithinSizeLimit & Readonly<{}> & TransactionWithLifetime
        )[],
        options?: SendBundleOptions,
    ) => Promise<string[]>

    Submit a bundle of up to 5 pre-signed transactions to Sender Max via sendBundle. Include only the 0.001 SOL Sender tip in ≥1 transaction; Helius adds any pathway tips. Landing is tracked per-transaction by signature.

    sendSmartTransaction: SendSmartTransactionFn

    Build, sign, send, and confirm a smart transaction in one call.

    sendTransaction: SendTransactionFn

    Send a pre-signed transaction (any supported format).

    sendTransactionWithSender: SendTransactionWithSenderFn

    Build and send a single transaction via the Helius Sender (Sender Max by default; set swqosOnly for the SWQOS-only tier).