Optional
props: ClientConfigurationGet logger if set
Set the maximum payment allowable for queries.
Set if a new transaction ID should be generated when a TRANSACTION_EXPIRED
status
is returned.
Set the account that will, by default, pay for transactions and queries built with this client. NOTE: When using string for private key, the string needs to contain DER headers
Number of milliseconds
Update the network address book.
Static
_Extracts shard and realm values from a network configuration. Note: This method assumes the network is consistent (all nodes in same shard/realm). Use validateNetworkConsistency() first to ensure this.
Static
_Validates that all nodes in a network are in the same shard and realm.
Static
forConstruct a Hedera client pre-configured for local-node access.
Optional
props: { scheduleNetworkUpdate?: boolean } = ...Static
forConstruct a Hedera client pre-configured for Mainnet access.
Optional
props: { scheduleNetworkUpdate?: boolean } = {}Static
forStatic
forOptional
props: { scheduleNetworkUpdate?: boolean } = {}Static
forConstruct a client for a specific network.
It is the responsibility of the caller to ensure that all nodes in the map are part of the same Hedera network. Failure to do so will result in undefined behavior.
The client will load balance all requests to Hedera using a simple round-robin scheme to chose nodes to send transactions to. For one transaction, at most 1/3 of the nodes will be tried.
Optional
props: ClientConfigurationStatic
forConstruct a Hedera client pre-configured for Previewnet access.
Optional
props: { scheduleNetworkUpdate?: boolean } = {}Static
forConstruct a Hedera client pre-configured for Testnet access.
Optional
props: { scheduleNetworkUpdate?: boolean } = {}Static
fromStatic
from
Logger