Xaiscan
HomeKnowledge Base
Xaiscan
Xaiscan
  • Welcome
    • Introduction
  • ✨GETTING STARTED
    • Creating an Account
    • Getting an API key
    • Endpoint URLs
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth/Parity Proxy
    • Tokens
    • Stats
  • Visit Xaiscan
Powered by GitBook
On this page
  • Get Total Supply of Xai
  • Get Xai Last Price
  1. API Endpoints

Stats

PreviousTokens

Last updated 7 months ago

Get Total Supply of Xai

Returns the current amount of XAI in circulation.

https://api.xaiscan.io/api
   ?module=stats
   &action=ethsupply
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

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

Tip : Easily convert Ethereum units using our

Get Xai Last Price

Returns the latest price of 1 XAI .

https://api.xaiscan.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.06271",
    "ethbtc_timestamp": "1691662102",
    "ethusd": "1850.2",
    "ethusd_timestamp": "1691662094"
  }
}

Tip : The timestamps are represented in

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