Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Re: Need a free api to calculate transaction FEE for instant confirmation
by
ranochigo
on 23/04/2021, 03:20:22 UTC
⭐ Merited by bitmover (1)
Thanks for the reply.
It seems satoshi / vbyte is different from satoshi / byte.
This Link returns satoshi / vbyte.
Where can i know 100$ = 0.0019 btc how much is that in byte or vbyte?
Transaction size are independent of the amount being transacted. It'll depend on your number of inputs and outputs. There should be some utility which is able to interpret the witness discount for the virtual byte. You shouldn't consider actual size as that is not what most of the miners consider when choosing transactions.

There are various formulae available for the calculation, which gives a very close approximation and is not always perfectly accurate. Use this web utility as a guide: https://jlopp.github.io/bitcoin-transaction-size-calculator/.