Bitcoin Forum
April 25, 2024, 02:04:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Byte calculation for transaction fee?  (Read 628 times)
the.jack20 (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
February 27, 2017, 10:20:58 AM
 #1

At https://bitcoinfees.21.co/ we find out how much we should send satoshi per byte, on average, for our transactions to be approved.

How do we calculate the total number of bytes in a transaction we have done?
1714053869
Hero Member
*
Offline Offline

Posts: 1714053869

View Profile Personal Message (Offline)

Ignore
1714053869
Reply with quote  #2

1714053869
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714053869
Hero Member
*
Offline Offline

Posts: 1714053869

View Profile Personal Message (Offline)

Ignore
1714053869
Reply with quote  #2

1714053869
Report to moderator
1714053869
Hero Member
*
Offline Offline

Posts: 1714053869

View Profile Personal Message (Offline)

Ignore
1714053869
Reply with quote  #2

1714053869
Report to moderator
1714053869
Hero Member
*
Offline Offline

Posts: 1714053869

View Profile Personal Message (Offline)

Ignore
1714053869
Reply with quote  #2

1714053869
Report to moderator
TastyChillySauce00
Legendary
*
Offline Offline

Activity: 2968
Merit: 1028


Leading Crypto Sports Betting & Casino Platform


View Profile
February 27, 2017, 10:57:38 AM
 #2

At https://bitcoinfees.21.co/ we find out how much we should send satoshi per byte, on average, for our transactions to be approved.

How do we calculate the total number of bytes in a transaction we have done?
In this case, you're talking about the transaction you "have done".
Simply check your transaction using blockchain explorers such as https://blockchain.info/tx/INSERT_TXID_HERE. Once you have done inserting your TXID, you will see some information regarding your transaction and there you can find the size of your transaction.
Example:

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
Naokia980
Full Member
***
Offline Offline

Activity: 182
Merit: 100


★PlayAmo.com★


View Profile WWW
February 27, 2017, 10:59:09 AM
 #3

Transaction accelerator: viabtc.com/tools/txaccelerator/

It is free and really works.

the.jack20 (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
February 27, 2017, 12:15:32 PM
 #4

At https://bitcoinfees.21.co/ we find out how much we should send satoshi per byte, on average, for our transactions to be approved.

How do we calculate the total number of bytes in a transaction we have done?
In this case, you're talking about the transaction you "have done".
Simply check your transaction using blockchain explorers such as https://blockchain.info/tx/INSERT_TXID_HERE. Once you have done inserting your TXID, you will see some information regarding your transaction and there you can find the size of your transaction.
Example:


No, I want to calculate it before I do it. After the transaction, I can check the sites like blocktrail.com or blockchain.info
But what I want to know is knowing how many bytes it is before processing. Then I would like to enter a reasonable fee using the average values at bitcoinfees.21.co
~Bitcoin~
Legendary
*
Offline Offline

Activity: 994
Merit: 1000



View Profile
February 27, 2017, 12:58:06 PM
 #5

How do we calculate the total number of bytes in a transaction we have done?
Most of the bitcoin wallets have fee recommendation system which will tell you how much fee will be enough to get confirmation within next block.

But if you like to calculate manually http://bitcoin.stackexchange.com/questions/1195/how-to-calculate-transaction-size-before-sending
Quote
If your transaction has in inputs and out outputs, the transaction size, in bytes will be:

in*180 + out*34 + 10 plus or minus 'in'
For example, this transaction has 40 inputs and 16 outputs. That gives us a transaction size of

40*180 + 16*34 + 10 +- 40
i.e. 7754 +- 40 bytes. The actual size is 7761 bytes.
I think this is correct calculation.

the.jack20 (OP)
Full Member
***
Offline Offline

Activity: 121
Merit: 100


View Profile
February 27, 2017, 01:12:30 PM
 #6

How do we calculate the total number of bytes in a transaction we have done?
Most of the bitcoin wallets have fee recommendation system which will tell you how much fee will be enough to get confirmation within next block.

But if you like to calculate manually http://bitcoin.stackexchange.com/questions/1195/how-to-calculate-transaction-size-before-sending
Quote
If your transaction has in inputs and out outputs, the transaction size, in bytes will be:

in*180 + out*34 + 10 plus or minus 'in'
For example, this transaction has 40 inputs and 16 outputs. That gives us a transaction size of

40*180 + 16*34 + 10 +- 40
i.e. 7754 +- 40 bytes. The actual size is 7761 bytes.
I think this is correct calculation.

How to find input and output values?
Where did the -40 come from during the calculation? Why-16 not used? What's the use of -40?
How do we determine the plus and minus selection criteria?
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!