Bitcoin Forum
May 09, 2024, 06:46:38 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcore : Fee is too large expected less than  (Read 120 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
1715280398
Hero Member
*
Offline Offline

Posts: 1715280398

View Profile Personal Message (Offline)

Ignore
1715280398
Reply with quote  #2

1715280398
Report to moderator
No Gods or Kings. Only Bitcoin
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715280398
Hero Member
*
Offline Offline

Posts: 1715280398

View Profile Personal Message (Offline)

Ignore
1715280398
Reply with quote  #2

1715280398
Report to moderator
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!