Bitcoin Forum
May 08, 2024, 03:25:00 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: show fees paid for past transactions  (Read 140 times)
RoxxR (OP)
Full Member
***
Offline Offline

Activity: 208
Merit: 148


View Profile
June 06, 2022, 04:03:22 PM
Merited by OmegaStarScream (5), LoyceV (4), ABCbits (2)
 #1

Is there any way of adding a "fee paid" column to the history view?

Or alternatively, a console script to get fees paid for your past transactions?

Couldn't find anything in the forum.

Thanks!
1715181900
Hero Member
*
Offline Offline

Posts: 1715181900

View Profile Personal Message (Offline)

Ignore
1715181900
Reply with quote  #2

1715181900
Report to moderator
1715181900
Hero Member
*
Offline Offline

Posts: 1715181900

View Profile Personal Message (Offline)

Ignore
1715181900
Reply with quote  #2

1715181900
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715181900
Hero Member
*
Offline Offline

Posts: 1715181900

View Profile Personal Message (Offline)

Ignore
1715181900
Reply with quote  #2

1715181900
Report to moderator
1715181900
Hero Member
*
Offline Offline

Posts: 1715181900

View Profile Personal Message (Offline)

Ignore
1715181900
Reply with quote  #2

1715181900
Report to moderator
1715181900
Hero Member
*
Offline Offline

Posts: 1715181900

View Profile Personal Message (Offline)

Ignore
1715181900
Reply with quote  #2

1715181900
Report to moderator
Charles-Tim
Legendary
*
Offline Offline

Activity: 1540
Merit: 4851



View Profile
June 06, 2022, 04:20:47 PM
 #2

Which wallet are you using? If it is Electrum, I do not think the fee can be added as an additional column. But on the transaction history, you can just select the transaction, right click on it and click on 'view transaction'. If the fee is not shown, you can click on 'view on block explorer' instead, but which will connect to blockstream, one of the blockchain explorers that details you the transaction in which the fee is included.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
RoxxR (OP)
Full Member
***
Offline Offline

Activity: 208
Merit: 148


View Profile
June 06, 2022, 04:42:11 PM
 #3

Which wallet are you using? If it is Electrum, I do not think the fee can be added as an additional column. But on the transaction history, you can just select the transaction, right click on it and click on 'view transaction'. If the fee is not shown, you can click on 'view on block explorer' instead, but which will connect to blockstream, one of the blockchain explorers that details you the transaction in which the fee is included.

I'm using Electrum on Windows.
I know I can view the fee for any transaction as you have mentioned, but I would like to view the fees for my entire transaction history at a glance, or be able to export this information to some type of text-based extract (csv or other).
OmegaStarScream
Staff
Legendary
*
Offline Offline

Activity: 3472
Merit: 6125



View Profile
June 06, 2022, 05:03:42 PM
 #4

I'm using Electrum on Windows.
I know I can view the fee for any transaction as you have mentioned, but I would like to view the fees for my entire transaction history at a glance, or be able to export this information to some type of text-based extract (csv or other).

I'm not really that familiar with Electrum's scripts, but it should be possible to write something that does that. I found this[1].

Alternatively (if you have the technical knowledge) you can always use a blockexplorer's API[2] to watch your addresses and retrieve the transactions history (with the fees).

[1] https://gist.github.com/chill117/58f22c073db8f9d230ae
[2] https://developers.cryptoapis.io/technical-documentation/blockchain-data/unified-endpoints/get-transaction-details-by-transaction-id

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7135



View Profile
June 06, 2022, 05:59:14 PM
 #5

I have never seen a proposal such as yours before. Can you tell me what you were planning to use the data for if it's not a secret?
If it has something to do with using the historical records to try and predict future fees, you are not going to find any correlation there because history doesn't repeat itself when it comes to fees. 

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5591


Self-proclaimed Genius


View Profile
June 07, 2022, 04:03:45 AM
Merited by OmegaStarScream (5), LoyceV (4), ABCbits (4), hosseinimr93 (4), NeuroticFish (2), Pmalek (2), DdmrDdmr (1)
 #6

-snip-
I'm using Electrum on Windows.
I know I can view the fee for any transaction as you have mentioned, but I would like to view the fees for my entire transaction history at a glance, or be able to export this information to some type of text-based extract (csv or other).
You can only export the entire transaction history in ".json" format, that includes a "fee" and "fee_sat" names and values.
Inbound transactions will show "null" values for the fee.

Go to the menu "Wallet->History->Export" and select "json", or CSV if want it to be compact but it doesn't have "names", just values.

Here's a 'Notepad++' trick to filter the export file:
  • Open 'electrum-history.json' file using Notepad++
  • Use 'Find' (CTRL+F), go to 'Mark' tab and tick "bookmark line".
  • Type "fee_sat" then click "Mark all", all lines with "fee_sat" will have blue-circle next to the line's number.
  • Exit 'Find' dialogue box and click the menu "Search->Bookmark->Remove Unbookmarked Lines", and only "fee_sat" lines will be left.

If you want to remove the 'null' values, re-do all the steps but use "Clear all marks" in 'Find' first (to remove the current bookmarks),
bookmark lines with "null", then use "Search->Bookmark->Remove Bookmarked Lines" instead.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
RoxxR (OP)
Full Member
***
Offline Offline

Activity: 208
Merit: 148


View Profile
June 07, 2022, 10:05:36 AM
Last edit: June 07, 2022, 12:35:24 PM by Mr. Big
 #7

-snip-
I'm using Electrum on Windows.
I know I can view the fee for any transaction as you have mentioned, but I would like to view the fees for my entire transaction history at a glance, or be able to export this information to some type of text-based extract (csv or other).
You can only export the entire transaction history in ".json" format, that includes a "fee" and "fee_sat" names and values.
Inbound transactions will show "null" values for the fee.

Go to the menu "Wallet->History->Export" and select "json", or CSV if want it to be compact but it doesn't have "names", just values.

Here's a 'Notepad++' trick to filter the export file:
  • Open 'electrum-history.json' file using Notepad++
  • Use 'Find' (CTRL+F), go to 'Mark' tab and tick "bookmark line".
  • Type "fee_sat" then click "Mark all", all lines with "fee_sat" will have blue-circle next to the line's number.
  • Exit 'Find' dialogue box and click the menu "Search->Bookmark->Remove Unbookmarked Lines", and only "fee_sat" lines will be left.

If you want to remove the 'null' values, re-do all the steps but use "Clear all marks" in 'Find' first (to remove the current bookmarks),
bookmark lines with "null", then use "Search->Bookmark->Remove Bookmarked Lines" instead.

Thanks a lot, that was very helpful.



I have never seen a proposal such as yours before. Can you tell me what you were planning to use the data for if it's not a secret?
If it has something to do with using the historical records to try and predict future fees, you are not going to find any correlation there because history doesn't repeat itself when it comes to fees.  

I just wanted to get an idea of how much I paid in fees over the last few months.
NeuroticFish
Legendary
*
Offline Offline

Activity: 3668
Merit: 6382


Looking for campaign manager? Contact icopress!


View Profile
June 07, 2022, 10:27:25 AM
Last edit: May 14, 2023, 02:55:05 PM by NeuroticFish
Merited by OmegaStarScream (5), LoyceV (4), hosseinimr93 (4), Pmalek (1), nc50lc (1), DdmrDdmr (1), Charles-Tim (1)
 #8

You can only export the entire transaction history in ".json" format, that includes a "fee" and "fee_sat" names and values.
Inbound transactions will show "null" values for the fee.

Go to the menu "Wallet->History->Export" and select "json", or CSV if want it to be compact but it doesn't have "names", just values.

The direction is pretty good, but I don't understand why CSV is not good, really.
I've exported CSV and opened with Excel/LibreOffice Calc and it looks great, it has headers, one can use mathematical operations on it:


.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5591


Self-proclaimed Genius


View Profile
June 07, 2022, 10:38:05 AM
 #9

-snip-
Go to the menu "Wallet->History->Export" and select "json", or CSV if want it to be compact but it doesn't have "names", just values.
The direction is pretty good, but I don't understand why CSV is not good, really.
I've exported CSV and opened with Excel/LibreOffice Calc and it looks great, it has headers, one can use mathematical operations on it:
It's just my personal preference and to be honest, I haven't used the CSV format.
Plus the next part of my reply wont work with "electrum-history.csv" export.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
Lucius
Legendary
*
Offline Offline

Activity: 3234
Merit: 5641


Blackjack.fun🎲


View Profile WWW
June 07, 2022, 11:03:33 AM
 #10

In the Android version, there is fee information next to each outgoing transaction in sats, but if the $ view is selected, there is no value display. Would creating a watch-only wallet on Android would make that info displayed?

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7135



View Profile
June 07, 2022, 01:24:25 PM
Last edit: November 12, 2023, 09:38:00 AM by Pmalek
 #11

In the Android version, there is fee information next to each outgoing transaction in sats, but if the $ view is selected, there is no value display. Would creating a watch-only wallet on Android would make that info displayed?
That works. I just tried it by importing a random address from mempool.space. The thing is, for some reason it doesn't display the fees for all outgoing transactions. I had to browse down a bit and as you can see, it's visible for outgoing transactions. But for the most recent ones that were made, the info is not there.



.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!