forex.pm forex forum binary options trade

 Сryptocurrency exchanges => Binance - Сryptocurrency exchanges => Topic started by: Bitcoin on Mar 12, 2022, 05:18 pm

Title: How to get address type(format). Need to calculate vsize and fee
Post by: Bitcoin on Mar 12, 2022, 05:18 pm
How to get address type(format). Need to calculate vsize and fee

Help me please. I need to calculate vsize and multiply it by the function result  estimatesmartfee.
To calculate vsize, I implement a formula like this https://jlopp.github.io/bitcoin-transaction-size-calculator/
byt i cannot getting address type from Bitcoin API.


Please tell me how to get the address type by API for implementing this formula?


Source: How to get address type(format). Need to calculate vsize and fee (https://bitcoin.stackexchange.com/questions/96540/how-to-get-address-typeformat-need-to-calculate-vsize-and-fee)