Optimism
HomeTwitterKnowledge Base
Optimism Sepolia Etherscan
Optimism Sepolia Etherscan
  • Optimism Sepolia Testnet
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth Proxy
    • Tokens
    • Stats
  • Visit Sepolia Optimism Etherscan
Powered by GitBook
On this page
  • Get Total Supply of Ether
  • Get Ether Last Price
  1. API Endpoints

Stats

PreviousTokens

Last updated 1 year ago

Get Total Supply of Ether

Returns the current amount of Ether in circulation.

https://api-sepolia-optimism.etherscan.io/api
   ?module=stats
   &action=ethsupply
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

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

Tip : Easily convert Ethereum units using our

Get Ether Last Price

Returns the latest price of 1 ETH.

https://api-sepolia-optimism.etherscan.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.07192",
      "ethbtc_timestamp":"1663507375",
      "ethusd":"1437.05",
      "ethusd_timestamp":"1663507376"
   }
}

Tip : The timestamps are represented in

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