{"address",RPCArg::Type::AMOUNT,RPCArg::Optional::NO,"A key-value pair. The key (string) is the bitcoin address, the value (float or string) is the amount in "+CURRENCY_UNIT},
{"data",RPCArg::Type::STR_HEX,RPCArg::Optional::NO,"A key-value pair. The key must be \"data\", the value is hex-encoded data"},
},
},
},
},
{"locktime",RPCArg::Type::NUM,RPCArg::Default{0},"Raw locktime. Non-0 value also locktime-activates inputs"},
{"replaceable",RPCArg::Type::BOOL,RPCArg::Default{false},"Marks this transaction as BIP125-replaceable.\n"
"Allows this transaction to be replaced by a transaction with higher fees. If provided, it is an error if explicit sequence numbers are incompatible."},
{"address",RPCArg::Type::AMOUNT,RPCArg::Optional::NO,"A key-value pair. The key (string) is the bitcoin address, the value (float or string) is the amount in "+CURRENCY_UNIT},
{"data",RPCArg::Type::STR_HEX,RPCArg::Optional::NO,"A key-value pair. The key must be \"data\", the value is hex-encoded data"},
},
},
},
},
{"locktime",RPCArg::Type::NUM,RPCArg::Default{0},"Raw locktime. Non-0 value also locktime-activates inputs"},
{"replaceable",RPCArg::Type::BOOL,RPCArg::Default{false},"Marks this transaction as BIP125-replaceable.\n"
" Allows this transaction to be replaced by a transaction with higher fees. If provided, it is an error if explicit sequence numbers are incompatible."},
},
CreateTxDoc(),
RPCResult{
RPCResult::Type::STR_HEX,"transaction","hex string of the transaction"
{"address",RPCArg::Type::AMOUNT,RPCArg::Optional::NO,"A key-value pair. The key (string) is the bitcoin address, the value (float or string) is the amount in "+CURRENCY_UNIT},
{"data",RPCArg::Type::STR_HEX,RPCArg::Optional::NO,"A key-value pair. The key must be \"data\", the value is hex-encoded data"},
},
},
},
},
{"locktime",RPCArg::Type::NUM,RPCArg::Default{0},"Raw locktime. Non-0 value also locktime-activates inputs"},
{"replaceable",RPCArg::Type::BOOL,RPCArg::Default{false},"Marks this transaction as BIP125 replaceable.\n"
" Allows this transaction to be replaced by a transaction with higher fees. If provided, it is an error if explicit sequence numbers are incompatible."},
},
CreateTxDoc(),
RPCResult{
RPCResult::Type::STR,"","The resulting raw transaction (base64-encoded string)"