Skip to main content

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_actions
  • get_transaction
  • get_key_accounts
  • get_controlled_accounts

The four actions listed above are used by the following clio commands (matching order):

  • get actions
  • get transaction
  • get accounts
  • 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]