Gas Tracker

Daily Average Gas Price

Returns the average gas price for given dates. (90 days max in one request)

GET http://scan.wemix.com/api/gas-tracker/daily-average-gas-price

Query Parameters

Name
Type
Description

chain

wemix | wemixTestnet

Chain (default to wemix).

sort

desc | asc

Order of the results. (default to asc)

startDate (required)

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

Start Date of the given period.

endDate (required)

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

End Date of the given period.

Example:

http://scan.wemix.com/api/gas-tracker/daily-average-gas-price?startDate=2025-07-01&endDate=2025-07-31

Response

{
    "startDate": "2025-07-01",
    "endDate": "2025-07-31",
    "chain": "wemix",
    "sort": "asc",
    "data": [
        {
            "date": "2025-07-01",
            "unixTimeStamp": 1751328000,
            "avgGasPrice_Gwei": "100.5549039840518"
        },
        {
            "date": "2025-07-02",
            "unixTimeStamp": 1751414400,
            "avgGasPrice_Gwei": "100.4638294341921"
        },
        {
            "date": "2025-07-03",
            "unixTimeStamp": 1751500800,
            "avgGasPrice_Gwei": "100.6226790526962"
        },
        {
            "date": "2025-07-04",
            "unixTimeStamp": 1751587200,
            "avgGasPrice_Gwei": "100.3113609763519"
        },
        {
            "date": "2025-07-05",
            "unixTimeStamp": 1751673600,
            "avgGasPrice_Gwei": "100.2122056108825"
        }
        ...
    ]
}

Daily Total Gas Used

Returns the gas used daily for given dates. (31 days max in one request)

GET http://scan.wemix.com/api/gas-tracker/daily-total-gas-used

Query Parameters

Name
Type
Description

chain

wemix | wemixTestnet

Chain (default to wemix).

sort

desc | asc

Order of the results. (default to asc)

startDate (required)

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

Start Date of the given period.

endDate (required)

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

End Date of the given period.

Example:

http://scan.wemix.com/api/gas-tracker/daily-total-gas-used?startDate=2025-07-01&endDate=2025-07-31

Response

{
    "startDate": "2025-07-01",
    "endDate": "2025-07-31",
    "chain": "wemix",
    "sort": "asc",
    "data": [
        {
            "date": "2025-07-01",
            "unixTimeStamp": "1751328000",
            "totalGasUsed": "7449663871"
        },
        {
            "date": "2025-07-02",
            "unixTimeStamp": "1751414400",
            "totalGasUsed": "5274470600"
        },
        {
            "date": "2025-07-03",
            "unixTimeStamp": "1751500800",
            "totalGasUsed": "4694156813"
        },
        {
            "date": "2025-07-04",
            "unixTimeStamp": "1751587200",
            "totalGasUsed": "4738797819"
        },
        {
            "date": "2025-07-05",
            "unixTimeStamp": "1751673600",
            "totalGasUsed": "4956236496"
        },
        ...
    ]
}

Daily Average Gas Limit

Returns the daily average gas limit for given dates. (31 days max in one request)

GET http://scan.wemix.com/api/gas-tracker/daily-total-gas-used

Query Parameters

Name
Type
Description

chain

wemix | wemixTestnet

Chain (default to wemix).

sort

desc | asc

Order of the results. (default to asc)

startDate (required)

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

Start Date of the given period.

endDate (required)

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

End Date of the given period.

Example:

http://scan.wemix.com/api/gas-tracker/daily-average-gas-limit?startDate=2025-07-01&endDate=2025-07-31

Response

{
    "startDate": "2025-07-01",
    "endDate": "2025-07-30",
    "chain": "wemix",
    "sort": "asc",
    "data": [
        {
            "date": "2025-07-01",
            "unixTimeStamp": "1751328000",
            "avgGasLimit": "105000000"
        },
        {
            "date": "2025-07-02",
            "unixTimeStamp": "1751414400",
            "avgGasLimit": "105000000"
        },
        {
            "date": "2025-07-03",
            "unixTimeStamp": "1751500800",
            "avgGasLimit": "105000000"
        },
        {
            "date": "2025-07-04",
            "unixTimeStamp": "1751587200",
            "avgGasLimit": "105000000"
        },
        {
            "date": "2025-07-05",
            "unixTimeStamp": "1751673600",
            "avgGasLimit": "105000000"
        },
        ...
    ]
}

Last updated