Author

Topic: Bitcore : Fee is too large expected less than (Read 144 times)

legendary
Activity: 1624
Merit: 2481
0.0026 btc is quite a high fee.

Did you create an extremely large transaction? Or what is the reason you are trying to use such a high fee?

To answer your question properly we need to know which libary you are using.
It may be that this libary is communicating via an API and therefore the max fee is limited.
Or it is hardcoded into it.

A link to the libary would be helpful to find out why the maximum fee is limited.
newbie
Activity: 7
Merit: 0
I am trying to send 0.52 from my address to address2 and I am passing fees like below

Code:

 var tx = bitcore.Transaction();
 tx.from(utxos);
 tx.to(address2,satoshibits); // 520000
 tx.change(address);
 tx.fee(fees); // 260000 in satoshi
 tx.sign(privateKey);
 tx.serialize();

Error:

      Fee is too large: expected less than 150000 but got 260000

Anyone have an idea if I want to pass max fees then default
Jump to: