Bitcoin Forum
November 17, 2024, 05:25:07 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcore : Fee is too large expected less than  (Read 143 times)
ronmike (OP)
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
March 31, 2018, 09:43:50 AM
 #1

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
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
March 31, 2018, 02:33:39 PM
 #2

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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!