Skip to content

Commit

Permalink
Protocol: update blockchain.address.get_history
Browse files Browse the repository at this point in the history
  • Loading branch information
xHire committed Aug 14, 2017
1 parent cf92362 commit 75919a9
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions protocol.rst
Original file line number Diff line number Diff line change
Expand Up @@ -227,23 +227,20 @@ any transaction for the address yet, the status is null.
blockchain.address.get_history
``````````````````````````````

For a given address a list of transactions and their heights (and fees in newer versions) is returned.

*request:*

.. code-block:: json
{"id": 1, "method":
"blockchain.address.get_history", "params":
["1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L"] }
{"id": 1, "method": "blockchain.address.get_history", "params": ["1NS17iag9jJgTHD1VXjvLCEnZuQ3rJDE9L"] }
*response:*

.. code-block:: json
{"id": 1, "result": [{"tx_hash":
"ac9cd2f02ac3423b022e86708b66aa456a7c863b9730f7ce5bc24066031fdced",
"height": 340235}, {"tx_hash":
"c4a86b1324f0a1217c80829e9209900bc1862beb23e618f1be4404145baa5ef3",
"height": 340237}]}
{"id": 1, "result": [{"tx_hash": "ac9cd2f02ac3423b022e86708b66aa456a7c863b9730f7ce5bc24066031fdced", "height": 340235}, {"tx_hash": "c4a86b1324f0a1217c80829e9209900bc1862beb23e618f1be4404145baa5ef3", "height": 340237}]}
{"jsonrpc": "2.0", "id": 1, "result": [{"tx_hash": "16c2976eccd2b6fc937d24a3a9f3477b88a18b2c0cdbe58c40ee774b5291a0fe", "height": 0, "fee": 225}]}
blockchain.address.get_mempool
Expand Down

1 comment on commit 75919a9

@knocte
Copy link
Contributor

@knocte knocte commented on 75919a9 Apr 10, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xHire what's the protocol version that introduces the fees?

Please sign in to comment.