<p>Unless you're mining (yourself, not via a pool), you will never see categories &quot;generate&quot;, &quot;immature&quot;, or &quot;orphan&quot;.</p>
<p>&quot;send&quot; is only for transactions you create yourself.</p>
<p>So yes, for incoming payments you should only look at the &quot;receive&quot; category.</p>
<p>It may be easier to use the <code>getreceivedbyaddress</code> RPC.</p>

CC BY-SA 4.0
2022-05-11T12:39:56.100Z
2022-05-11T12:39:56.100Z
Pieter Wuille
<p>I have a JSON result of a bitcoind’s RPC call <code>listsinceblock</code>. There are 4 categories of transaction:</p>
<ul>
<li>&quot;send&quot; means transactions sent</li>
<li>&quot;receive&quot; means non-coinbase transactions received</li>
<li>&quot;generate&quot; means coinbase transactions received with more than 100 confirmations</li>
<li>&quot;immature&quot; means coinbase transactions received with 100 or fewer confirmations</li>
<li>&quot;orphan&quot; means orphaned coinbase transactions received</li>
</ul>
<p>As valid deposits, have I to consider just the &quot;receive&quot; category?</p>

<blockchain><bitcoind><json-rpc><deposit>
Consider only deposits in a bitcoind’s RPC call listsinceblock transaction returned JSON
Giacomo Brunetta
# Consider only deposits in a bitcoind’s RPC call listsinceblock transaction returned JSON

(Asked by: username_0 on 2022-05-09)

I have a JSON result of a bitcoind’s RPC call `listsinceblock`. There are 4 categories of transaction:

* "send" means transactions sent
* "receive" means non-coinbase transactions received
* "generate" means coinbase transactions received with more than 100 confirmations
* "immature" means coinbase transactions received with 100 or fewer confirmations
* "orphan" means orphaned coinbase transactions received

As valid deposits, have I to consider just the "receive" category?

**Tags:** blockchain, bitcoind, json-rpc, deposit


---

## 1 answers

### Answer by username_1 on 2022-05-11. Score: 2 | Accepted answer

Unless you're mining (yourself, not via a pool), you will never see categories "generate", "immature", or "orphan".

"send" is only for transactions you create yourself.

So yes, for incoming payments you should only look at the "receive" category.

It may be easier to use the `getreceivedbyaddress` RPC.


---

