Bitcoin Forum
June 01, 2024, 11:25:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Determining fees  (Read 309 times)
litehosting (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
August 16, 2013, 04:29:16 PM
 #1

Hey everyone,

I am playing with some altcoin daemons and I have been having a difficult time automating transactions, mainly due to the difference in fee accross various alt-coins. Right now I have a coin sitting in my wallet, and my sendtx function is getting this message:

Code:
error: {"code":-4,"message":"Insufficient funds"}

It seems to me that each coin has it's own methodology for determining fees, they can range from 1 coin (such as with Devcoin) to free for some transactions, but there doesn't seem to be any easy way to calculate what the fee would be for a certain transaction.

What I am hoping to find out is a way to determine alt-coin fees on a per-transaction basis in an automatic way. Perhaps there is a daemon command I overlooked, or a certain portion of the code I can look at to determine how fees are calculated for each coin.

Any help is appreciated!
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!