BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
The custom_operations_api class exposes access to standard custom objects parsed by the custom_operations_plugin. More...
#include <api.hpp>
Public Member Functions | |
custom_operations_api (application &app) | |
vector< account_storage_object > | get_storage_info (const optional< std::string > &account_name_or_id=optional< std::string >(), const optional< std::string > &catalog=optional< std::string >(), const optional< std::string > &key=optional< std::string >(), const optional< uint32_t > &limit=optional< uint32_t >(), const optional< account_storage_id_type > &start_id=optional< account_storage_id_type >()) const |
Get stored objects. More... | |
The custom_operations_api class exposes access to standard custom objects parsed by the custom_operations_plugin.
|
explicit |
vector< account_storage_object > graphene::app::custom_operations_api::get_storage_info | ( | const optional< std::string > & | account_name_or_id = optional<std::string>() , |
const optional< std::string > & | catalog = optional<std::string>() , |
||
const optional< std::string > & | key = optional<std::string>() , |
||
const optional< uint32_t > & | limit = optional<uint32_t>() , |
||
const optional< account_storage_id_type > & | start_id = optional<account_storage_id_type>() |
||
) | const |
Get stored objects.
account_name_or_id | The account name or ID to get info from. Optional. |
catalog | The catalog to get info from. Each account can store data in multiple catalogs. Optional. |
key | The key to get info from. Each catalog can contain multiple keys. Optional. |
limit | The limitation of items each query can fetch, not greater than the configured value of api_limit_get_storage_info. Optional. |
start_id | Start ID of stored object, fetch objects whose IDs are greater than or equal to this ID |
account_name_or_id
is specified but cannot be tied to an account, an error will be returned.limit
can be omitted or be null, if so the configured value of api_limit_get_storage_info will be used.start_id
can be omitted or be null, if so the API will return the "first page" of objects.