eos

View on GitHub

history_api_plugin

[[warning Deprecation Notice]]
  The history_plugin that the history_api_plugin depends upon is deprecated and will no longer be maintained. Please use the state_history_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:

[[info More Info]]
  See HISTORY section of RPC API.

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

Usage

# config.ini
plugin = eosio::history_api_plugin
# command-line
nodeos ... --plugin eosio::history_api_plugin

Options

None

Dependencies

Load Dependency Examples

# config.ini
plugin = eosio::history_plugin
[options]
plugin = eosio::chain_plugin
[options]
plugin = eosio::http_plugin
[options]
# command-line
nodeos ... --plugin eosio::history_plugin [options]  \
           --plugin eosio::chain_plugin [operations] [options]  \
           --plugin eosio::http_plugin [options]