LogoLogo
opBNB Testnet
opBNB Testnet
  • opBNB Testnet
  • 🎯API Endpoints
    • Accounts
    • Contracts
    • Transactions
    • Blocks
    • Logs
    • Geth/Parity Proxy
    • Tokens
    • Stats
  • Visit opBNB Testnet
Powered by GitBook
On this page
  • Get Total Supply of BNB
  • Get BNB Last Price

Was this helpful?

  1. API Endpoints

Stats

PreviousTokens

Last updated 1 year ago

Was this helpful?

Get Total Supply of BNB

Returns the current amount of BNB in circulation.

https://api-opbnb-testnet.bscscan.com/api
   ?module=stats
   &action=ethsupply
   &apikey=YourApiKeyToken

Try this endpoint in your

No parameters required.

Sample Response

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

Tip : Easily convert BNB units using our

Get BNB Last Price

Returns the latest price of 1 BNB.

https://api-opbnb-testnet.bscscan.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.06906",
      "ethbtc_timestamp":"1652444393",
      "ethusd":"2110.63",
      "ethusd_timestamp":"1652444395"
   }
}

Tip : The timestamps are represented in

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