The address to the Hive RPC server,
e.g. https://api.hive.blog
. or [https://api.hive.blog
, https://another.api.com
]
Client options.
Readonly
addressAddress to Hive RPC server. String or String[] read-only
Readonly
addressAddress prefix for current network.
Private
Readonly
backoffDefault backoff function.
min(tries*10^2, 10 seconds)
Readonly
blockchainBlockchain helper.
Readonly
broadcastBroadcast API helper.
Readonly
chainChain ID for current network.
Private
Readonly
consoleReadonly
databaseDatabase API helper.
Private
Readonly
failoverReadonly
hivemindHivemind helper.
Readonly
keysAccounts by key API helper.
Readonly
optionsClient options, read-only.
Readonly
rcRC API helper.
Private
Readonly
timeoutReadonly
transactionTransaction status API helper.
Make a RPC call to the server.
The API to call, e.g. database_api
.
The API method, e.g. get_dynamic_global_properties
.
Array of parameters to pass to the method, optional.
Static
testnetCreate a new client instance configured for the testnet.
Optional
options: ClientOptionsGenerated using TypeDoc
RPC Client
Can be used in both node.js and the browser. Also see ClientOptions.