Open Avionic23 opened 6 months ago
@Avionic23 Just went through the docs and I found GetBlockVerbose function which returns a data structure from the server with information about a block given its hash. I think this should help
Hey @joseguru. Sorry, I was busy, couldn't respond you. There is a possibility to set verbose parameter '3' for block rpc and the response data structure is different from '2' (the input of the transaction includes previous PK script with all related info). I didn't find any related function with '3' verbosity in btcd package, so I implemented it on my own
@joseguru As you can see the '2' parameter is hard-coded in RPC request for GetBlockVerboseTx function. For GetBlockVerbose function the '1' parameter is passed. Also, there is a possibility to pass '3' parameter, but I assume you cannot find that in the documentation.
Hey @Avionic23 , I would like to pick up on this issue. Any progress on your end?