<p>By definition, "transaction fee" is the difference between sum of inputs and sum of outputs. It always goes to the miner.</p>

<p>What you need is to add an output payable to your account.</p>

CC BY-SA 3.0
2014-03-07T09:37:20.610Z
You mean to say make another transaction in the back-end for the fees from user-address to admin-address ?
coding_idiot
CC BY-SA 3.0
2014-03-07T01:26:50.203Z
2014-03-07T01:26:50.203Z
uminatsu
<p>I am working on an online litecoin wallet system. For every transaction originated from our site, we need to charge say x% of the amount as fees and it'll be sent to Admin's address ? How can I do that ?</p>

<p>I guess <code>paytxfee</code> is what we are willing to pay others for a particular transaction, right ?</p>

<p>I didn't found any parameter to set the address to which the transaction fees should go ?</p>

<p>Looking for some help...</p>

CC BY-SA 3.0
2014-03-07T01:46:13.253Z
Not sure if I understand correctly.  You want to charge a fee, such as LTC .005 for a transaction that you originate, and then also (or in addition) collect the standard Litecoin transaction fee to pass along to the network?
ChrisW
CC BY-SA 3.0
2014-03-07T09:36:28.783Z
how is the standard litecoin transaction fee collected and which address does it go to ?
coding_idiot
CC BY-SA 3.0
2014-03-07T09:51:26.483Z
It goes to the miner who incorporates that transaction into a block. This is not the sort of fee mechanism you're looking for. Just charge a bit extra.
Pieter Wuille
CC BY-SA 3.0
2014-03-07T23:58:32.783Z
@PieterWuille thanks, please put it as an answer so that I can accept.
coding_idiot
<bitcoind><litecoin><address><transaction-fees>
how to earn a transaction fee for transactions originating from my client
coding_idiot
# how to earn a transaction fee for transactions originating from my client

(Asked by: username_0 on 2014-03-07)

I am working on an online litecoin wallet system. For every transaction originated from our site, we need to charge say x% of the amount as fees and it'll be sent to Admin's address ? How can I do that ?

I guess `paytxfee` is what we are willing to pay others for a particular transaction, right ?

I didn't found any parameter to set the address to which the transaction fees should go ?

Looking for some help...

**Tags:** bitcoind, litecoin, address, transaction-fees

> **Comments:**
> **username_1**: Not sure if I understand correctly.  You want to charge a fee, such as LTC .005 for a transaction that you originate, and then also (or in addition) collect the standard Litecoin transaction fee to pass along to the network?  
> **username_0**: how is the standard litecoin transaction fee collected and which address does it go to ?  
> **username_2**: It goes to the miner who incorporates that transaction into a block. This is not the sort of fee mechanism you're looking for. Just charge a bit extra.  
> **username_0**: @PieterWuille thanks, please put it as an answer so that I can accept.  

---

## 1 answers

### Answer by username_3 on 2014-03-07. Score: 2

By definition, "transaction fee" is the difference between sum of inputs and sum of outputs. It always goes to the miner.

What you need is to add an output payable to your account.

> **Comments:**
> **username_0**: You mean to say make another transaction in the back-end for the fees from user-address to admin-address ?  

---

