Scorum
|
Accounts. More...
Functions | |
std::vector< std::set< std::string > > | scorum::app::database_api::get_key_references (std::vector< public_key_type > key) const |
std::vector< extended_account > | scorum::app::database_api::get_accounts (const std::vector< std::string > &names) const |
std::vector< account_id_type > | scorum::app::database_api::get_account_references (account_id_type account_id) const |
std::vector< optional< account_api_obj > > | scorum::app::database_api::lookup_account_names (const std::vector< std::string > &account_names) const |
Get a list of accounts by name. More... | |
std::set< std::string > | scorum::app::database_api::lookup_accounts (const std::string &lower_bound_name, uint32_t limit) const |
Get names and IDs for registered accounts. More... | |
uint64_t | scorum::app::database_api::get_account_count () const |
Get the total number of accounts registered with the blockchain. More... | |
std::vector< owner_authority_history_api_obj > | scorum::app::database_api::get_owner_history (const std::string &account) const |
optional< account_recovery_request_api_obj > | scorum::app::database_api::get_recovery_request (const std::string &account) const |
optional< escrow_api_obj > | scorum::app::database_api::get_escrow (const std::string &from, uint32_t escrow_id) const |
std::vector< withdraw_route > | scorum::app::database_api::get_withdraw_routes (const std::string &account, withdraw_route_type type=outgoing) const |
optional< account_bandwidth_api_obj > | scorum::app::database_api::get_account_bandwidth (const std::string &account, witness::bandwidth_type type) const |
std::vector< scorumpower_delegation_api_obj > | scorum::app::database_api::get_scorumpower_delegations (const std::string &account, const std::string &from, uint32_t limit=100) const |
std::vector< scorumpower_delegation_expiration_api_obj > | scorum::app::database_api::get_expiring_scorumpower_delegations (const std::string &account, time_point_sec from, uint32_t limit=100) const |
Accounts.
optional< account_bandwidth_api_obj > scorum::app::database_api::get_account_bandwidth | ( | const std::string & | account, |
witness::bandwidth_type | type | ||
) | const |
Definition at line 549 of file database_api.cpp.
uint64_t scorum::app::database_api::get_account_count | ( | ) | const |
Get the total number of accounts registered with the blockchain.
Definition at line 438 of file database_api.cpp.
std::vector< account_id_type > scorum::app::database_api::get_account_references | ( | account_id_type | account_id | ) | const |
Definition at line 369 of file database_api.cpp.
std::vector< extended_account > scorum::app::database_api::get_accounts | ( | const std::vector< std::string > & | names | ) | const |
Definition at line 328 of file database_api.cpp.
optional< escrow_api_obj > scorum::app::database_api::get_escrow | ( | const std::string & | from, |
uint32_t | escrow_id | ||
) | const |
Definition at line 481 of file database_api.cpp.
std::vector< scorumpower_delegation_expiration_api_obj > scorum::app::database_api::get_expiring_scorumpower_delegations | ( | const std::string & | account, |
time_point_sec | from, | ||
uint32_t | limit = 100 |
||
) | const |
Definition at line 1048 of file database_api.cpp.
std::vector< std::set< std::string > > scorum::app::database_api::get_key_references | ( | std::vector< public_key_type > | key | ) | const |
Definition at line 305 of file database_api.cpp.
std::vector< owner_authority_history_api_obj > scorum::app::database_api::get_owner_history | ( | const std::string & | account | ) | const |
Definition at line 448 of file database_api.cpp.
optional< account_recovery_request_api_obj > scorum::app::database_api::get_recovery_request | ( | const std::string & | account | ) | const |
Definition at line 466 of file database_api.cpp.
std::vector< scorumpower_delegation_api_obj > scorum::app::database_api::get_scorumpower_delegations | ( | const std::string & | account, |
const std::string & | from, | ||
uint32_t | limit = 100 |
||
) | const |
Definition at line 1028 of file database_api.cpp.
std::vector< withdraw_route > scorum::app::database_api::get_withdraw_routes | ( | const std::string & | account, |
withdraw_route_type | type = outgoing |
||
) | const |
Definition at line 498 of file database_api.cpp.
std::vector< optional< account_api_obj > > scorum::app::database_api::lookup_account_names | ( | const std::vector< std::string > & | account_names | ) | const |
Get a list of accounts by name.
account_names | Names of the accounts to retrieve |
This function has semantics identical to get_objects
Definition at line 392 of file database_api.cpp.
std::set< std::string > scorum::app::database_api::lookup_accounts | ( | const std::string & | lower_bound_name, |
uint32_t | limit | ||
) | const |
Get names and IDs for registered accounts.
lower_bound_name | Lower bound of the first name to return |
limit | Maximum number of results to return – must not exceed 1000 |
Definition at line 419 of file database_api.cpp.