Steem Developer logo

Steem Developer Portal

Methods:

Used to lookup account history information. These AppBase API methods are still under development and subject to change.

account_history_api.get_account_history

Returns a history of all operations for a given account.

Also see: Paginated API Methods

Query Parameters JSON
{
  "account": "",
  "start": "18446744073709551615",
  "limit": 1000
}
Expected Response JSON
{"history": []}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"account_history_api.get_account_history", "params":{"account":"steemit", "start":1000, "limit":1000}, "id":1}' https://api.steemit.com
curl -s --data '{"jsonrpc":"2.0", "method":"account_history_api.get_account_history", "params":{"account":"steemit", "start":-1, "limit":10000}, "id":1}' https://api.steemit.com

account_history_api.get_ops_in_block

Returns all operations contained in a block.

Query Parameters JSON
{"block_num": 0, "only_virtual": false}
Expected Response JSON
{"ops": []}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"account_history_api.get_ops_in_block", "params":{"block_num":1,"only_virtual":false}, "id":1}' https://api.steemit.com
curl -s --data '{"jsonrpc":"2.0", "method":"account_history_api.get_ops_in_block", "params":{"block_num":5443322,"only_virtual":true}, "id":1}' https://api.steemit.com

account_history_api.get_transaction

Returns the details of a transaction based on a transaction id.

Query Parameters JSON
{"id": "0000000000000000000000000000000000000000"}
Expected Response JSON
{
  "ref_block_num": 0,
  "ref_block_prefix": 0,
  "expiration": "1970-01-01T00:00:00",
  "operations": [],
  "extensions": [],
  "signatures": [],
  "transaction_id": "0000000000000000000000000000000000000000",
  "block_num": 0,
  "transaction_num": 0
}
Example curl
curl -s --data '{"jsonrpc":"2.0", "method":"account_history_api.get_transaction", "params":{"id":"6fde0190a97835ea6d9e651293e90c89911f933c"}, "id":1}' https://api.steemit.com

account_history_api.enum_virtual_ops

Query Parameters JSON
{"block_range_begin": 1, "block_range_end": 2}
Expected Response JSON
{"ops": [], "next_block_range_begin": 0}