Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ClientOptions

RPC Client options

Hierarchy

  • ClientOptions

Index

Properties

Optional addressPrefix

addressPrefix: undefined | string

Steem address prefix. Defaults to main steem network: STM

Optional agent

agent: any

Node.js http(s) agent, use if you want http keep-alive. Defaults to using https.globalAgent.

see

https://nodejs.org/api/http.html#http_new_agent_options.

Optional backoff

backoff: undefined | function

Retry backoff function, returns milliseconds. Default = defaultBackoff.

Optional chainId

chainId: undefined | string

Steem chain id. Defaults to main steem network: 0000000000000000000000000000000000000000000000000000000000000000

Optional timeout

timeout: undefined | number

Send 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.

Generated using TypeDoc