Block API¶
Block¶
get_blocks¶
-
vector<optional<signed_block>>
graphene::app::block_api::get_blocks(uint32_t block_num_from, uint32_t block_num_to) const¶ Get signed blocks.
- Return
A list of signed blocks from block_num_from till block_num_to
- Parameters
block_num_from: The lowest block numberblock_num_to: The highest block number
Asset API¶
Asset¶
get_asset_holders¶
-
vector<account_asset_balance>
graphene::app::asset_api::get_asset_holders(std::string asset, uint32_t start, uint32_t limit) const¶ Get asset holders for a specific asset.
- Return
A list of asset holders for the specified asset
- Parameters
asset: The specific asset id or symbolstart: The start indexlimit: Maximum limit must not exceed 100
Orders API¶
Orders¶
get_grouped_limit_orders¶
-
vector<limit_order_group>
graphene::app::orders_api::get_grouped_limit_orders(std::string base_asset, std::string quote_asset, uint16_t group, optional<price> start, uint32_t limit) const¶ Get grouped limit orders in given market.
- Return
The grouped limit orders, ordered from best offered price to worst
- Parameters
base_asset: ID or symbol of asset being soldquote_asset: ID or symbol of asset being purchasedgroup: Maximum price diff within each order group, have to be one of configured valuesstart: Optional price to indicate the first order group to retrievelimit: Maximum number of order groups to retrieve (must not exceed 101)