mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
rpc: Document all aliases for second arg of getblock
This commit is contained in:
parent
fa86a4bbfc
commit
fa5b1f067f
4 changed files with 39 additions and 14 deletions
|
|
@ -812,7 +812,7 @@ static UniValue getblock(const JSONRPCRequest& request)
|
|||
"If verbosity is 2, returns an Object with information about block <hash> and information about each transaction. \n",
|
||||
{
|
||||
{"blockhash", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The block hash"},
|
||||
{"verbosity", RPCArg::Type::NUM, /* default */ "1", "0 for hex-encoded data, 1 for a json object, and 2 for json object with transaction data"},
|
||||
{"verbosity|verbose", RPCArg::Type::NUM, /* default */ "1", "0 for hex-encoded data, 1 for a json object, and 2 for json object with transaction data"},
|
||||
},
|
||||
{
|
||||
RPCResult{"for verbosity = 0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue