1

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?

1 Answer 1

2

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.