privex.steemengine.SteemEngineToken.SteemEngineToken.__init__¶
- SteemEngineToken.__init__(network_account='ssc-mainnet1', history_conf: Optional[dict] = None, network='steem', **rpc_args)[source]¶
Initialises the class with various configuration options. All parameters are optional.
Pass a dict in
history_confto override the SteemEngine history node used Pass extra kwargs such ashostname='api.example.com'ot override the SteemEngine RPC node used.- Parameters
network_account – The Steem account that operates the SteemEngine network, e.g. ssc-mainnet1 for the Steem Smart Contracts Main Network
history_conf – A dictionary containing kwargs to pass to
SteemEngineHistoryconstructorrpc_args – Any additional kwargs will be passed to the
privex.jsonrpc.SteemEngineRPCconstructornodes (str|list) – If the
nodeskwarg is specified, e.g.nodes=['https://api.something.com'], then Beem will be configured during__init__to use those specific RPC nodes.