eosjs icon indicating copy to clipboard operation
eosjs copied to clipboard

get stats for tokens

Open murray1337 opened this issue 8 years ago • 2 comments

I found the following in the docs:

eos.getCurrencyStats(code, symbol) ⇒ getCurrencyStatsResult

I was able to receive all stats for

eos.getCurrencyStats('EOS', 'eosio.token')

as well as all self created tokens on my local test node. I was looking for symbols on the main net and found RIDL, POOR, WIZZ, EETH and ATD. Using their symbols just returned an empty object. So either these tokens aren't really published yet or using 'eosio.token' is the wrong contract.

Was anybody successful getting stats for main net tokens?

murray1337 avatar Aug 16 '18 04:08 murray1337

Use contracts at https://github.com/eoscafe/eos-airdrops

jafri avatar Aug 16 '18 06:08 jafri

worked! So all wallet providers need to have access to all contract names or even their own little database. Is there a package in development to get the most recent ones?

murray1337 avatar Aug 16 '18 06:08 murray1337