Skip to main content

bitcoin_rpc_midas/test_node/
response.rs

1//! Result structs for RPC method returns
2use serde::Deserialize;
3
4#[derive(Debug, Deserialize)]
5#[serde(transparent)]
6pub struct AbandontransactionResponse(pub serde_json::Value);
7
8#[derive(Debug, Deserialize)]
9#[serde(transparent)]
10pub struct AbortrescanResponse(pub bool);
11
12#[derive(Debug, Deserialize)]
13#[serde(transparent)]
14pub struct AddconnectionResponse(pub serde_json::Value);
15
16#[derive(Debug, Deserialize)]
17#[serde(transparent)]
18pub struct AddnodeResponse(pub serde_json::Value);
19
20#[derive(Debug, Deserialize)]
21#[serde(transparent)]
22pub struct AddpeeraddressResponse(pub serde_json::Value);
23
24#[derive(Debug, Deserialize)]
25#[serde(transparent)]
26pub struct AnalyzepsbtResponse(pub serde_json::Value);
27
28#[derive(Debug, Deserialize)]
29#[serde(transparent)]
30pub struct BackupwalletResponse(pub serde_json::Value);
31
32#[derive(Debug, Deserialize)]
33#[serde(transparent)]
34pub struct BumpfeeResponse(pub serde_json::Value);
35
36#[derive(Debug, Deserialize)]
37#[serde(transparent)]
38pub struct ClearbannedResponse(pub serde_json::Value);
39
40#[derive(Debug, Deserialize)]
41#[serde(transparent)]
42pub struct CombinepsbtResponse(pub String);
43
44#[derive(Debug, Deserialize)]
45#[serde(transparent)]
46pub struct CombinerawtransactionResponse(pub String);
47
48#[derive(Debug, Deserialize)]
49#[serde(transparent)]
50pub struct ConverttopsbtResponse(pub String);
51
52#[derive(Debug, Deserialize)]
53#[serde(transparent)]
54pub struct CreatemultisigResponse(pub serde_json::Value);
55
56#[derive(Debug, Deserialize)]
57#[serde(transparent)]
58pub struct CreatepsbtResponse(pub String);
59
60#[derive(Debug, Deserialize)]
61#[serde(transparent)]
62pub struct CreaterawtransactionResponse(pub String);
63
64#[derive(Debug, Deserialize)]
65#[serde(transparent)]
66pub struct CreatewalletResponse(pub serde_json::Value);
67
68#[derive(Debug, Deserialize)]
69#[serde(transparent)]
70pub struct CreatewalletdescriptorResponse(pub serde_json::Value);
71
72#[derive(Debug, Deserialize)]
73#[serde(transparent)]
74pub struct DecodepsbtResponse(pub serde_json::Value);
75
76#[derive(Debug, Deserialize)]
77#[serde(transparent)]
78pub struct DecoderawtransactionResponse(pub serde_json::Value);
79
80#[derive(Debug, Deserialize)]
81#[serde(transparent)]
82pub struct DecodescriptResponse(pub serde_json::Value);
83
84#[derive(Debug, Deserialize)]
85#[serde(transparent)]
86pub struct DescriptorprocesspsbtResponse(pub serde_json::Value);
87
88#[derive(Debug, Deserialize)]
89#[serde(transparent)]
90pub struct DisconnectnodeResponse(pub serde_json::Value);
91
92#[derive(Debug, Deserialize)]
93#[serde(transparent)]
94pub struct DumptxoutsetResponse(pub serde_json::Value);
95
96#[derive(Debug, Deserialize)]
97#[serde(transparent)]
98pub struct EchoResponse(pub serde_json::Value);
99
100#[derive(Debug, Deserialize)]
101#[serde(transparent)]
102pub struct EchoipcResponse(pub String);
103
104#[derive(Debug, Deserialize)]
105#[serde(transparent)]
106pub struct EchojsonResponse(pub serde_json::Value);
107
108#[derive(Debug, Deserialize)]
109#[serde(transparent)]
110pub struct EncryptwalletResponse(pub String);
111
112#[derive(Debug, Deserialize)]
113#[serde(transparent)]
114pub struct EnumeratesignersResponse(pub serde_json::Value);
115
116#[derive(Debug, Deserialize)]
117#[serde(transparent)]
118pub struct EstimaterawfeeResponse(pub serde_json::Value);
119
120#[derive(Debug, Deserialize)]
121#[serde(transparent)]
122pub struct EstimatesmartfeeResponse(pub serde_json::Value);
123
124#[derive(Debug, Deserialize)]
125#[serde(transparent)]
126pub struct FinalizepsbtResponse(pub serde_json::Value);
127
128#[derive(Debug, Deserialize)]
129#[serde(transparent)]
130pub struct FundrawtransactionResponse(pub serde_json::Value);
131
132#[derive(Debug, Deserialize)]
133#[serde(transparent)]
134pub struct GenerateblockResponse(pub serde_json::Value);
135
136#[derive(Debug, Deserialize)]
137#[serde(transparent)]
138pub struct GeneratetoaddressResponse(pub Vec<serde_json::Value>);
139
140#[derive(Debug, Deserialize)]
141#[serde(transparent)]
142pub struct GeneratetodescriptorResponse(pub Vec<serde_json::Value>);
143
144#[derive(Debug, Deserialize)]
145#[serde(transparent)]
146pub struct GetaddednodeinfoResponse(pub Vec<serde_json::Value>);
147
148#[derive(Debug, Deserialize)]
149#[serde(transparent)]
150pub struct GetaddressesbylabelResponse(pub serde_json::Value);
151
152#[derive(Debug, Deserialize)]
153#[serde(transparent)]
154pub struct GetaddressinfoResponse(pub serde_json::Value);
155
156#[derive(Debug, Deserialize)]
157#[serde(transparent)]
158pub struct GetaddrmaninfoResponse(pub serde_json::Value);
159
160#[derive(Debug, Deserialize)]
161#[serde(transparent)]
162pub struct GetbalanceResponse(pub f64);
163
164#[derive(Debug, Deserialize)]
165#[serde(transparent)]
166pub struct GetbalancesResponse(pub serde_json::Value);
167
168#[derive(Debug, Deserialize)]
169#[serde(transparent)]
170pub struct GetbestblockhashResponse(pub bitcoin::BlockHash);
171
172#[derive(Debug, Deserialize)]
173#[serde(transparent)]
174pub struct GetblockchaininfoResponse(pub serde_json::Value);
175
176#[derive(Debug, Deserialize)]
177#[serde(transparent)]
178pub struct GetblockcountResponse(pub u64);
179
180#[derive(Debug, Deserialize)]
181#[serde(transparent)]
182pub struct GetblockfilterResponse(pub serde_json::Value);
183
184#[derive(Debug, Deserialize)]
185#[serde(transparent)]
186pub struct GetblockfrompeerResponse(pub serde_json::Value);
187
188#[derive(Debug, Deserialize)]
189#[serde(transparent)]
190pub struct GetblockhashResponse(pub bitcoin::BlockHash);
191
192#[derive(Debug, Deserialize)]
193#[serde(transparent)]
194pub struct GetblockstatsResponse(pub serde_json::Value);
195
196#[derive(Debug, Deserialize)]
197#[serde(transparent)]
198pub struct GetchainstatesResponse(pub serde_json::Value);
199
200#[derive(Debug, Deserialize)]
201#[serde(transparent)]
202pub struct GetchaintipsResponse(pub Vec<serde_json::Value>);
203
204#[derive(Debug, Deserialize)]
205#[serde(transparent)]
206pub struct GetchaintxstatsResponse(pub serde_json::Value);
207
208#[derive(Debug, Deserialize)]
209#[serde(transparent)]
210pub struct GetconnectioncountResponse(pub u64);
211
212#[derive(Debug, Deserialize)]
213#[serde(transparent)]
214pub struct GetdeploymentinfoResponse(pub serde_json::Value);
215
216#[derive(Debug, Deserialize)]
217#[serde(transparent)]
218pub struct GetdescriptoractivityResponse(pub serde_json::Value);
219
220#[derive(Debug, Deserialize)]
221#[serde(transparent)]
222pub struct GetdescriptorinfoResponse(pub serde_json::Value);
223
224#[derive(Debug, Deserialize)]
225#[serde(transparent)]
226pub struct GetdifficultyResponse(pub f64);
227
228#[derive(Debug, Deserialize)]
229#[serde(transparent)]
230pub struct GethdkeysResponse(pub Vec<serde_json::Value>);
231
232#[derive(Debug, Deserialize)]
233#[serde(transparent)]
234pub struct GetindexinfoResponse(pub serde_json::Value);
235
236#[derive(Debug, Deserialize)]
237#[serde(transparent)]
238pub struct GetmempoolentryResponse(pub serde_json::Value);
239
240#[derive(Debug, Deserialize)]
241#[serde(transparent)]
242pub struct GetmempoolinfoResponse(pub serde_json::Value);
243
244#[derive(Debug, Deserialize)]
245#[serde(transparent)]
246pub struct GetmininginfoResponse(pub serde_json::Value);
247
248#[derive(Debug, Deserialize)]
249#[serde(transparent)]
250pub struct GetnettotalsResponse(pub serde_json::Value);
251
252#[derive(Debug, Deserialize)]
253#[serde(transparent)]
254pub struct GetnetworkhashpsResponse(pub u64);
255
256#[derive(Debug, Deserialize)]
257#[serde(transparent)]
258pub struct GetnetworkinfoResponse(pub serde_json::Value);
259
260#[derive(Debug, Deserialize)]
261#[serde(transparent)]
262pub struct GetnewaddressResponse(pub String);
263
264#[derive(Debug, Deserialize)]
265#[serde(transparent)]
266pub struct GetnodeaddressesResponse(pub Vec<serde_json::Value>);
267
268#[derive(Debug, Deserialize)]
269#[serde(transparent)]
270pub struct GetpeerinfoResponse(pub Vec<serde_json::Value>);
271
272#[derive(Debug, Deserialize)]
273#[serde(transparent)]
274pub struct GetprioritisedtransactionsResponse(pub serde_json::Value);
275
276#[derive(Debug, Deserialize)]
277#[serde(transparent)]
278pub struct GetrawaddrmanResponse(pub serde_json::Value);
279
280#[derive(Debug, Deserialize)]
281#[serde(transparent)]
282pub struct GetrawchangeaddressResponse(pub String);
283
284#[derive(Debug, Deserialize)]
285#[serde(transparent)]
286pub struct GetreceivedbyaddressResponse(pub f64);
287
288#[derive(Debug, Deserialize)]
289#[serde(transparent)]
290pub struct GetreceivedbylabelResponse(pub f64);
291
292#[derive(Debug, Deserialize)]
293#[serde(transparent)]
294pub struct GetrpcinfoResponse(pub serde_json::Value);
295
296#[derive(Debug, Deserialize)]
297#[serde(transparent)]
298pub struct GettransactionResponse(pub serde_json::Value);
299
300#[derive(Debug, Deserialize)]
301#[serde(transparent)]
302pub struct GettxoutproofResponse(pub String);
303
304#[derive(Debug, Deserialize)]
305#[serde(transparent)]
306pub struct GettxoutsetinfoResponse(pub serde_json::Value);
307
308#[derive(Debug, Deserialize)]
309#[serde(transparent)]
310pub struct GettxspendingprevoutResponse(pub Vec<serde_json::Value>);
311
312#[derive(Debug, Deserialize)]
313#[serde(transparent)]
314pub struct GetwalletinfoResponse(pub serde_json::Value);
315
316#[derive(Debug, Deserialize)]
317#[serde(transparent)]
318pub struct GetzmqnotificationsResponse(pub Vec<serde_json::Value>);
319
320#[derive(Debug, Deserialize)]
321#[serde(transparent)]
322pub struct ImportdescriptorsResponse(pub Vec<serde_json::Value>);
323
324#[derive(Debug, Deserialize)]
325#[serde(transparent)]
326pub struct ImportmempoolResponse(pub serde_json::Value);
327
328#[derive(Debug, Deserialize)]
329#[serde(transparent)]
330pub struct ImportprunedfundsResponse(pub serde_json::Value);
331
332#[derive(Debug, Deserialize)]
333#[serde(transparent)]
334pub struct InvalidateblockResponse(pub serde_json::Value);
335
336#[derive(Debug, Deserialize)]
337#[serde(transparent)]
338pub struct JoinpsbtsResponse(pub String);
339
340#[derive(Debug, Deserialize)]
341#[serde(transparent)]
342pub struct KeypoolrefillResponse(pub serde_json::Value);
343
344#[derive(Debug, Deserialize)]
345#[serde(transparent)]
346pub struct ListaddressgroupingsResponse(pub Vec<serde_json::Value>);
347
348#[derive(Debug, Deserialize)]
349#[serde(transparent)]
350pub struct ListbannedResponse(pub Vec<serde_json::Value>);
351
352#[derive(Debug, Deserialize)]
353#[serde(transparent)]
354pub struct ListdescriptorsResponse(pub serde_json::Value);
355
356#[derive(Debug, Deserialize)]
357#[serde(transparent)]
358pub struct ListlabelsResponse(pub Vec<serde_json::Value>);
359
360#[derive(Debug, Deserialize)]
361#[serde(transparent)]
362pub struct ListlockunspentResponse(pub Vec<serde_json::Value>);
363
364#[derive(Debug, Deserialize)]
365#[serde(transparent)]
366pub struct ListreceivedbyaddressResponse(pub Vec<serde_json::Value>);
367
368#[derive(Debug, Deserialize)]
369#[serde(transparent)]
370pub struct ListreceivedbylabelResponse(pub Vec<serde_json::Value>);
371
372#[derive(Debug, Deserialize)]
373#[serde(transparent)]
374pub struct ListsinceblockResponse(pub serde_json::Value);
375
376#[derive(Debug, Deserialize)]
377#[serde(transparent)]
378pub struct ListtransactionsResponse(pub Vec<serde_json::Value>);
379
380#[derive(Debug, Deserialize)]
381#[serde(transparent)]
382pub struct ListunspentResponse(pub Vec<serde_json::Value>);
383
384#[derive(Debug, Deserialize)]
385#[serde(transparent)]
386pub struct ListwalletdirResponse(pub serde_json::Value);
387
388#[derive(Debug, Deserialize)]
389#[serde(transparent)]
390pub struct ListwalletsResponse(pub Vec<serde_json::Value>);
391
392#[derive(Debug, Deserialize)]
393#[serde(transparent)]
394pub struct LoadtxoutsetResponse(pub serde_json::Value);
395
396#[derive(Debug, Deserialize)]
397#[serde(transparent)]
398pub struct LoadwalletResponse(pub serde_json::Value);
399
400#[derive(Debug, Deserialize)]
401#[serde(transparent)]
402pub struct LockunspentResponse(pub bool);
403
404#[derive(Debug, Deserialize)]
405#[serde(transparent)]
406pub struct LoggingResponse(pub serde_json::Value);
407
408#[derive(Debug, Deserialize)]
409#[serde(transparent)]
410pub struct MigratewalletResponse(pub serde_json::Value);
411
412#[derive(Debug, Deserialize)]
413#[serde(transparent)]
414pub struct MockschedulerResponse(pub serde_json::Value);
415
416#[derive(Debug, Deserialize)]
417#[serde(transparent)]
418pub struct PingResponse(pub serde_json::Value);
419
420#[derive(Debug, Deserialize)]
421#[serde(transparent)]
422pub struct PreciousblockResponse(pub serde_json::Value);
423
424#[derive(Debug, Deserialize)]
425#[serde(transparent)]
426pub struct PrioritisetransactionResponse(pub bool);
427
428#[derive(Debug, Deserialize)]
429#[serde(transparent)]
430pub struct PruneblockchainResponse(pub u64);
431
432#[derive(Debug, Deserialize)]
433#[serde(transparent)]
434pub struct PsbtbumpfeeResponse(pub serde_json::Value);
435
436#[derive(Debug, Deserialize)]
437#[serde(transparent)]
438pub struct ReconsiderblockResponse(pub serde_json::Value);
439
440#[derive(Debug, Deserialize)]
441#[serde(transparent)]
442pub struct RemoveprunedfundsResponse(pub serde_json::Value);
443
444#[derive(Debug, Deserialize)]
445#[serde(transparent)]
446pub struct RescanblockchainResponse(pub serde_json::Value);
447
448#[derive(Debug, Deserialize)]
449#[serde(transparent)]
450pub struct RestorewalletResponse(pub serde_json::Value);
451
452#[derive(Debug, Deserialize)]
453#[serde(transparent)]
454pub struct SavemempoolResponse(pub serde_json::Value);
455
456#[derive(Debug, Deserialize)]
457#[serde(transparent)]
458pub struct SchemaResponse(pub serde_json::Value);
459
460#[derive(Debug, Deserialize)]
461#[serde(transparent)]
462pub struct SendResponse(pub serde_json::Value);
463
464#[derive(Debug, Deserialize)]
465#[serde(transparent)]
466pub struct SendallResponse(pub serde_json::Value);
467
468#[derive(Debug, Deserialize)]
469#[serde(transparent)]
470pub struct SendmsgtopeerResponse(pub serde_json::Value);
471
472#[derive(Debug, Deserialize)]
473#[serde(transparent)]
474pub struct SendrawtransactionResponse(pub String);
475
476#[derive(Debug, Deserialize)]
477#[serde(transparent)]
478pub struct SetbanResponse(pub serde_json::Value);
479
480#[derive(Debug, Deserialize)]
481#[serde(transparent)]
482pub struct SetlabelResponse(pub serde_json::Value);
483
484#[derive(Debug, Deserialize)]
485#[serde(transparent)]
486pub struct SetmocktimeResponse(pub serde_json::Value);
487
488#[derive(Debug, Deserialize)]
489#[serde(transparent)]
490pub struct SetnetworkactiveResponse(pub bool);
491
492#[derive(Debug, Deserialize)]
493#[serde(transparent)]
494pub struct SettxfeeResponse(pub bool);
495
496#[derive(Debug, Deserialize)]
497#[serde(transparent)]
498pub struct SetwalletflagResponse(pub serde_json::Value);
499
500#[derive(Debug, Deserialize)]
501#[serde(transparent)]
502pub struct SignmessageResponse(pub String);
503
504#[derive(Debug, Deserialize)]
505#[serde(transparent)]
506pub struct SignmessagewithprivkeyResponse(pub String);
507
508#[derive(Debug, Deserialize)]
509#[serde(transparent)]
510pub struct SignrawtransactionwithkeyResponse(pub serde_json::Value);
511
512#[derive(Debug, Deserialize)]
513#[serde(transparent)]
514pub struct SignrawtransactionwithwalletResponse(pub serde_json::Value);
515
516#[derive(Debug, Deserialize)]
517#[serde(transparent)]
518pub struct SimulaterawtransactionResponse(pub serde_json::Value);
519
520#[derive(Debug, Deserialize)]
521#[serde(transparent)]
522pub struct StopResponse(pub String);
523
524#[derive(Debug, Deserialize)]
525#[serde(transparent)]
526pub struct SubmitheaderResponse(pub serde_json::Value);
527
528#[derive(Debug, Deserialize)]
529#[serde(transparent)]
530pub struct SubmitpackageResponse(pub serde_json::Value);
531
532#[derive(Debug, Deserialize)]
533#[serde(transparent)]
534pub struct SyncwithvalidationinterfacequeueResponse(pub serde_json::Value);
535
536#[derive(Debug, Deserialize)]
537#[serde(transparent)]
538pub struct TestmempoolacceptResponse(pub Vec<serde_json::Value>);
539
540#[derive(Debug, Deserialize)]
541#[serde(transparent)]
542pub struct UnloadwalletResponse(pub serde_json::Value);
543
544#[derive(Debug, Deserialize)]
545#[serde(transparent)]
546pub struct UptimeResponse(pub u64);
547
548#[derive(Debug, Deserialize)]
549#[serde(transparent)]
550pub struct UtxoupdatepsbtResponse(pub String);
551
552#[derive(Debug, Deserialize)]
553#[serde(transparent)]
554pub struct ValidateaddressResponse(pub serde_json::Value);
555
556#[derive(Debug, Deserialize)]
557#[serde(transparent)]
558pub struct VerifychainResponse(pub bool);
559
560#[derive(Debug, Deserialize)]
561#[serde(transparent)]
562pub struct VerifymessageResponse(pub bool);
563
564#[derive(Debug, Deserialize)]
565#[serde(transparent)]
566pub struct VerifytxoutproofResponse(pub Vec<serde_json::Value>);
567
568#[derive(Debug, Deserialize)]
569#[serde(transparent)]
570pub struct WaitforblockResponse(pub serde_json::Value);
571
572#[derive(Debug, Deserialize)]
573#[serde(transparent)]
574pub struct WaitforblockheightResponse(pub serde_json::Value);
575
576#[derive(Debug, Deserialize)]
577#[serde(transparent)]
578pub struct WaitfornewblockResponse(pub serde_json::Value);
579
580#[derive(Debug, Deserialize)]
581#[serde(transparent)]
582pub struct WalletcreatefundedpsbtResponse(pub serde_json::Value);
583
584#[derive(Debug, Deserialize)]
585#[serde(transparent)]
586pub struct WalletdisplayaddressResponse(pub serde_json::Value);
587
588#[derive(Debug, Deserialize)]
589#[serde(transparent)]
590pub struct WalletlockResponse(pub serde_json::Value);
591
592#[derive(Debug, Deserialize)]
593#[serde(transparent)]
594pub struct WalletpassphraseResponse(pub serde_json::Value);
595
596#[derive(Debug, Deserialize)]
597#[serde(transparent)]
598pub struct WalletpassphrasechangeResponse(pub serde_json::Value);
599
600#[derive(Debug, Deserialize)]
601#[serde(transparent)]
602pub struct WalletprocesspsbtResponse(pub serde_json::Value);