Author Topic: curl bitshares 2 api help  (Read 1578 times)

0 Members and 1 Guest are viewing this topic.

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
I have a hard time understanding how the bitshares 2 api works.
For example i want to get the transaction history of an account.
in bts 1:
{"method": "wallet_account_transaction_history", "params": ["myaccount"], "id": "0"}

how does it work in bts 2.0 with get_account_history?

you need the cli_wallet api. so the wallet connects to the witness node, and the curl request will go to the wallet port

http://python-graphenelib.readthedocs.org/en/latest/graphene-api.html
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline JA

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
I have a hard time understanding how the bitshares 2 api works.
For example i want to get the transaction history of an account.
in bts 1:
{"method": "wallet_account_transaction_history", "params": ["myaccount"], "id": "0"}

how does it work in bts 2.0 with get_account_history?