litecore-archive / litecore-lib

A pure and powerful JavaScript Litecoin library
https://litecore.io/
Other
72 stars 85 forks source link

How does litecore-lib set the value of fee, will it keep 0.001? #15

Open waliguder opened 5 years ago

adityataday commented 5 years ago

I believe that is the default fee that is set if you don't provide your own transaction fees. Also, note that the min fee required for a Litecoin transaction also called as the "Relay fee" is 0.001 LTC. If you want to override this default fee just add .fee('your fees in satoshis') to your transaction.

Refer to this link https://github.com/bitpay/bitcore-lib/blob/master/docs/transaction.md

Hope this helps.