-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpcclient: no way to set 'verbosity' parameter on GetBlock rpc call #2092
Comments
Hey @Avionic23 , I would like to pick up on this issue. Any progress on your end? |
@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. |
No description provided.
The text was updated successfully, but these errors were encountered: