Skip to content

get-token-info documentation is different from the API data  #245

@FinalFrontierPrototyping

Description

Hello,

I am implementing Ethplorer in my project. I noticed that the get-token-info is different from the actual API call:

Documentation:

{
address: # token address,
totalSupply: # total token supply,
name: # token name,
symbol: # token symbol,
decimals: # number of significant digits,
price: { # token price (false, if not available),
rate: # current price in currency,
currency: # token price currency (USD),
diff: # 24 hours rate difference (in percent),
diff7d: # 7 days rate difference (in percent),
diff30d: # 30 days rate difference (in percent),
marketCapUsd: # market cap (USD),
availableSupply: # available supply,
volume24h: # 24 hours volume,
ts: # last rate update timestamp,
},
publicTags: [] # [optional] one or more tags from https://ethplorer.io/tag/,
owner: # token owner address,
countOps: # total count of token operations,
totalIn: # total amount of incoming tokens,
totalOut: # total amount of outgoing tokens,
transfersCount: # total number of token operations,
ethTransfersCount: # [optional] total number of ethereum operations,
holdersCount: # total number of token holders,
issuancesCount: # total count of token issuances,
image: # [optional] token image url,
description: # [optional] token description,
website: # [optional] token website url,
lastUpdated: # last updated timestamp,
}

API Call:
{
"address": "0x2b591e99afe9f32eaa6214f7b7629768c40eeb39",
"name": "HEX",
"decimals": "8",
"symbol": "HEX",
"totalSupply": "58155180128736744713",
"owner": "",
"txsCount": 1830264,
"transfersCount": 3109936,
"lastUpdated": 1667511641,
"issuancesCount": 1055704,
"holdersCount": 310882,
"image": "/images/HEX2b591e99.png",
"website": "https://hex.com",
"ethTransfersCount": 0,
"price": {
"rate": 0.03924476800557123,
"diff": -3,
"diff7d": -8.9,
"ts": 1667512020,
"marketCapUsd": 6805477384.937584,
"availableSupply": 173411074413.06497,
"volume24h": 7594780.32979642,
"volDiff1": -36.69057597277082,
"volDiff7": -0.8260291777996116,
"volDiff30": -12.097591119921304,
"diff30d": 17.069084350204577,
"bid": 0.163126,
"currency": "USD"
},
"countOps": 3109936
}

I haven't crosschecked all data, but e.g. the following data is missing and not labeled as optional in the documentation:
totalIn: # total amount of incoming tokens,
totalOut: # total amount of outgoing tokens,

Is the documentation outdated, or is something else wrong?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions