SolanaFM
Ask or search…
K
Comment on page

Daily transaction fees

Get daily transaction fees

Returns the total transaction fees in lamports for the specified date. If no date is specified, it will be defaulted to today's date.
If the current day is queried, the total transaction fees will change as the day has not ended.
get
https://api.solana.fm
/v0/stats/tx-fees
Returns the transaction fees in lamports.

Usage Example

Request
Response

Sample Request URL

Date Not Specified
https://api.solana.fm/v0/stats/tx-fees
Date Specified
https://api.solana.fm/v0/stats/tx-fees?date=19-07-2022

Sample Response

{
"status": "success",
"message": "Retrieved Tx Fees",
"result": {
"date": "19-07-2022",
"totalTxFees": 1671000000000011562903
}
}