Author Topic: How to monitor the owners of a UIA  (Read 2403 times)

0 Members and 1 Guest are viewing this topic.

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
Use snapshot plugin if there are many holders. With asset_api, while you're fetching next page, the state (balances and etc) may have changed.

For more info, check

./witness_node --help
BitShares committee member: abit
BitShares witness: in.abit

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
https://github.com/bitshares/bitshares-core/blob/master/libraries/app/include/graphene/app/api.hpp#L352-L354

not enabled on most public nodes tho. A request would look like this:

    '{"method": "call", "params": ["asset", "get_asset_holders", ["1.3.0", 0, 100]], "jsonrpc": "2.0", "id": 9}'

if the asset_api is enabled on the node

Offline tanselkaya

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • BitShares: bzzrx
Thank you very much. As you indicated bitshares-explorer.io is capable of listing the asset holders. I'm assuming it is making a call to the asset api.

https://github.com/bitshares/bitshares-core/blob/master/libraries/app/include/graphene/app/api.hpp#L314

Offline btsindex

It seems that it's impossible to get such info using the standard wallets (like wallet.bitshares.org) or command line wallet. However there are websites that analyze the bitshares blockchain and provide information about asset holders. These websites are http://cryptofresh.com and http://bitshares-explorer.io/

Offline tanselkaya

  • Newbie
  • *
  • Posts: 6
    • View Profile
  • BitShares: bzzrx
Is it possible to know how much each account owns of a particular UIA? We would like to create a mechanism where we pay dividends to holders of our UIA. I issued some, I sent some, then there will be buys&sells. How can I know the total at each user.

If there is such a thing, what happens when confidential transactions are used?

Thanks a lot.