Optional
commitment?: CommitmentOptional commitment level
Optional
confirmTransactionInitialTimeout?: numbertime to allow for the server to initially process a transaction (in milliseconds)
Optional
disableRetryOnRateLimit?: booleanOptional Disable retrying calls when server responds with HTTP 429 (Too Many Requests)
Optional
fetch?: FetchFnOptional custom fetch function
Optional
fetchMiddleware?: FetchMiddlewareOptional fetch middleware callback
Optional
httpAgent?: 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.
Optional
httpHeaders?: HttpHeadersOptional HTTP headers object
Optional
wsEndpoint?: stringOptional endpoint URL to the fullnode JSON RPC PubSub WebSocket Endpoint
Configuration for instantiating a Connection