Understanding Transactions

Discussion in 'Transactions' started by IncludeBeer, Oct 29, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. IncludeBeer

    IncludeBeer New Member

    Oct 29, 2016
    6
    0
    Male
    earth
    I'm having issues reading the output of listtransactions. First, it looks like the list is larger than the console window allows, so how can i dump such info to a file of some sort? I'd like to see the transactions where i've purchased tickets and the transactions where ticket subsidy is sent to my address. Also, how many coins I have vs how many are locked in tickets. Is there a way to view such info in the wallet? Is there some guide detailing how to read the output of listtransactions?

    Yesterday I had a + balance so turned on my staking wallet during the price dip. I checked my balance today and it's 0, but I had no extra tickets go live (so I'm assuming my fee was set too low). Still, I shouldn't see a 0 balance if none of tickets purchases went through.
     
  2. chappjc

    chappjc Full Member
    Developer Pool Operator (PoS)

    Sending the output of listtransactions to a file will help. (dcrctl listtransactions > txlist.json). With Chrome and the JSONView extension you can navigate the file easily.

    Keep in mind that by default, only some transactions - 10, I think - will be in the result. You need to specify a larger number to get more.

    You can also use gettickets. Although getstakeinfo is the best summary.
     
  3. IncludeBeer

    IncludeBeer New Member

    Oct 29, 2016
    6
    0
    Male
    earth

    Thanks for the quick info. So I got all transactions in a txt file now and can easily go through it with notepad++. I'm wondering what this is though:


    Code:
    {
        "account": "",
        "amount": -0,
        "blockhash": "00000000000008e8307f77e57241498cfbf7b572304647e99eaa43280a4cc2ac",
        "blocktime": 1477361003,
        "category": "send",
        "confirmations": 2052,
        "fee": -0.385,
        "time": 1477359253,
        "timereceived": 1477359253,
        "txid": "f33666ea487e7ebbe0ef68039e39a331dde39818019981e0389e50ab8cc0209f",
        "txtype": "ticket",
        "vout": 1,
        "walletconflicts": []
      },
      {
        "account": "",
        "address": "DsQxuVRvS4eaJ42dhQEsCXauMWjvopWgrVg",
        "amount": -0,
        "blockhash": "00000000000008e8307f77e57241498cfbf7b572304647e99eaa43280a4cc2ac",
        "blocktime": 1477361003,
        "category": "send",
        "confirmations": 2052,
        "fee": -0.385,
        "time": 1477359253,
        "timereceived": 1477359253,
        "txid": "f33666ea487e7ebbe0ef68039e39a331dde39818019981e0389e50ab8cc0209f",
        "txtype": "ticket",
        "vout": 2,
        "walletconflicts": []
      },
      {
        "account": "",
        "amount": -0,
        "blockhash": "00000000000008e8307f77e57241498cfbf7b572304647e99eaa43280a4cc2ac",
        "blocktime": 1477361003,
        "category": "send",
        "confirmations": 2052,
        "fee": -0.385,
        "time": 1477359253,
        "timereceived": 1477359253,
        "txid": "f33666ea487e7ebbe0ef68039e39a331dde39818019981e0389e50ab8cc0209f",
        "txtype": "ticket",
        "vout": 3,
        "walletconflicts": []
      },
      {
        "account": "",
        "address": "DsQxuVRvS4eaJ42dhQEsCXauMWjvopWgrVg",
        "amount": -0,
        "blockhash": "00000000000008e8307f77e57241498cfbf7b572304647e99eaa43280a4cc2ac",
        "blocktime": 1477361003,
        "category": "send",
        "confirmations": 2052,
        "fee": -0.385,
        "time": 1477359253,
        "timereceived": 1477359253,
        "txid": "f33666ea487e7ebbe0ef68039e39a331dde39818019981e0389e50ab8cc0209f",
        "txtype": "ticket",
        "vout": 4,
        "walletconflicts": []
      },
    Are those just ticket purchases that didn't make it into the blockchain (i.e. fee was too low)? They all say ticket for transaction type, but the amounts are -0...
     
  4. chappjc

    chappjc Full Member
    Developer Pool Operator (PoS)

Share This Page