Looking for a Bitcoin developer

Job ID: 35687350

Budget: $15 – $25 USD

Hello everyone.
I've some issues when I implement transfer functions in bitcoin.
I used "send-crypto" module but the issue is that I'm not sure how can I get the transaction Fee in bitcoin.
I wanna transfer maximum amount of bitcoin from wallet address.
For example maxAmount = balance of wallet - transactionFee
I can get the bitcoin balance of wallet. but I'm not sure how can I get the transactionFee.
If you have experienced in it, please let me know.
Related categories: JavaScript Bitcoin Blockchain