Optionalcommitment?: CommitmentOptional commitment level
OptionalconfirmTransactionInitialTimeout?: numbertime to allow for the server to initially process a transaction (in milliseconds)
OptionaldisableRetryOnRateLimit?: booleanOptional Disable retrying calls when server responds with HTTP 429 (Too Many Requests)
Optionalfetch?: FetchFnOptional custom fetch function
OptionalfetchMiddleware?: FetchMiddlewareOptional fetch middleware callback
OptionalhttpAgent?: NodeHttpAgent | NodeHttpsAgent | falseAn 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.
OptionalhttpHeaders?: HttpHeadersOptional HTTP headers object
OptionalwsEndpoint?: stringOptional endpoint URL to the fullnode JSON RPC PubSub WebSocket Endpoint
Configuration for instantiating a Connection