Scrollscan
HomeTwitterKnowledge Base
Scroll Mainnet
Scroll Mainnet
  • Introduction
  • ✨Getting Started
    • Creating an Account
    • Getting an API key
    • Endpoint URLs
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth/Parity Proxy
    • Tokens
    • Stats
  • ✅Contract Verification
    • What's Contract Verification
    • Awesome Verification
    • Verifying Contracts Programmatically
    • Contract Verification Plugins
    • Common Verification Errors
  • 🔧Misc Tools & Utilities
    • Libraries
  • 🤝Support
    • FAQ
    • Rate Limits
    • Common Error Messages
    • Getting Help
  • Visit Scrollscan.io
Powered by GitBook
On this page
  • Get Total Supply of Ether
  • Get Ether Last Price
  • Get Scroll Nodes Size
  • Get Total Nodes Count
  1. API Endpoints

Stats

PreviousTokensNextWhat's Contract Verification

Last updated 1 year ago

Endpoints with are under the API Pro subscription. To upgrade your API plan, kindly visit .

Get Total Supply of Ether

Returns the current amount of Ether in circulation.

https://api.scrollscan.com/api
   ?module=stats
   &action=ethsupply
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

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

Tip : Easily convert Ethereum units using our

Get Ether Last Price

Returns the latest price of 1 ETH.

https://api.scrollscan.com/api
   ?module=stats
   &action=ethprice
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":{
      "ethbtc":"0.06116",
      "ethbtc_timestamp":"1624961308",
      "ethusd":"2149.18",
      "ethusd_timestamp":"1624961308"
   }
}

Tip : The timestamps are represented in

Get Scroll Nodes Size

Returns the size of the Scroll blockchain, in bytes, over a date range.

https://api.scrollscan.com/api
   ?module=stats
   &action=chainsize
   &startdate=2023-11-06
   &enddate=2023-11-06
   &clienttype=geth
   &syncmode=default
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Parameter
Description

startdate

the starting date in yyyy-MM-dd format, eg. 2019-02-01

enddate

the ending date in yyyy-MM-dd format, eg. 2019-02-28

clienttype

syncmode

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":[
      {
         "blockNumber":"7156164",
         "chainTimeStamp":"2019-02-01",
         "chainSize":"184726421279",
         "clientType":"Geth",
         "syncMode":"Default"
      }
      {
         "blockNumber":"7276521",
         "chainTimeStamp":"2019-02-28",
         "chainSize":"197073145113",
         "clientType":"Geth",
         "syncMode":"Default"
      }
   ]
}

Get Total Nodes Count

Returns the total number of discoverable Scroll nodes.

https://api.scrollscan.com/api
   ?module=stats
   &action=nodecount
   &apikey=YourApiKeyToken

No parameters required.

Sample Response

{
   "status":"1",
   "message":"OK",
   "result":{
      "UTCDate":"2021-06-29",
      "TotalNodeCount":"6413"
   }
}

Try this endpoint in your

the Ethereum to use, either geth or parity

the to run, either default or archive

Tip : The chainSize is represented in bytes.

Try this endpoint in your

🎯
⛓️
🔗
browser
🔗
browser
node client
type of node
🔗
📖
🔗
⏳
Scrollscan API Pro
browser
unit converter.
browser
Unix timestamp.