You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{RPCResult::Type::NUM, "blocks", "The current block"},
442
442
{RPCResult::Type::NUM, "currentblockweight", /*optional=*/true, "The block weight of the last assembled block (only present if a block was ever assembled)"},
443
443
{RPCResult::Type::NUM, "currentblocktx", /*optional=*/true, "The number of block transactions of the last assembled block (only present if a block was ever assembled)"},
444
-
{RPCResult::Type::NUM, "difficulty", "The current difficulty"},
445
-
{RPCResult::Type::NUM, "networkhashps", "The network hashes per second"},
444
+
{RPCResult::Type::NUM, "difficulty", /*optional=*/true, "The current difficulty"},
445
+
{RPCResult::Type::NUM, "networkhashps", /*optional=*/true, "The network hashes per second"},
446
446
{RPCResult::Type::NUM, "pooledtx", "The size of the mempool"},
"\nLists all known asset id/label pairs in this wallet. This list can be modified with `-assetdir` configuration argument.\n",
982
+
"\nLists all known asset label/id pairs for this node. Object keys are asset labels and values are hex-encoded asset identifiers. This list can be modified with the `-assetdir` configuration argument.\n",
980
983
{},
981
984
RPCResult{
982
-
RPCResult::Type::OBJ, "labels", "",
985
+
RPCResult::Type::OBJ_DYN,
986
+
"",
987
+
"Map from asset label (object key) to asset id (hex string value)",
983
988
{
984
-
{RPCResult::Type::ELISION, "", "the label for each asset id"},
989
+
{RPCResult::Type::STR_HEX, "xxxx", "asset id for the label named by each dynamic object key"},
{"blinding_key", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The blinding public key. This can be obtained for a given address using `getaddressinfo` (`confidential_key` field)."},
1051
1056
},
1052
1057
RPCResult{
1053
-
RPCResult::Type::STR, "blinded_address", "The blinded address"
1058
+
RPCResult::Type::STR, "", "The blinded address string"
0 commit comments