Open danielost opened 9 months ago
I was excited to see this when looking for a way to call getblock <hash> 2
to get the transaction fee of transactions it that block. However, the proposed implementation only deserializes the the hex
field of each transaction. This is essentially the same as calling get_block_info()
(if information about e.g. the next block or the number of confirmations are wanted) and get_block()
for the raw transactions without any metadata.
Changes
get_block_txs
method that callsgetblock
with verbosity value2
GetBlockTxResult
struct tojson
GetBlockResult
andGetBlockTxResult
to get rid of duplicate fields