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-xdc.blocksscan.io/api
   ?module=gastracker
   &action=gasestimate
   &gasprice=2000000000
   &apikey=YourApiKeyToken

Query Parameters

Get Gas Oracle (Coming Soon)

Returns the current Safe, Proposed and Fast gas prices.

  • Safe/Proposed/Fast gas price recommendations are now modeled as Priority Fees.

  • New field suggestBaseFee , the baseFee of the next pending block

  • New field gasUsedRatio, to estimate how busy the network is

Learn more about the gas changes in EIP-1559.

https://api-xdc.blocksscan.io/api
   ?module=gastracker
   &action=gasoracle
   &apikey=YourApiKeyToken 

No parameters required.

Returns the historical daily average gas limit of the XDC network.

 https://api-xdc.blocksscan.io/api
    ?module=stats
    &action=dailyavggaslimit
    &startdate=2019-02-01
    &enddate=2019-02-28
    &sort=asc
    &apikey=YourApiKeyToken 

Query Parameters

Returns the total amount of gas used daily for transctions on the XDC network.

 https://api-xdc.blocksscan.io/api
    ?module=stats
    &action=dailygasused
    &startdate=2019-02-01
    &enddate=2019-02-28
    &sort=asc
    &apikey=YourApiKeyToken 

Query Parameters

Returns the daily average gas price used on the XDC network.

 https://api-xdc.blocksscan.io/api
    ?module=stats
    &action=dailyavggasprice
    &startdate=2024-02-01
    &enddate=2024-02-28
    &sort=asc
    &apikey=YourApiKeyToken 

Query Parameters

Last updated