Cost of failed transactions

How the cost of failed transaction is calculated?
I suppose the whole loss whould be the size of the transaction fee, but its not the case.
Its just very small percentage of the failed fee and somethimes its even a gain.
Its not an issue if you have few transactions, but if there are hundreds than its concerning

also not sure why is the “Average cost pool, Fee” between capital gains for all eth transactions

The costs should show up under Costs & expenses. I think it’s based on the price of ETH at the time.

Yes, there might be some gain/loss on top of that because your cost basis is different.

But if I spent 5 dollars on failed transaction, that should count as loss but its not the case.
These 5 dollars is only cost basis and the loss is calculated from the difference of the price of ethereum.
and thats wrong.
Simillary I should be able to deduct the cost of the succesfull transactions but these are not even counted.

@martin_bobak https://app.koinly.io/reports

All the tx costs from failed and successful tx should be included in the Costs & Expenses.