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

    Type Alias ConnectionConfig

    Configuration for instantiating a Connection

    type ConnectionConfig = {
        commitment?: Commitment;
        confirmTransactionInitialTimeout?: number;
        disableRetryOnRateLimit?: boolean;
        fetch?: FetchFn;
        fetchMiddleware?: FetchMiddleware;
        httpAgent?: NodeHttpAgent | NodeHttpsAgent | false;
        httpHeaders?: HttpHeaders;
        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?: FetchFn

    Optional custom fetch function

    fetchMiddleware?: FetchMiddleware

    Optional fetch middleware callback

    httpAgent?: NodeHttpAgent | NodeHttpsAgent | false

    An http.Agent that will be used to manage socket connections (eg. to implement connection persistence). Set this to false to create a connection that uses no agent. This applies to Node environments only.

    httpHeaders?: HttpHeaders

    Optional HTTP headers object

    wsEndpoint?: string

    Optional endpoint URL to the fullnode JSON RPC PubSub WebSocket Endpoint