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, "data", "The serialized, hex-encoded data for 'txid'"
188
233
},
189
234
RPCResult{"if verbose is set to true",
190
-
// When updating this documentation, update `decoderawtransaction` in the same way.
191
235
RPCResult::Type::OBJ, "", "",
236
+
Cat<std::vector<RPCResult>>(
192
237
{
193
238
{RPCResult::Type::BOOL, "in_active_chain", /* optional */true, "Whether specified block is in the active chain or not (only present with explicit \"blockhash\" argument)"},
194
-
{RPCResult::Type::STR_HEX, "txid", "The transaction id (same as provided)"},
195
-
{RPCResult::Type::NUM, "size", "The serialized transaction size"},
196
-
{RPCResult::Type::NUM, "version", "The version"},
197
-
{RPCResult::Type::NUM, "type", "The type"},
198
-
{RPCResult::Type::NUM_TIME, "locktime", "The lock time"},
199
-
{RPCResult::Type::ARR, "vin", "",
200
-
{
201
-
{RPCResult::Type::OBJ, "", "",
202
-
{
203
-
{RPCResult::Type::STR_HEX, "coinbase", /*optional=*/true, "The coinbase value (only if coinbase transaction)"},
204
-
{RPCResult::Type::STR_HEX, "txid", /*optional=*/true, "The transaction id (if not coinbase transaction)"},
205
-
{RPCResult::Type::NUM, "vout", /*optional=*/true, "The output number (if not coinbase transaction)"},
206
-
{RPCResult::Type::OBJ, "scriptSig", /*optional=*/true, "The script (if not coinbase transaction)",
207
-
{
208
-
{
209
-
{RPCResult::Type::STR, "asm", "asm"},
210
-
{RPCResult::Type::STR_HEX, "hex", "hex"},
211
-
}},
212
-
{RPCResult::Type::NUM, "sequence", "The script sequence number"},
213
-
}},
214
-
}},
215
-
{RPCResult::Type::ARR, "vout", "",
216
-
{
217
-
{RPCResult::Type::OBJ, "", "",
218
-
{
219
-
{RPCResult::Type::STR_AMOUNT, "value", "The value in " + CURRENCY_UNIT},
220
-
{RPCResult::Type::NUM, "n", "index"},
221
-
{RPCResult::Type::OBJ, "scriptPubKey", "",
222
-
{
223
-
{RPCResult::Type::STR, "asm", "the asm"},
224
-
{RPCResult::Type::STR, "desc", "Inferred descriptor for the output"},
225
-
{RPCResult::Type::STR_HEX, "hex", "the hex"},
226
-
{RPCResult::Type::STR, "type", "The type, eg 'pubkeyhash'"},
227
-
{RPCResult::Type::STR, "address", /* optional */true, "The Dash address (only if a well-defined address exists)"},
228
-
}},
229
-
}},
230
-
}},
231
-
{RPCResult::Type::NUM, "extraPayloadSize", true/*optional*/, "Size of DIP2 extra payload. Only present if it's a special TX"},
232
-
{RPCResult::Type::STR_HEX, "extraPayload", true/*optional*/, "Hex-encoded DIP2 extra payload data. Only present if it's a special TX"},
233
-
{RPCResult::Type::STR_HEX, "hex", "The serialized, hex-encoded data for 'txid'"},
234
239
{RPCResult::Type::STR_HEX, "blockhash", /* optional */true, "the block hash"},
235
240
{RPCResult::Type::NUM, "height", "The block height"},
236
241
{RPCResult::Type::NUM, "confirmations", /* optional */true, "The confirmations"},
0 commit comments