gold
gold copied to clipboard
add verbosity param for getblock
getblock has a second param verbosity.
https://developer.bitcoin.org/reference/rpc/getblock.html
getblock "blockhash" ( verbosity )
If verbosity is 0, returns a string that is serialized, hex-encoded data for block ‘hash’.
If verbosity is 1, returns an Object with information about block ‘hash’.
If verbosity is 2, returns an Object with information about block ‘hash’ and information about each transaction.