OptionaladdressHive address prefix. Defaults to main network:
STM
OptionalagentNode.js http(s) agent, use if you want http keep-alive. The global fetch of Node.js 18+ ignores agents, so setting this makes requests go through cross-fetch (node-fetch) instead, which applies it. When unset, the runtime's global fetch is used where there is one.
OptionalbackoffRetry backoff function, returns milliseconds. Default = defaultBackoff.
OptionalchainHive chain id. Defaults to main hive network:
need the new id?
beeab0de00000000000000000000000000000000000000000000000000000000
OptionalconsoleWhether a console.log should be made when RPC failed over to another one
OptionalfailoverSpecifies the amount of times the urls (RPC nodes) should be iterated and retried in case of timeout errors. (important) Requires url parameter to be an array (string[])! Can be set to 0 to iterate and retry forever. Defaults to 3 rounds.
OptionalhealthOptions for the node health tracker. Controls cooldown periods, stale block thresholds, etc.
OptionalrebrandedDeprecated - don't use
OptionaltimeoutSend timeout, how long to wait in milliseconds before giving up on a rpc call. Note that this is not an exact timeout, no in-flight requests will be aborted, they will just not be retried any more past the timeout. Can be set to 0 to retry forever. Defaults to 60 * 1000 ms.
RPC Client options