@solana/web3.js
    Preparing search index...

    Type Alias ConnectionConfig

    Configuration for instantiating a Connection

    type ConnectionConfig = {
        commitment?: Commitment;
        confirmTransactionInitialTimeout?: number;
        disableRetryOnRateLimit?: boolean;
        fetch?: typeof globalThis.fetch;
        fetchMiddleware?: FetchMiddleware;
        httpHeaders?: HttpHeaders;
        subscriptions?: Readonly<{ channelConfig?: SubscriptionChannelConfig }>;
        wsEndpoint?: string;
    }
    Index
    commitment?: Commitment

    Optional commitment level

    confirmTransactionInitialTimeout?: number

    time to allow for the server to initially process a transaction (in milliseconds)

    disableRetryOnRateLimit?: boolean

    Optional Disable retrying calls when server responds with HTTP 429 (Too Many Requests)

    fetch?: typeof globalThis.fetch

    Optional custom fetch function

    fetchMiddleware?: FetchMiddleware

    Optional fetch middleware callback

    httpHeaders?: HttpHeaders

    Optional HTTP headers object

    subscriptions?: Readonly<{ channelConfig?: SubscriptionChannelConfig }>

    Optional subscriptions runtime configuration

    wsEndpoint?: string

    Optional endpoint URL to the fullnode JSON RPC PubSub WebSocket Endpoint