4.3. Block API

4.3.1. 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.

A list of signed blocks from block_num_from till block_num_to
  • block_num_from: The lowest block number
  • block_num_to: The highest block number

4.4. Asset API

4.4.1. Asset get_asset_holders

vector<account_asset_balance> graphene::app::asset_api::get_asset_holders(asset_id_type asset_id, uint32_t start, uint32_t limit) const

Get asset holders for a specific asset.

A list of asset holders for the specified asset
  • asset_id: The specific asset
  • start: The start index
  • limit: Maximum limit must not exceed 100 get_all_asset_holders

vector<asset_holders> graphene::app::asset_api::get_all_asset_holders() const

Get all asset holders.

A list of all asset holders

4.5. Orders API

4.5.1. Orders get_grouped_limit_orders

vector<limit_order_group> graphene::app::orders_api::get_grouped_limit_orders(asset_id_type base_asset_id, asset_id_type quote_asset_id, uint16_t group, optional<price> start, uint32_t limit) const

Get grouped limit orders in given market.

The grouped limit orders, ordered from best offered price to worst
  • base_asset_id: ID of asset being sold
  • quote_asset_id: ID of asset being purchased
  • group: Maximum price diff within each order group, have to be one of configured values
  • start: Optional price to indicate the first order group to retrieve
  • limit: Maximum number of order groups to retrieve (must not exceed 101)