Gas Tracker (WIP)
Get Estimation of Confirmation Time (WIP)
Returns the estimated time, in seconds, for a transaction to be confirmed on the blockchain.
https://api.xdcscan.io/api
?module=gastracker
&action=gasestimate
&gasprice=2000000000
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
gasprice
the price paid per unit of gas, in wei
Get Gas Oracle (Coming Soon)
Returns the current Safe, Proposed and Fast gas prices.
https://api.xdcscan.io/api
?module=gastracker
&action=gasoracle
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
No parameters required.
Get Daily Average Gas Limit (Coming Soon)
Returns the historical daily average gas limit of the XDC network.
https://api.xdcscan.io/api
?module=stats
&action=dailyavggaslimit
&startdate=2019-02-01
&enddate=2019-02-28
&sort=asc
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2019-01-31
enddate
the ending date in yyyy-MM-dd
format, eg. 2019-02-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Get XDC Daily Total Gas Used (Coming Soon)
Returns the total amount of gas used daily for transctions on the XDC network.
https://api.xdcscan.io/api
?module=stats
&action=dailygasused
&startdate=2019-02-01
&enddate=2019-02-28
&sort=asc
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2019-01-31
enddate
the ending date in yyyy-MM-dd
format, eg. 2019-02-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Get Daily Average Gas Price (Coming Soon)
Returns the daily average gas price used on the XDC network.
https://api.xdcscan.io/api
?module=stats
&action=dailyavggasprice
&startdate=2024-02-01
&enddate=2024-02-28
&sort=asc
&apikey=YourApiKeyToken
Try this endpoint in your browser 🔗
Query Parameters
startdate
the starting date in yyyy-MM-dd
format, eg. 2019-01-31
enddate
the ending date in yyyy-MM-dd
format, eg. 2019-02-28
sort
the sorting preference, use asc
to sort by ascending and desc
to sort by descending
Last updated