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::STR_HEX, "fedpegscript", "The fedpegscript from genesis block"},
3682
-
{RPCResult::Type::ARR, "current_fedpegscripts", "The currently-enforced fedpegscripts in hex. Peg-ins for any entries on this list are honored by consensus and policy. Newest first. Two total entries are possible",
{RPCResult::Type::ARR, "current_fedpeg_programs", "The currently-enforced fedpegscript scriptPubKeys in hex. Prior to a transition this may be P2SH scriptpubkey, otherwise it will be a native segwit script. Results are paired in-order with current_fedpegscripts",
{RPCResult::Type::ARR, "current_fedpegscripts", "The currently-enforced fedpegscripts in hex. Peg-ins for any entries on this list are honored by consensus and policy. Newest first. Two total entries are possible",
{RPCResult::Type::STR, "min_peg_diff", "The minimum difficulty parent chain header target. Peg-in headers that have less work will be rejected as an anti-Dos measure"},
3688
3686
{RPCResult::Type::STR_HEX, "parent_blockhash", "The parent genesis blockhash as source of pegged-in funds"},
{RPCResult::Type::NUM, "networkhashps", /*optional=*/true, "The network hashes per second"},
451
451
{RPCResult::Type::NUM, "pooledtx", "The size of the mempool"},
452
452
{RPCResult::Type::STR, "chain", "current network name ("LIST_CHAIN_NAMES")"},
453
-
{RPCResult::Type::STR_HEX, "signet_challenge", /*optional=*/true, "The block challenge (aka. block script), in hexadecimal (only present if the current network is a signet)"},
454
-
{RPCResult::Type::OBJ, "next", "The next block",
453
+
{RPCResult::Type::OBJ, "next", /*optional=*/true, "The next block",
455
454
{
456
455
{RPCResult::Type::NUM, "height", "The next height"},
457
456
{RPCResult::Type::STR_HEX, "bits", "The next target nBits"},
458
457
{RPCResult::Type::NUM, "difficulty", "The next difficulty"},
459
458
{RPCResult::Type::STR_HEX, "target", "The next target"}
460
459
}},
460
+
{RPCResult::Type::STR_HEX, "signet_challenge", /*optional=*/true, "The block challenge (aka. block script), in hexadecimal (only present if the current network is a signet)"},
461
461
(IsDeprecatedRPCEnabled("warnings") ?
462
462
RPCResult{RPCResult::Type::STR, "warnings", "any network and blockchain warnings (DEPRECATED)"} :
463
463
RPCResult{RPCResult::Type::ARR, "warnings", "any network and blockchain warnings (run with `-deprecatedrpc=warnings` to return the latest warning as a single string)",
{RPCResult::Type::NUM, "tx_version", /*optional=*/true, "The version number of the unsigned transaction. Not to be confused with PSBT version"},
1173
1173
{RPCResult::Type::NUM, "fallback_locktime", /*optional=*/true, "The locktime to fallback to if no inputs specify a required locktime."},
1174
-
{RPCResult::Type::NUM, "fees", "The fees specified in this psbt.", {}, /*skip_type_check=*/true}, // ELEMENTS has an explicit fee output, bitcoin does not (they are implicit)
1175
-
{RPCResult::Type::NUM, "input_count", "The number of inputs in this psbt"},
1176
-
{RPCResult::Type::NUM, "output_count", "The number of outputs in this psbt."},
1174
+
{RPCResult::Type::NUM, "input_count", /*optional=*/true, "The number of inputs in this psbt"},
1175
+
{RPCResult::Type::NUM, "output_count", /*optional=*/true, "The number of outputs in this psbt."},
1177
1176
{RPCResult::Type::BOOL, "inputs_modifiable", /*optional=*/true, "Whether inputs can be modified"},
1178
1177
{RPCResult::Type::BOOL, "outputs_modifiable", /*optional=*/true, "Whether outputs can be modified"},
1179
1178
{RPCResult::Type::BOOL, "has_sighash_single", /*optional=*/true, "Whether this PSBT has SIGHASH_SINGLE inputs"},
{"ignoreblindfail", RPCArg::Type::BOOL, RPCArg::Default{true}, "Return a transaction even when a blinding attempt fails due to number of blinded inputs/outputs."},
2609
2608
},
2610
2609
RPCResult{
2611
-
RPCResult::Type::STR, "transaction", "hex string of the transaction"
2610
+
RPCResult::Type::STR_HEX, "transaction", "hex string of the transaction"
0 commit comments