getblock('0000010b36c727389e9ef920b7b4a6f327d95f7a33caf8d9c2091b762fef7d2a',4)
response i get:
status="500" and error="value is type int, expected bool"
and if i use TRUE or FALSE works fine.
so either documentation is misleading or this is a bug.
getblock | hash|height (verbose=1) | Returns information about the block with hash (retrievable from getblockhash) or at the given height in the active chain. Set verbose to 0 or false for the block in raw hexadecimal form. Set to 1 or true for a block summary including the miner address and a list of txids. Set to 2 to 3 to include more information about each transaction and its raw hexadecimal. Set to 4 to include a full description of each transaction, formatted like the output of decoderawtransaction. |