<p>The fee is always negative</p>
<p>See <a href="https://developer.bitcoin.org/reference/rpc/gettransaction.html" rel="nofollow noreferrer">https://developer.bitcoin.org/reference/rpc/gettransaction.html</a></p>
<blockquote>
<p>fee&quot; : n,                               (numeric) The amount of the fee in BTC. This is negative and only available for the
'send' category of transactions.</p>
</blockquote>

CC BY-SA 4.0
2024-11-17T11:13:07.810Z
Thanks a lot dear sir. Exactly but
I found some transactions in some watch-only wallets (I used descriptors) that if I check the txid in a bitcoin explorer I get a correct negative fee yet checking them using gettransaction or listtransactions in bitcoin-cli results in positive fees.
Can you provide some hints?
ramyar.rmn
CC BY-SA 4.0
2024-11-17T11:25:45.567Z
Do you have an example txid?
RedGrittyBrick
CC BY-SA 4.0
2024-11-17T12:04:45.033Z
6e5fb370d70249246d53ea7aaa483a551d2e194a99b732eb8e7700f29d3c621f

there are several others
ramyar.rmn
CC BY-SA 4.0
2024-11-16T10:41:06.177Z
2024-11-16T10:41:06.177Z
RedGrittyBrick
<p>Using bitcoin RPC bitcoin-cli
commands like:</p>
<ul>
<li>listtransactions</li>
<li>gettransaction</li>
</ul>
<p>can fee ever be positive?</p>

<transaction-fees><bitcoin-cli>
bitcoin rpc: bitcoin-cli positive fee
ramyar.rmn
# bitcoin rpc: bitcoin-cli positive fee

(Asked by: username_0 on 2024-11-16)

Using bitcoin RPC bitcoin-cli
commands like:

* listtransactions
* gettransaction

can fee ever be positive?

**Tags:** transaction-fees, bitcoin-cli


---

## 1 answers

### Answer by username_1 on 2024-11-16. Score: 1

The fee is always negative

See <https://developer.bitcoin.org/reference/rpc/gettransaction.html>

> fee" : n, (numeric) The amount of the fee in BTC. This is negative and only available for the
> 'send' category of transactions.

> **Comments:**
> **username_0**: Thanks a lot dear sir. Exactly but I found some transactions in some watch-only wallets (I used descriptors) that if I check the txid in a bitcoin explorer I get a correct negative fee yet checking them using gettransaction or listtransactions in bitcoin-cli results in positive fees. Can you provide some hints?  
> **username_1**: Do you have an example txid?  
> **username_0**: 6e5fb370d70249246d53ea7aaa483a551d2e194a99b732eb8e7700f29d3c621f  there are several others  

---

