getblock verbose

+2 votes
I am using getblock (verbose=4), and i don't seem to be getting any extra information on the tx eg:

getblock "71",(verbose=4)
"hash" : "00a31537cdba41ad687e9f14111313c56734d11f80458e2440f3410341251089",
"miner" : "16YU9NqCaugEEXfdB65o65wM6eZnerERVp",
 "confirmations" : 1,
 "size" : 551,
"height" : 71,
"version" : 3,
 "merkleroot" : "d05b1f510319c9e764c84edf65743221b6bc8689d6a2ba971d4870afac9a40fb",
"tx" : [
"time" : 1508514758,
"nonce" : 169,
"bits" : "2000ffff",
 "difficulty" : 0.00000006,
"chainwork" : "0000000000000000000000000000000000000000000000000000000000004800",
"previousblockhash" : "009eff6b475a45accdd570e052036eaae40b904b76a1bc5779660183e7c0e55d"

you can see this online at

I can get the data I need by doing a getrawtransaction followed by a decoderawtransaction, but just wanted to make sure this was they best way to do it before moving on.

I thought I would be getting the data i need for the transaction there - do I have to take other steps to get to the data i need?
asked Oct 20, 2017 by mark
edited Oct 20, 2017 by mark

1 Answer

0 votes

It looks like you're just passing the parameters wrong. Please try:

getblock 71 4

The notation verbose=4 was just intended to tell you to pass 4 for the verbose parameter.

answered Oct 20, 2017 by MultiChain
I thought I had gone through all the permutations of syntax...:-) On the TAG site we will probably put some guidance on syntax for people like me..lots of examples will help people in future I think.