get_currency_stats
The get_currency_stats method is utilized to retrieve the statistics for a specific currency on the EOS blockchain. By employing this method, users and developers can obtain crucial information about a currency, such as its supply, maximum supply, and issuer, thereby enabling in-depth analysis and insights into the currency's status and distribution.
Example use cases:
Token Analysis
Individuals and analysts can utilize the get_currency_stats method to gather comprehensive details about a token's supply and issuer, facilitating profound analysis and research on the token’s characteristics and distribution.
Smart Contract Interaction
Developers can use this method to obtain necessary information about a token, which can aid in interacting efficiently with smart contracts that deal with tokens, for operations like transferring tokens or querying balances.
Market Analysis
get_currency_stats is instrumental for acquiring essential details about a token, which are critical for performing market analysis. This enables users and potential investors to make informed and insightful decisions based on the available token data.
Parameters
parameter | type | description |
|---|---|---|
code | string | The contract that operates the token. |
symbol | string | The symbol of the token for which the statistics are being requested. |
Return Object
The get_currency_stats method returns an object containing the statistics of the requested currency. This object includes:
field | description |
|---|---|
supply | The total supply of the token in circulation. |
max_supply | The maximum supply of the token that can ever be created. |
issuer | The account name of the issuer of the token. |
JSON-RPC Request Example
Response Example