Output from listtransactions

+2 votes
ListTransactions  - Since Multichain is storing the asset values in a difference field any way to show the balance?

The amount field is '0'. The 'to' and 'otheraccount' fields are missing (based on bitcoin documentation)?

{

        "involvesWatchonly" : true,

        "account" : "",

        "address" : "1CmxTM5eE9H72EVQsWp4XNcnzjgWGKfvKevheC",

        "category" : "receive",

        "amount" : 0.00000000,

        "vout" : 0,

        "confirmations" : 4779,

        "blockhash" : "00000e6c7b4007cdf2279d6e946cc77bde54d86ad346375c65af92dc04d67de8",

        "blockindex" : 1,

        "blocktime" : 1440696873,

        "txid" : "e036161c7c894dc3804e3e82ecfe5e2310801bcb2cf7f5322d10081842c8a764",

        "walletconflicts" : [

        ],

        "time" : 1440696861,

        "timereceived" : 1440696861

    },
asked Aug 31, 2015 by anonymous
edited Sep 20, 2015

2 Answers

+1 vote

Please try getrawtransaction with the txid as a parameter to get more information about the assets in the transaction outputs. 

answered Aug 31, 2015 by MultiChain
+1 vote

Alpha 13, just released, introduces new APIs to make it much easier to query the node's transaction history. Take a look at the following:

  • listwallettransactions
  • getwallettransaction
  • listaddresstransactions
  • getaddresstransaction
answered Dec 17, 2015 by MultiChain
I've downloaded and installed Alpha13 (checked with -v), but I still get a MethodNotFound. Any ideas?

multichain-cli chain4 listwallettransactions

{"method":"listwallettransactions","params":[],"id":1,"chain_name":"chain4"}
error: {"code":-32601,"message":"Method not found"}

The same for listaddresstransactions.

Thanks,
Nikos
Most likely it's still an older version of multichaind running, even if you're on the latest version of multichain-cli - you can check the 'version' field of the output from getinfo to see for sure.
...