# Steem Developer Portal

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

- Working on mainnet
- Working on testnet

#### account_history_api.get_account_history

Returns a history of all operations for a given account.

##### 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

- Working on mainnet
- Working on testnet

#### 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

- Deprecated
- Working on mainnet
- Working on testnet

#### 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