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

    Interface HeliusRpcOptions

    Options for creating a Helius RPC client.

    interface HeliusRpcOptions {
        apiKey?: string;
        baseUrl?: string;
        network?: "mainnet" | "devnet";
        rebateAddress?: string;
        userAgent?: string;
    }
    Index

    Properties

    apiKey?: string

    Helius API key. Required for webhooks, enhanced transactions, and the Wallet API.

    baseUrl?: string

    Custom RPC base URL. When provided, network is ignored.

    network?: "mainnet" | "devnet"

    Solana network to connect to. Defaults to "mainnet".

    rebateAddress?: string

    Wallet address that receives rebates for RPC usage. Appended as a query parameter.

    userAgent?: string

    Custom User-Agent string appended to outgoing HTTP requests.