Moonscan
Home
Moonbase
Moonbase
  • Moonbase Alpha Testnet
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth/Parity Proxy
    • Tokens
    • Stats
  • Visit Moonbase Alpha Testnet
Powered by GitBook
On this page
  • Get Total Supply of DEV
  • Get DEV Last Price
  1. API Endpoints

Stats

PreviousTokens

Last updated 2 years ago

Get Total Supply of DEV

Returns the current amount of DEV in circulation.

https://api-moonbase.moonscan.io/api
   ?module=stats
   &action=ethsupply
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": "94521735499000000000000000"
}

Tip : Easily convert DEV units using our

Get DEV Last Price

Returns the latest price of 1 DEV.

https://api-moonbase.moonscan.io/api
   ?module=stats
   &action=ethprice
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

{
  "status": "1",
  "message": "OK",
  "result": {
    "ethbtc": "0",
    "ethbtc_timestamp": "0",
    "ethusd": "0",
    "ethusd_timestamp": "0"
  }
}

Tip : The timestamps are represented in

🎯
🔗
📖
🔗
⏳
browser
unit converter.
browser
Unix timestamp.