zkSync
zkSync Era
zkSync Era
  • Introduction
  • ✨Getting Started
    • Creating an Account
    • Getting an API key
    • Endpoint URLs
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth/Parity Proxy
    • Tokens
    • Stats
  • 🤝Support
    • FAQ
    • Rate Limits
    • Common Error Messages
    • Getting Help
  • Visit zkSync Era Explorer
Powered by GitBook
On this page
  • Get Total Supply of Ether
  • Get Ether Last Price
  1. API Endpoints

Stats

PreviousTokensNextFAQ

Last updated 1 year ago

Get Total Supply of Ether

Returns the current amount of Ether in circulation excluding ETH2 Staking rewards and EIP1559 burnt fees.

https://api-era.zksync.network/api
   ?module=stats
   &action=ethsupply
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

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

Tip : Easily convert Ethereum units using our

Get Ether Last Price

Returns the latest price of 1 ETH.

https://api-era.zksync.network/api
   ?module=stats
   &action=ethprice
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

{
  "status": "1",
  "message": "OK-Missing/Invalid API Key, rate limit of 1/3sec applied",
  "result": {
    "ethbtc": "0.052681713113122",
    "ethbtc_timestamp": "1704174036",
    "ethusd": "2387.16130732931",
    "ethusd_timestamp": "1704174036"
  }
}

Tip : The timestamps are represented in

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