Gas Stats

Returns gas consumption related data of an account.

Get Gas Stats

GET https://api.yam.finance/account-stats?address=address&startTimeStamp=startTimeStamp&endTimeStamp=endTimeStamp

Get address gas stats.

Path Parameters

NameTypeDescription

address*

string

Account address

startTimeStamp*

string

Unix start timestamp

endTimeStamp*

string

Unix end timestamp

{    
    "averageTxPriceGWEI": "0",    
    "failedTxCount": 0,    
    "totalFailedGasFeeETH": "0",
    "totalGasFeeETH": "0",
    "txCount": 0,    
}

Last updated