Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@coinranking/supplies

coinranking25MIT2.72.0

Cryptocurrency supply data library in JavaScript (open source) for getting total, circulating and max supplies from block explorers.

cryptocurrencies, cryptocurrency, crypto, altcoin, bitcoin, ethereum, coin, supplies, circulating supply, total supply, max supply, coinranking, blockchain

readme

README.md

changelog

2.72.0 (2024-10-31)

Features

2.71.0 (2024-04-19)

Features

  • lower the rate of the bitquery driver (8084ae7)

2.70.3 (2023-12-04)

Bug Fixes

  • solana: use the decimals for solana tokens (42a261e)

2.70.2 (2023-08-03)

Bug Fixes

  • polygonscan: use apikey (9abb5cf)

2.70.1 (2023-07-31)

Bug Fixes

  • web3eth: when the decimals are not set in the contract (3bfcfff)

2.70.0 (2023-07-26)

Features

  • solana: add support for tokens (29b683b)

2.69.1 (2023-07-26)

Bug Fixes

  • web3eth: modifiers with negative balance (5874d33)
  • web3eth: modifiers with negative balance (d3a9731)

2.69.0 (2023-07-25)

Features

  • web3eth: total supply of contract (d3e58ca)

2.68.2 (2023-07-24)

Bug Fixes

  • web3eth: switch to bitquery to get the supply for Ethereum tokens (bd1d935)

2.68.1 (2023-07-21)

Bug Fixes

  • web3eth: convert token balances to number (2eab148)

2.68.0 (2023-07-21)

Features

  • remove unused code and update the web3 package (d9b5b19)

2.67.6 (2023-01-12)

Bug Fixes

  • some support options were not correct (d9c0483)

2.67.5 (2022-11-16)

Bug Fixes

  • give bscscan even more time to react (f0ebfdd)

2.67.4 (2022-11-10)

Bug Fixes

  • remove broken cardano driver (5be9542)
  • remove broken dia-ethereum-classic driver (db4078c)
  • remove broken dogechain driver (55fcf10)

2.67.3 (2022-11-10)

Bug Fixes

  • remove broken neoscan driver (049dc0b)

2.67.2 (2022-11-07)

Bug Fixes

  • getSupplyDash example requires a blockchain because it is a multi-chain driver (d831aec)

2.67.1 (2022-04-04)

Bug Fixes

  • web3eth: use Cloudflare ETH gateway (24c32be)

2.67.0 (2021-10-26)

Features

2.66.0 (2021-08-13)

Features

  • add support for terra tokens (30b2498)

2.65.0 (2021-07-31)

Features

  • support for clover finance (54c8c2f)

2.64.0 (2021-07-15)

Features

2.63.0 (2021-06-24)

Bug Fixes

  • PrcyCoin: typo and max was not loaded (9a99b8c)

Features

2.62.0 (2021-06-24)

Features

2.61.0 (2021-06-24)

Bug Fixes

  • cpcoin supports definitions (30c7f86)
  • simplify the CPCoin driver (0b7e135)

Features

2.60.0 (2021-06-17)

Bug Fixes

  • hex: fixture missed a header and subtracted the origin addresses (d619860)

Features

2.59.0 (2021-06-04)

Features

  • magpie coin driver (cc6c0a4)
  • magpie coin upgrade balances (b2df61f)
  • upgrade magprie coin with total supply (45bc9d7)

2.58.0 (2021-06-03)

Features

  • algorand driver upgrades (ca1d6aa)

2.57.0 (2021-06-03)

Bug Fixes

  • BitcoinVirtualGold: remove the blockchain (d8cf814)

Features

  • add description to planet-finance driver (d284572)
  • bitcoin virtual gold driver (e55de7d)
  • chia driver (ee9cdd3)
  • chia network upgrade with total supply (ca014ed)
  • planet-finance driver (81b1b6f)

2.56.0 (2021-06-03)

Features

2.55.0 (2021-06-03)

Bug Fixes

  • Ecomi: remove the blockchain (6dfb25e)

Features

2.54.0 (2021-05-27)

Features

2.53.0 (2021-05-19)

Features

2.52.0 (2021-05-19)

Features

2.51.0 (2021-04-29)

Features

  • bscscan: support token balances (a6c7c44)

2.50.0 (2021-04-28)

Bug Fixes

  • Bixbcoin: remove the blockchain, (54b03d2)

Features

2.49.0 (2021-04-28)

Bug Fixes

  • celo: also add the total supply and subtract team from circulating (ec1ed20)

Features

2.48.0 (2021-04-28)

Features

2.47.0 (2021-04-28)

Features

2.46.0 (2021-04-28)

Features

2.45.0 (2021-04-28)

Bug Fixes

  • bscscan: support for getting the tokens (c3ad54b)

Features

2.44.1 (2021-04-21)

Bug Fixes

2.44.0 (2021-03-29)

Features

2.43.1 (2021-03-05)

Bug Fixes

2.43.0 (2021-03-02)

Bug Fixes

Features

  • add support for new properties (7790613)
  • use the newly added tokenBalances prop in the pipeline (2c17a24)

2.42.2 (2021-02-26)

Bug Fixes

2.42.1 (2021-02-17)

Bug Fixes

2.42.0 (2021-02-17)

Bug Fixes

Features

  • add blockchain (2fdf6d3)
  • add description to tronscan driver (7c03cf6)
  • in the future this driver might support both TRC10 and TRC20 (1ee4b2a)
  • make this driver dedicated to TRC20 (7585afa)
  • tronscan driver (a3c4a59)
  • tronscan fix fixtures and circulating supply (2c8cbfa)

2.41.0 (2021-02-16)

Features

2.40.0 (2021-02-11)

Bug Fixes

  • remove all fixtures for cirquity driver (6c4199b)

Features

2.39.0 (2021-02-11)

Features

  • elrond driver (3ba4ee0)
  • elrond driver update with new total, circulating and max supply (cd6cb0f)

2.38.0 (2021-02-11)

Features

  • waves: support custom decimals if the issueTransaction is not set (e3272d4)
  • newyorkcoin driver (bfdc4a8)
  • terra-usd driver (91e3998)

2.37.0 (2021-01-27)

Features

2.36.0 (2021-01-27)

Features

2.35.3 (2020-12-24)

Bug Fixes

  • bridgelto: forbidden message from bridge lto (0a19df4)

2.35.2 (2020-12-24)

Bug Fixes

  • blockchair: blockchains with space in the name didn't work anymore (a666992)

2.35.1 (2020-12-24)

Bug Fixes

  • ddkoin: server didn't support the v3 socket.io version (3879dd0)

2.35.0 (2020-12-18)

Features

  • support for web3 driver (39bf02d)

2.34.0 (2020-11-23)

Features

2.33.0 (2020-11-17)

Features

  • neutrino dollar set same total and circulating supply (3ac36d8)

2.32.1 (2020-11-09)

Bug Fixes

  • throw error if FileCoin is null (5a3f6aa)

2.32.0 (2020-10-29)

Features

  • add support for Bitcoin Vault (f2869e8)

2.31.0 (2020-10-29)

Features

2.30.1 (2020-10-27)

Bug Fixes

  • monero should have 12 decimal places (ff45992)

2.30.0 (2020-10-27)

Bug Fixes

  • fix unlimited fiscuss fyi description (aac1b45)

Features

  • unlimited fiscuss fyi driver (1f9ad77)

2.29.0 (2020-10-27)

Features

2.28.0 (2020-10-26)

Bug Fixes

  • fixture (8e62d78)
  • total and circulating supply for trezor supply (d7aba6f)

Features

2.27.0 (2020-10-26)

Features

2.26.0 (2020-10-24)

Features

  • add circulating supply for kava driver (fed09aa)
  • change url for kava driver (5fd6403)
  • kava driver (7b95332)

2.25.0 (2020-10-23)

Bug Fixes

  • cryptolocally description (6ec872e)

Features

2.24.0 (2020-10-23)

Features

2.23.0 (2020-10-23)

Features

2.22.0 (2020-09-17)

Bug Fixes

  • fixuture saving (94ad30f)
  • missing trailing comma in xinfin driver (82a02c9)

Features

  • define native to false on multiblockchain subscan driver (06842e6)
  • eosdt driver (9f473b8)
  • merged (f099f9d)
  • oneworldcoin add max supply (50b366a)
  • oneworldcoin driver (5a97766)
  • remove blockchain definition in eosdt driver because not all currencies on EOS (ee0f30d)
  • remove max from xinfin (069bb11)
  • rename oneworldcoin to crypto-core driver (ddeef35)
  • rename v-dimention to vsdcool driver (26580a8)
  • subscan driver (811e364)
  • terra driver (74acdf5)
  • v-dimensions driver (fc71310)
  • xinfin driver (36c411e)

2.21.0 (2020-09-07)

Features

  • add description to postcoin driver (4ab1280)
  • postcoin driver (594c427)

2.20.0 (2020-09-07)

Features

  • add description to documentchain driver (f340e5f)
  • documentchain driver (7d4f985)

2.19.0 (2020-09-07)

Features

2.18.0 (2020-09-07)

Features

2.17.0 (2020-09-07)

Features

2.16.0 (2020-09-07)

Bug Fixes

  • import Coin in hive and steemdb drivers (2f26182)
  • merged and get first element from array to get newest total supply for steem db driver (ace2795)
  • seperate steem as single driver (not inside hive driver) (286e153)
  • steem driver total supply (c871a5f)

Features

2.15.0 (2020-09-01)

Bug Fixes

  • change url for totalSupply for cache-gold driver (9051f07)
  • remove blockchains property from nest-protocol driver (d221b8d)
  • remove blockchains property in neutrino-dollar driver (80d0403)
  • remove supports property in cache-gold driver (ff25ee3)

Features

2.14.0 (2020-09-01)

Bug Fixes

  • get first element from array to get newest total supply for hive db driver (cb09442)

Features

  • hive driver and grammar fix (59845e5)

2.13.0 (2020-08-28)

Features

2.12.0 (2020-08-28)

Features

2.11.0 (2020-08-28)

Features

2.10.0 (2020-08-28)

Features

2.9.0 (2020-08-14)

Features

  • add balance support and total supply (1c722e5)
  • add balance support to FanaticosCash (b460454)
  • add description to fetchbalance function for fanaticos-cash (beb29a5)
  • bitgreen driver (63ad964)
  • fanaticos cash driver (baec390)

2.8.0 (2020-08-11)

Features

  • navcoin driver on crpytoid (147fd47)
  • patricl driver on cryptoid (1ccc6af)
  • pivx driver on cryptoid (356ca82)
  • stratis driver on cryptoid (434eed8)

2.7.0 (2020-08-11)

Features

2.6.0 (2020-08-11)

Features

2.5.0 (2020-08-11)

Features

2.4.0 (2020-08-11)

Bug Fixes

  • add blockchain to beam driver (39ac62f)

Features

2.3.0 (2020-08-10)

Features

  • bolivarcoin support on cryptoid (7b29175)
  • trollcoin support on cryptoid (6249538)

2.2.0 (2020-08-10)

Features

2.1.0 (2020-08-10)

Bug Fixes

Features

  • cryptoid extend with digibyte blockchain (6cebb59)
  • idena driver (b352a2c)

2.0.0 (2020-08-03)

  • feat!: support for multiple and optional blockchains (b584f00)

Bug Fixes

  • blockchain info for some drivers (794f7d1)
  • change blockchain information for ripple and ryo (94e2f78)
  • eslint (a91614a)
  • lib functions support multiple blockchains (4b70111)
  • typo (9cb847f)

Features

BREAKING CHANGES

  • drivers handle blockchains differently now. Some don’t mention a blockchain (like Tether and Btse), some have multiple (like Blockchair and CryptoID) and some are renamed (like XRP to XRP Ledger).

Co-authored-by: Nick Pater nick@coinranking.com Co-authored-by: Stella sajcic.stella@gmail.com

1.42.1 (2020-07-21)

Bug Fixes

  • blockscan: fix the supply of Grin (ac84185)

1.42.0 (2020-07-10)

Features

  • delete the Documentation.md (7305ff4)

1.41.0 (2020-07-10)

Features

  • change the docs to only include the classes (a14cd66)

1.40.0 (2020-06-22)

Features

1.39.0 (2020-05-29)

Features

  • docs: force updating the docs automatically with this minor update (c83793e)

1.38.0 (2020-05-14)

Features

1.37.0 (2020-05-01)

Features

1.36.0 (2020-04-28)

Features

  • change ethereum in dai inside the oasis driver (b7725d4)
  • oasis driver (d4a6abe)

1.35.0 (2020-04-15)

Bug Fixes

  • tether circulating supply support (f2ca732)

Features

1.34.0 (2020-04-01)

Features

1.33.0 (2020-03-25)

Bug Fixes

  • blockscan blockchain and circulating supply (d3367ab)

Features

1.32.0 (2020-03-25)

Bug Fixes

  • urls for fetching balance and total supply (34b4a61)

Features

1.31.0 (2020-03-18)

Bug Fixes

Features

1.30.0 (2020-03-13)

Bug Fixes

  • dont parse JSON in the hedera driver (bcc70ad)
  • options in driver (8ff6b27)
  • remove fetchBalance and maxSupply (6317d4b)
  • respect the new eslint standard (ceb174f)

Features

1.29.0 (2020-03-10)

Features

1.28.0 (2020-03-04)

Features

  • add a coverage badge (0cdb967)
  • change the description inside the readme (402e412)

1.27.0 (2020-03-03)

Features

1.26.1 (2020-03-03)

Bug Fixes

  • get the correct totalsupply for Algorand (3e4d6f3)

1.26.0 (2020-02-28)

Bug Fixes

  • blockchain info and supports object (93e36d5)
  • dunscan change endpoints for supplies (075b5fd)
  • set the DunExplorer to the correct blockchain (54e997f)

Features

  • dunscan explorer driver (0ed6d32)

1.25.2 (2020-02-28)

Bug Fixes

  • decimal places (0580296)
  • set a default throttle and fix helpico (9e28d70)

1.25.1 (2020-02-28)

Bug Fixes

  • changed the CryptoNote blockchain to SpesCoin (1b0e045)

1.25.0 (2020-02-28)

Bug Fixes

Features

1.24.0 (2020-02-26)

Bug Fixes

  • regenerate fixtures for BinanceDex (0e9d06a)

Features

  • add support for MillenEOS (76e0b22)
  • remove Bloks because it was incomplete (a9addac)

1.23.2 (2020-02-26)

Bug Fixes

  • return 0 when balance is not there (4c697a3)

1.23.1 (2020-02-26)

Bug Fixes

  • return 0 in tokenbalances on waves (1689db4)

1.23.0 (2020-02-25)

Features

1.22.0 (2020-02-25)

Features

1.21.0 (2020-02-25)

Bug Fixes

  • add circulating supply (aa30394)
  • bitcoinrh driver remove circulation (25f9c00)

Features

1.20.0 (2020-02-24)

Bug Fixes

  • options and description (f28e8f5)

Features

1.19.0 (2020-02-24)

Features

1.18.0 (2020-02-24)

Features

1.17.0 (2020-02-24)

Bug Fixes

Features

1.16.0 (2020-02-24)

Features

1.15.0 (2020-02-24)

Bug Fixes

Features

1.14.0 (2020-02-14)

Bug Fixes

  • convert array to string (2d52560)

Features

1.13.0 (2020-02-14)

Bug Fixes

  • convert array to string (49b2e3c)

Features

1.12.0 (2020-02-14)

Bug Fixes

Features

1.11.0 (2020-02-14)

Bug Fixes

  • comments and remove fetchCirculatingSupply (bd5ec4c)
  • remove hardcoded options (9137b0b)
  • remove supports circulating (0a1432b)

Features

1.10.5 (2020-02-13)

Bug Fixes

  • respect the support options in the happy path tests (6e224fe)

1.10.4 (2020-02-13)

Bug Fixes

  • etherscan: tokens with 0 decimals no longer default to 18 (40734e7)
  • etherscan: tokens with 0 decimals no longer default to 18 (4d08125)

1.10.3 (2020-02-12)

Bug Fixes

  • remove hardcoded useCache options (f38b1d6)
  • replace the fixtures (60644b9)

1.10.2 (2020-02-12)

Bug Fixes

  • waves: address balances are returned as decimal instead of integer (8b103e8)

1.10.1 (2020-02-12)

Bug Fixes

  • remove duplicates from the blockchains (d393357)

1.10.0 (2020-02-11)

Bug Fixes

Features

  • blockchair bitcoin cash driver (2a81e25)