• Welcome to forex.pm forex forum binary options trade. Please login or sign up.
 

How to get address type(format). Need to calculate vsize and fee

Started by Bitcoin, Mar 12, 2022, 05:18 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bitcoin

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