How does list transactions work?


(Baldy) #1

Using the console or the cli wallet, there is a command listtransactions. The output from this command is extrmely confusing and I would like to have some one tell me how to determine proper in formation from it.

Here is an example:

{
"account" : "",
"address" : "DPumUNLgRYHUk1AFNbwSvTZSBBDygyNu7d",
"category" : "receive",
"amount" : 51140.00000000,
"vout" : 1,
"confirmations" : 321,
"bcconfirmations" : 321,
"generated" : true,
"blockhash" : "f0e68a9892f689dcf12b79413f065d215b3520de046c51c492d50379190621f5",
"blockindex" : 1,
"blocktime" : 1548589080,
"txid" : "7d0fb24fdd0db4337ba6dc42de503cc2a7b3df7b25eb4e4acfd4782e866cc094",
"walletconflicts" : [
],
"time" : 1548589080,
"timereceived" : 1548589098
},
{
"account" : "",
"address" : "DGmfVbWTyesPDqm2hhyz5L92ta6UZEVHFv",
"category" : "send",
"amount" : -540.00000000,
"vout" : 2,
"fee" : 996.00000000,
"confirmations" : 321,
"bcconfirmations" : 321,
"generated" : true,
"blockhash" : "f0e68a9892f689dcf12b79413f065d215b3520de046c51c492d50379190621f5",
"blockindex" : 1,
"blocktime" : 1548589080,
"txid" : "7d0fb24fdd0db4337ba6dc42de503cc2a7b3df7b25eb4e4acfd4782e866cc094",
"walletconflicts" : [
],
"time" : 1548589080,
"timereceived" : 1548589098
},
{
"account" : "",
"address" : "DPumUNLgRYHUk1AFNbwSvTZSBBDygyNu7d",
"category" : "send",
"amount" : -51140.00000000,
"vout" : 1,
"fee" : 996.00000000,
"confirmations" : 321,
"bcconfirmations" : 321,
"generated" : true,
"blockhash" : "f0e68a9892f689dcf12b79413f065d215b3520de046c51c492d50379190621f5",
"blockindex" : 1,
"blocktime" : 1548589080,
"txid" : "7d0fb24fdd0db4337ba6dc42de503cc2a7b3df7b25eb4e4acfd4782e866cc094",
"walletconflicts" : [
],
"time" : 1548589080,
"timereceived" : 1548589098
},
{
"account" : "",
"category" : "send",
"amount" : 0.00000000,
"vout" : 0,
"fee" : 996.00000000,
"confirmations" : 321,
"bcconfirmations" : 321,
"generated" : true,
"blockhash" : "f0e68a9892f689dcf12b79413f065d215b3520de046c51c492d50379190621f5",
"blockindex" : 1,
"blocktime" : 1548589080,
"txid" : "7d0fb24fdd0db4337ba6dc42de503cc2a7b3df7b25eb4e4acfd4782e866cc094",
"walletconflicts" : [
],
"time" : 1548589080,
"timereceived" : 1548589098
},

To be clear… this is what happens when a single stake comes in. It looks like 4 transactions but it is only one, these “four” happen at exactly the same time. So I would like to decipher what ti is telling me and how I can determine a stake from a masternode reward, and how to determine if funds were just sent to the wallet or send out.

  1. why is the fee 996?
  2. Why are the amounts 51140,-540,-51140, and 0?
  3. why are there three “sends” and one “receive”?
  4. I dont have a masternode running, what does a masternode reward look like?
  5. I have not sent any funds to this wallet recently, I also don’t know what that would look like.

I am hoping someone can post the output from this command for #4 and #5.

I would like to write a python script that converts the listtransactions output into a simple table with time address and amount. So if someone knows what this output is telling me hopefully they can explain how I derive this information from it.


(OriZ) #2

@yuraolex ?