The asset_api class allows query of info about asset holders.
More...
#include <api.hpp>
The asset_api class allows query of info about asset holders.
Definition at line 548 of file api.hpp.
◆ asset_api()
◆ get_all_asset_holders()
Get all asset holders.
- Returns
- A list of all asset holders
Definition at line 942 of file api.cpp.
◆ get_asset_holders()
vector< asset_api::account_asset_balance > graphene::app::asset_api::get_asset_holders |
( |
const std::string & |
asset_symbol_or_id, |
|
|
uint32_t |
start, |
|
|
uint32_t |
limit |
|
) |
| const |
Get asset holders for a specific asset.
- Parameters
-
asset_symbol_or_id | The specific asset symbol or ID |
start | The start index |
limit | Maximum number of accounts to retrieve, must not exceed the configured value of api_limit_get_asset_holders |
- Returns
- A list of asset holders for the specified asset
Definition at line 891 of file api.cpp.
◆ get_asset_holders_count()
int64_t graphene::app::asset_api::get_asset_holders_count |
( |
const std::string & |
asset_symbol_or_id | ) |
const |
Get asset holders count for a specific asset.
- Parameters
-
asset_symbol_or_id | The specific asset symbol or id |
- Returns
- Holders count for the specified asset
Definition at line 931 of file api.cpp.
The documentation for this class was generated from the following files: