Nodeos

history_api_plugin

The history plugin that the history api plugin is dependent upon is deprecated and will no longer be maintained, please use the state history plugin instead

Description

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.

Provides four RPC API endpoints:

  • get_actions
  • get_transaction
  • get_key_accounts
  • get_controlled_accounts

See [History section of RPC API] (https://developers.eos.io/eosio-nodeos/reference)

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

  • get actions
  • get transaction
  • get accounts
  • get servants

Options

Usage

# config.ini
plugin = eosio::history_api_plugin

# nodeos startup params
--plugin eosio::history_api_plugin

Dependencies

Load Dependency Examples

# config.ini
plugin = eosio::history_plugin
plugin = eosio::chain_plugin
plugin = eosio::http_plugin

# nodeos startup params
--plugin eosio::history_plugin --plugin eosio::chain_plugin --plugin eosio::http_plugin

history_api_plugin


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.