get https://api.solana.fm/v0/stats/tx-fees
If the current day is queried, the total transaction fees will change as the day has not concluded
Parameters
date
- (optional) the date string indd-mm-yyyy
format to retrieve the transaction fees
Results
Valid Response
<object>
- a JSON object containing the following fields:
date:
<String>, the date in stringtotalTxFees:
<integer>, the amount of total transaction fees accumulated
Example of a valid response:
{
"status": "Success",
"message": "Retrieved Transaction Fees Analytics Data",
"result": {
"date": "19-07-2022",
"totalTxFees": 1249273441325
}
}
Invalid Response
<object>
- a JSON object containing the following fields if the requested account doesn't exist
code:
<integer>, The error codemessage:
<String>, An error message to indicate which part of the query went wrongstatus:
<String>, The response status following the error code- 400 = Bad Request (client side)
- 500 = Internal Server Error (server side)