DECENT
Functions
Non Fungible Token

Functions

uint64_t graphene::app::database_api::get_non_fungible_token_count () const
 Get the total number of non fungible tokens registered on the blockchain. More...
 
vector< optional< non_fungible_token_object > > graphene::app::database_api::get_non_fungible_tokens (const vector< non_fungible_token_id_type > &nft_ids) const
 Get a list of non fungible tokens by ID. More...
 
vector< non_fungible_token_object > graphene::app::database_api::list_non_fungible_tokens (const string &lower_bound_symbol, uint32_t limit) const
 Get non fungible tokens alphabetically by symbol name. More...
 
vector< optional< non_fungible_token_object > > graphene::app::database_api::get_non_fungible_tokens_by_symbols (const vector< string > &symbols) const
 Get a list of non fungible tokens by symbol. More...
 
uint64_t graphene::app::database_api::get_non_fungible_token_data_count () const
 Get the total number of non fungible token data objects issued on the blockchain. More...
 
vector< optional< non_fungible_token_data_object > > graphene::app::database_api::get_non_fungible_token_data (const vector< non_fungible_token_data_id_type > &nft_data_ids) const
 Get a list of non fungible token data objects by ID. More...
 
vector< non_fungible_token_data_object > graphene::app::database_api::list_non_fungible_token_data (non_fungible_token_id_type nft_id) const
 Get non fungible token data objects by registered token id. More...
 
vector< transaction_detail_object > graphene::app::database_api::search_non_fungible_token_history (non_fungible_token_data_id_type nft_data_id) const
 Get non fungible token data object transfer history. More...
 

Detailed Description

Function Documentation

uint64_t graphene::app::database_api::get_non_fungible_token_count ( ) const

Get the total number of non fungible tokens registered on the blockchain.

Returns
the total number of registered non fungible tokens

Definition at line 1111 of file database_api.cpp.

vector< optional< non_fungible_token_data_object > > graphene::app::database_api::get_non_fungible_token_data ( const vector< non_fungible_token_data_id_type > &  nft_data_ids) const

Get a list of non fungible token data objects by ID.

Note
This function has semantics identical to get_objects().
Parameters
nft_data_idsIDs of the non fungible token data objects to retrieve
Returns
the non fungible token data objects corresponding to the provided IDs

Definition at line 1183 of file database_api.cpp.

uint64_t graphene::app::database_api::get_non_fungible_token_data_count ( ) const

Get the total number of non fungible token data objects issued on the blockchain.

Returns
the total number of issued non fungible token data objects

Definition at line 1173 of file database_api.cpp.

vector< optional< non_fungible_token_object > > graphene::app::database_api::get_non_fungible_tokens ( const vector< non_fungible_token_id_type > &  nft_ids) const

Get a list of non fungible tokens by ID.

Note
This function has semantics identical to get_objects().
Parameters
nft_idsIDs of the non fungible tokens to retrieve
Returns
the non fungible tokens corresponding to the provided IDs

Definition at line 1121 of file database_api.cpp.

vector< optional< non_fungible_token_object > > graphene::app::database_api::get_non_fungible_tokens_by_symbols ( const vector< string > &  symbols) const

Get a list of non fungible tokens by symbol.

Note
This function has semantics identical to get_objects().
Parameters
symbolssymbols of the non fungible tokens to retrieve
Returns
the non fungible tokens corresponding to the provided symbols

Definition at line 1154 of file database_api.cpp.

vector< non_fungible_token_data_object > graphene::app::database_api::list_non_fungible_token_data ( non_fungible_token_id_type  nft_id) const

Get non fungible token data objects by registered token id.

Parameters
nft_idnon fungible token id to list data objects for
Returns
the non fungible token data objects found

Definition at line 1193 of file database_api.cpp.

vector< non_fungible_token_object > graphene::app::database_api::list_non_fungible_tokens ( const string &  lower_bound_symbol,
uint32_t  limit 
) const

Get non fungible tokens alphabetically by symbol name.

Parameters
lower_bound_symbollower bound of symbol names to retrieve
limitmaximum number of non fungible tokens to fetch (must not exceed 100)
Returns
the non fungible tokens found
Exceptions
limit_exceeded_exception

Definition at line 1131 of file database_api.cpp.

vector< transaction_detail_object > graphene::app::database_api::search_non_fungible_token_history ( non_fungible_token_data_id_type  nft_data_id) const

Get non fungible token data object transfer history.

Parameters
nft_data_idthe non fungible token data object id to search history for
Returns
a list of transaction detail objects

Definition at line 1212 of file database_api.cpp.