blockchain / service-my-wallet-v3

Blockchain Wallet API Service
https://blockchain.info/api/blockchain_wallet_api
GNU Affero General Public License v3.0
913 stars 520 forks source link

Calculate transaction size #418

Closed Laiteux closed 5 years ago

Laiteux commented 5 years ago

Hello,

I'd like to calculate my transaction size before sending it. I want the exact size, not an estimated one. How could I please do that?

Kind regards, Matt.

najeh22 commented 5 years ago

E...How could I please do that?

On Sat, 3 Aug 2019, 07:38 Matt, notifications@github.com wrote:

Hello,

I'd like to calculate my transaction size before sending it. I'd need to do that in order to substract the fee from the sent satoshi amount, so if for example, an user wants to withdraw all of its balance (which is on his own Bitcoin address on my wallet) using my website, he will receive it all (minus fees). How could I please do that?

Kind regards, Matt.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/blockchain/service-my-wallet-v3/issues/418?email_source=notifications&email_token=AKJVGF4OMBVOMCBXKYK453LQCT4THA5CNFSM4IJCDW72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HDFOXRA, or mute the thread https://github.com/notifications/unsubscribe-auth/AKJVGF3XBWL4UAGMQ6EV77DQCT4THANCNFSM4IJCDW7Q .