Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: wtabata on October 06, 2017, 02:44:34 AM



Title: Fee on simple transacation
Post by: wtabata on October 06, 2017, 02:44:34 AM
Hey guys, need help! I need get fee before send transaction!? How?!

I have Bitcoin Core 0.15 installed and using RPC.


 ??? ??? ??? ???


Title: Re: Fee on simple transacation
Post by: aleksej996 on October 06, 2017, 01:53:48 PM
You can use a website like bitcoinfees.21.co (http://bitcoinfees.21.co) to see the appropriate fee per byte if that is what you are asking. I believe that there is an RPC command "estimatefee <numberofblocks>" that should return the required fee per kilobyte that will get your transaction confirmed in the specified number of blocks.


Title: Re: Fee on simple transacation
Post by: Lauda on October 06, 2017, 02:43:06 PM
I believe that there is an RPC command "estimatefee <numberofblocks>" that should return the required fee per kilobyte that will get your transaction confirmed in the specified number of blocks.
There is such a command and the fee estimations have drastically improved in 0.15.0. However if the user does not know something like this then they shouldn't be using RPC to create transactions. I didn't get a impresison that the user is very experienced based on their post. This is why I'd recommend OP to use the GUI. The interface is very simple:

https://i.imgur.com/mbNn0P2.png


Title: Re: Fee on simple transacation
Post by: DanishGuy on October 07, 2017, 12:31:58 AM
Like Lauda says: Maybe a more user friendly wallet? Look at Exodus, if you are choosing a more user friendly wallet. I really like the design of Exodus :)


Title: Re: Fee on simple transacation
Post by: TryNinja on October 07, 2017, 12:47:21 AM
Like Lauda says: Maybe a more user friendly wallet? Look at Exodus, if you are choosing a more user friendly wallet. I really like the design of Exodus :)
Bitcoin Core already has a "user friendly" fee estimator. Check the screenshot.

Meanwhile, Exodus fee customization is terrible - (maybe too much user friendly?); They overpay fees when lower transactions would be confirmed in the same time, and don't let you choose your fee because "users will use a low fee without thinking and risk their transaction not getting confirmed"; I wouldn't recommend them if you want to save money.


Title: Re: Fee on simple transacation
Post by: Lauda on October 07, 2017, 07:06:14 AM
Like Lauda says: Maybe a more user friendly wallet? Look at Exodus, if you are choosing a more user friendly wallet. I really like the design of Exodus :)
You should not sacrifice security and quality for convenience.

Meanwhile, Exodus fee customization is terrible - (maybe too much user friendly?); They overpay fees when lower transactions would be confirmed in the same time, and don't let you choose your fee because "users will use a low fee without thinking and risk their transaction not getting confirmed"; I wouldn't recommend them if you want to save money.
Unless they have updated their fee estimations to those used in Bitcoin Core 0.15.0 and later, they definitely are overestimating for every tier.


Title: Re: Fee on simple transacation
Post by: wtabata on October 07, 2017, 06:20:34 PM
Yah, has estimate, but I am not want this. I need be more exact. Then

I have estimate 0.00037674 per kilobytes and yet I don't know what size of transaction to do (estimate-per-kilobytes/1024)*size-of-transacion. ( correct me if I'm wrong)

Size of transaction is depende the input and ouputs. If I have this informaction can I get the exact fee? Making this formula


Title: Re: Fee on simple transacation
Post by: aleksej996 on October 07, 2017, 07:03:48 PM
Yah, has estimate, but I am not want this. I need be more exact. Then

I have estimate 0.00037674 per kilobytes and yet I don't know what size of transaction to do (estimate-per-kilobytes/1024)*size-of-transacion. ( correct me if I'm wrong)

Size of transaction is depende the input and ouputs. If I have this informaction can I get the exact fee? Making this formula

Yes, you can be quite exact if you know the amount of inputs and outputs. It is quite easy to find transactions on a block explorer with the same numver of inputs and outputs and you will be able to see their size.


Title: Re: Fee on simple transacation
Post by: wtabata on October 07, 2017, 07:26:24 PM
Yah, has estimate, but I am not want this. I need be more exact. Then

I have estimate 0.00037674 per kilobytes and yet I don't know what size of transaction to do (estimate-per-kilobytes/1024)*size-of-transacion. ( correct me if I'm wrong)

Size of transaction is depende the input and ouputs. If I have this informaction can I get the exact fee? Making this formula

Yes, you can be quite exact if you know the amount of inputs and outputs. It is quite easy to find transactions on a block explorer with the same numver of inputs and outputs and you will be able to see their size.

Thanks man!. Then stayed this way:

fee = (estimate-per-kilobytes/1000) * ((input * 180 + output * 34) + 10) edited


Title: Re: Fee on simple transacation
Post by: HCP on October 07, 2017, 10:02:28 PM
For the record... A "kilobyte" in Bitcoin is 1000 bytes, not 1024.

Also, "compressed" addresses, would only be around 148 bytes per input, so using 180 may result in overestimating the size in some cases.


Title: Re: Fee on simple transacation
Post by: Skyborn on October 07, 2017, 10:16:52 PM
Like Lauda says: Maybe a more user friendly wallet? Look at Exodus, if you are choosing a more user friendly wallet. I really like the design of Exodus :)
You should not sacrifice security and quality for convenience.

Couldn't agree more. Exodus looks nice and all but as long as you can't export private keys I don't feel comfortable using it. That's why I started using electrum.
Electrum offers total access of public and private keys all combined into a fairly user-friendly UI design. Of course not as pretty as Exodus but I like being in control of things.
 


Title: Re: Fee on simple transacation
Post by: wtabata on October 08, 2017, 11:37:28 PM
For the record... A "kilobyte" in Bitcoin is 1000 bytes, not 1024.

Also, "compressed" addresses, would only be around 148 bytes per input, so using 180 may result in overestimating the size in some cases.

Thanks man!! thanks a lot!. anywhere I can't find description so simple