history_api_plugin
warning
| The history_plugin that the history_api_plugin depends upon is deprecated and will no longer be maintained. Please use the state_history_plugin or the trace_api_plugin instead.
Description
The history_api_plugin exposes functionality from the history_plugin to the RPC API interface managed by the http_plugin, providing read-only access to blockchain data.
It provides four RPC API endpoints:
get_actionsget_transactionget_key_accountsget_controlled_accounts
The four actions listed above are used by the following clio commands (matching order):
clio get actionsclio get transactionclio get accountsclio get servants
Usage
# config.ini
plugin = sysio::history_api_plugin
# command-line
nodeop ... --plugin sysio::history_api_plugin
Options
None
Dependencies
Load Dependency Examples
# config.ini
plugin = sysio::history_plugin
[options]
plugin = sysio::chain_plugin
[options]
plugin = sysio::http_plugin
[options]
# command-line
nodeop ... --plugin sysio::history_plugin [options] \
--plugin sysio::chain_plugin [operations] [options] \
--plugin sysio::http_plugin [options]