chia-agent 14.0.0 → 14.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/CHANGELOG.md +252 -3
  2. package/LICENSE +1 -1
  3. package/README.md +7 -5
  4. package/agent/index.d.ts +1 -1
  5. package/api/chia/consensus/block_record.d.ts +1 -32
  6. package/api/chia/consensus/blockchain.d.ts +2 -1
  7. package/api/chia/consensus/cost_calculator.d.ts +1 -1
  8. package/api/chia/data_layer/data_layer_util.d.ts +16 -16
  9. package/api/chia/data_layer/data_layer_wallet.d.ts +4 -3
  10. package/api/chia/farmer/farmer.d.ts +1 -1
  11. package/api/chia/full_node/signage_point.d.ts +1 -1
  12. package/api/chia/harvester/harvester.d.ts +1 -1
  13. package/api/chia/plot-sync/receiver.d.ts +2 -2
  14. package/api/chia/plotters/bladebit.d.ts +1 -1
  15. package/api/chia/plotters/chiapos.d.ts +1 -1
  16. package/api/chia/plotters/maxmax.d.ts +1 -1
  17. package/api/chia/plotting/util.d.ts +3 -3
  18. package/api/chia/pools/pool_config.d.ts +1 -1
  19. package/api/chia/pools/pool_wallet_info.d.ts +2 -4
  20. package/api/chia/protocols/farmer_protocol.d.ts +8 -8
  21. package/api/chia/protocols/harvester_protocol.d.ts +1 -1
  22. package/api/chia/protocols/pool_protocol.d.ts +13 -13
  23. package/api/chia/rpc/util.d.ts +14 -0
  24. package/api/chia/rpc/wallet_request_types.d.ts +46 -3
  25. package/api/chia/server/outbound_message.d.ts +1 -1
  26. package/api/chia/timelord/types.d.ts +1 -1
  27. package/api/chia/types/_python_types_.d.ts +22 -22
  28. package/api/chia/types/blockchain_format/classgroup.d.ts +1 -4
  29. package/api/chia/types/blockchain_format/coin.d.ts +1 -11
  30. package/api/chia/types/blockchain_format/foliage.d.ts +1 -35
  31. package/api/chia/types/blockchain_format/pool_target.d.ts +1 -6
  32. package/api/chia/types/blockchain_format/program.d.ts +1 -1
  33. package/api/chia/types/blockchain_format/proof_of_space.d.ts +1 -10
  34. package/api/chia/types/blockchain_format/reward_chain_block.d.ts +1 -30
  35. package/api/chia/types/blockchain_format/sized_bytes.d.ts +7 -7
  36. package/api/chia/types/blockchain_format/slots.d.ts +1 -24
  37. package/api/chia/types/blockchain_format/sub_epoch_summary.d.ts +1 -9
  38. package/api/chia/types/blockchain_format/vdf.d.ts +1 -13
  39. package/api/chia/types/clvm_cost.d.ts +1 -1
  40. package/api/chia/types/coin_record.d.ts +2 -2
  41. package/api/chia/types/coin_spend.d.ts +3 -8
  42. package/api/chia/types/condition_opcode.d.ts +1 -1
  43. package/api/chia/types/condition_with_args.d.ts +1 -1
  44. package/api/chia/types/end_of_slot_bundle.d.ts +1 -8
  45. package/api/chia/types/full_block.d.ts +1 -20
  46. package/api/chia/types/mempool_item.d.ts +3 -3
  47. package/api/chia/types/mojos.d.ts +1 -1
  48. package/api/chia/types/signing_mode.d.ts +6 -6
  49. package/api/chia/types/spend_bundle.d.ts +1 -1
  50. package/api/chia/types/spend_bundle_condition.d.ts +1 -26
  51. package/api/chia/types/unfinished_block.d.ts +1 -0
  52. package/api/chia/types/unfinished_header_block.d.ts +1 -1
  53. package/api/chia/util/keychain.d.ts +2 -2
  54. package/api/chia/util/misc.d.ts +1 -1
  55. package/api/chia/wallet/cat_wallet/cat_constants.d.ts +1 -1
  56. package/api/chia/wallet/conditions.d.ts +2 -2
  57. package/api/chia/wallet/dao_wallet/dao_info.d.ts +5 -5
  58. package/api/chia/wallet/dao_wallet/dao_wallet.d.ts +3 -3
  59. package/api/chia/wallet/lineage_proof.d.ts +1 -1
  60. package/api/chia/wallet/nft_wallet/nft_info.d.ts +1 -1
  61. package/api/chia/wallet/notification_store.d.ts +1 -1
  62. package/api/chia/wallet/puzzle_drivers.d.ts +2 -2
  63. package/api/chia/wallet/puzzles/clawback/metadata.d.ts +2 -2
  64. package/api/chia/wallet/signer_protocol.d.ts +54 -0
  65. package/api/chia/wallet/signer_protocol.js +2 -0
  66. package/api/chia/wallet/trade_record.d.ts +3 -3
  67. package/api/chia/wallet/transaction_record.d.ts +4 -4
  68. package/api/chia/wallet/util/quality_filter.d.ts +5 -5
  69. package/api/chia/wallet/util/tx_config.d.ts +4 -11
  70. package/api/chia/wallet/util/wallet_types.d.ts +1 -1
  71. package/api/chia/wallet/vc_wallet/vc_drivers.d.ts +2 -2
  72. package/api/chia/wallet/vc_wallet/vc_store.d.ts +1 -1
  73. package/api/chia/wallet/wallet_coin_record.d.ts +2 -2
  74. package/api/chia/wallet/wallet_coin_store.d.ts +1 -1
  75. package/api/chia/wallet/wallet_info.d.ts +2 -2
  76. package/api/chia/wallet/wallet_node.d.ts +1 -1
  77. package/api/chia_rs/chia-bls/public_key.d.ts +2 -0
  78. package/api/chia_rs/chia-bls/public_key.js +2 -0
  79. package/api/chia_rs/chia-consensus/gen/owned_conditions.d.ts +36 -0
  80. package/api/chia_rs/chia-consensus/gen/owned_conditions.js +2 -0
  81. package/api/chia_rs/chia-protocol/block_record.d.ts +32 -0
  82. package/api/chia_rs/chia-protocol/block_record.js +2 -0
  83. package/api/chia_rs/chia-protocol/classgroup.d.ts +4 -0
  84. package/api/chia_rs/chia-protocol/classgroup.js +2 -0
  85. package/api/chia_rs/chia-protocol/coin.d.ts +7 -0
  86. package/api/chia_rs/chia-protocol/coin.js +2 -0
  87. package/api/chia_rs/chia-protocol/coin_spend.d.ts +7 -0
  88. package/api/chia_rs/chia-protocol/coin_spend.js +2 -0
  89. package/api/chia_rs/chia-protocol/end_of_sub_slot_bundle.d.ts +8 -0
  90. package/api/chia_rs/chia-protocol/end_of_sub_slot_bundle.js +2 -0
  91. package/api/chia_rs/chia-protocol/foliage.d.ts +35 -0
  92. package/api/chia_rs/chia-protocol/foliage.js +2 -0
  93. package/api/chia_rs/chia-protocol/fullblock.d.ts +20 -0
  94. package/api/chia_rs/chia-protocol/fullblock.js +2 -0
  95. package/api/chia_rs/chia-protocol/pool_target.d.ts +6 -0
  96. package/api/chia_rs/chia-protocol/pool_target.js +2 -0
  97. package/api/chia_rs/chia-protocol/program.d.ts +2 -0
  98. package/api/chia_rs/chia-protocol/program.js +2 -0
  99. package/api/chia_rs/chia-protocol/proof_of_space.d.ts +10 -0
  100. package/api/chia_rs/chia-protocol/proof_of_space.js +2 -0
  101. package/api/chia_rs/chia-protocol/reward_chain_block.d.ts +30 -0
  102. package/api/chia_rs/chia-protocol/reward_chain_block.js +2 -0
  103. package/api/chia_rs/chia-protocol/slots.d.ts +24 -0
  104. package/api/chia_rs/chia-protocol/slots.js +2 -0
  105. package/api/chia_rs/chia-protocol/sub_epoch_summary.d.ts +9 -0
  106. package/api/chia_rs/chia-protocol/sub_epoch_summary.js +2 -0
  107. package/api/chia_rs/chia-protocol/unfinished_block.d.ts +17 -0
  108. package/api/chia_rs/chia-protocol/unfinished_block.js +2 -0
  109. package/api/chia_rs/chia-protocol/vdf.d.ts +13 -0
  110. package/api/chia_rs/chia-protocol/vdf.js +2 -0
  111. package/api/{chia/pool/store.d.ts → pool-reference/pool/record.d.ts} +5 -5
  112. package/api/pool-reference/pool/record.js +2 -0
  113. package/api/rpc/common/index.d.ts +34 -24
  114. package/api/rpc/common/index.js +8 -1
  115. package/api/rpc/crawler/index.d.ts +10 -10
  116. package/api/rpc/data_layer/index.d.ts +208 -134
  117. package/api/rpc/data_layer/index.js +23 -2
  118. package/api/rpc/farmer/index.d.ts +52 -55
  119. package/api/rpc/full_node/index.d.ts +140 -154
  120. package/api/rpc/full_node/index.js +2 -9
  121. package/api/rpc/harvester/index.d.ts +31 -34
  122. package/api/rpc/index.d.ts +7 -7
  123. package/api/rpc/index.js +13 -9
  124. package/api/rpc/pool/index.d.ts +13 -13
  125. package/api/rpc/wallet/index.d.ts +747 -641
  126. package/api/rpc/wallet/index.js +27 -20
  127. package/api/types.d.ts +4 -3
  128. package/api/types.js +2 -1
  129. package/api/ws/chia_plots_create/index.d.ts +7 -7
  130. package/api/ws/crawler/index.d.ts +9 -9
  131. package/api/ws/daemon/index.d.ts +198 -166
  132. package/api/ws/daemon/index.js +17 -3
  133. package/api/ws/farmer/index.d.ts +34 -34
  134. package/api/ws/full_node/index.d.ts +28 -17
  135. package/api/ws/full_node/index.js +14 -1
  136. package/api/ws/harvester/index.d.ts +19 -19
  137. package/api/ws/index.d.ts +3 -3
  138. package/api/ws/index.js +5 -2
  139. package/api/ws/timelord/index.d.ts +14 -14
  140. package/api/ws/wallet/index.d.ts +22 -22
  141. package/bin/cli.js +3 -3
  142. package/config/index.d.ts +1 -1
  143. package/config/index.js +3 -3
  144. package/daemon/connection.js +9 -10
  145. package/daemon/index.d.ts +6 -6
  146. package/daemon/index.js +21 -21
  147. package/index.js +5 -1
  148. package/logger.d.ts +3 -3
  149. package/package.json +3 -3
  150. package/rpc/index.d.ts +6 -4
  151. package/rpc/index.js +29 -29
  152. package/api/chia/types/blockchain_format/serialized_program.d.ts +0 -2
  153. /package/api/chia/{pool/store.js → rpc/util.js} +0 -0
  154. /package/api/chia/types/{blockchain_format/serialized_program.js → unfinished_block.js} +0 -0
@@ -22,50 +22,51 @@ import { GetCoinRecords } from "../../chia/wallet/wallet_coin_store";
22
22
  import { WalletCoinRecordWithMetadata } from "../../chia/wallet/wallet_coin_record";
23
23
  import { VCRecord } from "../../chia/wallet/vc_wallet/vc_store";
24
24
  import { TransactionTypeFilter } from "../../chia/wallet/util/quality_filter";
25
- import { CoinSelectionConfigLoader, TxEndpoint } from "../../chia/wallet/util/tx_config";
25
+ import { CoinSelectionConfigLoader } from "../../chia/wallet/util/tx_config";
26
26
  import { ConditionValidTimes } from "../../chia/wallet/conditions";
27
27
  import { DAOInfo, DAORules, ProposalInfo } from "../../chia/wallet/dao_wallet/dao_info";
28
28
  import { ParsedProposalSpend, ParsedProposalUpdate, ProposalState } from "../../chia/wallet/dao_wallet/dao_wallet";
29
29
  import { DLProof, VerifyProofResponse } from "../../chia/data_layer/data_layer_util";
30
- import { GetNotifications, GetNotificationsResponse } from "../../chia/rpc/wallet_request_types";
30
+ import { GetNotifications, GetNotificationsResponse, GatherSigningInfo, GatherSigningInfoCHIP0029, GatherSigningInfoResponse, GatherSigningInfoResponseCHIP0029, ApplySignatures, ApplySignaturesCHIP0029, ApplySignaturesResponse, ApplySignaturesResponseCHIP0029, SubmitTransactions, SubmitTransactionsCHIP0029, SubmitTransactionsResponse, SubmitTransactionsResponseCHIP0029 } from "../../chia/rpc/wallet_request_types";
31
+ import { TXEndpointRequest } from "../../chia/rpc/util";
32
+ import { SigningResponse, UnsignedTransaction } from "../../chia/wallet/signer_protocol";
31
33
  export declare const chia_wallet_service = "chia_wallet";
32
- export declare type chia_wallet_service = typeof chia_wallet_service;
34
+ export type chia_wallet_service = typeof chia_wallet_service;
33
35
  export declare const log_in_command = "log_in";
34
- export declare type log_in_command = typeof log_in_command;
35
- export declare type TLoginRequest = {
36
+ export type log_in_command = typeof log_in_command;
37
+ export type TLoginRequest = {
36
38
  fingerprint: int;
37
39
  };
38
- export declare type TLoginResponse = {
40
+ export type TLoginResponse = {
39
41
  fingerprint: int;
40
42
  } | {
41
43
  success: False;
42
44
  error: "Unknown Error";
43
45
  };
44
- export declare type WsLoginMessage = GetMessageType<chia_wallet_service, log_in_command, TLoginResponse>;
46
+ export type WsLoginMessage = GetMessageType<chia_wallet_service, log_in_command, TLoginResponse>;
45
47
  export declare function log_in<T extends TRPCAgent | TDaemon>(agent: T, data: TLoginRequest): Promise<ResType<T, TLoginResponse, WsLoginMessage>>;
46
48
  export declare const get_logged_in_fingerprint_command = "get_logged_in_fingerprint";
47
- export declare type get_logged_in_fingerprint_command = typeof get_logged_in_fingerprint_command;
48
- export declare type TGetLoggedInFingerprintResponse = {
49
+ export type get_logged_in_fingerprint_command = typeof get_logged_in_fingerprint_command;
50
+ export type TGetLoggedInFingerprintResponse = {
49
51
  fingerprint: Optional<int>;
50
52
  };
51
- export declare type WsGetLoggedInFingerprintMessage = GetMessageType<chia_wallet_service, get_logged_in_fingerprint_command, TGetLoggedInFingerprintResponse>;
53
+ export type WsGetLoggedInFingerprintMessage = GetMessageType<chia_wallet_service, get_logged_in_fingerprint_command, TGetLoggedInFingerprintResponse>;
52
54
  export declare function get_logged_in_fingerprint<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetLoggedInFingerprintResponse, WsGetLoggedInFingerprintMessage>>;
53
55
  export declare const get_public_keys_command = "get_public_keys";
54
- export declare type get_public_keys_command = typeof get_public_keys_command;
55
- export declare type TGetPublicKeysRequest = {};
56
- export declare type TGetPublicKeysResponse = {
56
+ export type get_public_keys_command = typeof get_public_keys_command;
57
+ export type TGetPublicKeysResponse = {
57
58
  public_key_fingerprints: int[];
58
59
  } | {
59
60
  keyring_is_locked: True;
60
61
  };
61
- export declare type WsGetPublicKeysMessage = GetMessageType<chia_wallet_service, get_public_keys_command, TGetPublicKeysResponse>;
62
+ export type WsGetPublicKeysMessage = GetMessageType<chia_wallet_service, get_public_keys_command, TGetPublicKeysResponse>;
62
63
  export declare function get_public_keys<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetPublicKeysResponse, WsGetPublicKeysMessage>>;
63
64
  export declare const get_private_key_command = "get_private_key";
64
- export declare type get_private_key_command = typeof get_private_key_command;
65
- export declare type TGetPrivateKeyRequest = {
65
+ export type get_private_key_command = typeof get_private_key_command;
66
+ export type TGetPrivateKeyRequest = {
66
67
  fingerprint: int;
67
68
  };
68
- export declare type TGetPrivateKeyResponse = {
69
+ export type TGetPrivateKeyResponse = {
69
70
  private_key: {
70
71
  fingerprint: int;
71
72
  sk: str;
@@ -80,161 +81,141 @@ export declare type TGetPrivateKeyResponse = {
80
81
  fingerprint: int;
81
82
  };
82
83
  };
83
- export declare type WsGetPrivateKeyMessage = GetMessageType<chia_wallet_service, get_private_key_command, TGetPrivateKeyResponse>;
84
+ export type WsGetPrivateKeyMessage = GetMessageType<chia_wallet_service, get_private_key_command, TGetPrivateKeyResponse>;
84
85
  export declare function get_private_key<T extends TRPCAgent | TDaemon>(agent: T, data: TGetPrivateKeyRequest): Promise<ResType<T, TGetPrivateKeyResponse, WsGetPrivateKeyMessage>>;
85
86
  export declare const generate_mnemonic_command = "generate_mnemonic";
86
- export declare type generate_mnemonic_command = typeof generate_mnemonic_command;
87
- export declare type TGenerateMnemonicRequest = {};
88
- export declare type TGenerateMnemonicResponse = {
87
+ export type generate_mnemonic_command = typeof generate_mnemonic_command;
88
+ export type TGenerateMnemonicResponse = {
89
89
  mnemonic: str[];
90
90
  };
91
- export declare type WsGenerateMnemonicMessage = GetMessageType<chia_wallet_service, generate_mnemonic_command, TGenerateMnemonicResponse>;
91
+ export type WsGenerateMnemonicMessage = GetMessageType<chia_wallet_service, generate_mnemonic_command, TGenerateMnemonicResponse>;
92
92
  export declare function generate_mnemonic<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGenerateMnemonicResponse, WsGenerateMnemonicMessage>>;
93
93
  export declare const add_key_command = "add_key";
94
- export declare type add_key_command = typeof add_key_command;
95
- export declare type TAddKeyRequest = {
94
+ export type add_key_command = typeof add_key_command;
95
+ export type TAddKeyRequest = {
96
96
  mnemonic: str[];
97
97
  };
98
- export declare type TAddKeyResponse = {
98
+ export type TAddKeyResponse = {
99
99
  success: false;
100
100
  error: str;
101
101
  word?: unknown;
102
102
  } | {
103
103
  fingerprint: int;
104
104
  };
105
- export declare type WsAddKeyMessage = GetMessageType<chia_wallet_service, add_key_command, TAddKeyResponse>;
105
+ export type WsAddKeyMessage = GetMessageType<chia_wallet_service, add_key_command, TAddKeyResponse>;
106
106
  export declare function add_key<T extends TRPCAgent | TDaemon>(agent: T, data: TAddKeyRequest): Promise<ResType<T, TAddKeyResponse, WsAddKeyMessage>>;
107
107
  export declare const delete_key_command = "delete_key";
108
- export declare type delete_key_command = typeof delete_key_command;
109
- export declare type TDeleteKeyRequest = {
108
+ export type delete_key_command = typeof delete_key_command;
109
+ export type TDeleteKeyRequest = {
110
110
  fingerprint: int;
111
111
  };
112
- export declare type TDeleteKeyResponse = {};
113
- export declare type WsDeleteKeyMessage = GetMessageType<chia_wallet_service, delete_key_command, TDeleteKeyResponse>;
112
+ export type TDeleteKeyResponse = Record<string, never>;
113
+ export type WsDeleteKeyMessage = GetMessageType<chia_wallet_service, delete_key_command, TDeleteKeyResponse>;
114
114
  export declare function delete_key<T extends TRPCAgent | TDaemon>(agent: T, data: TDeleteKeyRequest): Promise<ResType<T, TDeleteKeyResponse, WsDeleteKeyMessage>>;
115
115
  export declare const check_delete_key_command = "check_delete_key";
116
- export declare type check_delete_key_command = typeof check_delete_key_command;
117
- export declare type TCheckDeleteKeyRequest = {
116
+ export type check_delete_key_command = typeof check_delete_key_command;
117
+ export type TCheckDeleteKeyRequest = {
118
118
  fingerprint: int;
119
119
  max_ph_to_search?: int;
120
120
  };
121
- export declare type TCheckDeleteKeyResponse = {
121
+ export type TCheckDeleteKeyResponse = {
122
122
  fingerprint: int;
123
123
  used_for_farmer_rewards: bool;
124
124
  used_for_pool_rewards: bool;
125
125
  wallet_balance: bool;
126
126
  };
127
- export declare type WsCheckDeleteKeyMessage = GetMessageType<chia_wallet_service, check_delete_key_command, TCheckDeleteKeyResponse>;
127
+ export type WsCheckDeleteKeyMessage = GetMessageType<chia_wallet_service, check_delete_key_command, TCheckDeleteKeyResponse>;
128
128
  export declare function check_delete_key<T extends TRPCAgent | TDaemon>(agent: T, data: TCheckDeleteKeyRequest): Promise<ResType<T, TCheckDeleteKeyResponse, WsCheckDeleteKeyMessage>>;
129
129
  export declare const delete_all_keys_command = "delete_all_keys";
130
- export declare type delete_all_keys_command = typeof delete_all_keys_command;
131
- export declare type TDeleteAllKeysRequest = {};
132
- export declare type TDeleteAllKeysResponse = {} | {
130
+ export type delete_all_keys_command = typeof delete_all_keys_command;
131
+ export type TDeleteAllKeysRequest = {};
132
+ export type TDeleteAllKeysResponse = Record<string, never> | {
133
133
  success: False;
134
134
  error: str;
135
135
  };
136
- export declare type WsDeleteAllKeysMessage = GetMessageType<chia_wallet_service, delete_all_keys_command, TDeleteAllKeysResponse>;
136
+ export type WsDeleteAllKeysMessage = GetMessageType<chia_wallet_service, delete_all_keys_command, TDeleteAllKeysResponse>;
137
137
  export declare function delete_all_keys<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TDeleteAllKeysResponse, WsDeleteAllKeysMessage>>;
138
138
  export declare const set_wallet_resync_on_startup_command = "set_wallet_resync_on_startup";
139
- export declare type set_wallet_resync_on_startup_command = typeof set_wallet_resync_on_startup_command;
140
- export declare type TSetWalletResyncOnStartupRequest = {
139
+ export type set_wallet_resync_on_startup_command = typeof set_wallet_resync_on_startup_command;
140
+ export type TSetWalletResyncOnStartupRequest = {
141
141
  enable?: bool;
142
142
  };
143
- export declare type TSetWalletResyncOnStartupResponse = {
143
+ export type TSetWalletResyncOnStartupResponse = {
144
144
  success: True;
145
145
  };
146
- export declare type WsSetWalletResyncOnStartupMessage = GetMessageType<chia_wallet_service, set_wallet_resync_on_startup_command, TSetWalletResyncOnStartupResponse>;
146
+ export type WsSetWalletResyncOnStartupMessage = GetMessageType<chia_wallet_service, set_wallet_resync_on_startup_command, TSetWalletResyncOnStartupResponse>;
147
147
  export declare function set_wallet_resync_on_startup<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TSetWalletResyncOnStartupResponse, WsSetWalletResyncOnStartupMessage>>;
148
148
  export declare const get_sync_status_command = "get_sync_status";
149
- export declare type get_sync_status_command = typeof get_sync_status_command;
150
- export declare type TGetSyncStatusRequest = {};
151
- export declare type TGetSyncStatusResponse = {
149
+ export type get_sync_status_command = typeof get_sync_status_command;
150
+ export type TGetSyncStatusResponse = {
152
151
  synced: bool;
153
152
  syncing: bool;
154
153
  genesis_initialized: bool;
155
154
  };
156
- export declare type WsGetSyncStatusMessage = GetMessageType<chia_wallet_service, get_sync_status_command, TGetSyncStatusResponse>;
155
+ export type WsGetSyncStatusMessage = GetMessageType<chia_wallet_service, get_sync_status_command, TGetSyncStatusResponse>;
157
156
  export declare function get_sync_status<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetSyncStatusResponse, WsGetSyncStatusMessage>>;
158
157
  export declare const get_height_info_command = "get_height_info";
159
- export declare type get_height_info_command = typeof get_height_info_command;
160
- export declare type TGetHeightInfoRequest = {};
161
- export declare type TGetHeightInfoResponse = {
158
+ export type get_height_info_command = typeof get_height_info_command;
159
+ export type TGetHeightInfoResponse = {
162
160
  height: uint32;
163
161
  };
164
- export declare type WsGetHeightInfoMessage = GetMessageType<chia_wallet_service, get_height_info_command, TGetHeightInfoResponse>;
162
+ export type WsGetHeightInfoMessage = GetMessageType<chia_wallet_service, get_height_info_command, TGetHeightInfoResponse>;
165
163
  export declare function get_height_info<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetHeightInfoResponse, WsGetHeightInfoMessage>>;
166
164
  export declare const push_tx_command = "push_tx";
167
- export declare type push_tx_command = typeof push_tx_command;
168
- export declare type TPushTxRequest = {
165
+ export type push_tx_command = typeof push_tx_command;
166
+ export type TPushTxRequest = {
169
167
  spend_bundle: str;
170
168
  };
171
- export declare type TPushTxResponse = {};
172
- export declare type WsPushTxMessageOfWallet = GetMessageType<chia_wallet_service, push_tx_command, TPushTxResponse>;
169
+ export type TPushTxResponse = Record<string, never>;
170
+ export type WsPushTxMessageOfWallet = GetMessageType<chia_wallet_service, push_tx_command, TPushTxResponse>;
173
171
  export declare function push_tx<T extends TRPCAgent | TDaemon>(agent: T, data: TPushTxRequest): Promise<ResType<T, TPushTxResponseOfWallet, WsPushTxMessageOfWallet>>;
174
172
  export declare const push_transactions_command = "push_transactions";
175
- export declare type push_transactions_command = typeof push_transactions_command;
176
- export declare type TPushTransactionsRequest = {
177
- transactions: str;
173
+ export type push_transactions_command = typeof push_transactions_command;
174
+ export type TPushTransactionsRequest = {
175
+ transactions: Array<TransactionRecordConvenience | str>;
176
+ sign?: boolean;
178
177
  };
179
- export declare type TPushTransactionsResponse = {};
180
- export declare type WsPushTransactionsMessage = GetMessageType<chia_wallet_service, push_transactions_command, TPushTransactionsResponse>;
178
+ export type TPushTransactionsResponse = Record<string, never>;
179
+ export type WsPushTransactionsMessage = GetMessageType<chia_wallet_service, push_transactions_command, TPushTransactionsResponse>;
181
180
  export declare function push_transactions<T extends TRPCAgent | TDaemon>(agent: T, data: TPushTransactionsRequest): Promise<ResType<T, TPushTransactionsResponse, WsPushTransactionsMessage>>;
182
- export declare const farm_block_command = "farm_block";
183
- export declare type farm_block_command = typeof farm_block_command;
184
- export declare type TFarmBlockRequest = {
185
- address: str;
186
- };
187
- export declare type TFarmBlockResponse = {};
188
- export declare type WsFarmBlockMessage = GetMessageType<chia_wallet_service, farm_block_command, TFarmBlockResponse>;
189
- export declare function farm_block<T extends TRPCAgent | TDaemon>(agent: T, data: TFarmBlockRequest): Promise<ResType<T, TFarmBlockResponse, WsFarmBlockMessage>>;
190
181
  export declare const get_timestamp_for_height_command = "get_timestamp_for_height";
191
- export declare type get_timestamp_for_height_command = typeof get_timestamp_for_height_command;
192
- export declare type TGetTimestampForHeightResponse = {
182
+ export type get_timestamp_for_height_command = typeof get_timestamp_for_height_command;
183
+ export type TGetTimestampForHeightResponse = {
193
184
  timestamp: uint64;
194
185
  };
195
- export declare type WsGetTimestampForHeightMessage = GetMessageType<chia_wallet_service, get_timestamp_for_height_command, TGetTimestampForHeightResponse>;
186
+ export type WsGetTimestampForHeightMessage = GetMessageType<chia_wallet_service, get_timestamp_for_height_command, TGetTimestampForHeightResponse>;
196
187
  export declare function get_timestamp_for_height<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetTimestampForHeightResponse, WsGetTimestampForHeightMessage>>;
197
188
  export declare const set_auto_claim_command = "set_auto_claim";
198
- export declare type set_auto_claim_command = typeof set_auto_claim_command;
199
- export declare type TSetAutoClaimRequest = AutoClaimSettings;
200
- export declare type TSetAutoClaimResponse = AutoClaimSettings;
201
- export declare type WsSetAutoClaimMessage = GetMessageType<chia_wallet_service, set_auto_claim_command, TSetAutoClaimResponse>;
189
+ export type set_auto_claim_command = typeof set_auto_claim_command;
190
+ export type TSetAutoClaimRequest = AutoClaimSettings;
191
+ export type TSetAutoClaimResponse = AutoClaimSettings;
192
+ export type WsSetAutoClaimMessage = GetMessageType<chia_wallet_service, set_auto_claim_command, TSetAutoClaimResponse>;
202
193
  export declare function set_auto_claim<T extends TRPCAgent | TDaemon>(agent: T, data: TSetAutoClaimRequest): Promise<ResType<T, AutoClaimSettings, WsSetAutoClaimMessage>>;
203
194
  export declare const get_auto_claim_command = "get_auto_claim";
204
- export declare type get_auto_claim_command = typeof get_auto_claim_command;
205
- export declare type TGetAutoClaimResponse = AutoClaimSettings;
206
- export declare type WsGetAutoClaimMessage = GetMessageType<chia_wallet_service, get_auto_claim_command, TGetAutoClaimResponse>;
195
+ export type get_auto_claim_command = typeof get_auto_claim_command;
196
+ export type TGetAutoClaimResponse = AutoClaimSettings;
197
+ export type WsGetAutoClaimMessage = GetMessageType<chia_wallet_service, get_auto_claim_command, TGetAutoClaimResponse>;
207
198
  export declare function get_auto_claim<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, AutoClaimSettings, WsGetAutoClaimMessage>>;
208
199
  export declare const get_initial_freeze_period_command_of_wallet = "get_initial_freeze_period";
209
- export declare type get_initial_freeze_period_command_of_wallet = typeof get_initial_freeze_period_command_of_wallet;
210
- export declare type TGetInitialFreezePeriodRequestOfWallet = {};
211
- export declare type TGetInitialFreezePeriodResponseOfWallet = {
200
+ export type get_initial_freeze_period_command_of_wallet = typeof get_initial_freeze_period_command_of_wallet;
201
+ export type TGetInitialFreezePeriodResponseOfWallet = {
212
202
  INITIAL_FREEZE_END_TIMESTAMP: 1620061200;
213
203
  };
214
- export declare type WsGetInitialFreezePeriodMessageOfWallet = GetMessageType<chia_wallet_service, get_initial_freeze_period_command_of_wallet, TGetInitialFreezePeriodResponseOfWallet>;
204
+ export type WsGetInitialFreezePeriodMessageOfWallet = GetMessageType<chia_wallet_service, get_initial_freeze_period_command_of_wallet, TGetInitialFreezePeriodResponseOfWallet>;
215
205
  export declare function get_initial_freeze_period_of_wallet<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetInitialFreezePeriodResponseOfWallet, WsGetInitialFreezePeriodMessageOfWallet>>;
216
- export declare const get_network_info_command_of_wallet = "get_network_info";
217
- export declare type get_network_info_command_of_wallet = typeof get_network_info_command_of_wallet;
218
- export declare type TGetNetworkInfoRequestOfWallet = {};
219
- export declare type TGetNetworkInfoResponseOfWallet = {
220
- network_name: str;
221
- network_prefix: str;
222
- };
223
- export declare type WsGetNetworkInfoMessageOfWallet = GetMessageType<chia_wallet_service, get_network_info_command_of_wallet, TGetNetworkInfoResponseOfWallet>;
224
- export declare function get_network_info_of_wallet<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetNetworkInfoResponseOfWallet, WsGetNetworkInfoMessageOfWallet>>;
225
206
  export declare const get_wallets_command = "get_wallets";
226
- export declare type get_wallets_command = typeof get_wallets_command;
227
- export declare type TGetWalletsRequest = {
207
+ export type get_wallets_command = typeof get_wallets_command;
208
+ export type TGetWalletsRequest = {
228
209
  type?: int;
229
210
  include_data?: bool;
230
211
  };
231
- export declare type TGetWalletsResponse = {
212
+ export type TGetWalletsResponse = {
232
213
  wallets: WalletInfo[];
233
214
  fingerprint?: int;
234
215
  };
235
- export declare type WsGetWalletsMessage = GetMessageType<chia_wallet_service, get_wallets_command, TGetWalletsResponse>;
216
+ export type WsGetWalletsMessage = GetMessageType<chia_wallet_service, get_wallets_command, TGetWalletsResponse>;
236
217
  export declare function get_wallets<T extends TRPCAgent | TDaemon>(agent: T, data: TGetWalletsRequest): Promise<ResType<T, TGetWalletsResponse, WsGetWalletsMessage>>;
237
- export declare type TCreate_New_CAT_WalletRequest = {
218
+ export type TCreate_New_CAT_WalletRequest = {
238
219
  fee?: uint64;
239
220
  wallet_type: "cat_wallet";
240
221
  name?: str;
@@ -247,12 +228,15 @@ export declare type TCreate_New_CAT_WalletRequest = {
247
228
  mode: "existing";
248
229
  asset_id: str;
249
230
  };
250
- export declare type TCreate_New_CAT_WalletResponse = {
231
+ export type TCreate_New_CAT_WalletResponse = {
251
232
  type: uint8;
252
233
  asset_id: str;
253
234
  wallet_id: uint32;
235
+ transactions: TransactionRecordConvenience[];
236
+ unsigned_transactions: UnsignedTransaction[] | str[];
237
+ signing_responses?: str[];
254
238
  };
255
- export declare type TCreate_New_RL_WalletRequest = {
239
+ export type TCreate_New_RL_WalletRequest = {
256
240
  fee?: uint64;
257
241
  wallet_type: "rl_wallet";
258
242
  rl_type: "admin";
@@ -265,7 +249,7 @@ export declare type TCreate_New_RL_WalletRequest = {
265
249
  wallet_type: "rl_wallet";
266
250
  rl_type: "user";
267
251
  };
268
- export declare type TCreate_New_RL_WalletResponse = {
252
+ export type TCreate_New_RL_WalletResponse = {
269
253
  success: bool;
270
254
  id: uint32;
271
255
  type: uint8;
@@ -276,7 +260,7 @@ export declare type TCreate_New_RL_WalletResponse = {
276
260
  type: uint8;
277
261
  pubkey: str;
278
262
  };
279
- export declare type TCreate_New_DID_WalletRequest = {
263
+ export type TCreate_New_DID_WalletRequest = {
280
264
  fee?: uint64;
281
265
  wallet_type: "did_wallet";
282
266
  did_type: "new";
@@ -291,7 +275,7 @@ export declare type TCreate_New_DID_WalletRequest = {
291
275
  did_type: "recovery";
292
276
  backup_data: str;
293
277
  };
294
- export declare type TCreate_New_DID_WalletResponse = {
278
+ export type TCreate_New_DID_WalletResponse = {
295
279
  success: True;
296
280
  type: uint8;
297
281
  my_did: str;
@@ -308,7 +292,7 @@ export declare type TCreate_New_DID_WalletResponse = {
308
292
  backup_dids: bytes[];
309
293
  num_verifications_required: uint64;
310
294
  };
311
- export declare type TCreate_New_DAO_WalletRequest = {
295
+ export type TCreate_New_DAO_WalletRequest = {
312
296
  wallet_type: "dao_wallet";
313
297
  name?: str;
314
298
  mode: "new" | "existing";
@@ -318,7 +302,7 @@ export declare type TCreate_New_DAO_WalletRequest = {
318
302
  fee_for_cat: uint64;
319
303
  treasury_id: str;
320
304
  };
321
- export declare type TCreate_New_DAO_WalletResponse = {
305
+ export type TCreate_New_DAO_WalletResponse = {
322
306
  success: True;
323
307
  type: uint8;
324
308
  my_did: str;
@@ -326,19 +310,22 @@ export declare type TCreate_New_DAO_WalletResponse = {
326
310
  treasury_id: bytes32;
327
311
  cat_wallet_id: uint32;
328
312
  dao_cat_wallet_id: uint32;
313
+ transactions: TransactionRecordConvenience[];
314
+ unsigned_transactions: UnsignedTransaction[] | str[];
315
+ signing_responses?: str[];
329
316
  };
330
- export declare type TCreate_New_NFT_WalletRequest = {
317
+ export type TCreate_New_NFT_WalletRequest = {
331
318
  fee?: uint64;
332
319
  wallet_type: "nft_wallet";
333
320
  did_id?: str;
334
321
  name?: str;
335
322
  };
336
- export declare type TCreate_New_NFT_WalletResponse = {
323
+ export type TCreate_New_NFT_WalletResponse = {
337
324
  success: True;
338
325
  type: uint8;
339
326
  wallet_id: uint32;
340
327
  };
341
- export declare type TCreate_New_Pool_WalletRequest = {
328
+ export type TCreate_New_Pool_WalletRequest = {
342
329
  fee?: uint64;
343
330
  wallet_type: "pool_wallet";
344
331
  mode: "new";
@@ -357,62 +344,65 @@ export declare type TCreate_New_Pool_WalletRequest = {
357
344
  wallet_type: "pool_wallet";
358
345
  mode: "recovery";
359
346
  };
360
- export declare type TCreate_New_Pool_WalletResponse = {
347
+ export type TCreate_New_Pool_WalletResponse = {
361
348
  total_fee: uint64;
362
349
  transaction: TransactionRecord;
350
+ transactions: TransactionRecordConvenience[];
351
+ unsigned_transactions: UnsignedTransaction[] | str[];
352
+ signing_responses?: str[];
363
353
  launcher_id: str;
364
354
  p2_singleton_puzzle_hash: str;
365
355
  };
366
- export declare type TCreateWalletErrorResponse = {
356
+ export type TCreateWalletErrorResponse = {
367
357
  success: False;
368
358
  error: str;
369
359
  };
370
360
  export declare const create_new_wallet_command = "create_new_wallet";
371
- export declare type create_new_wallet_command = typeof create_new_wallet_command;
372
- export declare type TCreateNewWalletRequest = (TCreate_New_CAT_WalletRequest | TCreate_New_RL_WalletRequest | TCreate_New_DID_WalletRequest | TCreate_New_DAO_WalletRequest | TCreate_New_NFT_WalletRequest | TCreate_New_Pool_WalletRequest) & TxEndpoint;
373
- export declare type TCreateNewWalletResponse = TCreate_New_CAT_WalletResponse | TCreate_New_RL_WalletResponse | TCreate_New_DID_WalletResponse | TCreate_New_DAO_WalletResponse | TCreate_New_NFT_WalletResponse | TCreate_New_Pool_WalletResponse | TCreateWalletErrorResponse;
374
- export declare type WsCreateNewWalletMessage = GetMessageType<chia_wallet_service, create_new_wallet_command, TCreateNewWalletResponse>;
361
+ export type create_new_wallet_command = typeof create_new_wallet_command;
362
+ export type TCreateNewWalletRequest = (TCreate_New_CAT_WalletRequest | TCreate_New_RL_WalletRequest | TCreate_New_DID_WalletRequest | TCreate_New_DAO_WalletRequest | TCreate_New_NFT_WalletRequest | TCreate_New_Pool_WalletRequest) & TXEndpointRequest;
363
+ export type TCreateNewWalletResponse = TCreate_New_CAT_WalletResponse | TCreate_New_RL_WalletResponse | TCreate_New_DID_WalletResponse | TCreate_New_DAO_WalletResponse | TCreate_New_NFT_WalletResponse | TCreate_New_Pool_WalletResponse | TCreateWalletErrorResponse;
364
+ export type WsCreateNewWalletMessage = GetMessageType<chia_wallet_service, create_new_wallet_command, TCreateNewWalletResponse>;
375
365
  export declare function create_new_wallet<T extends TRPCAgent | TDaemon>(agent: T, data: TCreateNewWalletRequest): Promise<ResType<T, TCreateNewWalletResponse, WsCreateNewWalletMessage>>;
376
- export declare type WalletBalance = Balance & {
366
+ export type WalletBalance = Balance & {
377
367
  wallet_id: uint32;
378
368
  wallet_type: int;
379
369
  fingerprint?: int;
380
370
  asset_id?: str;
381
371
  };
382
372
  export declare const get_wallet_balance_command = "get_wallet_balance";
383
- export declare type get_wallet_balance_command = typeof get_wallet_balance_command;
384
- export declare type TGetWalletBalanceRequest = {
373
+ export type get_wallet_balance_command = typeof get_wallet_balance_command;
374
+ export type TGetWalletBalanceRequest = {
385
375
  wallet_id: int;
386
376
  };
387
- export declare type TGetWalletBalanceResponse = {
377
+ export type TGetWalletBalanceResponse = {
388
378
  wallet_balance: WalletBalance;
389
379
  };
390
- export declare type WsGetWalletBalanceMessage = GetMessageType<chia_wallet_service, get_wallet_balance_command, TGetWalletBalanceResponse>;
380
+ export type WsGetWalletBalanceMessage = GetMessageType<chia_wallet_service, get_wallet_balance_command, TGetWalletBalanceResponse>;
391
381
  export declare function get_wallet_balance<T extends TRPCAgent | TDaemon>(agent: T, data: TGetWalletBalanceRequest): Promise<ResType<T, TGetWalletBalanceResponse, WsGetWalletBalanceMessage>>;
392
382
  export declare const get_wallet_balances_command = "get_wallet_balances";
393
- export declare type get_wallet_balances_command = typeof get_wallet_balances_command;
394
- export declare type TGetWalletBalancesRequest = {
383
+ export type get_wallet_balances_command = typeof get_wallet_balances_command;
384
+ export type TGetWalletBalancesRequest = {
395
385
  wallet_ids: int[];
396
386
  };
397
- export declare type TGetWalletBalancesResponse = {
387
+ export type TGetWalletBalancesResponse = {
398
388
  wallet_balances: Record<uint32, WalletBalance>;
399
389
  };
400
- export declare type WsGetWalletBalancesMessage = GetMessageType<chia_wallet_service, get_wallet_balances_command, TGetWalletBalancesResponse>;
390
+ export type WsGetWalletBalancesMessage = GetMessageType<chia_wallet_service, get_wallet_balances_command, TGetWalletBalancesResponse>;
401
391
  export declare function get_wallet_balances<T extends TRPCAgent | TDaemon>(agent: T, data: TGetWalletBalancesRequest): Promise<ResType<T, TGetWalletBalancesResponse, WsGetWalletBalancesMessage>>;
402
392
  export declare const get_transaction_command = "get_transaction";
403
- export declare type get_transaction_command = typeof get_transaction_command;
404
- export declare type TGetTransactionRequest = {
393
+ export type get_transaction_command = typeof get_transaction_command;
394
+ export type TGetTransactionRequest = {
405
395
  transaction_id: str;
406
396
  };
407
- export declare type TGetTransactionResponse = {
397
+ export type TGetTransactionResponse = {
408
398
  transaction: TransactionRecordConvenience;
409
399
  transaction_id: TransactionRecord["name"];
410
400
  };
411
- export declare type WsGetTransactionMessage = GetMessageType<chia_wallet_service, get_transaction_command, TGetTransactionResponse>;
401
+ export type WsGetTransactionMessage = GetMessageType<chia_wallet_service, get_transaction_command, TGetTransactionResponse>;
412
402
  export declare function get_transaction<T extends TRPCAgent | TDaemon>(agent: T, data: TGetTransactionRequest): Promise<ResType<T, TGetTransactionResponse, WsGetTransactionMessage>>;
413
403
  export declare const get_transactions_command = "get_transactions";
414
- export declare type get_transactions_command = typeof get_transactions_command;
415
- export declare type TGetTransactionsRequest = {
404
+ export type get_transactions_command = typeof get_transactions_command;
405
+ export type TGetTransactionsRequest = {
416
406
  wallet_id: int;
417
407
  start?: int;
418
408
  end?: int;
@@ -422,114 +412,100 @@ export declare type TGetTransactionsRequest = {
422
412
  type_filter?: TransactionTypeFilter;
423
413
  confirmed?: bool;
424
414
  };
425
- export declare type TGetTransactionsResponse = {
415
+ export type TGetTransactionsResponse = {
426
416
  transactions: TransactionRecordConvenienceWithMetadata[];
427
417
  wallet_id: int;
428
418
  };
429
- export declare type WsGetTransactionsMessage = GetMessageType<chia_wallet_service, get_transactions_command, TGetTransactionsResponse>;
419
+ export type WsGetTransactionsMessage = GetMessageType<chia_wallet_service, get_transactions_command, TGetTransactionsResponse>;
430
420
  export declare function get_transactions<T extends TRPCAgent | TDaemon>(agent: T, data: TGetTransactionsRequest): Promise<ResType<T, TGetTransactionsResponse, WsGetTransactionsMessage>>;
431
421
  export declare const get_next_address_command = "get_next_address";
432
- export declare type get_next_address_command = typeof get_next_address_command;
433
- export declare type TGetNextAddressRequest = {
422
+ export type get_next_address_command = typeof get_next_address_command;
423
+ export type TGetNextAddressRequest = {
434
424
  new_address: bool;
435
425
  wallet_id: int;
436
426
  };
437
- export declare type TGetNextAddressResponse = {
427
+ export type TGetNextAddressResponse = {
438
428
  wallet_id: uint32;
439
429
  address: str;
440
430
  };
441
- export declare type WsGetNextAddressMessage = GetMessageType<chia_wallet_service, get_next_address_command, TGetNextAddressResponse>;
431
+ export type WsGetNextAddressMessage = GetMessageType<chia_wallet_service, get_next_address_command, TGetNextAddressResponse>;
442
432
  export declare function get_next_address<T extends TRPCAgent | TDaemon>(agent: T, data: TGetNextAddressRequest): Promise<ResType<T, TGetNextAddressResponse, WsGetNextAddressMessage>>;
443
433
  export declare const send_transaction_command = "send_transaction";
444
- export declare type send_transaction_command = typeof send_transaction_command;
445
- export declare type TSendTransactionRequest = {
434
+ export type send_transaction_command = typeof send_transaction_command;
435
+ export type TSendTransactionRequest = {
446
436
  wallet_id: uint32;
447
437
  amount: int;
448
- fee: int;
438
+ fee?: uint64;
449
439
  address: str;
450
440
  memos?: str[];
451
441
  puzzle_decorator?: Array<{
452
442
  decorator: str;
453
443
  clawback_timelock?: uint64;
454
444
  }>;
455
- } & TxEndpoint;
456
- export declare type TSendTransactionResponse = {
445
+ } & TXEndpointRequest;
446
+ export type TSendTransactionResponse = {
457
447
  transaction: TransactionRecordConvenience;
448
+ transactions: TransactionRecordConvenience[];
458
449
  transaction_id: TransactionRecord["name"];
450
+ unsigned_transactions: UnsignedTransaction[] | str[];
451
+ signing_responses?: str[];
459
452
  };
460
- export declare type WsSendTransactionMessage = GetMessageType<chia_wallet_service, send_transaction_command, TSendTransactionResponse>;
453
+ export type WsSendTransactionMessage = GetMessageType<chia_wallet_service, send_transaction_command, TSendTransactionResponse>;
461
454
  export declare function send_transaction<T extends TRPCAgent | TDaemon>(agent: T, data: TSendTransactionRequest): Promise<ResType<T, TSendTransactionResponse, WsSendTransactionMessage>>;
462
455
  export declare const send_transaction_multi_command = "send_transaction_multi";
463
- export declare type send_transaction_multi_command = typeof send_transaction_multi_command;
464
- export declare type TSendTransactionMultiRequest = {
465
- wallet_id: uint32;
466
- additions: TAdditions[];
467
- fee?: uint64;
468
- min_coin_amount?: uint64;
469
- max_coin_amount?: uint64;
470
- exclude_coin_amounts?: uint64[];
471
- exclude_coins?: Coin[];
472
- coins?: Coin[];
473
- coin_announcements?: TCoinAnnouncement[];
474
- puzzle_announcements?: TPuzzleAnnouncement[];
475
- } | {
456
+ export type send_transaction_multi_command = typeof send_transaction_multi_command;
457
+ export type TSendTransactionMultiRequest = {
476
458
  wallet_id: uint32;
477
- additions: TAdditions[];
478
- fee: uint64;
479
- amount: uint64;
480
- inner_address: str;
481
- memos: str;
482
- min_coin_amount?: uint64;
483
- max_coin_amount?: uint64;
484
- exclude_coin_amounts?: uint64[];
485
- exclude_coin_ids?: str[];
486
- };
487
- export declare type TSendTransactionMultiResponse = {
459
+ } & (TCatSpendRequest | TCreateSignedTransactionRequest);
460
+ export type TSendTransactionMultiResponse = {
488
461
  transaction: TransactionRecordConvenience;
489
462
  transaction_id: TransactionRecordConvenience["name"];
463
+ transactions: TransactionRecordConvenience[];
490
464
  };
491
- export declare type WsSendTransactionMultiMessage = GetMessageType<chia_wallet_service, send_transaction_multi_command, TSendTransactionMultiResponse>;
465
+ export type WsSendTransactionMultiMessage = GetMessageType<chia_wallet_service, send_transaction_multi_command, TSendTransactionMultiResponse>;
492
466
  export declare function send_transaction_multi<T extends TRPCAgent | TDaemon>(agent: T, data: TSendTransactionMultiRequest): Promise<ResType<T, TSendTransactionMultiResponse, WsSendTransactionMultiMessage>>;
493
467
  export declare const spend_clawback_coins_command = "spend_clawback_coins";
494
- export declare type spend_clawback_coins_command = typeof spend_clawback_coins_command;
495
- export declare type TSpendClawbackCoinsRequest = {
468
+ export type spend_clawback_coins_command = typeof spend_clawback_coins_command;
469
+ export type TSpendClawbackCoinsRequest = {
496
470
  coin_ids: str[];
497
471
  fee?: uint64;
498
472
  batch_size: int;
499
473
  force?: bool;
500
- } & TxEndpoint;
501
- export declare type TSpendClawbackCoinsResponse = {
474
+ } & TXEndpointRequest;
475
+ export type TSpendClawbackCoinsResponse = {
502
476
  success: True;
503
477
  transaction_ids: str[];
478
+ transactions: TransactionRecordConvenience[];
479
+ unsigned_transactions: UnsignedTransaction[] | str[];
480
+ signing_responses?: str[];
504
481
  };
505
- export declare type WsSpendClawbackCoinsMessage = GetMessageType<chia_wallet_service, spend_clawback_coins_command, TSpendClawbackCoinsResponse>;
482
+ export type WsSpendClawbackCoinsMessage = GetMessageType<chia_wallet_service, spend_clawback_coins_command, TSpendClawbackCoinsResponse>;
506
483
  export declare function spend_clawback_coins<T extends TRPCAgent | TDaemon>(agent: T, data: TSpendClawbackCoinsRequest): Promise<ResType<T, TSpendClawbackCoinsResponse, WsSpendClawbackCoinsMessage>>;
507
484
  export declare const get_coin_records_command = "get_coin_records";
508
- export declare type get_coin_records_command = typeof get_coin_records_command;
509
- export declare type TGetCoinRecordsRequest = GetCoinRecords;
510
- export declare type TGetCoinRecordsResponse = {
485
+ export type get_coin_records_command = typeof get_coin_records_command;
486
+ export type TGetCoinRecordsRequest = GetCoinRecords;
487
+ export type TGetCoinRecordsResponse = {
511
488
  coin_records: WalletCoinRecordWithMetadata[];
512
489
  total_count: uint32 | None;
513
490
  };
514
- export declare type WsGetCoinRecordsMessage = GetMessageType<chia_wallet_service, get_coin_records_command, TGetCoinRecordsResponse>;
491
+ export type WsGetCoinRecordsMessage = GetMessageType<chia_wallet_service, get_coin_records_command, TGetCoinRecordsResponse>;
515
492
  export declare function get_coin_records<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordsRequest): Promise<ResType<T, TGetCoinRecordsResponse, WsGetCoinRecordsMessage>>;
516
493
  export declare const get_transaction_count_command = "get_transaction_count";
517
- export declare type get_transaction_count_command = typeof get_transaction_count_command;
518
- export declare type TGetTransactionCountRequest = {
494
+ export type get_transaction_count_command = typeof get_transaction_count_command;
495
+ export type TGetTransactionCountRequest = {
519
496
  wallet_id: int;
520
497
  type_filter?: TransactionTypeFilter;
521
498
  confirmed?: bool;
522
499
  };
523
- export declare type TGetTransactionCountResponse = {
500
+ export type TGetTransactionCountResponse = {
524
501
  count: int;
525
502
  wallet_id: int;
526
503
  };
527
- export declare type WsGetTransactionCountMessage = GetMessageType<chia_wallet_service, get_transaction_count_command, TGetTransactionCountResponse>;
504
+ export type WsGetTransactionCountMessage = GetMessageType<chia_wallet_service, get_transaction_count_command, TGetTransactionCountResponse>;
528
505
  export declare function get_transaction_count<T extends TRPCAgent | TDaemon>(agent: T, data: TGetTransactionCountRequest): Promise<ResType<T, TGetTransactionCountResponse, WsGetTransactionCountMessage>>;
529
506
  export declare const get_farmed_amount_command = "get_farmed_amount";
530
- export declare type get_farmed_amount_command = typeof get_farmed_amount_command;
531
- export declare type TGetFarmedAmountRequest = {};
532
- export declare type TGetFarmedAmountResponse = {
507
+ export type get_farmed_amount_command = typeof get_farmed_amount_command;
508
+ export type TGetFarmedAmountResponse = {
533
509
  farmed_amount: int;
534
510
  pool_reward_amount: int;
535
511
  farmer_reward_amount: int;
@@ -538,63 +514,67 @@ export declare type TGetFarmedAmountResponse = {
538
514
  last_time_farmed: uint32;
539
515
  blocks_won: uint32;
540
516
  };
541
- export declare type WsGetFarmedAmountMessage = GetMessageType<chia_wallet_service, get_farmed_amount_command, TGetFarmedAmountResponse>;
517
+ export type WsGetFarmedAmountMessage = GetMessageType<chia_wallet_service, get_farmed_amount_command, TGetFarmedAmountResponse>;
542
518
  export declare function get_farmed_amount<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetFarmedAmountResponse, WsGetFarmedAmountMessage>>;
543
- export declare type TAdditions = {
519
+ export type TAdditions = {
544
520
  amount: uint64;
545
521
  puzzle_hash: str;
546
522
  memos?: str[];
547
523
  };
548
- export declare type TCoinAnnouncement = {
524
+ export type TCoinAnnouncement = {
549
525
  coin_id: str;
550
526
  message: str;
551
527
  morph_bytes?: str;
552
528
  };
553
- export declare type TPuzzleAnnouncement = {
529
+ export type TPuzzleAnnouncement = {
554
530
  puzzle_hash: str;
555
531
  message: str;
556
532
  morph_bytes?: str;
557
533
  };
558
534
  export declare const create_signed_transaction_command = "create_signed_transaction";
559
- export declare type create_signed_transaction_command = typeof create_signed_transaction_command;
560
- export declare type TCreateSignedTransactionRequest = {
535
+ export type create_signed_transaction_command = typeof create_signed_transaction_command;
536
+ export type TCreateSignedTransactionRequest = {
561
537
  wallet_id?: uint32;
562
538
  additions: TAdditions[];
563
539
  fee?: uint64;
564
540
  coins?: Coin[];
565
541
  coin_announcements?: TCoinAnnouncement[];
566
542
  puzzle_announcements?: TPuzzleAnnouncement[];
567
- } & TxEndpoint;
568
- export declare type TCreateSignedTransactionResponse = {
543
+ morph_bytes?: True;
544
+ } & TXEndpointRequest;
545
+ export type TCreateSignedTransactionResponse = {
569
546
  signed_txs: TransactionRecordConvenience[];
570
547
  signed_tx: TransactionRecordConvenience;
548
+ transactions: TransactionRecordConvenience[];
549
+ unsigned_transactions: UnsignedTransaction[] | str[];
550
+ signing_responses?: str[];
571
551
  };
572
- export declare type WsCreateSignedTransactionMessage = GetMessageType<chia_wallet_service, create_signed_transaction_command, TCreateSignedTransactionResponse>;
552
+ export type WsCreateSignedTransactionMessage = GetMessageType<chia_wallet_service, create_signed_transaction_command, TCreateSignedTransactionResponse>;
573
553
  export declare function create_signed_transaction<T extends TRPCAgent | TDaemon>(agent: T, data: TCreateSignedTransactionRequest): Promise<ResType<T, TCreateSignedTransactionResponse, WsCreateSignedTransactionMessage>>;
574
554
  export declare const delete_unconfirmed_transactions_command = "delete_unconfirmed_transactions";
575
- export declare type delete_unconfirmed_transactions_command = typeof delete_unconfirmed_transactions_command;
576
- export declare type TDeleteUnconfirmedTransactionsRequest = {
555
+ export type delete_unconfirmed_transactions_command = typeof delete_unconfirmed_transactions_command;
556
+ export type TDeleteUnconfirmedTransactionsRequest = {
577
557
  wallet_id: uint32;
578
558
  };
579
- export declare type TDeleteUnconfirmedTransactionsResponse = {};
580
- export declare type WsDeleteUnconfirmedTransactionsMessage = GetMessageType<chia_wallet_service, delete_unconfirmed_transactions_command, TDeleteUnconfirmedTransactionsResponse>;
559
+ export type TDeleteUnconfirmedTransactionsResponse = Record<string, never>;
560
+ export type WsDeleteUnconfirmedTransactionsMessage = GetMessageType<chia_wallet_service, delete_unconfirmed_transactions_command, TDeleteUnconfirmedTransactionsResponse>;
581
561
  export declare function delete_unconfirmed_transactions<T extends TRPCAgent | TDaemon>(agent: T, data: TDeleteUnconfirmedTransactionsRequest): Promise<ResType<T, TDeleteUnconfirmedTransactionsResponse, WsDeleteUnconfirmedTransactionsMessage>>;
582
562
  export declare const select_coins_command = "select_coins";
583
- export declare type select_coins_command = typeof select_coins_command;
584
- export declare type TSelectCoinsRequest = {
563
+ export type select_coins_command = typeof select_coins_command;
564
+ export type TSelectCoinsRequest = {
585
565
  amount: uint64;
586
566
  wallet_id: uint32;
587
567
  exclude_coins?: Optional<Coin[]>;
588
568
  excluded_coins?: Optional<Coin[]>;
589
569
  } & CoinSelectionConfigLoader;
590
- export declare type TSelectCoinsResponse = {
570
+ export type TSelectCoinsResponse = {
591
571
  coins: Coin[];
592
572
  };
593
- export declare type WsSelectCoinsMessage = GetMessageType<chia_wallet_service, select_coins_command, TSelectCoinsResponse>;
573
+ export type WsSelectCoinsMessage = GetMessageType<chia_wallet_service, select_coins_command, TSelectCoinsResponse>;
594
574
  export declare function select_coins<T extends TRPCAgent | TDaemon>(agent: T, data: TSelectCoinsRequest): Promise<ResType<T, TSelectCoinsResponse, WsSelectCoinsMessage>>;
595
575
  export declare const get_spendable_coins_command = "get_spendable_coins";
596
- export declare type get_spendable_coins_command = typeof get_spendable_coins_command;
597
- export declare type TGetSpendableCoinsRequest = {
576
+ export type get_spendable_coins_command = typeof get_spendable_coins_command;
577
+ export type TGetSpendableCoinsRequest = {
598
578
  wallet_id: uint32;
599
579
  min_coin_amount?: uint64;
600
580
  max_coin_amount?: uint64;
@@ -602,126 +582,129 @@ export declare type TGetSpendableCoinsRequest = {
602
582
  excluded_coins?: Coin[];
603
583
  excluded_coin_ids?: str[];
604
584
  };
605
- export declare type TGetSpendableCoinsResponse = {
585
+ export type TGetSpendableCoinsResponse = {
606
586
  confirmed_records: CoinRecord[];
607
587
  unconfirmed_removals: CoinRecord[];
608
588
  unconfirmed_additions: Coin[];
609
589
  };
610
- export declare type WsGetSpendableCoinsMessage = GetMessageType<chia_wallet_service, get_spendable_coins_command, TGetSpendableCoinsResponse>;
590
+ export type WsGetSpendableCoinsMessage = GetMessageType<chia_wallet_service, get_spendable_coins_command, TGetSpendableCoinsResponse>;
611
591
  export declare function get_spendable_coins<T extends TRPCAgent | TDaemon>(agent: T, data: TGetSpendableCoinsRequest): Promise<ResType<T, TGetSpendableCoinsResponse, WsGetSpendableCoinsMessage>>;
612
592
  export declare const get_coin_records_by_names_command = "get_coin_records_by_names";
613
- export declare type get_coin_records_by_names_command = typeof get_coin_records_by_names_command;
614
- export declare type TGetCoinRecordsByNamesRequest = {
593
+ export type get_coin_records_by_names_command = typeof get_coin_records_by_names_command;
594
+ export type TGetCoinRecordsByNamesRequest = {
615
595
  names: str[];
616
596
  start_height?: uint32;
617
597
  end_height?: uint32;
618
598
  include_spent_coins?: bool;
619
599
  };
620
- export declare type TGetCoinRecordsByNamesResponse = {
600
+ export type TGetCoinRecordsByNamesResponse = {
621
601
  coin_records: CoinRecord[];
622
602
  };
623
- export declare type WsGetCoinRecordsByNamesMessage = GetMessageType<chia_wallet_service, get_coin_records_by_names_command, TGetCoinRecordsByNamesResponse>;
603
+ export type WsGetCoinRecordsByNamesMessage = GetMessageType<chia_wallet_service, get_coin_records_by_names_command, TGetCoinRecordsByNamesResponse>;
624
604
  export declare function get_coin_records_by_names<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordsByNamesRequest): Promise<ResType<T, TGetCoinRecordsByNamesResponse, WsGetCoinRecordsByNamesMessage>>;
625
605
  export declare const get_current_derivation_index_command = "get_current_derivation_index";
626
- export declare type get_current_derivation_index_command = typeof get_current_derivation_index_command;
627
- export declare type TGetCurrentDerivationIndexResponse = {
606
+ export type get_current_derivation_index_command = typeof get_current_derivation_index_command;
607
+ export type TGetCurrentDerivationIndexResponse = {
628
608
  success: True;
629
609
  index: Optional<uint32>;
630
610
  };
631
- export declare type WsGetCurrentDerivationIndexMessage = GetMessageType<chia_wallet_service, get_current_derivation_index_command, TGetCurrentDerivationIndexResponse>;
611
+ export type WsGetCurrentDerivationIndexMessage = GetMessageType<chia_wallet_service, get_current_derivation_index_command, TGetCurrentDerivationIndexResponse>;
632
612
  export declare function get_current_derivation_index<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetCurrentDerivationIndexResponse, WsGetCurrentDerivationIndexMessage>>;
633
613
  export declare const extend_derivation_index_command = "extend_derivation_index";
634
- export declare type extend_derivation_index_command = typeof extend_derivation_index_command;
635
- export declare type TExtendDerivationIndexRequest = {
614
+ export type extend_derivation_index_command = typeof extend_derivation_index_command;
615
+ export type TExtendDerivationIndexRequest = {
636
616
  index: uint32;
637
617
  };
638
- export declare type TExtendDerivationIndexResponse = {
618
+ export type TExtendDerivationIndexResponse = {
639
619
  success: True;
640
620
  index: Optional<uint32>;
641
621
  };
642
- export declare type WsExtendDerivationIndexMessage = GetMessageType<chia_wallet_service, extend_derivation_index_command, TExtendDerivationIndexResponse>;
622
+ export type WsExtendDerivationIndexMessage = GetMessageType<chia_wallet_service, extend_derivation_index_command, TExtendDerivationIndexResponse>;
643
623
  export declare function extend_derivation_index<T extends TRPCAgent | TDaemon>(agent: T, data: TExtendDerivationIndexRequest): Promise<ResType<T, TExtendDerivationIndexResponse, WsExtendDerivationIndexMessage>>;
644
624
  export declare const get_notifications_command = "get_notifications";
645
- export declare type get_notifications_command = typeof get_notifications_command;
646
- export declare type TGetNotificationsRequest = GetNotifications;
647
- export declare type TGetNotificationsResponse = GetNotificationsResponse;
648
- export declare type WsGetNotificationsMessage = GetMessageType<chia_wallet_service, get_notifications_command, TGetNotificationsResponse>;
625
+ export type get_notifications_command = typeof get_notifications_command;
626
+ export type TGetNotificationsRequest = GetNotifications;
627
+ export type TGetNotificationsResponse = GetNotificationsResponse;
628
+ export type WsGetNotificationsMessage = GetMessageType<chia_wallet_service, get_notifications_command, TGetNotificationsResponse>;
649
629
  export declare function get_notifications<T extends TRPCAgent | TDaemon>(agent: T, data: TGetNotificationsRequest): Promise<ResType<T, GetNotificationsResponse, WsGetNotificationsMessage>>;
650
630
  export declare const delete_notifications_command = "delete_notifications";
651
- export declare type delete_notifications_command = typeof delete_notifications_command;
652
- export declare type TDeleteNotificationsRequest = {
631
+ export type delete_notifications_command = typeof delete_notifications_command;
632
+ export type TDeleteNotificationsRequest = {
653
633
  ids?: str[];
654
634
  };
655
- export declare type TDeleteNotificationsResponse = {};
656
- export declare type WsDeleteNotificationsMessage = GetMessageType<chia_wallet_service, delete_notifications_command, TDeleteNotificationsResponse>;
635
+ export type TDeleteNotificationsResponse = Record<string, never>;
636
+ export type WsDeleteNotificationsMessage = GetMessageType<chia_wallet_service, delete_notifications_command, TDeleteNotificationsResponse>;
657
637
  export declare function delete_notifications<T extends TRPCAgent | TDaemon>(agent: T, data: TDeleteNotificationsRequest): Promise<ResType<T, TDeleteNotificationsResponse, WsDeleteNotificationsMessage>>;
658
638
  export declare const send_notification_command = "send_notification";
659
- export declare type send_notification_command = typeof send_notification_command;
660
- export declare type TSendNotificationRequest = {
639
+ export type send_notification_command = typeof send_notification_command;
640
+ export type TSendNotificationRequest = {
661
641
  target: str;
662
642
  message: str;
663
643
  amount: uint64;
664
644
  fee?: uint64;
665
- } & TxEndpoint;
666
- export declare type TSendNotificationResponse = {
645
+ } & TXEndpointRequest;
646
+ export type TSendNotificationResponse = {
667
647
  tx: TransactionRecordConvenience;
648
+ transactions: TransactionRecordConvenience[];
649
+ unsigned_transactions: UnsignedTransaction[] | str[];
650
+ signing_responses?: str[];
668
651
  };
669
- export declare type WsSendNotificationMessage = GetMessageType<chia_wallet_service, send_notification_command, TSendNotificationResponse>;
652
+ export type WsSendNotificationMessage = GetMessageType<chia_wallet_service, send_notification_command, TSendNotificationResponse>;
670
653
  export declare function send_notification<T extends TRPCAgent | TDaemon>(agent: T, data: TSendNotificationRequest): Promise<ResType<T, TSendNotificationResponse, WsSendNotificationMessage>>;
671
654
  export declare const verify_signature_command = "verify_signature";
672
- export declare type verify_signature_command = typeof verify_signature_command;
673
- export declare type TVerifySignatureRequest = {
655
+ export type verify_signature_command = typeof verify_signature_command;
656
+ export type TVerifySignatureRequest = {
674
657
  message: str;
675
658
  signing_mode?: SigningMode;
676
659
  pubkey: str;
677
660
  signature: str;
678
661
  address?: str;
679
662
  };
680
- export declare type TVerifySignatureResponse = {
663
+ export type TVerifySignatureResponse = {
681
664
  isValid: True;
682
665
  } | {
683
666
  isValid: False;
684
667
  error: str;
685
668
  };
686
- export declare type WsVerifySignatureMessage = GetMessageType<chia_wallet_service, verify_signature_command, TVerifySignatureResponse>;
669
+ export type WsVerifySignatureMessage = GetMessageType<chia_wallet_service, verify_signature_command, TVerifySignatureResponse>;
687
670
  export declare function verify_signature<T extends TRPCAgent | TDaemon>(agent: T, data: TVerifySignatureRequest): Promise<ResType<T, TVerifySignatureResponse, WsVerifySignatureMessage>>;
688
671
  export declare const get_transaction_memo_command = "get_transaction_memo";
689
- export declare type get_transaction_memo_command = typeof get_transaction_memo_command;
690
- export declare type TGetTransactionMemoRequest = {
672
+ export type get_transaction_memo_command = typeof get_transaction_memo_command;
673
+ export type TGetTransactionMemoRequest = {
691
674
  transaction_id: str;
692
675
  };
693
- export declare type TGetTransactionMemoResponse = {
676
+ export type TGetTransactionMemoResponse = {
694
677
  [transaction_id: string]: {
695
678
  [coin_id: string]: string[];
696
679
  };
697
680
  };
698
- export declare type WsGetTransactionMemoMessage = GetMessageType<chia_wallet_service, get_transaction_memo_command, TGetTransactionMemoResponse>;
681
+ export type WsGetTransactionMemoMessage = GetMessageType<chia_wallet_service, get_transaction_memo_command, TGetTransactionMemoResponse>;
699
682
  export declare function get_transaction_memo<T extends TRPCAgent | TDaemon>(agent: T, data: TGetTransactionMemoRequest): Promise<ResType<T, TGetTransactionMemoResponse, WsGetTransactionMemoMessage>>;
700
683
  export declare const sign_message_by_address_command = "sign_message_by_address";
701
- export declare type sign_message_by_address_command = typeof sign_message_by_address_command;
702
- export declare type TSignMessageByAddressRequest = {
684
+ export type sign_message_by_address_command = typeof sign_message_by_address_command;
685
+ export type TSignMessageByAddressRequest = {
703
686
  address: str;
704
687
  message: str;
705
688
  is_hex?: bool;
706
689
  safe_mode?: bool;
707
690
  };
708
- export declare type TSignMessageByAddressResponse = {
691
+ export type TSignMessageByAddressResponse = {
709
692
  success: True;
710
693
  pubkey: str;
711
694
  signature: str;
712
695
  signing_mode: SigningMode;
713
696
  };
714
- export declare type WsSignMessageByAddressMessage = GetMessageType<chia_wallet_service, sign_message_by_address_command, TSignMessageByAddressResponse>;
697
+ export type WsSignMessageByAddressMessage = GetMessageType<chia_wallet_service, sign_message_by_address_command, TSignMessageByAddressResponse>;
715
698
  export declare function sign_message_by_address<T extends TRPCAgent | TDaemon>(agent: T, data: TSignMessageByAddressRequest): Promise<ResType<T, TSignMessageByAddressResponse, WsSignMessageByAddressMessage>>;
716
699
  export declare const sign_message_by_id_command = "sign_message_by_id";
717
- export declare type sign_message_by_id_command = typeof sign_message_by_id_command;
718
- export declare type TSignMessageByIdRequest = {
700
+ export type sign_message_by_id_command = typeof sign_message_by_id_command;
701
+ export type TSignMessageByIdRequest = {
719
702
  id: str;
720
703
  message: str;
721
704
  is_hex?: bool;
722
705
  safe_mode?: bool;
723
706
  };
724
- export declare type TSignMessageByIdResponse = {
707
+ export type TSignMessageByIdResponse = {
725
708
  success: False;
726
709
  error: str;
727
710
  } | {
@@ -731,51 +714,51 @@ export declare type TSignMessageByIdResponse = {
731
714
  latest_coin_id: str | None;
732
715
  signing_mode: SigningMode;
733
716
  };
734
- export declare type WsSignMessageByIdMessage = GetMessageType<chia_wallet_service, sign_message_by_id_command, TSignMessageByIdResponse>;
717
+ export type WsSignMessageByIdMessage = GetMessageType<chia_wallet_service, sign_message_by_id_command, TSignMessageByIdResponse>;
735
718
  export declare function sign_message_by_id<T extends TRPCAgent | TDaemon>(agent: T, data: TSignMessageByIdRequest): Promise<ResType<T, TSignMessageByIdResponse, WsSignMessageByIdMessage>>;
736
719
  export declare const get_cat_list_command = "get_cat_list";
737
- export declare type get_cat_list_command = typeof get_cat_list_command;
738
- export declare type TGetCatListResponse = {
720
+ export type get_cat_list_command = typeof get_cat_list_command;
721
+ export type TGetCatListResponse = {
739
722
  cat_list: CAT[];
740
723
  };
741
- export declare type WsGetCatListMessage = GetMessageType<chia_wallet_service, get_cat_list_command, TGetCatListResponse>;
724
+ export type WsGetCatListMessage = GetMessageType<chia_wallet_service, get_cat_list_command, TGetCatListResponse>;
742
725
  export declare function get_cat_list<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetCatListResponse, WsGetCatListMessage>>;
743
726
  export declare const cat_set_name_command = "cat_set_name";
744
- export declare type cat_set_name_command = typeof cat_set_name_command;
745
- export declare type TCatSetNameRequest = {
727
+ export type cat_set_name_command = typeof cat_set_name_command;
728
+ export type TCatSetNameRequest = {
746
729
  wallet_id: uint32;
747
730
  name: str;
748
731
  };
749
- export declare type TCatSetNameResponse = {
732
+ export type TCatSetNameResponse = {
750
733
  wallet_id: uint32;
751
734
  };
752
- export declare type WsCatSetNameMessage = GetMessageType<chia_wallet_service, cat_set_name_command, TCatSetNameResponse>;
735
+ export type WsCatSetNameMessage = GetMessageType<chia_wallet_service, cat_set_name_command, TCatSetNameResponse>;
753
736
  export declare function cat_set_name<T extends TRPCAgent | TDaemon>(agent: T, data: TCatSetNameRequest): Promise<ResType<T, TCatSetNameResponse, WsCatSetNameMessage>>;
754
737
  export declare const cat_asset_id_to_name_command = "cat_asset_id_to_name";
755
- export declare type cat_asset_id_to_name_command = typeof cat_asset_id_to_name_command;
756
- export declare type TCatAssetIdToNameRequest = {
738
+ export type cat_asset_id_to_name_command = typeof cat_asset_id_to_name_command;
739
+ export type TCatAssetIdToNameRequest = {
757
740
  asset_id: str;
758
741
  };
759
- export declare type TCatAssetIdToNameResponse = {
742
+ export type TCatAssetIdToNameResponse = {
760
743
  wallet_id: Optional<uint32>;
761
744
  name: str;
762
745
  };
763
- export declare type WsCatAssetIdToNameMessage = GetMessageType<chia_wallet_service, cat_asset_id_to_name_command, TCatAssetIdToNameResponse>;
746
+ export type WsCatAssetIdToNameMessage = GetMessageType<chia_wallet_service, cat_asset_id_to_name_command, TCatAssetIdToNameResponse>;
764
747
  export declare function cat_asset_id_to_name<T extends TRPCAgent | TDaemon>(agent: T, data: TCatAssetIdToNameRequest): Promise<ResType<T, TCatAssetIdToNameResponse, WsCatAssetIdToNameMessage>>;
765
748
  export declare const cat_get_name_command = "cat_get_name";
766
- export declare type cat_get_name_command = typeof cat_get_name_command;
767
- export declare type TCatGetNameRequest = {
749
+ export type cat_get_name_command = typeof cat_get_name_command;
750
+ export type TCatGetNameRequest = {
768
751
  wallet_id: uint32;
769
752
  };
770
- export declare type TCatGetNameResponse = {
753
+ export type TCatGetNameResponse = {
771
754
  wallet_id: uint32;
772
755
  name: str;
773
756
  };
774
- export declare type WsCatGetNameMessage = GetMessageType<chia_wallet_service, cat_get_name_command, TCatGetNameResponse>;
757
+ export type WsCatGetNameMessage = GetMessageType<chia_wallet_service, cat_get_name_command, TCatGetNameResponse>;
775
758
  export declare function cat_get_name<T extends TRPCAgent | TDaemon>(agent: T, data: TCatGetNameRequest): Promise<ResType<T, TCatGetNameResponse, WsCatGetNameMessage>>;
776
759
  export declare const get_stray_cats_command = "get_stray_cats";
777
- export declare type get_stray_cats_command = typeof get_stray_cats_command;
778
- export declare type TGetStrayCatsResponse = {
760
+ export type get_stray_cats_command = typeof get_stray_cats_command;
761
+ export type TGetStrayCatsResponse = {
779
762
  stray_cats: Array<{
780
763
  asset_id: str;
781
764
  name: str;
@@ -783,11 +766,11 @@ export declare type TGetStrayCatsResponse = {
783
766
  sender_puzzle_hash: str;
784
767
  }>;
785
768
  };
786
- export declare type WsGetStrayCatsMessage = GetMessageType<chia_wallet_service, get_stray_cats_command, TGetStrayCatsResponse>;
769
+ export type WsGetStrayCatsMessage = GetMessageType<chia_wallet_service, get_stray_cats_command, TGetStrayCatsResponse>;
787
770
  export declare function get_stray_cats<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetStrayCatsResponse, WsGetStrayCatsMessage>>;
788
771
  export declare const cat_spend_command = "cat_spend";
789
- export declare type cat_spend_command = typeof cat_spend_command;
790
- export declare type TCatSpendRequest = {
772
+ export type cat_spend_command = typeof cat_spend_command;
773
+ export type TCatSpendRequest = {
791
774
  wallet_id: uint32;
792
775
  additions?: TAdditions[];
793
776
  fee: uint64;
@@ -798,46 +781,52 @@ export declare type TCatSpendRequest = {
798
781
  extra_delta?: int;
799
782
  tail_reveal?: str;
800
783
  tail_solution?: str;
801
- } & TxEndpoint;
802
- export declare type TCatSpendResponse = {
784
+ } & TXEndpointRequest;
785
+ export type TCatSpendResponse = {
803
786
  transaction: TransactionRecordConvenience;
804
787
  transaction_id: TransactionRecord["name"];
788
+ transactions: TransactionRecordConvenience[];
789
+ unsigned_transactions: UnsignedTransaction[] | str[];
790
+ signing_responses?: str[];
805
791
  };
806
- export declare type WsCatSpendMessage = GetMessageType<chia_wallet_service, cat_spend_command, TCatSpendResponse>;
792
+ export type WsCatSpendMessage = GetMessageType<chia_wallet_service, cat_spend_command, TCatSpendResponse>;
807
793
  export declare function cat_spend<T extends TRPCAgent | TDaemon>(agent: T, data: TCatSpendRequest): Promise<ResType<T, TCatSpendResponse, WsCatSpendMessage>>;
808
794
  export declare const cat_get_asset_id_command = "cat_get_asset_id";
809
- export declare type cat_get_asset_id_command = typeof cat_get_asset_id_command;
810
- export declare type TCatGetAssetIdRequest = {
795
+ export type cat_get_asset_id_command = typeof cat_get_asset_id_command;
796
+ export type TCatGetAssetIdRequest = {
811
797
  wallet_id: uint32;
812
798
  };
813
- export declare type TCatGetAssetIdResponse = {
799
+ export type TCatGetAssetIdResponse = {
814
800
  asset_id: str;
815
801
  wallet_id: uint32;
816
802
  };
817
- export declare type WsCatGetAssetIdMessage = GetMessageType<chia_wallet_service, cat_get_asset_id_command, TCatGetAssetIdResponse>;
803
+ export type WsCatGetAssetIdMessage = GetMessageType<chia_wallet_service, cat_get_asset_id_command, TCatGetAssetIdResponse>;
818
804
  export declare function cat_get_asset_id<T extends TRPCAgent | TDaemon>(agent: T, data: TCatGetAssetIdRequest): Promise<ResType<T, TCatGetAssetIdResponse, WsCatGetAssetIdMessage>>;
819
805
  export declare const create_offer_for_ids_command = "create_offer_for_ids";
820
- export declare type create_offer_for_ids_command = typeof create_offer_for_ids_command;
821
- export declare type TCreateOfferForIdsRequest = {
806
+ export type create_offer_for_ids_command = typeof create_offer_for_ids_command;
807
+ export type TCreateOfferForIdsRequest = {
822
808
  offer: Record<int, int>;
823
809
  fee?: uint64;
824
810
  validate_only?: bool;
825
811
  driver_dict?: TDriverDict;
826
812
  solver?: Record<str, any>;
827
- } & TxEndpoint;
828
- export declare type TCreateOfferForIdsResponse = {
813
+ } & TXEndpointRequest;
814
+ export type TCreateOfferForIdsResponse = {
829
815
  offer: str;
830
816
  trade_record: TradeRecordConvenience;
817
+ transactions: TransactionRecordConvenience[];
818
+ unsigned_transactions: UnsignedTransaction[] | str[];
819
+ signing_responses?: str[];
831
820
  };
832
- export declare type WsCreateOfferForIdsMessage = GetMessageType<chia_wallet_service, create_offer_for_ids_command, TCreateOfferForIdsResponse>;
821
+ export type WsCreateOfferForIdsMessage = GetMessageType<chia_wallet_service, create_offer_for_ids_command, TCreateOfferForIdsResponse>;
833
822
  export declare function create_offer_for_ids<T extends TRPCAgent | TDaemon>(agent: T, data: TCreateOfferForIdsRequest): Promise<ResType<T, TCreateOfferForIdsResponse, WsCreateOfferForIdsMessage>>;
834
823
  export declare const get_offer_summary_command = "get_offer_summary";
835
- export declare type get_offer_summary_command = typeof get_offer_summary_command;
836
- export declare type TGetOfferSummaryRequest = {
824
+ export type get_offer_summary_command = typeof get_offer_summary_command;
825
+ export type TGetOfferSummaryRequest = {
837
826
  offer: str;
838
827
  advanced?: bool;
839
828
  };
840
- export declare type TGetOfferSummaryResponse = {
829
+ export type TGetOfferSummaryResponse = {
841
830
  summary: {
842
831
  offered: Record<str, int>;
843
832
  requested: Record<str, int>;
@@ -849,46 +838,50 @@ export declare type TGetOfferSummaryResponse = {
849
838
  };
850
839
  id: bytes32;
851
840
  };
852
- export declare type WsGetOfferSummaryMessage = GetMessageType<chia_wallet_service, get_offer_summary_command, TGetOfferSummaryResponse>;
841
+ export type WsGetOfferSummaryMessage = GetMessageType<chia_wallet_service, get_offer_summary_command, TGetOfferSummaryResponse>;
853
842
  export declare function get_offer_summary<T extends TRPCAgent | TDaemon>(agent: T, data: TGetOfferSummaryRequest): Promise<ResType<T, TGetOfferSummaryResponse, WsGetOfferSummaryMessage>>;
854
843
  export declare const check_offer_validity_command = "check_offer_validity";
855
- export declare type check_offer_validity_command = typeof check_offer_validity_command;
856
- export declare type TCheckOfferValidityRequest = {
844
+ export type check_offer_validity_command = typeof check_offer_validity_command;
845
+ export type TCheckOfferValidityRequest = {
857
846
  offer: str;
858
847
  };
859
- export declare type TCheckOfferValidityResponse = {
848
+ export type TCheckOfferValidityResponse = {
860
849
  valid: bool;
861
850
  id: bytes32;
862
851
  };
863
- export declare type WsCheckOfferValidityMessage = GetMessageType<chia_wallet_service, check_offer_validity_command, TCheckOfferValidityResponse>;
852
+ export type WsCheckOfferValidityMessage = GetMessageType<chia_wallet_service, check_offer_validity_command, TCheckOfferValidityResponse>;
864
853
  export declare function check_offer_validity<T extends TRPCAgent | TDaemon>(agent: T, data: TCheckOfferValidityRequest): Promise<ResType<T, TCheckOfferValidityResponse, WsCheckOfferValidityMessage>>;
865
854
  export declare const take_offer_command = "take_offer";
866
- export declare type take_offer_command = typeof take_offer_command;
867
- export declare type TTakeOfferRequest = {
855
+ export type take_offer_command = typeof take_offer_command;
856
+ export type TTakeOfferRequest = {
868
857
  offer: str;
869
858
  fee?: uint64;
870
859
  solver?: Record<str, any>;
871
- } & TxEndpoint;
872
- export declare type TTakeOfferResponse = {
860
+ } & TXEndpointRequest;
861
+ export type TTakeOfferResponse = {
873
862
  trade_record: TradeRecordConvenience;
863
+ offer: str;
864
+ transactions: TransactionRecordConvenience[];
865
+ unsigned_transactions: UnsignedTransaction[] | str[];
866
+ signing_responses: SigningResponse[] | str[];
874
867
  };
875
- export declare type WsTakeOfferMessage = GetMessageType<chia_wallet_service, take_offer_command, TTakeOfferResponse>;
868
+ export type WsTakeOfferMessage = GetMessageType<chia_wallet_service, take_offer_command, TTakeOfferResponse>;
876
869
  export declare function take_offer<T extends TRPCAgent | TDaemon>(agent: T, data: TTakeOfferRequest): Promise<ResType<T, TTakeOfferResponse, WsTakeOfferMessage>>;
877
870
  export declare const get_offer_command = "get_offer";
878
- export declare type get_offer_command = typeof get_offer_command;
879
- export declare type TGetOfferRequest = {
871
+ export type get_offer_command = typeof get_offer_command;
872
+ export type TGetOfferRequest = {
880
873
  trade_id: str;
881
874
  file_contents?: bool;
882
875
  };
883
- export declare type TGetOfferResponse = {
876
+ export type TGetOfferResponse = {
884
877
  trade_record: TradeRecordConvenience;
885
878
  offer: Optional<str>;
886
879
  };
887
- export declare type WsGetOfferMessage = GetMessageType<chia_wallet_service, get_offer_command, TGetOfferResponse>;
880
+ export type WsGetOfferMessage = GetMessageType<chia_wallet_service, get_offer_command, TGetOfferResponse>;
888
881
  export declare function get_offer<T extends TRPCAgent | TDaemon>(agent: T, data: TGetOfferRequest): Promise<ResType<T, TGetOfferResponse, WsGetOfferMessage>>;
889
882
  export declare const get_all_offers_command = "get_all_offers";
890
- export declare type get_all_offers_command = typeof get_all_offers_command;
891
- export declare type TGetAllOffersRequest = {
883
+ export type get_all_offers_command = typeof get_all_offers_command;
884
+ export type TGetAllOffersRequest = {
892
885
  start?: int;
893
886
  end?: int;
894
887
  exclude_my_offers?: bool;
@@ -898,200 +891,218 @@ export declare type TGetAllOffersRequest = {
898
891
  reverse?: bool;
899
892
  file_contents?: bool;
900
893
  };
901
- export declare type TGetAllOffersResponse = {
894
+ export type TGetAllOffersResponse = {
902
895
  trade_records: TradeRecordConvenience[];
903
896
  offers: Optional<str[]>;
904
897
  };
905
- export declare type WsGetAllOffersMessage = GetMessageType<chia_wallet_service, get_all_offers_command, TGetAllOffersResponse>;
898
+ export type WsGetAllOffersMessage = GetMessageType<chia_wallet_service, get_all_offers_command, TGetAllOffersResponse>;
906
899
  export declare function get_all_offers<T extends TRPCAgent | TDaemon>(agent: T, data: TGetAllOffersRequest): Promise<ResType<T, TGetAllOffersResponse, WsGetAllOffersMessage>>;
907
900
  export declare const get_offers_count_command = "get_offers_count";
908
- export declare type get_offers_count_command = typeof get_offers_count_command;
909
- export declare type TGetOffersCountResponse = {
901
+ export type get_offers_count_command = typeof get_offers_count_command;
902
+ export type TGetOffersCountResponse = {
910
903
  total: int;
911
904
  my_offers_count: int;
912
905
  taken_offers_count: int;
913
906
  };
914
- export declare type WsGetOffersCountMessage = GetMessageType<chia_wallet_service, get_offers_count_command, TGetOffersCountResponse>;
907
+ export type WsGetOffersCountMessage = GetMessageType<chia_wallet_service, get_offers_count_command, TGetOffersCountResponse>;
915
908
  export declare function get_offers_count<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetOffersCountResponse, WsGetOffersCountMessage>>;
916
909
  export declare const cancel_offer_command = "cancel_offer";
917
- export declare type cancel_offer_command = typeof cancel_offer_command;
918
- export declare type TCancelOfferRequest = {
910
+ export type cancel_offer_command = typeof cancel_offer_command;
911
+ export type TCancelOfferRequest = {
919
912
  secure: bool;
920
913
  trade_id: str;
921
914
  fee?: uint64;
922
- } & TxEndpoint;
923
- export declare type TCancelOfferResponse = {};
924
- export declare type WsCancelOfferMessage = GetMessageType<chia_wallet_service, cancel_offer_command, TCancelOfferResponse>;
915
+ } & TXEndpointRequest;
916
+ export type TCancelOfferResponse = {
917
+ transactions: TransactionRecordConvenience[];
918
+ unsigned_transactions: UnsignedTransaction[] | str[];
919
+ signing_responses?: str[];
920
+ };
921
+ export type WsCancelOfferMessage = GetMessageType<chia_wallet_service, cancel_offer_command, TCancelOfferResponse>;
925
922
  export declare function cancel_offer<T extends TRPCAgent | TDaemon>(agent: T, data: TCancelOfferRequest): Promise<ResType<T, TCancelOfferResponse, WsCancelOfferMessage>>;
926
923
  export declare const cancel_offers_command = "cancel_offers";
927
- export declare type cancel_offers_command = typeof cancel_offers_command;
928
- export declare type TCancelOffersRequest = {
924
+ export type cancel_offers_command = typeof cancel_offers_command;
925
+ export type TCancelOffersRequest = {
929
926
  secure: bool;
930
927
  batch_fee?: uint64;
931
928
  batch_size?: int;
932
929
  cancel_all?: bool;
933
930
  asset_id?: str;
934
- } & TxEndpoint;
935
- export declare type TCancelOffersResponse = {
931
+ } & TXEndpointRequest;
932
+ export type TCancelOffersResponse = {
936
933
  success: True;
934
+ transactions: TransactionRecordConvenience[];
935
+ unsigned_transactions: UnsignedTransaction[] | str[];
936
+ signing_responses?: str[];
937
937
  };
938
- export declare type WsCancelOffersMessage = GetMessageType<chia_wallet_service, cancel_offers_command, TCancelOffersResponse>;
938
+ export type WsCancelOffersMessage = GetMessageType<chia_wallet_service, cancel_offers_command, TCancelOffersResponse>;
939
939
  export declare function cancel_offers<T extends TRPCAgent | TDaemon>(agent: T, data: TCancelOffersRequest): Promise<ResType<T, TCancelOffersResponse, WsCancelOffersMessage>>;
940
940
  export declare const did_set_wallet_name_command = "did_set_wallet_name";
941
- export declare type did_set_wallet_name_command = typeof did_set_wallet_name_command;
942
- export declare type TDidSetWalletNameRequest = {
941
+ export type did_set_wallet_name_command = typeof did_set_wallet_name_command;
942
+ export type TDidSetWalletNameRequest = {
943
943
  wallet_id: uint32;
944
944
  name: str;
945
945
  };
946
- export declare type TDidSetWalletNameResponse = {
946
+ export type TDidSetWalletNameResponse = {
947
947
  success: True;
948
948
  wallet_id: uint32;
949
949
  } | {
950
950
  success: False;
951
951
  error: str;
952
952
  };
953
- export declare type WsDidSetWalletNameMessage = GetMessageType<chia_wallet_service, did_set_wallet_name_command, TDidSetWalletNameResponse>;
953
+ export type WsDidSetWalletNameMessage = GetMessageType<chia_wallet_service, did_set_wallet_name_command, TDidSetWalletNameResponse>;
954
954
  export declare function did_set_wallet_name<T extends TRPCAgent | TDaemon>(agent: T, data: TDidSetWalletNameRequest): Promise<ResType<T, TDidSetWalletNameResponse, WsDidSetWalletNameMessage>>;
955
955
  export declare const did_get_wallet_name_command = "did_get_wallet_name";
956
- export declare type did_get_wallet_name_command = typeof did_get_wallet_name_command;
957
- export declare type TDidGetWalletNameRequest = {
956
+ export type did_get_wallet_name_command = typeof did_get_wallet_name_command;
957
+ export type TDidGetWalletNameRequest = {
958
958
  wallet_id: uint32;
959
959
  };
960
- export declare type TDidGetWalletNameResponse = {
960
+ export type TDidGetWalletNameResponse = {
961
961
  success: True;
962
962
  wallet_id: uint32;
963
963
  name: str;
964
964
  };
965
- export declare type WsDidGetWalletNameMessage = GetMessageType<chia_wallet_service, did_get_wallet_name_command, TDidGetWalletNameResponse>;
965
+ export type WsDidGetWalletNameMessage = GetMessageType<chia_wallet_service, did_get_wallet_name_command, TDidGetWalletNameResponse>;
966
966
  export declare function did_get_wallet_name<T extends TRPCAgent | TDaemon>(agent: T, data: TDidGetWalletNameRequest): Promise<ResType<T, TDidGetWalletNameResponse, WsDidGetWalletNameMessage>>;
967
967
  export declare const did_update_recovery_ids_command = "did_update_recovery_ids";
968
- export declare type did_update_recovery_ids_command = typeof did_update_recovery_ids_command;
969
- export declare type TDidUpdateRecoveryIdsRequest = {
968
+ export type did_update_recovery_ids_command = typeof did_update_recovery_ids_command;
969
+ export type TDidUpdateRecoveryIdsRequest = {
970
970
  wallet_id: uint32;
971
971
  new_list: str[];
972
972
  num_verifications_required?: uint64;
973
- } & TxEndpoint;
974
- export declare type TDidUpdateRecoveryIdsResponse = {
973
+ } & TXEndpointRequest;
974
+ export type TDidUpdateRecoveryIdsResponse = {
975
975
  success: bool;
976
+ transactions: TransactionRecordConvenience[];
977
+ unsigned_transactions: UnsignedTransaction[] | str[];
978
+ signing_responses?: str[];
976
979
  };
977
- export declare type WsDidUpdateRecoveryIdsMessage = GetMessageType<chia_wallet_service, did_update_recovery_ids_command, TDidUpdateRecoveryIdsResponse>;
980
+ export type WsDidUpdateRecoveryIdsMessage = GetMessageType<chia_wallet_service, did_update_recovery_ids_command, TDidUpdateRecoveryIdsResponse>;
978
981
  export declare function did_update_recovery_ids<T extends TRPCAgent | TDaemon>(agent: T, data: TDidUpdateRecoveryIdsRequest): Promise<ResType<T, TDidUpdateRecoveryIdsResponse, WsDidUpdateRecoveryIdsMessage>>;
979
982
  export declare const did_update_metadata_command = "did_update_metadata";
980
- export declare type did_update_metadata_command = typeof did_update_metadata_command;
981
- export declare type TDidUpdateMetadataRequest = {
983
+ export type did_update_metadata_command = typeof did_update_metadata_command;
984
+ export type TDidUpdateMetadataRequest = {
982
985
  wallet_id: uint32;
983
986
  metadata?: Record<str, str>;
984
987
  fee?: uint64;
985
- } & TxEndpoint;
986
- export declare type TDidUpdateMetadataResponse = {
988
+ } & TXEndpointRequest;
989
+ export type TDidUpdateMetadataResponse = {
987
990
  success: True;
988
991
  wallet_id: uint32;
989
992
  spend_bundle: SpendBundle;
993
+ transactions: TransactionRecordConvenience[];
994
+ unsigned_transactions: UnsignedTransaction[] | str[];
995
+ signing_responses?: str[];
990
996
  } | {
991
997
  success: False;
992
998
  error: str;
993
999
  };
994
- export declare type WsDidUpdateMetadataMessage = GetMessageType<chia_wallet_service, did_update_metadata_command, TDidUpdateMetadataResponse>;
1000
+ export type WsDidUpdateMetadataMessage = GetMessageType<chia_wallet_service, did_update_metadata_command, TDidUpdateMetadataResponse>;
995
1001
  export declare function did_update_metadata<T extends TRPCAgent | TDaemon>(agent: T, data: TDidUpdateMetadataRequest): Promise<ResType<T, TDidUpdateMetadataResponse, WsDidUpdateMetadataMessage>>;
996
1002
  export declare const did_spend_command = "did_spend";
997
- export declare type did_spend_command = typeof did_spend_command;
998
- export declare type TDidSpendRequest = {
1003
+ export type did_spend_command = typeof did_spend_command;
1004
+ export type TDidSpendRequest = {
999
1005
  wallet_id: int;
1000
1006
  puzzlehash: bytes32;
1001
1007
  };
1002
- export declare type TDidSpendResponse = {
1008
+ export type TDidSpendResponse = {
1003
1009
  success: bool;
1004
1010
  };
1005
- export declare type WsDidSpendMessage = GetMessageType<chia_wallet_service, did_spend_command, TDidSpendResponse>;
1011
+ export type WsDidSpendMessage = GetMessageType<chia_wallet_service, did_spend_command, TDidSpendResponse>;
1006
1012
  export declare function did_spend<T extends TRPCAgent | TDaemon>(agent: T, data: TDidSpendRequest): Promise<ResType<T, TDidSpendResponse, WsDidSpendMessage>>;
1007
1013
  export declare const did_get_pubkey_command = "did_get_pubkey";
1008
- export declare type did_get_pubkey_command = typeof did_get_pubkey_command;
1009
- export declare type TDidGetPubkeyRequest = {
1014
+ export type did_get_pubkey_command = typeof did_get_pubkey_command;
1015
+ export type TDidGetPubkeyRequest = {
1010
1016
  wallet_id: uint32;
1011
1017
  };
1012
- export declare type TDidGetPubkeyResponse = {
1018
+ export type TDidGetPubkeyResponse = {
1013
1019
  success: bool;
1014
1020
  pubkey: str;
1015
1021
  };
1016
- export declare type WsDidGetPubkeyMessage = GetMessageType<chia_wallet_service, did_get_pubkey_command, TDidGetPubkeyResponse>;
1022
+ export type WsDidGetPubkeyMessage = GetMessageType<chia_wallet_service, did_get_pubkey_command, TDidGetPubkeyResponse>;
1017
1023
  export declare function did_get_pubkey<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TDidGetPubkeyResponse, WsDidGetPubkeyMessage>>;
1018
1024
  export declare const did_get_did_command = "did_get_did";
1019
- export declare type did_get_did_command = typeof did_get_did_command;
1020
- export declare type TDidGetDidRequest = {
1025
+ export type did_get_did_command = typeof did_get_did_command;
1026
+ export type TDidGetDidRequest = {
1021
1027
  wallet_id: uint32;
1022
1028
  };
1023
- export declare type TDidGetDidResponse = {
1029
+ export type TDidGetDidResponse = {
1024
1030
  success: bool;
1025
1031
  wallet_id: uint32;
1026
1032
  my_did: str;
1027
1033
  coin_id?: bytes32;
1028
1034
  };
1029
- export declare type WsDidGetDidMessage = GetMessageType<chia_wallet_service, did_get_did_command, TDidGetDidResponse>;
1035
+ export type WsDidGetDidMessage = GetMessageType<chia_wallet_service, did_get_did_command, TDidGetDidResponse>;
1030
1036
  export declare function did_get_did<T extends TRPCAgent | TDaemon>(agent: T, data: TDidGetDidRequest): Promise<ResType<T, TDidGetDidResponse, WsDidGetDidMessage>>;
1031
1037
  export declare const did_recovery_spend_command = "did_recovery_spend";
1032
- export declare type did_recovery_spend_command = typeof did_recovery_spend_command;
1033
- export declare type TDidRecoverySpendRequest = {
1038
+ export type did_recovery_spend_command = typeof did_recovery_spend_command;
1039
+ export type TDidRecoverySpendRequest = {
1034
1040
  wallet_id: uint32;
1035
1041
  attest_data: str[];
1036
1042
  pubkey?: str;
1037
1043
  puzhash?: str;
1044
+ push?: bool;
1038
1045
  };
1039
- export declare type TDidRecoverySpendResponse = {
1046
+ export type TDidRecoverySpendResponse = {
1040
1047
  success: True;
1041
1048
  spend_bundle: SpendBundle;
1049
+ transactions: TransactionRecordConvenience[];
1042
1050
  } | {
1043
1051
  success: False;
1044
1052
  };
1045
- export declare type WsDidRecoverySpendMessage = GetMessageType<chia_wallet_service, did_recovery_spend_command, TDidRecoverySpendResponse>;
1053
+ export type WsDidRecoverySpendMessage = GetMessageType<chia_wallet_service, did_recovery_spend_command, TDidRecoverySpendResponse>;
1046
1054
  export declare function did_recovery_spend<T extends TRPCAgent | TDaemon>(agent: T, data: TDidRecoverySpendRequest): Promise<ResType<T, TDidRecoverySpendResponse, WsDidRecoverySpendMessage>>;
1047
1055
  export declare const did_get_recovery_list_command = "did_get_recovery_list";
1048
- export declare type did_get_recovery_list_command = typeof did_get_recovery_list_command;
1049
- export declare type TDidGetRecoveryListRequest = {
1056
+ export type did_get_recovery_list_command = typeof did_get_recovery_list_command;
1057
+ export type TDidGetRecoveryListRequest = {
1050
1058
  wallet_id: uint32;
1051
1059
  };
1052
- export declare type TDidGetRecoveryListResponse = {
1060
+ export type TDidGetRecoveryListResponse = {
1053
1061
  success: bool;
1054
1062
  wallet_id: uint32;
1055
1063
  recovery_list: str[];
1056
1064
  num_required: uint64;
1057
1065
  };
1058
- export declare type WsDidGetRecoveryListMessage = GetMessageType<chia_wallet_service, did_get_recovery_list_command, TDidGetRecoveryListResponse>;
1066
+ export type WsDidGetRecoveryListMessage = GetMessageType<chia_wallet_service, did_get_recovery_list_command, TDidGetRecoveryListResponse>;
1059
1067
  export declare function did_get_recovery_list<T extends TRPCAgent | TDaemon>(agent: T, data: TDidGetRecoveryListRequest): Promise<ResType<T, TDidGetRecoveryListResponse, WsDidGetRecoveryListMessage>>;
1060
1068
  export declare const did_get_metadata_command = "did_get_metadata";
1061
- export declare type did_get_metadata_command = typeof did_get_metadata_command;
1062
- export declare type TDidGetMetadataRequest = {
1069
+ export type did_get_metadata_command = typeof did_get_metadata_command;
1070
+ export type TDidGetMetadataRequest = {
1063
1071
  wallet_id: uint32;
1064
1072
  };
1065
- export declare type TDidGetMetadataResponse = {
1073
+ export type TDidGetMetadataResponse = {
1066
1074
  success: True;
1067
1075
  wallet_id: uint32;
1068
1076
  metadata: Record<str, str>;
1069
1077
  };
1070
- export declare type WsDidGetMetadataMessage = GetMessageType<chia_wallet_service, did_get_metadata_command, TDidGetMetadataResponse>;
1078
+ export type WsDidGetMetadataMessage = GetMessageType<chia_wallet_service, did_get_metadata_command, TDidGetMetadataResponse>;
1071
1079
  export declare function did_get_metadata<T extends TRPCAgent | TDaemon>(agent: T, data: TDidGetMetadataRequest): Promise<ResType<T, TDidGetMetadataResponse, WsDidGetMetadataMessage>>;
1072
1080
  export declare const did_create_attest_command = "did_create_attest";
1073
- export declare type did_create_attest_command = typeof did_create_attest_command;
1074
- export declare type TDidCreateAttestRequest = {
1081
+ export type did_create_attest_command = typeof did_create_attest_command;
1082
+ export type TDidCreateAttestRequest = {
1075
1083
  wallet_id: uint32;
1076
1084
  coin_name: str;
1077
1085
  puzhash: str;
1078
- } & TxEndpoint;
1079
- export declare type TDidCreateAttestResponse = {
1086
+ } & TXEndpointRequest;
1087
+ export type TDidCreateAttestResponse = {
1080
1088
  success: True;
1081
1089
  message_spend_bundle: str;
1082
1090
  info: [str, str, uint64];
1083
1091
  attest_data: str;
1092
+ transactions: TransactionRecordConvenience[];
1093
+ unsigned_transactions: UnsignedTransaction[] | str[];
1094
+ signing_responses?: str[];
1084
1095
  } | {
1085
1096
  success: False;
1086
1097
  };
1087
- export declare type WsDidCreateAttestMessage = GetMessageType<chia_wallet_service, did_create_attest_command, TDidCreateAttestResponse>;
1098
+ export type WsDidCreateAttestMessage = GetMessageType<chia_wallet_service, did_create_attest_command, TDidCreateAttestResponse>;
1088
1099
  export declare function did_create_attest<T extends TRPCAgent | TDaemon>(agent: T, data: TDidCreateAttestRequest): Promise<ResType<T, TDidCreateAttestResponse, WsDidCreateAttestMessage>>;
1089
1100
  export declare const did_get_information_needed_for_recovery_command = "did_get_information_needed_for_recovery";
1090
- export declare type did_get_information_needed_for_recovery_command = typeof did_get_information_needed_for_recovery_command;
1091
- export declare type TDidGetInformationNeededForRecoveryRequest = {
1101
+ export type did_get_information_needed_for_recovery_command = typeof did_get_information_needed_for_recovery_command;
1102
+ export type TDidGetInformationNeededForRecoveryRequest = {
1092
1103
  wallet_id: uint32;
1093
1104
  };
1094
- export declare type TDidGetInformationNeededForRecoveryResponse = {
1105
+ export type TDidGetInformationNeededForRecoveryResponse = {
1095
1106
  success: bool;
1096
1107
  wallet_id: uint32;
1097
1108
  my_did: str;
@@ -1100,14 +1111,14 @@ export declare type TDidGetInformationNeededForRecoveryResponse = {
1100
1111
  pubkey: Optional<bytes>;
1101
1112
  backup_dids: bytes[];
1102
1113
  };
1103
- export declare type WsDidGetInformationNeededForRecoveryMessage = GetMessageType<chia_wallet_service, did_get_information_needed_for_recovery_command, TDidGetInformationNeededForRecoveryResponse>;
1114
+ export type WsDidGetInformationNeededForRecoveryMessage = GetMessageType<chia_wallet_service, did_get_information_needed_for_recovery_command, TDidGetInformationNeededForRecoveryResponse>;
1104
1115
  export declare function did_get_information_needed_for_recovery<T extends TRPCAgent | TDaemon>(agent: T, data: TDidGetInformationNeededForRecoveryRequest): Promise<ResType<T, TDidGetInformationNeededForRecoveryResponse, WsDidGetInformationNeededForRecoveryMessage>>;
1105
1116
  export declare const did_get_current_coin_info_command = "did_get_current_coin_info";
1106
- export declare type did_get_current_coin_info_command = typeof did_get_current_coin_info_command;
1107
- export declare type TDidGetCurrentCoinInfoRequest = {
1117
+ export type did_get_current_coin_info_command = typeof did_get_current_coin_info_command;
1118
+ export type TDidGetCurrentCoinInfoRequest = {
1108
1119
  wallet_id: uint32;
1109
1120
  };
1110
- export declare type TDidGetCurrentCoinInfoResponse = {
1121
+ export type TDidGetCurrentCoinInfoResponse = {
1111
1122
  success: True;
1112
1123
  wallet_id: uint32;
1113
1124
  my_did: str;
@@ -1115,40 +1126,43 @@ export declare type TDidGetCurrentCoinInfoResponse = {
1115
1126
  did_innerpuz: bytes32;
1116
1127
  did_amount: uint64;
1117
1128
  };
1118
- export declare type WsDidGetCurrentCoinInfoMessage = GetMessageType<chia_wallet_service, did_get_current_coin_info_command, TDidGetCurrentCoinInfoResponse>;
1129
+ export type WsDidGetCurrentCoinInfoMessage = GetMessageType<chia_wallet_service, did_get_current_coin_info_command, TDidGetCurrentCoinInfoResponse>;
1119
1130
  export declare function did_get_current_coin_info<T extends TRPCAgent | TDaemon>(agent: T, data: TDidGetCurrentCoinInfoRequest): Promise<ResType<T, TDidGetCurrentCoinInfoResponse, WsDidGetCurrentCoinInfoMessage>>;
1120
1131
  export declare const did_create_backup_file_command = "did_create_backup_file";
1121
- export declare type did_create_backup_file_command = typeof did_create_backup_file_command;
1122
- export declare type TDidCreateBackupFileRequest = {
1132
+ export type did_create_backup_file_command = typeof did_create_backup_file_command;
1133
+ export type TDidCreateBackupFileRequest = {
1123
1134
  wallet_id: uint32;
1124
1135
  };
1125
- export declare type TDidCreateBackupFileResponse = {
1136
+ export type TDidCreateBackupFileResponse = {
1126
1137
  wallet_id: uint32;
1127
1138
  success: True;
1128
1139
  backup_data: str;
1129
1140
  };
1130
- export declare type WsDidCreateBackupFileMessage = GetMessageType<chia_wallet_service, did_create_backup_file_command, TDidCreateBackupFileResponse>;
1141
+ export type WsDidCreateBackupFileMessage = GetMessageType<chia_wallet_service, did_create_backup_file_command, TDidCreateBackupFileResponse>;
1131
1142
  export declare function did_create_backup_file<T extends TRPCAgent | TDaemon>(agent: T, data: TDidCreateBackupFileRequest): Promise<ResType<T, TDidCreateBackupFileResponse, WsDidCreateBackupFileMessage>>;
1132
1143
  export declare const did_message_spend_command = "did_message_spend";
1133
- export declare type did_message_spend_command = typeof did_message_spend_command;
1134
- export declare type TDidMessageSpendRequest = {
1144
+ export type did_message_spend_command = typeof did_message_spend_command;
1145
+ export type TDidMessageSpendRequest = {
1135
1146
  wallet_id: uint32;
1136
1147
  coin_announcements: str[];
1137
1148
  puzzle_announcements: str[];
1138
- } & TxEndpoint;
1139
- export declare type TDidMessageSpendResponse = {
1149
+ } & TXEndpointRequest;
1150
+ export type TDidMessageSpendResponse = {
1140
1151
  success: True;
1141
1152
  spend_bundle: SpendBundle;
1153
+ transactions: TransactionRecordConvenience[];
1154
+ unsigned_transactions: UnsignedTransaction[] | str[];
1155
+ signing_responses?: str[];
1142
1156
  };
1143
- export declare type WsDidMessageSpendMessage = GetMessageType<chia_wallet_service, did_message_spend_command, TDidMessageSpendResponse>;
1157
+ export type WsDidMessageSpendMessage = GetMessageType<chia_wallet_service, did_message_spend_command, TDidMessageSpendResponse>;
1144
1158
  export declare function did_message_spend<T extends TRPCAgent | TDaemon>(agent: T, data: TDidMessageSpendRequest): Promise<ResType<T, TDidMessageSpendResponse, WsDidMessageSpendMessage>>;
1145
1159
  export declare const did_get_info_command = "did_get_info";
1146
- export declare type did_get_info_command = typeof did_get_info_command;
1147
- export declare type TDidGetInfoRequest = {
1160
+ export type did_get_info_command = typeof did_get_info_command;
1161
+ export type TDidGetInfoRequest = {
1148
1162
  coin_id: str;
1149
1163
  latest?: bool;
1150
1164
  };
1151
- export declare type TDidGetInfoResponse = {
1165
+ export type TDidGetInfoResponse = {
1152
1166
  success: False;
1153
1167
  error: str;
1154
1168
  } | {
@@ -1165,157 +1179,169 @@ export declare type TDidGetInfoResponse = {
1165
1179
  solution: any;
1166
1180
  hints: str[];
1167
1181
  };
1168
- export declare type WsDidGetInfoMessage = GetMessageType<chia_wallet_service, did_get_info_command, TDidGetInfoResponse>;
1182
+ export type WsDidGetInfoMessage = GetMessageType<chia_wallet_service, did_get_info_command, TDidGetInfoResponse>;
1169
1183
  export declare function did_get_info<T extends TRPCAgent | TDaemon>(agent: T, data: TDidGetInfoRequest): Promise<ResType<T, TDidGetInfoResponse, WsDidGetInfoMessage>>;
1170
1184
  export declare const did_find_lost_did_command = "did_find_lost_did";
1171
- export declare type did_find_lost_did_command = typeof did_find_lost_did_command;
1172
- export declare type TDidFindLostDidRequest = {
1185
+ export type did_find_lost_did_command = typeof did_find_lost_did_command;
1186
+ export type TDidFindLostDidRequest = {
1173
1187
  coin_id: str;
1174
1188
  recovery_list_hash?: str;
1175
1189
  num_verification?: int;
1176
1190
  metadata?: Record<str, any>;
1177
1191
  };
1178
- export declare type TDidFindLostDidResponse = {
1192
+ export type TDidFindLostDidResponse = {
1179
1193
  success: False;
1180
1194
  error: str;
1181
1195
  } | {
1182
1196
  success: True;
1183
1197
  latest_coin_id: str;
1184
1198
  };
1185
- export declare type WsDidFindLostDidMessage = GetMessageType<chia_wallet_service, did_find_lost_did_command, TDidFindLostDidResponse>;
1199
+ export type WsDidFindLostDidMessage = GetMessageType<chia_wallet_service, did_find_lost_did_command, TDidFindLostDidResponse>;
1186
1200
  export declare function did_find_lost_did<T extends TRPCAgent | TDaemon>(agent: T, data: TDidFindLostDidRequest): Promise<ResType<T, TDidFindLostDidResponse, WsDidFindLostDidMessage>>;
1187
1201
  export declare const did_transfer_did_command = "did_transfer_did";
1188
- export declare type did_transfer_did_command = typeof did_transfer_did_command;
1189
- export declare type TDidTransferDidRequest = {
1202
+ export type did_transfer_did_command = typeof did_transfer_did_command;
1203
+ export type TDidTransferDidRequest = {
1190
1204
  wallet_id: uint32;
1191
1205
  inner_address: str;
1192
1206
  fee?: uint64;
1193
1207
  with_recovery_info?: bool;
1194
- } & TxEndpoint;
1195
- export declare type TDidTransferDidResponse = {
1208
+ } & TXEndpointRequest;
1209
+ export type TDidTransferDidResponse = {
1196
1210
  success: True;
1197
1211
  transaction: TransactionRecordConvenience;
1198
1212
  transaction_id: bytes32;
1213
+ transactions: TransactionRecordConvenience[];
1214
+ unsigned_transactions: UnsignedTransaction[] | str[];
1215
+ signing_responses?: str[];
1199
1216
  };
1200
- export declare type WsDidTransferDidMessage = GetMessageType<chia_wallet_service, did_transfer_did_command, TDidTransferDidResponse>;
1217
+ export type WsDidTransferDidMessage = GetMessageType<chia_wallet_service, did_transfer_did_command, TDidTransferDidResponse>;
1201
1218
  export declare function did_transfer_did<T extends TRPCAgent | TDaemon>(agent: T, data: TDidTransferDidRequest): Promise<ResType<T, TDidTransferDidResponse, WsDidTransferDidMessage>>;
1202
1219
  export declare const dao_adjust_filter_level_command = "dao_adjust_filter_level";
1203
- export declare type dao_adjust_filter_level_command = typeof dao_adjust_filter_level_command;
1204
- export declare type TDaoAdjustFilterLevelRequest = {
1220
+ export type dao_adjust_filter_level_command = typeof dao_adjust_filter_level_command;
1221
+ export type TDaoAdjustFilterLevelRequest = {
1205
1222
  wallet_id: uint32;
1206
1223
  filter_level: uint64;
1207
1224
  };
1208
- export declare type TDaoAdjustFilterLevelResponse = {
1225
+ export type TDaoAdjustFilterLevelResponse = {
1209
1226
  success: True;
1210
1227
  dao_info: DAOInfo;
1211
1228
  };
1212
- export declare type WsDaoAdjustFilterLevelMessage = GetMessageType<chia_wallet_service, dao_adjust_filter_level_command, TDaoAdjustFilterLevelResponse>;
1229
+ export type WsDaoAdjustFilterLevelMessage = GetMessageType<chia_wallet_service, dao_adjust_filter_level_command, TDaoAdjustFilterLevelResponse>;
1213
1230
  export declare function dao_adjust_filter_level<T extends TRPCAgent | TDaemon>(agent: T, data: TDaoAdjustFilterLevelRequest): Promise<ResType<T, TDaoAdjustFilterLevelResponse, WsDaoAdjustFilterLevelMessage>>;
1214
1231
  export declare const dao_add_funds_to_treasury_command = "dao_add_funds_to_treasury";
1215
- export declare type dao_add_funds_to_treasury_command = typeof dao_add_funds_to_treasury_command;
1216
- export declare type TDaoAddFundsToTreasuryRequest = {
1232
+ export type dao_add_funds_to_treasury_command = typeof dao_add_funds_to_treasury_command;
1233
+ export type TDaoAddFundsToTreasuryRequest = {
1217
1234
  wallet_id: uint32;
1218
1235
  funding_wallet_id: uint32;
1219
1236
  amount: uint64;
1220
1237
  fee?: uint64;
1221
- } & TxEndpoint;
1222
- export declare type TDaoAddFundsToTreasuryResponse = {
1238
+ } & TXEndpointRequest;
1239
+ export type TDaoAddFundsToTreasuryResponse = {
1223
1240
  success: True;
1224
1241
  tx_id: bytes32;
1225
1242
  tx: TransactionRecord;
1243
+ transactions: TransactionRecordConvenience[];
1244
+ unsigned_transactions: UnsignedTransaction[] | str[];
1245
+ signing_responses?: str[];
1226
1246
  };
1227
- export declare type WsDaoAddFundsToTreasuryMessage = GetMessageType<chia_wallet_service, dao_add_funds_to_treasury_command, TDaoAddFundsToTreasuryResponse>;
1247
+ export type WsDaoAddFundsToTreasuryMessage = GetMessageType<chia_wallet_service, dao_add_funds_to_treasury_command, TDaoAddFundsToTreasuryResponse>;
1228
1248
  export declare function dao_add_funds_to_treasury<T extends TRPCAgent | TDaemon>(agent: T, data: TDaoAddFundsToTreasuryRequest): Promise<ResType<T, TDaoAddFundsToTreasuryResponse, WsDaoAddFundsToTreasuryMessage>>;
1229
1249
  export declare const dao_get_treasury_balance_command = "dao_get_treasury_balance";
1230
- export declare type dao_get_treasury_balance_command = typeof dao_get_treasury_balance_command;
1231
- export declare type TDaoGetTreasuryBalanceRequest = {
1250
+ export type dao_get_treasury_balance_command = typeof dao_get_treasury_balance_command;
1251
+ export type TDaoGetTreasuryBalanceRequest = {
1232
1252
  wallet_id: uint32;
1233
1253
  };
1234
- export declare type TDaoGetTreasuryBalanceResponse = {
1254
+ export type TDaoGetTreasuryBalanceResponse = {
1235
1255
  success: True;
1236
1256
  balance: Record<str, uint128>;
1237
1257
  };
1238
- export declare type WsDaoGetTreasuryBalanceMessage = GetMessageType<chia_wallet_service, dao_get_treasury_balance_command, TDaoGetTreasuryBalanceResponse>;
1258
+ export type WsDaoGetTreasuryBalanceMessage = GetMessageType<chia_wallet_service, dao_get_treasury_balance_command, TDaoGetTreasuryBalanceResponse>;
1239
1259
  export declare function dao_get_treasury_balance<T extends TRPCAgent | TDaemon>(agent: T, data: TDaoGetTreasuryBalanceRequest): Promise<ResType<T, TDaoGetTreasuryBalanceResponse, WsDaoGetTreasuryBalanceMessage>>;
1240
1260
  export declare const dao_get_treasury_id_command = "dao_get_treasury_id";
1241
- export declare type dao_get_treasury_id_command = typeof dao_get_treasury_id_command;
1242
- export declare type TDaoGetTreasuryIdRequest = {
1261
+ export type dao_get_treasury_id_command = typeof dao_get_treasury_id_command;
1262
+ export type TDaoGetTreasuryIdRequest = {
1243
1263
  wallet_id: uint32;
1244
1264
  };
1245
- export declare type TDaoGetTreasuryIdResponse = {
1265
+ export type TDaoGetTreasuryIdResponse = {
1246
1266
  success: True;
1247
1267
  treasury_id: bytes32;
1248
1268
  };
1249
- export declare type WsDaoGetTreasuryIdMessage = GetMessageType<chia_wallet_service, dao_get_treasury_id_command, TDaoGetTreasuryIdResponse>;
1269
+ export type WsDaoGetTreasuryIdMessage = GetMessageType<chia_wallet_service, dao_get_treasury_id_command, TDaoGetTreasuryIdResponse>;
1250
1270
  export declare function dao_get_treasury_id<T extends TRPCAgent | TDaemon>(agent: T, data: TDaoGetTreasuryIdRequest): Promise<ResType<T, TDaoGetTreasuryIdResponse, WsDaoGetTreasuryIdMessage>>;
1251
1271
  export declare const dao_get_rules_command = "dao_get_rules";
1252
- export declare type dao_get_rules_command = typeof dao_get_rules_command;
1253
- export declare type TDaoGetRulesRequest = {
1272
+ export type dao_get_rules_command = typeof dao_get_rules_command;
1273
+ export type TDaoGetRulesRequest = {
1254
1274
  wallet_id: uint32;
1255
1275
  };
1256
- export declare type TDaoGetRulesResponse = {
1276
+ export type TDaoGetRulesResponse = {
1257
1277
  success: True;
1258
1278
  rules: DAORules;
1259
1279
  };
1260
- export declare type WsDaoGetRulesMessage = GetMessageType<chia_wallet_service, dao_get_rules_command, TDaoGetRulesResponse>;
1280
+ export type WsDaoGetRulesMessage = GetMessageType<chia_wallet_service, dao_get_rules_command, TDaoGetRulesResponse>;
1261
1281
  export declare function dao_get_rules<T extends TRPCAgent | TDaemon>(agent: T, data: TDaoGetRulesRequest): Promise<ResType<T, TDaoGetRulesResponse, WsDaoGetRulesMessage>>;
1262
1282
  export declare const dao_send_to_lockup_command = "dao_send_to_lockup";
1263
- export declare type dao_send_to_lockup_command = typeof dao_send_to_lockup_command;
1264
- export declare type TDaoSendToLockupRequest = {
1283
+ export type dao_send_to_lockup_command = typeof dao_send_to_lockup_command;
1284
+ export type TDaoSendToLockupRequest = {
1265
1285
  wallet_id: uint32;
1266
1286
  amount: uint64;
1267
1287
  fee?: uint64;
1268
- } & TxEndpoint;
1269
- export declare type TDaoSendToLockupResponse = {
1288
+ } & TXEndpointRequest;
1289
+ export type TDaoSendToLockupResponse = {
1270
1290
  success: True;
1271
1291
  tx_id: bytes32;
1272
1292
  txs: TransactionRecord[];
1293
+ transactions: TransactionRecord[];
1294
+ unsigned_transactions: UnsignedTransaction[] | str[];
1295
+ signing_responses?: str[];
1273
1296
  };
1274
- export declare type WsDaoSendToLockupMessage = GetMessageType<chia_wallet_service, dao_send_to_lockup_command, TDaoSendToLockupResponse>;
1297
+ export type WsDaoSendToLockupMessage = GetMessageType<chia_wallet_service, dao_send_to_lockup_command, TDaoSendToLockupResponse>;
1275
1298
  export declare function dao_send_to_lockup<T extends TRPCAgent | TDaemon>(agent: T, data: TDaoSendToLockupRequest): Promise<ResType<T, TDaoSendToLockupResponse, WsDaoSendToLockupMessage>>;
1276
1299
  export declare const dao_get_proposals_command = "dao_get_proposals";
1277
- export declare type dao_get_proposals_command = typeof dao_get_proposals_command;
1278
- export declare type TDaoGetProposalsRequest = {
1300
+ export type dao_get_proposals_command = typeof dao_get_proposals_command;
1301
+ export type TDaoGetProposalsRequest = {
1279
1302
  wallet_id: uint32;
1280
1303
  include_closed?: bool;
1281
1304
  };
1282
- export declare type TDaoGetProposalsResponse = {
1305
+ export type TDaoGetProposalsResponse = {
1283
1306
  success: True;
1284
1307
  proposals: ProposalInfo[];
1285
1308
  proposal_timelock: uint64;
1286
1309
  soft_close_length: uint64;
1287
1310
  };
1288
- export declare type WsDaoGetProposalsMessage = GetMessageType<chia_wallet_service, dao_get_proposals_command, TDaoGetProposalsResponse>;
1311
+ export type WsDaoGetProposalsMessage = GetMessageType<chia_wallet_service, dao_get_proposals_command, TDaoGetProposalsResponse>;
1289
1312
  export declare function dao_get_proposals<T extends TRPCAgent | TDaemon>(agent: T, data: TDaoGetProposalsRequest): Promise<ResType<T, TDaoGetProposalsResponse, WsDaoGetProposalsMessage>>;
1290
1313
  export declare const dao_get_proposal_state_command = "dao_get_proposal_state";
1291
- export declare type dao_get_proposal_state_command = typeof dao_get_proposal_state_command;
1292
- export declare type TDaoGetProposalStateRequest = {
1314
+ export type dao_get_proposal_state_command = typeof dao_get_proposal_state_command;
1315
+ export type TDaoGetProposalStateRequest = {
1293
1316
  wallet_id: uint32;
1294
1317
  proposal_id: str;
1295
1318
  };
1296
- export declare type TDaoGetProposalStateResponse = {
1319
+ export type TDaoGetProposalStateResponse = {
1297
1320
  success: True;
1298
1321
  state: ProposalState;
1299
1322
  };
1300
- export declare type WsDaoGetProposalStateMessage = GetMessageType<chia_wallet_service, dao_get_proposal_state_command, TDaoGetProposalStateResponse>;
1323
+ export type WsDaoGetProposalStateMessage = GetMessageType<chia_wallet_service, dao_get_proposal_state_command, TDaoGetProposalStateResponse>;
1301
1324
  export declare function dao_get_proposal_state<T extends TRPCAgent | TDaemon>(agent: T, data: TDaoGetProposalStateRequest): Promise<ResType<T, TDaoGetProposalStateResponse, WsDaoGetProposalStateMessage>>;
1302
1325
  export declare const dao_exit_lockup_command = "dao_exit_lockup";
1303
- export declare type dao_exit_lockup_command = typeof dao_exit_lockup_command;
1304
- export declare type TDaoExitLockupRequest = {
1326
+ export type dao_exit_lockup_command = typeof dao_exit_lockup_command;
1327
+ export type TDaoExitLockupRequest = {
1305
1328
  wallet_id: uint32;
1306
1329
  coins: Coin[] | undefined;
1307
1330
  fee?: uint64;
1308
- } & TxEndpoint;
1309
- export declare type TDaoExitLockupResponse = {
1331
+ } & TXEndpointRequest;
1332
+ export type TDaoExitLockupResponse = {
1310
1333
  success: True;
1311
1334
  tx_id: bytes32;
1312
1335
  tx: TransactionRecord;
1336
+ transactions: TransactionRecordConvenience[];
1337
+ unsigned_transactions: UnsignedTransaction[] | str[];
1338
+ signing_responses?: str[];
1313
1339
  };
1314
- export declare type WsDaoExitLockupMessage = GetMessageType<chia_wallet_service, dao_exit_lockup_command, TDaoExitLockupResponse>;
1340
+ export type WsDaoExitLockupMessage = GetMessageType<chia_wallet_service, dao_exit_lockup_command, TDaoExitLockupResponse>;
1315
1341
  export declare function dao_exit_lockup<T extends TRPCAgent | TDaemon>(agent: T, data: TDaoExitLockupRequest): Promise<ResType<T, TDaoExitLockupResponse, WsDaoExitLockupMessage>>;
1316
1342
  export declare const dao_create_proposal_command = "dao_create_proposal";
1317
- export declare type dao_create_proposal_command = typeof dao_create_proposal_command;
1318
- export declare type TDaoCreateProposalRequest = ({
1343
+ export type dao_create_proposal_command = typeof dao_create_proposal_command;
1344
+ export type TDaoCreateProposalRequest = ({
1319
1345
  wallet_id: uint32;
1320
1346
  proposal_type: "spend";
1321
1347
  additions: Array<{
@@ -1346,8 +1372,8 @@ export declare type TDaoCreateProposalRequest = ({
1346
1372
  cat_target_address: str;
1347
1373
  vote_amount?: uint64;
1348
1374
  fee?: uint64;
1349
- }) & TxEndpoint;
1350
- export declare type TDaoCreateProposalResponse = {
1375
+ }) & TXEndpointRequest;
1376
+ export type TDaoCreateProposalResponse = {
1351
1377
  success: False;
1352
1378
  error: str;
1353
1379
  } | {
@@ -1355,69 +1381,81 @@ export declare type TDaoCreateProposalResponse = {
1355
1381
  proposal_id: bytes32;
1356
1382
  tx_id: str;
1357
1383
  tx: TransactionRecord;
1384
+ transactions: TransactionRecordConvenience[];
1385
+ unsigned_transactions: UnsignedTransaction[] | str[];
1386
+ signing_responses?: str[];
1358
1387
  };
1359
- export declare type WsDaoCreateProposalMessage = GetMessageType<chia_wallet_service, dao_create_proposal_command, TDaoCreateProposalResponse>;
1388
+ export type WsDaoCreateProposalMessage = GetMessageType<chia_wallet_service, dao_create_proposal_command, TDaoCreateProposalResponse>;
1360
1389
  export declare function dao_create_proposal<T extends TRPCAgent | TDaemon>(agent: T, data: TDaoCreateProposalRequest): Promise<ResType<T, TDaoCreateProposalResponse, WsDaoCreateProposalMessage>>;
1361
1390
  export declare const dao_vote_on_proposal_command = "dao_vote_on_proposal";
1362
- export declare type dao_vote_on_proposal_command = typeof dao_vote_on_proposal_command;
1363
- export declare type TDaoVoteOnProposalRequest = {
1391
+ export type dao_vote_on_proposal_command = typeof dao_vote_on_proposal_command;
1392
+ export type TDaoVoteOnProposalRequest = {
1364
1393
  wallet_id: uint32;
1365
1394
  vote_amount?: uint64;
1366
1395
  fee?: uint64;
1367
1396
  proposal_id: str;
1368
1397
  is_yes_vote: bool;
1369
- } & TxEndpoint;
1370
- export declare type TDaoVoteOnProposalResponse = {
1398
+ } & TXEndpointRequest;
1399
+ export type TDaoVoteOnProposalResponse = {
1371
1400
  success: True;
1372
1401
  tx_id: bytes32;
1373
1402
  tx: TransactionRecord;
1403
+ transactions: TransactionRecordConvenience[];
1404
+ unsigned_transactions: UnsignedTransaction[] | str[];
1405
+ signing_responses?: str[];
1374
1406
  };
1375
- export declare type WsDaoVoteOnProposalMessage = GetMessageType<chia_wallet_service, dao_vote_on_proposal_command, TDaoVoteOnProposalResponse>;
1407
+ export type WsDaoVoteOnProposalMessage = GetMessageType<chia_wallet_service, dao_vote_on_proposal_command, TDaoVoteOnProposalResponse>;
1376
1408
  export declare function dao_vote_on_proposal<T extends TRPCAgent | TDaemon>(agent: T, data: TDaoVoteOnProposalRequest): Promise<ResType<T, TDaoVoteOnProposalResponse, WsDaoVoteOnProposalMessage>>;
1377
1409
  export declare const dao_parse_proposal_command = "dao_parse_proposal";
1378
- export declare type dao_parse_proposal_command = typeof dao_parse_proposal_command;
1379
- export declare type TDaoParseProposalRequest = {
1410
+ export type dao_parse_proposal_command = typeof dao_parse_proposal_command;
1411
+ export type TDaoParseProposalRequest = {
1380
1412
  wallet_id: uint32;
1381
1413
  proposal_id: str;
1382
1414
  };
1383
- export declare type TDaoParseProposalResponse = {
1415
+ export type TDaoParseProposalResponse = {
1384
1416
  success: True;
1385
1417
  proposal_dictionary: ParsedProposalSpend | ParsedProposalUpdate;
1386
1418
  };
1387
- export declare type WsDaoParseProposalMessage = GetMessageType<chia_wallet_service, dao_parse_proposal_command, TDaoParseProposalResponse>;
1419
+ export type WsDaoParseProposalMessage = GetMessageType<chia_wallet_service, dao_parse_proposal_command, TDaoParseProposalResponse>;
1388
1420
  export declare function dao_parse_proposal<T extends TRPCAgent | TDaemon>(agent: T, data: TDaoParseProposalRequest): Promise<ResType<T, TDaoParseProposalResponse, WsDaoParseProposalMessage>>;
1389
1421
  export declare const dao_close_proposal_command = "dao_close_proposal";
1390
- export declare type dao_close_proposal_command = typeof dao_close_proposal_command;
1391
- export declare type TDaoCloseProposalRequest = {
1422
+ export type dao_close_proposal_command = typeof dao_close_proposal_command;
1423
+ export type TDaoCloseProposalRequest = {
1392
1424
  wallet_id: uint32;
1393
1425
  fee?: uint64;
1394
1426
  genesis_id?: str;
1395
1427
  self_destruct?: bool;
1396
1428
  proposal_id: str;
1397
- } & TxEndpoint;
1398
- export declare type TDaoCloseProposalResponse = {
1429
+ } & TXEndpointRequest;
1430
+ export type TDaoCloseProposalResponse = {
1399
1431
  success: True;
1400
1432
  tx_id: bytes32;
1401
1433
  tx: TransactionRecord;
1434
+ transactions: TransactionRecordConvenience[];
1435
+ unsigned_transactions: UnsignedTransaction[] | str[];
1436
+ signing_responses?: str[];
1402
1437
  };
1403
- export declare type WsDaoCloseProposalMessage = GetMessageType<chia_wallet_service, dao_close_proposal_command, TDaoCloseProposalResponse>;
1438
+ export type WsDaoCloseProposalMessage = GetMessageType<chia_wallet_service, dao_close_proposal_command, TDaoCloseProposalResponse>;
1404
1439
  export declare function dao_close_proposal<T extends TRPCAgent | TDaemon>(agent: T, data: TDaoCloseProposalRequest): Promise<ResType<T, TDaoCloseProposalResponse, WsDaoCloseProposalMessage>>;
1405
1440
  export declare const dao_free_coins_from_finished_proposals_command = "dao_free_coins_from_finished_proposals";
1406
- export declare type dao_free_coins_from_finished_proposals_command = typeof dao_free_coins_from_finished_proposals_command;
1407
- export declare type TDaoFreeCoinsFromFinishedProposalsRequest = {
1441
+ export type dao_free_coins_from_finished_proposals_command = typeof dao_free_coins_from_finished_proposals_command;
1442
+ export type TDaoFreeCoinsFromFinishedProposalsRequest = {
1408
1443
  wallet_id: uint32;
1409
1444
  fee?: uint64;
1410
- } & TxEndpoint;
1411
- export declare type TDaoFreeCoinsFromFinishedProposalsResponse = {
1445
+ } & TXEndpointRequest;
1446
+ export type TDaoFreeCoinsFromFinishedProposalsResponse = {
1412
1447
  success: True;
1413
1448
  tx_id: bytes32;
1414
1449
  tx: TransactionRecord;
1450
+ transactions: TransactionRecordConvenience[];
1451
+ unsigned_transactions: UnsignedTransaction[] | str[];
1452
+ signing_responses?: str[];
1415
1453
  };
1416
- export declare type WsDaoFreeCoinsFromFinishedProposalsMessage = GetMessageType<chia_wallet_service, dao_free_coins_from_finished_proposals_command, TDaoFreeCoinsFromFinishedProposalsResponse>;
1454
+ export type WsDaoFreeCoinsFromFinishedProposalsMessage = GetMessageType<chia_wallet_service, dao_free_coins_from_finished_proposals_command, TDaoFreeCoinsFromFinishedProposalsResponse>;
1417
1455
  export declare function dao_free_coins_from_finished_proposals<T extends TRPCAgent | TDaemon>(agent: T, data: TDaoFreeCoinsFromFinishedProposalsRequest): Promise<ResType<T, TDaoFreeCoinsFromFinishedProposalsResponse, WsDaoFreeCoinsFromFinishedProposalsMessage>>;
1418
1456
  export declare const nft_mint_nft_command = "nft_mint_nft";
1419
- export declare type nft_mint_nft_command = typeof nft_mint_nft_command;
1420
- export declare type TNftMintNftRequest = {
1457
+ export type nft_mint_nft_command = typeof nft_mint_nft_command;
1458
+ export type TNftMintNftRequest = {
1421
1459
  wallet_id: uint32;
1422
1460
  royalty_address?: str;
1423
1461
  target_address?: str;
@@ -1432,21 +1470,24 @@ export declare type TNftMintNftRequest = {
1432
1470
  fee?: uint64;
1433
1471
  did_id?: str;
1434
1472
  royalty_percentage?: uint16;
1435
- } & TxEndpoint;
1436
- export declare type TNftMintNftResponse = {
1473
+ } & TXEndpointRequest;
1474
+ export type TNftMintNftResponse = {
1437
1475
  wallet_id: uint32;
1438
1476
  success: True;
1439
1477
  spend_bundle: SpendBundle;
1440
1478
  nft_id: Optional<str>;
1479
+ transactions: TransactionRecordConvenience[];
1480
+ unsigned_transactions: UnsignedTransaction[] | str[];
1481
+ signing_responses?: str[];
1441
1482
  };
1442
- export declare type WsNftMintNftMessage = GetMessageType<chia_wallet_service, nft_mint_nft_command, TNftMintNftResponse>;
1483
+ export type WsNftMintNftMessage = GetMessageType<chia_wallet_service, nft_mint_nft_command, TNftMintNftResponse>;
1443
1484
  export declare function nft_mint_nft<T extends TRPCAgent | TDaemon>(agent: T, data: TNftMintNftRequest): Promise<ResType<T, TNftMintNftResponse, WsNftMintNftMessage>>;
1444
1485
  export declare const nft_count_nfts_command = "nft_count_nfts";
1445
- export declare type nft_count_nfts_command = typeof nft_count_nfts_command;
1446
- export declare type TNftCountNftsRequest = {
1486
+ export type nft_count_nfts_command = typeof nft_count_nfts_command;
1487
+ export type TNftCountNftsRequest = {
1447
1488
  wallet_id: uint32;
1448
1489
  };
1449
- export declare type TNftCountNftsResponse = {
1490
+ export type TNftCountNftsResponse = {
1450
1491
  success: False;
1451
1492
  error: str;
1452
1493
  } | {
@@ -1454,52 +1495,55 @@ export declare type TNftCountNftsResponse = {
1454
1495
  success: True;
1455
1496
  count: int;
1456
1497
  };
1457
- export declare type WsNftCountNftsMessage = GetMessageType<chia_wallet_service, nft_count_nfts_command, TNftCountNftsResponse>;
1498
+ export type WsNftCountNftsMessage = GetMessageType<chia_wallet_service, nft_count_nfts_command, TNftCountNftsResponse>;
1458
1499
  export declare function nft_count_nfts<T extends TRPCAgent | TDaemon>(agent: T, data: TNftCountNftsRequest): Promise<ResType<T, TNftCountNftsResponse, WsNftCountNftsMessage>>;
1459
1500
  export declare const nft_get_nfts_command = "nft_get_nfts";
1460
- export declare type nft_get_nfts_command = typeof nft_get_nfts_command;
1461
- export declare type TNftGetNftsRequest = {
1501
+ export type nft_get_nfts_command = typeof nft_get_nfts_command;
1502
+ export type TNftGetNftsRequest = {
1462
1503
  wallet_id?: uint32;
1463
1504
  start_index?: int;
1464
1505
  num?: int;
1465
1506
  ignore_size_limit?: bool;
1466
1507
  };
1467
- export declare type TNftGetNftsResponse = {
1508
+ export type TNftGetNftsResponse = {
1468
1509
  wallet_id: uint32;
1469
1510
  success: True;
1470
1511
  nft_list: NFTInfo[];
1471
1512
  };
1472
- export declare type WsNftGetNftsMessage = GetMessageType<chia_wallet_service, nft_get_nfts_command, TNftGetNftsResponse>;
1513
+ export type WsNftGetNftsMessage = GetMessageType<chia_wallet_service, nft_get_nfts_command, TNftGetNftsResponse>;
1473
1514
  export declare function nft_get_nfts<T extends TRPCAgent | TDaemon>(agent: T, data: TNftGetNftsRequest): Promise<ResType<T, TNftGetNftsResponse, WsNftGetNftsMessage>>;
1474
1515
  export declare const nft_set_nft_did_command = "nft_set_nft_did";
1475
- export declare type nft_set_nft_did_command = typeof nft_set_nft_did_command;
1476
- export declare type TNftSetNftDidRequest = {
1516
+ export type nft_set_nft_did_command = typeof nft_set_nft_did_command;
1517
+ export type TNftSetNftDidRequest = {
1477
1518
  wallet_id: uint32;
1478
1519
  did_id?: str;
1479
1520
  nft_coin_id: str;
1480
1521
  fee?: uint64;
1481
- } & TxEndpoint;
1482
- export declare type TNftSetNftDidResponse = {
1522
+ } & TXEndpointRequest;
1523
+ export type TNftSetNftDidResponse = {
1483
1524
  wallet_id: uint32;
1484
1525
  success: True;
1485
1526
  spend_bundle: SpendBundle;
1527
+ transactions: TransactionRecordConvenience[];
1528
+ unsigned_transactions: UnsignedTransaction[] | str[];
1529
+ signing_responses?: str[];
1486
1530
  } | {
1487
1531
  success: False;
1488
1532
  error: str;
1489
1533
  };
1490
- export declare type WsNftSetNftDidMessage = GetMessageType<chia_wallet_service, nft_set_nft_did_command, TNftSetNftDidResponse>;
1534
+ export type WsNftSetNftDidMessage = GetMessageType<chia_wallet_service, nft_set_nft_did_command, TNftSetNftDidResponse>;
1491
1535
  export declare function nft_set_nft_did<T extends TRPCAgent | TDaemon>(agent: T, data: TNftSetNftDidRequest): Promise<ResType<T, TNftSetNftDidResponse, WsNftSetNftDidMessage>>;
1492
1536
  export declare const nft_set_did_bulk_command = "nft_set_did_bulk";
1493
- export declare type nft_set_did_bulk_command = typeof nft_set_did_bulk_command;
1494
- export declare type TNftSetDidBulkRequest = {
1537
+ export type nft_set_did_bulk_command = typeof nft_set_did_bulk_command;
1538
+ export type TNftSetDidBulkRequest = {
1495
1539
  nft_coin_list: Array<{
1496
1540
  nft_coin_id: str;
1497
1541
  wallet_id: uint32;
1498
1542
  }>;
1499
1543
  did_id?: str;
1500
1544
  fee?: uint64;
1501
- } & TxEndpoint;
1502
- export declare type TNftSetDidBulkResponse = {
1545
+ } & TXEndpointRequest;
1546
+ export type TNftSetDidBulkResponse = {
1503
1547
  success: False;
1504
1548
  error: str;
1505
1549
  } | {
@@ -1507,20 +1551,23 @@ export declare type TNftSetDidBulkResponse = {
1507
1551
  wallet_id: uint32[];
1508
1552
  spend_bundle: SpendBundle;
1509
1553
  tx_num: int;
1554
+ transactions: TransactionRecordConvenience[];
1555
+ unsigned_transactions: UnsignedTransaction[] | str[];
1556
+ signing_responses?: str[];
1510
1557
  };
1511
- export declare type WsNftSetDidBulkMessage = GetMessageType<chia_wallet_service, nft_set_did_bulk_command, TNftSetDidBulkResponse>;
1558
+ export type WsNftSetDidBulkMessage = GetMessageType<chia_wallet_service, nft_set_did_bulk_command, TNftSetDidBulkResponse>;
1512
1559
  export declare function nft_set_did_bulk<T extends TRPCAgent | TDaemon>(agent: T, data: TNftSetDidBulkRequest): Promise<ResType<T, TNftSetDidBulkResponse, WsNftSetDidBulkMessage>>;
1513
1560
  export declare const nft_transfer_bulk_command = "nft_transfer_bulk";
1514
- export declare type nft_transfer_bulk_command = typeof nft_transfer_bulk_command;
1515
- export declare type TNftTransferBulkRequest = {
1561
+ export type nft_transfer_bulk_command = typeof nft_transfer_bulk_command;
1562
+ export type TNftTransferBulkRequest = {
1516
1563
  nft_coin_list: Array<{
1517
1564
  nft_coin_id: str;
1518
1565
  wallet_id: uint32;
1519
1566
  }>;
1520
1567
  target_address: str;
1521
1568
  fee?: uint64;
1522
- } & TxEndpoint;
1523
- export declare type TNftTransferBulkResponse = {
1569
+ } & TXEndpointRequest;
1570
+ export type TNftTransferBulkResponse = {
1524
1571
  success: False;
1525
1572
  error: str;
1526
1573
  } | {
@@ -1528,37 +1575,40 @@ export declare type TNftTransferBulkResponse = {
1528
1575
  wallet_id: uint32[];
1529
1576
  spend_bundle: SpendBundle;
1530
1577
  tx_num: int;
1578
+ transactions: TransactionRecordConvenience[];
1579
+ unsigned_transactions: UnsignedTransaction[] | str[];
1580
+ signing_responses?: str[];
1531
1581
  };
1532
- export declare type WsNftTransferBulkMessage = GetMessageType<chia_wallet_service, nft_transfer_bulk_command, TNftTransferBulkResponse>;
1582
+ export type WsNftTransferBulkMessage = GetMessageType<chia_wallet_service, nft_transfer_bulk_command, TNftTransferBulkResponse>;
1533
1583
  export declare function nft_transfer_bulk<T extends TRPCAgent | TDaemon>(agent: T, data: TNftTransferBulkRequest): Promise<ResType<T, TNftTransferBulkResponse, WsNftTransferBulkMessage>>;
1534
1584
  export declare const nft_get_by_did_command = "nft_get_by_did";
1535
- export declare type nft_get_by_did_command = typeof nft_get_by_did_command;
1536
- export declare type TNftGetByDidRequest = {
1585
+ export type nft_get_by_did_command = typeof nft_get_by_did_command;
1586
+ export type TNftGetByDidRequest = {
1537
1587
  did_id?: str;
1538
1588
  };
1539
- export declare type TNftGetByDidResponse = {
1589
+ export type TNftGetByDidResponse = {
1540
1590
  wallet_id: uint32;
1541
1591
  success: True;
1542
1592
  } | {
1543
1593
  success: False;
1544
1594
  error: str;
1545
1595
  };
1546
- export declare type WsNftGetByDidMessage = GetMessageType<chia_wallet_service, nft_get_by_did_command, TNftGetByDidResponse>;
1596
+ export type WsNftGetByDidMessage = GetMessageType<chia_wallet_service, nft_get_by_did_command, TNftGetByDidResponse>;
1547
1597
  export declare function nft_get_by_did<T extends TRPCAgent | TDaemon>(agent: T, data: TNftGetByDidRequest): Promise<ResType<T, TNftGetByDidResponse, WsNftGetByDidMessage>>;
1548
1598
  export declare const nft_get_wallet_did_command = "nft_get_wallet_did";
1549
- export declare type nft_get_wallet_did_command = typeof nft_get_wallet_did_command;
1550
- export declare type TNftGetWalletDidRequest = {
1599
+ export type nft_get_wallet_did_command = typeof nft_get_wallet_did_command;
1600
+ export type TNftGetWalletDidRequest = {
1551
1601
  wallet_id: uint32;
1552
1602
  };
1553
- export declare type TNftGetWalletDidResponse = {
1603
+ export type TNftGetWalletDidResponse = {
1554
1604
  did_id: Optional<str>;
1555
1605
  success: True;
1556
1606
  };
1557
- export declare type WsNftGetWalletDidMessage = GetMessageType<chia_wallet_service, nft_get_wallet_did_command, TNftGetWalletDidResponse>;
1607
+ export type WsNftGetWalletDidMessage = GetMessageType<chia_wallet_service, nft_get_wallet_did_command, TNftGetWalletDidResponse>;
1558
1608
  export declare function nft_get_wallet_did<T extends TRPCAgent | TDaemon>(agent: T, data: TNftGetWalletDidRequest): Promise<ResType<T, TNftGetWalletDidResponse, WsNftGetWalletDidMessage>>;
1559
1609
  export declare const nft_get_wallets_with_dids_command = "nft_get_wallets_with_dids";
1560
- export declare type nft_get_wallets_with_dids_command = typeof nft_get_wallets_with_dids_command;
1561
- export declare type TNftGetWalletsWithDidsResponse = {
1610
+ export type nft_get_wallets_with_dids_command = typeof nft_get_wallets_with_dids_command;
1611
+ export type TNftGetWalletsWithDidsResponse = {
1562
1612
  success: True;
1563
1613
  nft_wallets: Array<{
1564
1614
  wallet_id: uint32;
@@ -1566,72 +1616,78 @@ export declare type TNftGetWalletsWithDidsResponse = {
1566
1616
  did_wallet_id: uint32;
1567
1617
  }>;
1568
1618
  };
1569
- export declare type WsNftGetWalletsWithDidsMessage = GetMessageType<chia_wallet_service, nft_get_wallets_with_dids_command, TNftGetWalletsWithDidsResponse>;
1619
+ export type WsNftGetWalletsWithDidsMessage = GetMessageType<chia_wallet_service, nft_get_wallets_with_dids_command, TNftGetWalletsWithDidsResponse>;
1570
1620
  export declare function nft_get_wallets_with_dids<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TNftGetWalletsWithDidsResponse, WsNftGetWalletsWithDidsMessage>>;
1571
1621
  export declare const nft_set_nft_status_command = "nft_set_nft_status";
1572
- export declare type nft_set_nft_status_command = typeof nft_set_nft_status_command;
1573
- export declare type TNftSetNftStatusRequest = {
1622
+ export type nft_set_nft_status_command = typeof nft_set_nft_status_command;
1623
+ export type TNftSetNftStatusRequest = {
1574
1624
  wallet_id: uint32;
1575
1625
  coin_id: str;
1576
1626
  in_transaction: bool;
1577
1627
  };
1578
- export declare type TNftSetNftStatusResponse = {
1628
+ export type TNftSetNftStatusResponse = {
1579
1629
  success: True;
1580
1630
  };
1581
- export declare type WsNftSetNftStatusMessage = GetMessageType<chia_wallet_service, nft_set_nft_status_command, TNftSetNftStatusResponse>;
1631
+ export type WsNftSetNftStatusMessage = GetMessageType<chia_wallet_service, nft_set_nft_status_command, TNftSetNftStatusResponse>;
1582
1632
  export declare function nft_set_nft_status<T extends TRPCAgent | TDaemon>(agent: T, data: TNftSetNftStatusRequest): Promise<ResType<T, TNftSetNftStatusResponse, WsNftSetNftStatusMessage>>;
1583
1633
  export declare const nft_transfer_nft_command = "nft_transfer_nft";
1584
- export declare type nft_transfer_nft_command = typeof nft_transfer_nft_command;
1585
- export declare type TNftTransferNftRequest = {
1634
+ export type nft_transfer_nft_command = typeof nft_transfer_nft_command;
1635
+ export type TNftTransferNftRequest = {
1586
1636
  wallet_id: uint32;
1587
1637
  target_address: str;
1588
1638
  nft_coin_id: str;
1589
1639
  fee?: uint64;
1590
- } & TxEndpoint;
1591
- export declare type TNftTransferNftResponse = {
1640
+ } & TXEndpointRequest;
1641
+ export type TNftTransferNftResponse = {
1592
1642
  success: True;
1593
1643
  wallet_id: uint32;
1594
1644
  spend_bundle: SpendBundle;
1645
+ transactions: TransactionRecordConvenience[];
1646
+ unsigned_transactions: UnsignedTransaction[] | str[];
1647
+ signing_responses?: str[];
1595
1648
  } | {
1596
1649
  success: False;
1597
1650
  error: str;
1598
1651
  };
1599
- export declare type WsNftTransferNftMessage = GetMessageType<chia_wallet_service, nft_transfer_nft_command, TNftTransferNftResponse>;
1652
+ export type WsNftTransferNftMessage = GetMessageType<chia_wallet_service, nft_transfer_nft_command, TNftTransferNftResponse>;
1600
1653
  export declare function nft_transfer_nft<T extends TRPCAgent | TDaemon>(agent: T, data: TNftTransferNftRequest): Promise<ResType<T, TNftTransferNftResponse, WsNftTransferNftMessage>>;
1601
1654
  export declare const nft_get_info_command = "nft_get_info";
1602
- export declare type nft_get_info_command = typeof nft_get_info_command;
1603
- export declare type TNftGetInfoRequest = {
1655
+ export type nft_get_info_command = typeof nft_get_info_command;
1656
+ export type TNftGetInfoRequest = {
1604
1657
  coin_id: str;
1605
1658
  latest?: bool;
1606
1659
  };
1607
- export declare type TNftGetInfoResponse = {
1660
+ export type TNftGetInfoResponse = {
1608
1661
  success: True;
1609
1662
  nft_info: NFTInfo;
1610
1663
  } | {
1611
1664
  success: False;
1612
1665
  error: str;
1613
1666
  };
1614
- export declare type WsNftGetInfoMessage = GetMessageType<chia_wallet_service, nft_get_info_command, TNftGetInfoResponse>;
1667
+ export type WsNftGetInfoMessage = GetMessageType<chia_wallet_service, nft_get_info_command, TNftGetInfoResponse>;
1615
1668
  export declare function nft_get_info<T extends TRPCAgent | TDaemon>(agent: T, data: TNftGetInfoRequest): Promise<ResType<T, TNftGetInfoResponse, WsNftGetInfoMessage>>;
1616
1669
  export declare const nft_add_uri_command = "nft_add_uri";
1617
- export declare type nft_add_uri_command = typeof nft_add_uri_command;
1618
- export declare type TNftAddUriRequest = {
1670
+ export type nft_add_uri_command = typeof nft_add_uri_command;
1671
+ export type TNftAddUriRequest = {
1619
1672
  wallet_id: uint32;
1620
1673
  uri: str;
1621
1674
  key: str;
1622
1675
  nft_coin_id: str;
1623
1676
  fee?: uint64;
1624
- } & TxEndpoint;
1625
- export declare type TNftAddUriResponse = {
1677
+ } & TXEndpointRequest;
1678
+ export type TNftAddUriResponse = {
1626
1679
  success: True;
1627
1680
  wallet_id: uint32;
1628
1681
  spend_bundle: SpendBundle;
1682
+ transactions: TransactionRecordConvenience[];
1683
+ unsigned_transactions: UnsignedTransaction[] | str[];
1684
+ signing_responses?: str[];
1629
1685
  };
1630
- export declare type WsNftAddUriMessage = GetMessageType<chia_wallet_service, nft_add_uri_command, TNftAddUriResponse>;
1686
+ export type WsNftAddUriMessage = GetMessageType<chia_wallet_service, nft_add_uri_command, TNftAddUriResponse>;
1631
1687
  export declare function nft_add_uri<T extends TRPCAgent | TDaemon>(agent: T, data: TNftAddUriRequest): Promise<ResType<T, TNftAddUriResponse, WsNftAddUriMessage>>;
1632
1688
  export declare const nft_calculate_royalties_command = "nft_calculate_royalties";
1633
- export declare type nft_calculate_royalties_command = typeof nft_calculate_royalties_command;
1634
- export declare type TNftCalculateRoyaltiesRequest = {
1689
+ export type nft_calculate_royalties_command = typeof nft_calculate_royalties_command;
1690
+ export type TNftCalculateRoyaltiesRequest = {
1635
1691
  royalty_assets?: Array<{
1636
1692
  asset: str;
1637
1693
  royalty_address: str;
@@ -1642,16 +1698,16 @@ export declare type TNftCalculateRoyaltiesRequest = {
1642
1698
  amount: uint64;
1643
1699
  }>;
1644
1700
  };
1645
- export declare type TNftCalculateRoyaltiesResponse = Record<str, Array<{
1701
+ export type TNftCalculateRoyaltiesResponse = Record<str, Array<{
1646
1702
  asset: str;
1647
1703
  address: str;
1648
1704
  amount: uint64;
1649
1705
  }>>;
1650
- export declare type WsNftCalculateRoyaltiesMessage = GetMessageType<chia_wallet_service, nft_calculate_royalties_command, TNftCalculateRoyaltiesResponse>;
1706
+ export type WsNftCalculateRoyaltiesMessage = GetMessageType<chia_wallet_service, nft_calculate_royalties_command, TNftCalculateRoyaltiesResponse>;
1651
1707
  export declare function nft_calculate_royalties<T extends TRPCAgent | TDaemon>(agent: T, data: TNftCalculateRoyaltiesRequest): Promise<ResType<T, TNftCalculateRoyaltiesResponse, WsNftCalculateRoyaltiesMessage>>;
1652
1708
  export declare const nft_mint_bulk_command = "nft_mint_bulk";
1653
- export declare type nft_mint_bulk_command = typeof nft_mint_bulk_command;
1654
- export declare type TNftMintBulkRequest = {
1709
+ export type nft_mint_bulk_command = typeof nft_mint_bulk_command;
1710
+ export type TNftMintBulkRequest = {
1655
1711
  wallet_id: uint32;
1656
1712
  royalty_address?: str;
1657
1713
  royalty_percentage?: uint16;
@@ -1676,20 +1732,23 @@ export declare type TNftMintBulkRequest = {
1676
1732
  did_lineage_parent?: str;
1677
1733
  mint_from_did?: bool;
1678
1734
  fee?: uint64;
1679
- } & TxEndpoint;
1680
- export declare type TNftMintBulkResponse = {
1735
+ } & TXEndpointRequest;
1736
+ export type TNftMintBulkResponse = {
1681
1737
  success: False;
1682
1738
  error: str;
1683
1739
  } | {
1684
1740
  success: True;
1685
1741
  spend_bundle: SpendBundle;
1686
1742
  nft_id_list: str[];
1743
+ transactions: TransactionRecordConvenience[];
1744
+ unsigned_transactions: UnsignedTransaction[] | str[];
1745
+ signing_responses?: str[];
1687
1746
  };
1688
- export declare type WsNftMintBulkMessage = GetMessageType<chia_wallet_service, nft_mint_bulk_command, TNftMintBulkResponse>;
1747
+ export type WsNftMintBulkMessage = GetMessageType<chia_wallet_service, nft_mint_bulk_command, TNftMintBulkResponse>;
1689
1748
  export declare function nft_mint_bulk<T extends TRPCAgent | TDaemon>(agent: T, data: TNftMintBulkRequest): Promise<ResType<T, TNftMintBulkResponse, WsNftMintBulkMessage>>;
1690
1749
  export declare const rl_set_user_info_command = "rl_set_user_info";
1691
- export declare type rl_set_user_info_command = typeof rl_set_user_info_command;
1692
- export declare type TRlSetUserInfoRequest = {
1750
+ export type rl_set_user_info_command = typeof rl_set_user_info_command;
1751
+ export type TRlSetUserInfoRequest = {
1693
1752
  wallet_id: int;
1694
1753
  origin: {
1695
1754
  parent_coin_info: str;
@@ -1700,269 +1759,292 @@ export declare type TRlSetUserInfoRequest = {
1700
1759
  limit: uint64;
1701
1760
  admin_pubkey: str;
1702
1761
  };
1703
- export declare type TRlSetUserInfoResponse = {};
1704
- export declare type WsRlSetUserInfoMessage = GetMessageType<chia_wallet_service, rl_set_user_info_command, TRlSetUserInfoResponse>;
1762
+ export type TRlSetUserInfoResponse = Record<string, never>;
1763
+ export type WsRlSetUserInfoMessage = GetMessageType<chia_wallet_service, rl_set_user_info_command, TRlSetUserInfoResponse>;
1705
1764
  export declare function rl_set_user_info<T extends TRPCAgent | TDaemon>(agent: T, data: TRlSetUserInfoRequest): Promise<ResType<T, TRlSetUserInfoResponse, WsRlSetUserInfoMessage>>;
1706
1765
  export declare const send_clawback_transaction_command = "send_clawback_transaction:";
1707
- export declare type send_clawback_transaction_command = typeof send_clawback_transaction_command;
1708
- export declare type TSendClawbackTransactionRequest = {
1766
+ export type send_clawback_transaction_command = typeof send_clawback_transaction_command;
1767
+ export type TSendClawbackTransactionRequest = {
1709
1768
  wallet_id: uint32;
1710
1769
  fee: int;
1711
1770
  };
1712
- export declare type TSendClawbackTransactionResponse = {
1771
+ export type TSendClawbackTransactionResponse = {
1713
1772
  transaction: TransactionRecord;
1714
1773
  transaction_id: TransactionRecord["name"];
1715
1774
  };
1716
- export declare type WsSendClawbackTransactionMessage = GetMessageType<chia_wallet_service, send_clawback_transaction_command, TSendClawbackTransactionResponse>;
1775
+ export type WsSendClawbackTransactionMessage = GetMessageType<chia_wallet_service, send_clawback_transaction_command, TSendClawbackTransactionResponse>;
1717
1776
  export declare function send_clawback_transaction<T extends TRPCAgent | TDaemon>(agent: T, data: TSendClawbackTransactionRequest): Promise<ResType<T, TSendClawbackTransactionResponse, WsSendClawbackTransactionMessage>>;
1718
1777
  export declare const add_rate_limited_funds_command = "add_rate_limited_funds:";
1719
- export declare type add_rate_limited_funds_command = typeof add_rate_limited_funds_command;
1720
- export declare type TAddRateLimitedFundsRequest = {
1778
+ export type add_rate_limited_funds_command = typeof add_rate_limited_funds_command;
1779
+ export type TAddRateLimitedFundsRequest = {
1721
1780
  wallet_id: uint32;
1722
1781
  amount: uint64;
1723
1782
  fee: uint64;
1724
1783
  };
1725
- export declare type TAddRateLimitedFundsResponse = {
1784
+ export type TAddRateLimitedFundsResponse = {
1726
1785
  status: "SUCCESS";
1727
1786
  };
1728
- export declare type WsAddRateLimitedFundsMessage = GetMessageType<chia_wallet_service, add_rate_limited_funds_command, TAddRateLimitedFundsResponse>;
1787
+ export type WsAddRateLimitedFundsMessage = GetMessageType<chia_wallet_service, add_rate_limited_funds_command, TAddRateLimitedFundsResponse>;
1729
1788
  export declare function add_rate_limited_funds<T extends TRPCAgent | TDaemon>(agent: T, data: TAddRateLimitedFundsRequest): Promise<ResType<T, TAddRateLimitedFundsResponse, WsAddRateLimitedFundsMessage>>;
1730
1789
  export declare const pw_join_pool_command = "pw_join_pool";
1731
- export declare type pw_join_pool_command = typeof pw_join_pool_command;
1732
- export declare type TPwJoinPoolRequest = {
1790
+ export type pw_join_pool_command = typeof pw_join_pool_command;
1791
+ export type TPwJoinPoolRequest = {
1733
1792
  fee?: uint64;
1734
1793
  wallet_id: uint32;
1735
1794
  target_puzzlehash?: string;
1736
1795
  pool_url?: str;
1737
1796
  relative_lock_height: uint32;
1738
- } & TxEndpoint;
1739
- export declare type TPwJoinPoolResponse = {
1797
+ } & TXEndpointRequest;
1798
+ export type TPwJoinPoolResponse = {
1740
1799
  total_fee: uint64;
1741
1800
  transaction: TransactionRecord;
1742
1801
  fee_transaction: Optional<TransactionRecord>;
1802
+ transactions: TransactionRecordConvenience[];
1803
+ unsigned_transactions: UnsignedTransaction[] | str[];
1804
+ signing_responses?: str[];
1743
1805
  } | {
1744
1806
  success: False;
1745
1807
  error: "not_initialized";
1746
1808
  };
1747
- export declare type WsPwJoinPoolMessage = GetMessageType<chia_wallet_service, pw_join_pool_command, TPwJoinPoolResponse>;
1809
+ export type WsPwJoinPoolMessage = GetMessageType<chia_wallet_service, pw_join_pool_command, TPwJoinPoolResponse>;
1748
1810
  export declare function pw_join_pool<T extends TRPCAgent | TDaemon>(agent: T, data: TPwJoinPoolRequest): Promise<ResType<T, TPwJoinPoolResponse, WsPwJoinPoolMessage>>;
1749
1811
  export declare const pw_self_pool_command = "pw_self_pool";
1750
- export declare type pw_self_pool_command = typeof pw_self_pool_command;
1751
- export declare type TPwSelfPoolRequest = {
1812
+ export type pw_self_pool_command = typeof pw_self_pool_command;
1813
+ export type TPwSelfPoolRequest = {
1752
1814
  wallet_id: uint32;
1753
1815
  fee?: uint64;
1754
- } & TxEndpoint;
1755
- export declare type TPwSelfPoolResponse = {
1816
+ } & TXEndpointRequest;
1817
+ export type TPwSelfPoolResponse = {
1756
1818
  total_fee: uint64;
1757
1819
  transaction: TransactionRecord;
1758
1820
  fee_transaction: Optional<TransactionRecord>;
1821
+ transactions: TransactionRecordConvenience[];
1822
+ unsigned_transactions: UnsignedTransaction[] | str[];
1823
+ signing_responses?: str[];
1759
1824
  };
1760
- export declare type WsPwSelfPoolMessage = GetMessageType<chia_wallet_service, pw_self_pool_command, TPwSelfPoolResponse>;
1825
+ export type WsPwSelfPoolMessage = GetMessageType<chia_wallet_service, pw_self_pool_command, TPwSelfPoolResponse>;
1761
1826
  export declare function pw_self_pool<T extends TRPCAgent | TDaemon>(agent: T, data: TPwSelfPoolRequest): Promise<ResType<T, TPwSelfPoolResponse, WsPwSelfPoolMessage>>;
1762
1827
  export declare const pw_absorb_rewards_command = "pw_absorb_rewards";
1763
- export declare type pw_absorb_rewards_command = typeof pw_absorb_rewards_command;
1764
- export declare type TPwAbsorbRewardsRequest = {
1828
+ export type pw_absorb_rewards_command = typeof pw_absorb_rewards_command;
1829
+ export type TPwAbsorbRewardsRequest = {
1765
1830
  wallet_id: uint32;
1766
1831
  fee?: uint64;
1767
1832
  max_spends_in_tx?: int;
1768
- } & TxEndpoint;
1769
- export declare type TPwAbsorbRewardsResponse = {
1833
+ } & TXEndpointRequest;
1834
+ export type TPwAbsorbRewardsResponse = {
1770
1835
  state: PoolWalletInfo;
1771
1836
  transaction: TransactionRecord;
1772
1837
  fee_transaction: Optional<TransactionRecord>;
1838
+ transactions: TransactionRecordConvenience[];
1839
+ unsigned_transactions: UnsignedTransaction[] | str[];
1840
+ signing_responses?: str[];
1773
1841
  };
1774
- export declare type WsPwAbsorbRewardsMessage = GetMessageType<chia_wallet_service, pw_absorb_rewards_command, TPwAbsorbRewardsResponse>;
1842
+ export type WsPwAbsorbRewardsMessage = GetMessageType<chia_wallet_service, pw_absorb_rewards_command, TPwAbsorbRewardsResponse>;
1775
1843
  export declare function pw_absorb_rewards<T extends TRPCAgent | TDaemon>(agent: T, data: TPwAbsorbRewardsRequest): Promise<ResType<T, TPwAbsorbRewardsResponse, WsPwAbsorbRewardsMessage>>;
1776
1844
  export declare const pw_status_command = "pw_status";
1777
- export declare type pw_status_command = typeof pw_status_command;
1778
- export declare type TPwStatusRequest = {
1845
+ export type pw_status_command = typeof pw_status_command;
1846
+ export type TPwStatusRequest = {
1779
1847
  wallet_id: uint32;
1780
1848
  };
1781
- export declare type TPwStatusResponse = {
1849
+ export type TPwStatusResponse = {
1782
1850
  state: PoolWalletInfo;
1783
1851
  unconfirmed_transactions: TransactionRecord[];
1784
1852
  };
1785
- export declare type WsPwStatusMessage = GetMessageType<chia_wallet_service, pw_status_command, TPwStatusResponse>;
1853
+ export type WsPwStatusMessage = GetMessageType<chia_wallet_service, pw_status_command, TPwStatusResponse>;
1786
1854
  export declare function pw_status<T extends TRPCAgent | TDaemon>(agent: T, data: TPwStatusRequest): Promise<ResType<T, TPwStatusResponse, WsPwStatusMessage>>;
1787
1855
  export declare const create_new_dl_command = "create_new_dl";
1788
- export declare type create_new_dl_command = typeof create_new_dl_command;
1789
- export declare type TCreateNewDlRequest = {
1856
+ export type create_new_dl_command = typeof create_new_dl_command;
1857
+ export type TCreateNewDlRequest = {
1790
1858
  root: str;
1791
1859
  fee?: uint64;
1792
- } & TxEndpoint;
1793
- export declare type TCreateNewDlResponse = {
1860
+ } & TXEndpointRequest;
1861
+ export type TCreateNewDlResponse = {
1794
1862
  success: False;
1795
1863
  error: str;
1796
1864
  } | {
1797
1865
  success: True;
1798
1866
  transactions: TransactionRecordConvenience[];
1867
+ unsigned_transactions: UnsignedTransaction[] | str[];
1868
+ signing_responses?: str[];
1799
1869
  launcher_id: bytes32;
1800
1870
  };
1801
- export declare type WsCreateNewDlMessage = GetMessageType<chia_wallet_service, create_new_dl_command, TCreateNewDlResponse>;
1871
+ export type WsCreateNewDlMessage = GetMessageType<chia_wallet_service, create_new_dl_command, TCreateNewDlResponse>;
1802
1872
  export declare function create_new_dl<T extends TRPCAgent | TDaemon>(agent: T, data: TCreateNewDlRequest): Promise<ResType<T, TCreateNewDlResponse, WsCreateNewDlMessage>>;
1803
1873
  export declare const dl_track_new_command = "dl_track_new";
1804
- export declare type dl_track_new_command = typeof dl_track_new_command;
1805
- export declare type TDlTrackNewRequest = {
1874
+ export type dl_track_new_command = typeof dl_track_new_command;
1875
+ export type TDlTrackNewRequest = {
1806
1876
  launcher_id: str;
1807
1877
  };
1808
- export declare type TDlTrackNewResponse = {};
1809
- export declare type WsDlTrackNewMessage = GetMessageType<chia_wallet_service, dl_track_new_command, TDlTrackNewResponse>;
1878
+ export type TDlTrackNewResponse = Record<string, never>;
1879
+ export type WsDlTrackNewMessage = GetMessageType<chia_wallet_service, dl_track_new_command, TDlTrackNewResponse>;
1810
1880
  export declare function dl_track_new<T extends TRPCAgent | TDaemon>(agent: T, data: TDlTrackNewRequest): Promise<ResType<T, TDlTrackNewResponse, WsDlTrackNewMessage>>;
1811
1881
  export declare const dl_stop_tracking_command = "dl_stop_tracking";
1812
- export declare type dl_stop_tracking_command = typeof dl_stop_tracking_command;
1813
- export declare type TDlStopTrackingRequest = {
1882
+ export type dl_stop_tracking_command = typeof dl_stop_tracking_command;
1883
+ export type TDlStopTrackingRequest = {
1814
1884
  launcher_id: str;
1815
1885
  };
1816
- export declare type TDlStopTrackingResponse = {};
1817
- export declare type WsDlStopTrackingMessage = GetMessageType<chia_wallet_service, dl_stop_tracking_command, TDlStopTrackingResponse>;
1886
+ export type TDlStopTrackingResponse = Record<string, never>;
1887
+ export type WsDlStopTrackingMessage = GetMessageType<chia_wallet_service, dl_stop_tracking_command, TDlStopTrackingResponse>;
1818
1888
  export declare function dl_stop_tracking<T extends TRPCAgent | TDaemon>(agent: T, data: TDlStopTrackingRequest): Promise<ResType<T, TDlStopTrackingResponse, WsDlStopTrackingMessage>>;
1819
1889
  export declare const dl_latest_singleton_command = "dl_latest_singleton";
1820
- export declare type dl_latest_singleton_command = typeof dl_latest_singleton_command;
1821
- export declare type TDlLatestSingletonRequest = {
1890
+ export type dl_latest_singleton_command = typeof dl_latest_singleton_command;
1891
+ export type TDlLatestSingletonRequest = {
1822
1892
  launcher_id: str;
1823
1893
  only_confirmed?: bool;
1824
1894
  };
1825
- export declare type TDlLatestSingletonResponse = {
1895
+ export type TDlLatestSingletonResponse = {
1826
1896
  singleton: Optional<SingletonRecord>;
1827
1897
  };
1828
- export declare type WsDlLatestSingletonMessage = GetMessageType<chia_wallet_service, dl_latest_singleton_command, TDlLatestSingletonResponse>;
1898
+ export type WsDlLatestSingletonMessage = GetMessageType<chia_wallet_service, dl_latest_singleton_command, TDlLatestSingletonResponse>;
1829
1899
  export declare function dl_latest_singleton<T extends TRPCAgent | TDaemon>(agent: T, data: TDlLatestSingletonRequest): Promise<ResType<T, TDlLatestSingletonResponse, WsDlLatestSingletonMessage>>;
1830
1900
  export declare const dl_singletons_by_root_command = "dl_singletons_by_root";
1831
- export declare type dl_singletons_by_root_command = typeof dl_singletons_by_root_command;
1832
- export declare type TDlSingletonsByRootRequest = {
1901
+ export type dl_singletons_by_root_command = typeof dl_singletons_by_root_command;
1902
+ export type TDlSingletonsByRootRequest = {
1833
1903
  launcher_id: str;
1834
1904
  root: str;
1835
1905
  };
1836
- export declare type TDlSingletonsByRootResponse = {
1906
+ export type TDlSingletonsByRootResponse = {
1837
1907
  singletons: SingletonRecord[];
1838
1908
  };
1839
- export declare type WsDlSingletonsByRootMessage = GetMessageType<chia_wallet_service, dl_singletons_by_root_command, TDlSingletonsByRootResponse>;
1909
+ export type WsDlSingletonsByRootMessage = GetMessageType<chia_wallet_service, dl_singletons_by_root_command, TDlSingletonsByRootResponse>;
1840
1910
  export declare function dl_singletons_by_root<T extends TRPCAgent | TDaemon>(agent: T, data: TDlSingletonsByRootRequest): Promise<ResType<T, TDlSingletonsByRootResponse, WsDlSingletonsByRootMessage>>;
1841
1911
  export declare const dl_update_root_command = "dl_update_root";
1842
- export declare type dl_update_root_command = typeof dl_update_root_command;
1843
- export declare type TDlUpdateRootRequest = {
1912
+ export type dl_update_root_command = typeof dl_update_root_command;
1913
+ export type TDlUpdateRootRequest = {
1844
1914
  launcher_id: str;
1845
1915
  new_root: str;
1846
1916
  fee?: uint64;
1847
- } & TxEndpoint;
1848
- export declare type TDlUpdateRootResponse = {
1917
+ } & TXEndpointRequest;
1918
+ export type TDlUpdateRootResponse = {
1849
1919
  tx_record: TransactionRecordConvenience;
1920
+ transactions: TransactionRecordConvenience[];
1921
+ unsigned_transactions: UnsignedTransaction[] | str[];
1922
+ signing_responses?: str[];
1850
1923
  };
1851
- export declare type WsDlUpdateRootMessage = GetMessageType<chia_wallet_service, dl_update_root_command, TDlUpdateRootResponse>;
1924
+ export type WsDlUpdateRootMessage = GetMessageType<chia_wallet_service, dl_update_root_command, TDlUpdateRootResponse>;
1852
1925
  export declare function dl_update_root<T extends TRPCAgent | TDaemon>(agent: T, data: TDlUpdateRootRequest): Promise<ResType<T, TDlUpdateRootResponse, WsDlUpdateRootMessage>>;
1853
1926
  export declare const dl_update_multiple_command = "dl_update_multiple";
1854
- export declare type dl_update_multiple_command = typeof dl_update_multiple_command;
1855
- export declare type TDlUpdateMultipleRequest = {
1927
+ export type dl_update_multiple_command = typeof dl_update_multiple_command;
1928
+ export type TDlUpdateMultipleRequest = {
1856
1929
  updates: Record<str, str>;
1857
- } & TxEndpoint;
1858
- export declare type TDlUpdateMultipleResponse = {
1859
- tx_records: TransactionRecordConvenience[];
1930
+ fee?: uint64;
1931
+ } & TXEndpointRequest;
1932
+ export type TDlUpdateMultipleResponse = {
1933
+ transactions: TransactionRecordConvenience[];
1934
+ unsigned_transactions: UnsignedTransaction[] | str[];
1935
+ signing_responses?: str[];
1860
1936
  };
1861
- export declare type WsDlUpdateMultipleMessage = GetMessageType<chia_wallet_service, dl_update_multiple_command, TDlUpdateMultipleResponse>;
1937
+ export type WsDlUpdateMultipleMessage = GetMessageType<chia_wallet_service, dl_update_multiple_command, TDlUpdateMultipleResponse>;
1862
1938
  export declare function dl_update_multiple<T extends TRPCAgent | TDaemon>(agent: T, data: TDlUpdateMultipleRequest): Promise<ResType<T, TDlUpdateMultipleResponse, WsDlUpdateMultipleMessage>>;
1863
1939
  export declare const dl_history_command = "dl_history";
1864
- export declare type dl_history_command = typeof dl_history_command;
1865
- export declare type TDlHistoryRequest = {
1940
+ export type dl_history_command = typeof dl_history_command;
1941
+ export type TDlHistoryRequest = {
1866
1942
  launcher_id: str;
1867
1943
  min_generation?: uint32;
1868
1944
  max_generation?: uint32;
1869
1945
  num_results?: uint32;
1870
1946
  };
1871
- export declare type TDlHistoryResponse = {
1947
+ export type TDlHistoryResponse = {
1872
1948
  history: SingletonRecord[];
1873
1949
  count: int;
1874
1950
  };
1875
- export declare type WsDlHistoryMessage = GetMessageType<chia_wallet_service, dl_history_command, TDlHistoryResponse>;
1951
+ export type WsDlHistoryMessage = GetMessageType<chia_wallet_service, dl_history_command, TDlHistoryResponse>;
1876
1952
  export declare function dl_history<T extends TRPCAgent | TDaemon>(agent: T, data: TDlHistoryRequest): Promise<ResType<T, TDlHistoryResponse, WsDlHistoryMessage>>;
1877
1953
  export declare const dl_owned_singletons_command = "dl_owned_singletons";
1878
- export declare type dl_owned_singletons_command = typeof dl_owned_singletons_command;
1879
- export declare type TDlOwnedSingletonsResponse = {
1954
+ export type dl_owned_singletons_command = typeof dl_owned_singletons_command;
1955
+ export type TDlOwnedSingletonsResponse = {
1880
1956
  singletons: SingletonRecord[];
1881
1957
  count: int;
1882
1958
  };
1883
- export declare type WsDlOwnedSingletonsMessage = GetMessageType<chia_wallet_service, dl_owned_singletons_command, TDlOwnedSingletonsResponse>;
1959
+ export type WsDlOwnedSingletonsMessage = GetMessageType<chia_wallet_service, dl_owned_singletons_command, TDlOwnedSingletonsResponse>;
1884
1960
  export declare function dl_owned_singletons<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TDlOwnedSingletonsResponse, WsDlOwnedSingletonsMessage>>;
1885
1961
  export declare const dl_get_mirrors_command = "dl_get_mirrors";
1886
- export declare type dl_get_mirrors_command = typeof dl_get_mirrors_command;
1887
- export declare type TDlGetMirrorsRequest = {
1962
+ export type dl_get_mirrors_command = typeof dl_get_mirrors_command;
1963
+ export type TDlGetMirrorsRequest = {
1888
1964
  launcher_id: str;
1889
1965
  };
1890
- export declare type TDlGetMirrorsResponse = {
1966
+ export type TDlGetMirrorsResponse = {
1891
1967
  mirrors: Mirror[];
1892
1968
  };
1893
- export declare type WsDlGetMirrorsMessage = GetMessageType<chia_wallet_service, dl_get_mirrors_command, TDlGetMirrorsResponse>;
1969
+ export type WsDlGetMirrorsMessage = GetMessageType<chia_wallet_service, dl_get_mirrors_command, TDlGetMirrorsResponse>;
1894
1970
  export declare function dl_get_mirrors<T extends TRPCAgent | TDaemon>(agent: T, data: TDlGetMirrorsRequest): Promise<ResType<T, TDlGetMirrorsResponse, WsDlGetMirrorsMessage>>;
1895
1971
  export declare const dl_new_mirror_command = "dl_new_mirror";
1896
- export declare type dl_new_mirror_command = typeof dl_new_mirror_command;
1897
- export declare type TDlNewMirrorRequest = {
1972
+ export type dl_new_mirror_command = typeof dl_new_mirror_command;
1973
+ export type TDlNewMirrorRequest = {
1898
1974
  launcher_id: str;
1899
1975
  amount: uint64;
1900
1976
  urls: str[];
1901
1977
  fee?: uint64;
1902
- } & TxEndpoint;
1903
- export declare type TDlNewMirrorResponse = {
1978
+ } & TXEndpointRequest;
1979
+ export type TDlNewMirrorResponse = {
1904
1980
  transactions: TransactionRecordConvenience[];
1981
+ unsigned_transactions: UnsignedTransaction[] | str[];
1982
+ signing_responses?: str[];
1905
1983
  };
1906
- export declare type WsDlNewMirrorMessage = GetMessageType<chia_wallet_service, dl_new_mirror_command, TDlNewMirrorResponse>;
1984
+ export type WsDlNewMirrorMessage = GetMessageType<chia_wallet_service, dl_new_mirror_command, TDlNewMirrorResponse>;
1907
1985
  export declare function dl_new_mirror<T extends TRPCAgent | TDaemon>(agent: T, data: TDlNewMirrorRequest): Promise<ResType<T, TDlNewMirrorResponse, WsDlNewMirrorMessage>>;
1908
1986
  export declare const dl_delete_mirror_command = "dl_delete_mirror";
1909
- export declare type dl_delete_mirror_command = typeof dl_delete_mirror_command;
1910
- export declare type TDlDeleteMirrorRequest = {
1987
+ export type dl_delete_mirror_command = typeof dl_delete_mirror_command;
1988
+ export type TDlDeleteMirrorRequest = {
1911
1989
  coin_id: str;
1912
1990
  fee?: uint64;
1913
- } & TxEndpoint;
1914
- export declare type TDlDeleteMirrorResponse = {
1991
+ } & TXEndpointRequest;
1992
+ export type TDlDeleteMirrorResponse = {
1915
1993
  transactions: TransactionRecordConvenience[];
1994
+ unsigned_transactions: UnsignedTransaction[] | str[];
1995
+ signing_responses?: str[];
1916
1996
  };
1917
- export declare type WsDlDeleteMirrorMessage = GetMessageType<chia_wallet_service, dl_delete_mirror_command, TDlDeleteMirrorResponse>;
1997
+ export type WsDlDeleteMirrorMessage = GetMessageType<chia_wallet_service, dl_delete_mirror_command, TDlDeleteMirrorResponse>;
1918
1998
  export declare function dl_delete_mirror<T extends TRPCAgent | TDaemon>(agent: T, data: TDlDeleteMirrorRequest): Promise<ResType<T, TDlDeleteMirrorResponse, WsDlDeleteMirrorMessage>>;
1919
1999
  export declare const dl_verify_proof_command = "dl_verify_proof";
1920
- export declare type dl_verify_proof_command = typeof dl_verify_proof_command;
1921
- export declare type TDlVerifyProofRequest = DLProof;
1922
- export declare type TDlVerifyProofResponse = VerifyProofResponse;
1923
- export declare type WsDlVerifyProofMessage = GetMessageType<chia_wallet_service, dl_verify_proof_command, TDlVerifyProofResponse>;
2000
+ export type dl_verify_proof_command = typeof dl_verify_proof_command;
2001
+ export type TDlVerifyProofRequest = DLProof;
2002
+ export type TDlVerifyProofResponse = VerifyProofResponse;
2003
+ export type WsDlVerifyProofMessage = GetMessageType<chia_wallet_service, dl_verify_proof_command, TDlVerifyProofResponse>;
1924
2004
  export declare function dl_verify_proof<T extends TRPCAgent | TDaemon>(agent: T, data: TDlVerifyProofRequest): Promise<ResType<T, VerifyProofResponse, WsDlVerifyProofMessage>>;
1925
- export declare type VCMint = {
2005
+ export type VCMint = {
1926
2006
  did_id: str;
1927
2007
  target_address: Optional<str>;
1928
2008
  fee: uint64;
1929
2009
  };
1930
2010
  export declare const vc_mint_command = "vc_mint";
1931
- export declare type vc_mint_command = typeof vc_mint_command;
1932
- export declare type TVcMintRequest = VCMint & TxEndpoint;
1933
- export declare type TVcMintResponse = {
2011
+ export type vc_mint_command = typeof vc_mint_command;
2012
+ export type TVcMintRequest = VCMint & TXEndpointRequest;
2013
+ export type TVcMintResponse = {
1934
2014
  vc_record: VCRecord;
1935
2015
  transactions: TransactionRecordConvenience[];
2016
+ unsigned_transactions: UnsignedTransaction[] | str[];
2017
+ signing_responses?: str[];
1936
2018
  };
1937
- export declare type WsVcMintMessage = GetMessageType<chia_wallet_service, vc_mint_command, TVcMintResponse>;
2019
+ export type WsVcMintMessage = GetMessageType<chia_wallet_service, vc_mint_command, TVcMintResponse>;
1938
2020
  export declare function vc_mint<T extends TRPCAgent | TDaemon>(agent: T, data: TVcMintRequest): Promise<ResType<T, TVcMintResponse, WsVcMintMessage>>;
1939
- export declare type VCGet = {
2021
+ export type VCGet = {
1940
2022
  vc_id: bytes32;
1941
2023
  };
1942
2024
  export declare const vc_get_command = "vc_get";
1943
- export declare type vc_get_command = typeof vc_get_command;
1944
- export declare type TVcGetRequest = VCGet;
1945
- export declare type TVcGetResponse = {
2025
+ export type vc_get_command = typeof vc_get_command;
2026
+ export type TVcGetRequest = VCGet;
2027
+ export type TVcGetResponse = {
1946
2028
  vc_record: VCRecord | None;
1947
2029
  };
1948
- export declare type WsVcGetMessage = GetMessageType<chia_wallet_service, vc_get_command, TVcGetResponse>;
2030
+ export type WsVcGetMessage = GetMessageType<chia_wallet_service, vc_get_command, TVcGetResponse>;
1949
2031
  export declare function vc_get<T extends TRPCAgent | TDaemon>(agent: T, data: TVcGetRequest): Promise<ResType<T, TVcGetResponse, WsVcGetMessage>>;
1950
- export declare type VcGetList = {
2032
+ export type VcGetList = {
1951
2033
  start: uint32;
1952
2034
  end: uint32;
1953
2035
  };
1954
2036
  export declare const vc_get_list_command = "vc_get_list";
1955
- export declare type vc_get_list_command = typeof vc_get_list_command;
1956
- export declare type TVcGetListRequest = VcGetList;
1957
- export declare type TVcGetListResponse = {
2037
+ export type vc_get_list_command = typeof vc_get_list_command;
2038
+ export type TVcGetListRequest = VcGetList;
2039
+ export type TVcGetListResponse = {
1958
2040
  vc_records: Array<VCRecord & {
1959
2041
  coin_id: str;
1960
2042
  }>;
1961
2043
  proofs: Record<str, Record<str, str> | None>;
1962
2044
  };
1963
- export declare type WsVcGetListMessage = GetMessageType<chia_wallet_service, vc_get_list_command, TVcGetListResponse>;
2045
+ export type WsVcGetListMessage = GetMessageType<chia_wallet_service, vc_get_list_command, TVcGetListResponse>;
1964
2046
  export declare function vc_get_list<T extends TRPCAgent | TDaemon>(agent: T, data: TVcGetListRequest): Promise<ResType<T, TVcGetListResponse, WsVcGetListMessage>>;
1965
- export declare type VcSpend = {
2047
+ export type VcSpend = {
1966
2048
  vc_id: bytes32;
1967
2049
  new_puzhash: Optional<bytes32>;
1968
2050
  new_proof_hash: Optional<bytes32>;
@@ -1970,58 +2052,82 @@ export declare type VcSpend = {
1970
2052
  fee: uint64;
1971
2053
  };
1972
2054
  export declare const vc_spend_command = "vc_spend";
1973
- export declare type vc_spend_command = typeof vc_spend_command;
1974
- export declare type TVcSpendRequest = VcSpend & TxEndpoint;
1975
- export declare type TVcSpendResponse = {
2055
+ export type vc_spend_command = typeof vc_spend_command;
2056
+ export type TVcSpendRequest = VcSpend & TXEndpointRequest;
2057
+ export type TVcSpendResponse = {
1976
2058
  transactions: TransactionRecordConvenience[];
2059
+ unsigned_transactions: UnsignedTransaction[] | str[];
2060
+ signing_responses?: str[];
1977
2061
  };
1978
- export declare type WsVcSpendMessage = GetMessageType<chia_wallet_service, vc_spend_command, TVcSpendResponse>;
2062
+ export type WsVcSpendMessage = GetMessageType<chia_wallet_service, vc_spend_command, TVcSpendResponse>;
1979
2063
  export declare function vc_spend<T extends TRPCAgent | TDaemon>(agent: T, data: TVcSpendRequest): Promise<ResType<T, TVcSpendResponse, WsVcSpendMessage>>;
1980
2064
  export declare const vc_add_proofs_command = "vc_add_proofs";
1981
- export declare type vc_add_proofs_command = typeof vc_add_proofs_command;
1982
- export declare type TVcAddProofsRequest = {
2065
+ export type vc_add_proofs_command = typeof vc_add_proofs_command;
2066
+ export type TVcAddProofsRequest = {
1983
2067
  proofs: {
1984
2068
  key_value_pairs: Record<str, str>;
1985
2069
  };
1986
2070
  };
1987
- export declare type TVcAddProofsResponse = Record<string, never>;
1988
- export declare type WsVcAddProofsMessage = GetMessageType<chia_wallet_service, vc_add_proofs_command, TVcAddProofsResponse>;
2071
+ export type TVcAddProofsResponse = Record<string, never>;
2072
+ export type WsVcAddProofsMessage = GetMessageType<chia_wallet_service, vc_add_proofs_command, TVcAddProofsResponse>;
1989
2073
  export declare function vc_add_proofs<T extends TRPCAgent | TDaemon>(agent: T, data: TVcAddProofsRequest): Promise<ResType<T, TVcAddProofsResponse, WsVcAddProofsMessage>>;
1990
- export declare type VCGetProofsForRoot = {
2074
+ export type VCGetProofsForRoot = {
1991
2075
  root: bytes32;
1992
2076
  };
1993
2077
  export declare const vc_get_proofs_for_root_command = "vc_get_proofs_for_root";
1994
- export declare type vc_get_proofs_for_root_command = typeof vc_get_proofs_for_root_command;
1995
- export declare type TVcGetProofsForRootRequest = VCGetProofsForRoot;
1996
- export declare type TVcGetProofsForRootResponse = {
2078
+ export type vc_get_proofs_for_root_command = typeof vc_get_proofs_for_root_command;
2079
+ export type TVcGetProofsForRootRequest = VCGetProofsForRoot;
2080
+ export type TVcGetProofsForRootResponse = {
1997
2081
  proofs: Record<str, str>;
1998
2082
  };
1999
- export declare type WsVcGetProofsForRootMessage = GetMessageType<chia_wallet_service, vc_get_proofs_for_root_command, TVcGetProofsForRootResponse>;
2083
+ export type WsVcGetProofsForRootMessage = GetMessageType<chia_wallet_service, vc_get_proofs_for_root_command, TVcGetProofsForRootResponse>;
2000
2084
  export declare function vc_get_proofs_for_root<T extends TRPCAgent | TDaemon>(agent: T, data: TVcGetProofsForRootRequest): Promise<ResType<T, TVcGetProofsForRootResponse, WsVcGetProofsForRootMessage>>;
2001
- export declare type VcRevoke = {
2085
+ export type VcRevoke = {
2002
2086
  vc_parent_id: bytes32;
2003
2087
  fee: uint64;
2004
2088
  };
2005
2089
  export declare const vc_revoke_command = "vc_revoke";
2006
- export declare type vc_revoke_command = typeof vc_revoke_command;
2007
- export declare type TVcRevokeRequest = VcRevoke & TxEndpoint;
2008
- export declare type TVcRevokeResponse = {
2090
+ export type vc_revoke_command = typeof vc_revoke_command;
2091
+ export type TVcRevokeRequest = VcRevoke & TXEndpointRequest;
2092
+ export type TVcRevokeResponse = {
2009
2093
  transactions: TransactionRecordConvenience[];
2094
+ unsigned_transactions: UnsignedTransaction[] | str[];
2095
+ signing_responses?: str[];
2010
2096
  };
2011
- export declare type WsVcRevokeMessage = GetMessageType<chia_wallet_service, vc_revoke_command, TVcRevokeResponse>;
2097
+ export type WsVcRevokeMessage = GetMessageType<chia_wallet_service, vc_revoke_command, TVcRevokeResponse>;
2012
2098
  export declare function vc_revoke<T extends TRPCAgent | TDaemon>(agent: T, data: TVcRevokeRequest): Promise<ResType<T, TVcRevokeResponse, WsVcRevokeMessage>>;
2013
- export declare type CrcatApprovePending = {
2099
+ export type CrcatApprovePending = {
2014
2100
  wallet_id: uint32;
2015
2101
  min_amount_to_claim: uint64;
2016
2102
  fee: uint64;
2017
2103
  };
2018
2104
  export declare const crcat_approve_pending_command = "crcat_approve_pending";
2019
- export declare type crcat_approve_pending_command = typeof crcat_approve_pending_command;
2020
- export declare type TCrcatApprovePendingRequest = CrcatApprovePending & TxEndpoint;
2021
- export declare type TCrcatApprovePendingResponse = {
2105
+ export type crcat_approve_pending_command = typeof crcat_approve_pending_command;
2106
+ export type TCrcatApprovePendingRequest = CrcatApprovePending & TXEndpointRequest;
2107
+ export type TCrcatApprovePendingResponse = {
2022
2108
  transactions: TransactionRecordConvenience[];
2109
+ unsigned_transactions: UnsignedTransaction[] | str[];
2110
+ signing_responses?: str[];
2023
2111
  };
2024
- export declare type WsCrcatApprovePendingMessage = GetMessageType<chia_wallet_service, crcat_approve_pending_command, TCrcatApprovePendingResponse>;
2112
+ export type WsCrcatApprovePendingMessage = GetMessageType<chia_wallet_service, crcat_approve_pending_command, TCrcatApprovePendingResponse>;
2025
2113
  export declare function crcat_approve_pending<T extends TRPCAgent | TDaemon>(agent: T, data: TCrcatApprovePendingRequest): Promise<ResType<T, TCrcatApprovePendingResponse, WsCrcatApprovePendingMessage>>;
2026
- export declare type RpcWalletMessage = TAddKeyResponse | TAddRateLimitedFundsResponse | TCancelOfferResponse | TCancelOffersResponse | TCatGetAssetIdResponse | TCatGetNameResponse | TGetStrayCatsResponse | TCatAssetIdToNameResponse | TCatSetNameResponse | TCatSpendResponse | TCheckOfferValidityResponse | TCreateNewWalletResponse | TCreateOfferForIdsResponse | TCreateSignedTransactionResponse | TDeleteUnconfirmedTransactionsResponse | TSelectCoinsResponse | TGetSpendableCoinsResponse | TGetCoinRecordsByNamesResponse | TGetCurrentDerivationIndexResponse | TExtendDerivationIndexResponse | TGetNotificationsResponse | TDeleteNotificationsResponse | TSendNotificationResponse | TSignMessageByAddressResponse | TSignMessageByIdResponse | TVerifySignatureResponse | TGetTransactionMemoResponse | TNftCalculateRoyaltiesResponse | TNftMintBulkResponse | TNftSetDidBulkResponse | TNftTransferBulkResponse | TDeleteAllKeysResponse | TSetWalletResyncOnStartupResponse | TDeleteKeyResponse | TCheckDeleteKeyResponse | TDidSetWalletNameResponse | TDidGetWalletNameResponse | TDidCreateAttestResponse | TDidCreateBackupFileResponse | TDidTransferDidResponse | TDidMessageSpendResponse | TDidGetInfoResponse | TDidFindLostDidResponse | TDidGetDidResponse | TDidGetInformationNeededForRecoveryResponse | TDidGetCurrentCoinInfoResponse | TDidGetPubkeyResponse | TDidGetRecoveryListResponse | TDidGetMetadataResponse | TDidRecoverySpendResponse | TDidSpendResponse | TDidUpdateRecoveryIdsResponse | TDidUpdateMetadataResponse | TDaoAdjustFilterLevelResponse | TDaoAddFundsToTreasuryResponse | TDaoGetTreasuryBalanceResponse | TDaoGetTreasuryIdResponse | TDaoGetRulesResponse | TDaoSendToLockupResponse | TDaoGetProposalsResponse | TDaoGetProposalStateResponse | TDaoExitLockupResponse | TDaoCreateProposalResponse | TDaoVoteOnProposalResponse | TDaoParseProposalResponse | TDaoCloseProposalResponse | TDaoFreeCoinsFromFinishedProposalsResponse | TNftMintNftResponse | TNftCountNftsResponse | TNftGetNftsResponse | TNftSetNftDidResponse | TNftGetByDidResponse | TNftGetWalletDidResponse | TNftGetWalletsWithDidsResponse | TNftSetNftStatusResponse | TNftTransferNftResponse | TNftGetInfoResponse | TNftAddUriResponse | TFarmBlockResponse | TGetTimestampForHeightResponse | TSetAutoClaimResponse | TGetAutoClaimResponse | TGenerateMnemonicResponse | TGetAllOffersResponse | TGetCatListResponse | TGetFarmedAmountResponse | TGetHeightInfoResponse | TGetInitialFreezePeriodResponseOfWallet | TGetLoggedInFingerprintResponse | TGetOfferResponse | TGetOffersCountResponse | TGetOfferSummaryResponse | TGetNetworkInfoResponseOfWallet | TGetNextAddressResponse | TGetPrivateKeyResponse | TGetPublicKeysResponse | TGetSyncStatusResponse | TGetTransactionResponse | TGetTransactionCountResponse | TGetTransactionsResponse | TGetWalletBalanceResponse | TGetWalletBalancesResponse | TGetWalletsResponse | TLoginResponse | TPushTxResponseOfWallet | TPushTransactionsResponse | TPwJoinPoolResponse | TPwSelfPoolResponse | TPwAbsorbRewardsResponse | TPwStatusResponse | TRlSetUserInfoResponse | TSendClawbackTransactionResponse | TSendTransactionResponse | TSendTransactionMultiResponse | TSpendClawbackCoinsResponse | TGetCoinRecordsResponse | TTakeOfferResponse | TCreateNewDlResponse | TDlTrackNewResponse | TDlStopTrackingResponse | TDlLatestSingletonResponse | TDlSingletonsByRootResponse | TDlUpdateRootResponse | TDlUpdateMultipleResponse | TDlHistoryResponse | TDlOwnedSingletonsResponse | TDlGetMirrorsResponse | TDlNewMirrorResponse | TDlDeleteMirrorResponse | TDlVerifyProofResponse | TVcMintResponse | TVcGetResponse | TVcGetListResponse | TVcSpendResponse | TVcAddProofsResponse | TVcGetProofsForRootResponse | TVcRevokeResponse | TCrcatApprovePendingResponse;
2027
- export declare type RpcWalletMessageOnWs = WsAddKeyMessage | WsAddRateLimitedFundsMessage | WsCancelOfferMessage | WsCancelOffersMessage | WsCatGetAssetIdMessage | WsCatGetNameMessage | WsGetStrayCatsMessage | WsCatAssetIdToNameMessage | WsCatSetNameMessage | WsCatSpendMessage | WsCheckOfferValidityMessage | WsCreateNewWalletMessage | WsCreateOfferForIdsMessage | WsCreateSignedTransactionMessage | WsDeleteUnconfirmedTransactionsMessage | WsSelectCoinsMessage | WsGetSpendableCoinsMessage | WsGetCoinRecordsByNamesMessage | WsGetCurrentDerivationIndexMessage | WsExtendDerivationIndexMessage | WsGetNotificationsMessage | WsDeleteNotificationsMessage | WsSendNotificationMessage | WsSignMessageByAddressMessage | WsSignMessageByIdMessage | WsVerifySignatureMessage | WsGetTransactionMemoMessage | WsNftCalculateRoyaltiesMessage | WsNftMintBulkMessage | WsNftSetDidBulkMessage | WsNftTransferBulkMessage | WsDeleteAllKeysMessage | WsSetWalletResyncOnStartupMessage | WsDeleteKeyMessage | WsCheckDeleteKeyMessage | WsDidSetWalletNameMessage | WsDidGetWalletNameMessage | WsDidCreateAttestMessage | WsDidCreateBackupFileMessage | WsDidTransferDidMessage | WsDidMessageSpendMessage | WsDidGetInfoMessage | WsDidFindLostDidMessage | WsDidGetDidMessage | WsDidGetInformationNeededForRecoveryMessage | WsDidGetCurrentCoinInfoMessage | WsDidGetPubkeyMessage | WsDidGetRecoveryListMessage | WsDidGetMetadataMessage | WsDidRecoverySpendMessage | WsDidSpendMessage | WsDidUpdateRecoveryIdsMessage | WsDidUpdateMetadataMessage | WsDaoAdjustFilterLevelMessage | WsDaoAddFundsToTreasuryMessage | WsDaoGetTreasuryBalanceMessage | WsDaoGetTreasuryIdMessage | WsDaoGetRulesMessage | WsDaoSendToLockupMessage | WsDaoGetProposalsMessage | WsDaoGetProposalStateMessage | WsDaoExitLockupMessage | WsDaoCreateProposalMessage | WsDaoVoteOnProposalMessage | WsDaoParseProposalMessage | WsDaoCloseProposalMessage | WsDaoFreeCoinsFromFinishedProposalsMessage | WsNftMintNftMessage | WsNftCountNftsMessage | WsNftGetNftsMessage | WsNftSetNftDidMessage | WsNftGetByDidMessage | WsNftGetWalletDidMessage | WsNftGetWalletsWithDidsMessage | WsNftSetNftStatusMessage | WsNftTransferNftMessage | WsNftGetInfoMessage | WsNftAddUriMessage | WsFarmBlockMessage | WsGetTimestampForHeightMessage | WsSetAutoClaimMessage | WsGetAutoClaimMessage | WsGenerateMnemonicMessage | WsGetAllOffersMessage | WsGetCatListMessage | WsGetFarmedAmountMessage | WsGetHeightInfoMessage | WsGetInitialFreezePeriodMessageOfWallet | WsGetLoggedInFingerprintMessage | WsGetOfferMessage | WsGetOffersCountMessage | WsGetOfferSummaryMessage | WsGetNetworkInfoMessageOfWallet | WsGetNextAddressMessage | WsGetPrivateKeyMessage | WsGetPublicKeysMessage | WsGetSyncStatusMessage | WsGetTransactionMessage | WsGetTransactionCountMessage | WsGetTransactionsMessage | WsGetWalletBalanceMessage | WsGetWalletBalancesMessage | WsGetWalletsMessage | WsLoginMessage | WsPushTxMessageOfWallet | WsPushTransactionsMessage | WsPwJoinPoolMessage | WsPwSelfPoolMessage | WsPwAbsorbRewardsMessage | WsPwStatusMessage | WsRlSetUserInfoMessage | WsSendClawbackTransactionMessage | WsSendTransactionMessage | WsSendTransactionMultiMessage | WsSpendClawbackCoinsMessage | WsGetCoinRecordsMessage | WsTakeOfferMessage | WsCreateNewDlMessage | WsDlTrackNewMessage | WsDlStopTrackingMessage | WsDlLatestSingletonMessage | WsDlSingletonsByRootMessage | WsDlUpdateRootMessage | WsDlUpdateMultipleMessage | WsDlHistoryMessage | WsDlOwnedSingletonsMessage | WsDlGetMirrorsMessage | WsDlNewMirrorMessage | WsDlDeleteMirrorMessage | WsDlVerifyProofMessage | WsVcMintMessage | WsVcGetMessage | WsVcGetListMessage | WsVcSpendMessage | WsVcAddProofsMessage | WsVcGetProofsForRootMessage | WsVcRevokeMessage | WsCrcatApprovePendingMessage;
2114
+ export declare const gather_signing_info_command = "gather_signing_info";
2115
+ export type gather_signing_info_command = typeof gather_signing_info_command;
2116
+ export type TGatherSigningInfoRequest = GatherSigningInfo | GatherSigningInfoCHIP0029;
2117
+ export type TGatherSigningInfoResponse = GatherSigningInfoResponse | GatherSigningInfoResponseCHIP0029;
2118
+ export type WsGatherSigningInfoMessage = GetMessageType<chia_wallet_service, gather_signing_info_command, TGatherSigningInfoResponse>;
2119
+ export declare function gather_signing_info<T extends TRPCAgent | TDaemon, D extends TGatherSigningInfoRequest>(agent: T, data: D): Promise<ResType<T, D extends GatherSigningInfoCHIP0029 ? GatherSigningInfoResponseCHIP0029 : GatherSigningInfoResponse, GetMessageType<"chia_wallet", "gather_signing_info", D extends GatherSigningInfoCHIP0029 ? GatherSigningInfoResponseCHIP0029 : GatherSigningInfoResponse>>>;
2120
+ export declare const apply_signatures_command = "apply_signatures";
2121
+ export type apply_signatures_command = typeof apply_signatures_command;
2122
+ export type TApplySignaturesRequest = ApplySignatures | ApplySignaturesCHIP0029;
2123
+ export type TApplySignaturesResponse = ApplySignaturesResponse | ApplySignaturesResponseCHIP0029;
2124
+ export type WsApplySignaturesMessage = GetMessageType<chia_wallet_service, apply_signatures_command, TApplySignaturesResponse>;
2125
+ export declare function apply_signatures<T extends TRPCAgent | TDaemon, D extends TApplySignaturesRequest>(agent: T, data: D): Promise<ResType<T, D extends ApplySignaturesCHIP0029 ? ApplySignaturesResponseCHIP0029 : ApplySignaturesResponse, GetMessageType<"chia_wallet", "apply_signatures", D extends ApplySignaturesCHIP0029 ? ApplySignaturesResponseCHIP0029 : ApplySignaturesResponse>>>;
2126
+ export declare const submit_transactions_command = "submit_transactions";
2127
+ export type submit_transactions_command = typeof submit_transactions_command;
2128
+ export type TSubmitTransactionsRequest = SubmitTransactions | SubmitTransactionsCHIP0029;
2129
+ export type TSubmitTransactionsResponse = SubmitTransactionsResponse | SubmitTransactionsResponseCHIP0029;
2130
+ export type WsSubmitTransactionsMessage = GetMessageType<chia_wallet_service, submit_transactions_command, TSubmitTransactionsResponse>;
2131
+ export declare function submit_transactions<T extends TRPCAgent | TDaemon, D extends TSubmitTransactionsRequest>(agent: T, data: D): Promise<ResType<T, D extends SubmitTransactionsCHIP0029 ? SubmitTransactionsResponseCHIP0029 : SubmitTransactionsResponse, GetMessageType<"chia_wallet", "submit_transactions", D extends SubmitTransactionsCHIP0029 ? SubmitTransactionsResponseCHIP0029 : SubmitTransactionsResponse>>>;
2132
+ export type RpcWalletMessage = TAddKeyResponse | TAddRateLimitedFundsResponse | TCancelOfferResponse | TCancelOffersResponse | TCatGetAssetIdResponse | TCatGetNameResponse | TGetStrayCatsResponse | TCatAssetIdToNameResponse | TCatSetNameResponse | TCatSpendResponse | TCheckOfferValidityResponse | TCreateNewWalletResponse | TCreateOfferForIdsResponse | TCreateSignedTransactionResponse | TDeleteUnconfirmedTransactionsResponse | TSelectCoinsResponse | TGetSpendableCoinsResponse | TGetCoinRecordsByNamesResponse | TGetCurrentDerivationIndexResponse | TExtendDerivationIndexResponse | TGetNotificationsResponse | TDeleteNotificationsResponse | TSendNotificationResponse | TSignMessageByAddressResponse | TSignMessageByIdResponse | TVerifySignatureResponse | TGetTransactionMemoResponse | TNftCalculateRoyaltiesResponse | TNftMintBulkResponse | TNftSetDidBulkResponse | TNftTransferBulkResponse | TDeleteAllKeysResponse | TSetWalletResyncOnStartupResponse | TDeleteKeyResponse | TCheckDeleteKeyResponse | TDidSetWalletNameResponse | TDidGetWalletNameResponse | TDidCreateAttestResponse | TDidCreateBackupFileResponse | TDidTransferDidResponse | TDidMessageSpendResponse | TDidGetInfoResponse | TDidFindLostDidResponse | TDidGetDidResponse | TDidGetInformationNeededForRecoveryResponse | TDidGetCurrentCoinInfoResponse | TDidGetPubkeyResponse | TDidGetRecoveryListResponse | TDidGetMetadataResponse | TDidRecoverySpendResponse | TDidSpendResponse | TDidUpdateRecoveryIdsResponse | TDidUpdateMetadataResponse | TDaoAdjustFilterLevelResponse | TDaoAddFundsToTreasuryResponse | TDaoGetTreasuryBalanceResponse | TDaoGetTreasuryIdResponse | TDaoGetRulesResponse | TDaoSendToLockupResponse | TDaoGetProposalsResponse | TDaoGetProposalStateResponse | TDaoExitLockupResponse | TDaoCreateProposalResponse | TDaoVoteOnProposalResponse | TDaoParseProposalResponse | TDaoCloseProposalResponse | TDaoFreeCoinsFromFinishedProposalsResponse | TNftMintNftResponse | TNftCountNftsResponse | TNftGetNftsResponse | TNftSetNftDidResponse | TNftGetByDidResponse | TNftGetWalletDidResponse | TNftGetWalletsWithDidsResponse | TNftSetNftStatusResponse | TNftTransferNftResponse | TNftGetInfoResponse | TNftAddUriResponse | TGetTimestampForHeightResponse | TSetAutoClaimResponse | TGetAutoClaimResponse | TGenerateMnemonicResponse | TGetAllOffersResponse | TGetCatListResponse | TGetFarmedAmountResponse | TGetHeightInfoResponse | TGetInitialFreezePeriodResponseOfWallet | TGetLoggedInFingerprintResponse | TGetOfferResponse | TGetOffersCountResponse | TGetOfferSummaryResponse | TGetNextAddressResponse | TGetPrivateKeyResponse | TGetPublicKeysResponse | TGetSyncStatusResponse | TGetTransactionResponse | TGetTransactionCountResponse | TGetTransactionsResponse | TGetWalletBalanceResponse | TGetWalletBalancesResponse | TGetWalletsResponse | TLoginResponse | TPushTxResponseOfWallet | TPushTransactionsResponse | TPwJoinPoolResponse | TPwSelfPoolResponse | TPwAbsorbRewardsResponse | TPwStatusResponse | TRlSetUserInfoResponse | TSendClawbackTransactionResponse | TSendTransactionResponse | TSendTransactionMultiResponse | TSpendClawbackCoinsResponse | TGetCoinRecordsResponse | TTakeOfferResponse | TCreateNewDlResponse | TDlTrackNewResponse | TDlStopTrackingResponse | TDlLatestSingletonResponse | TDlSingletonsByRootResponse | TDlUpdateRootResponse | TDlUpdateMultipleResponse | TDlHistoryResponse | TDlOwnedSingletonsResponse | TDlGetMirrorsResponse | TDlNewMirrorResponse | TDlDeleteMirrorResponse | TDlVerifyProofResponse | TVcMintResponse | TVcGetResponse | TVcGetListResponse | TVcSpendResponse | TVcAddProofsResponse | TVcGetProofsForRootResponse | TVcRevokeResponse | TCrcatApprovePendingResponse | TGatherSigningInfoResponse | TApplySignaturesResponse | TSubmitTransactionsResponse;
2133
+ export type RpcWalletMessageOnWs = WsAddKeyMessage | WsAddRateLimitedFundsMessage | WsCancelOfferMessage | WsCancelOffersMessage | WsCatGetAssetIdMessage | WsCatGetNameMessage | WsGetStrayCatsMessage | WsCatAssetIdToNameMessage | WsCatSetNameMessage | WsCatSpendMessage | WsCheckOfferValidityMessage | WsCreateNewWalletMessage | WsCreateOfferForIdsMessage | WsCreateSignedTransactionMessage | WsDeleteUnconfirmedTransactionsMessage | WsSelectCoinsMessage | WsGetSpendableCoinsMessage | WsGetCoinRecordsByNamesMessage | WsGetCurrentDerivationIndexMessage | WsExtendDerivationIndexMessage | WsGetNotificationsMessage | WsDeleteNotificationsMessage | WsSendNotificationMessage | WsSignMessageByAddressMessage | WsSignMessageByIdMessage | WsVerifySignatureMessage | WsGetTransactionMemoMessage | WsNftCalculateRoyaltiesMessage | WsNftMintBulkMessage | WsNftSetDidBulkMessage | WsNftTransferBulkMessage | WsDeleteAllKeysMessage | WsSetWalletResyncOnStartupMessage | WsDeleteKeyMessage | WsCheckDeleteKeyMessage | WsDidSetWalletNameMessage | WsDidGetWalletNameMessage | WsDidCreateAttestMessage | WsDidCreateBackupFileMessage | WsDidTransferDidMessage | WsDidMessageSpendMessage | WsDidGetInfoMessage | WsDidFindLostDidMessage | WsDidGetDidMessage | WsDidGetInformationNeededForRecoveryMessage | WsDidGetCurrentCoinInfoMessage | WsDidGetPubkeyMessage | WsDidGetRecoveryListMessage | WsDidGetMetadataMessage | WsDidRecoverySpendMessage | WsDidSpendMessage | WsDidUpdateRecoveryIdsMessage | WsDidUpdateMetadataMessage | WsDaoAdjustFilterLevelMessage | WsDaoAddFundsToTreasuryMessage | WsDaoGetTreasuryBalanceMessage | WsDaoGetTreasuryIdMessage | WsDaoGetRulesMessage | WsDaoSendToLockupMessage | WsDaoGetProposalsMessage | WsDaoGetProposalStateMessage | WsDaoExitLockupMessage | WsDaoCreateProposalMessage | WsDaoVoteOnProposalMessage | WsDaoParseProposalMessage | WsDaoCloseProposalMessage | WsDaoFreeCoinsFromFinishedProposalsMessage | WsNftMintNftMessage | WsNftCountNftsMessage | WsNftGetNftsMessage | WsNftSetNftDidMessage | WsNftGetByDidMessage | WsNftGetWalletDidMessage | WsNftGetWalletsWithDidsMessage | WsNftSetNftStatusMessage | WsNftTransferNftMessage | WsNftGetInfoMessage | WsNftAddUriMessage | WsGetTimestampForHeightMessage | WsSetAutoClaimMessage | WsGetAutoClaimMessage | WsGenerateMnemonicMessage | WsGetAllOffersMessage | WsGetCatListMessage | WsGetFarmedAmountMessage | WsGetHeightInfoMessage | WsGetInitialFreezePeriodMessageOfWallet | WsGetLoggedInFingerprintMessage | WsGetOfferMessage | WsGetOffersCountMessage | WsGetOfferSummaryMessage | WsGetNextAddressMessage | WsGetPrivateKeyMessage | WsGetPublicKeysMessage | WsGetSyncStatusMessage | WsGetTransactionMessage | WsGetTransactionCountMessage | WsGetTransactionsMessage | WsGetWalletBalanceMessage | WsGetWalletBalancesMessage | WsGetWalletsMessage | WsLoginMessage | WsPushTxMessageOfWallet | WsPushTransactionsMessage | WsPwJoinPoolMessage | WsPwSelfPoolMessage | WsPwAbsorbRewardsMessage | WsPwStatusMessage | WsRlSetUserInfoMessage | WsSendClawbackTransactionMessage | WsSendTransactionMessage | WsSendTransactionMultiMessage | WsSpendClawbackCoinsMessage | WsGetCoinRecordsMessage | WsTakeOfferMessage | WsCreateNewDlMessage | WsDlTrackNewMessage | WsDlStopTrackingMessage | WsDlLatestSingletonMessage | WsDlSingletonsByRootMessage | WsDlUpdateRootMessage | WsDlUpdateMultipleMessage | WsDlHistoryMessage | WsDlOwnedSingletonsMessage | WsDlGetMirrorsMessage | WsDlNewMirrorMessage | WsDlDeleteMirrorMessage | WsDlVerifyProofMessage | WsVcMintMessage | WsVcGetMessage | WsVcGetListMessage | WsVcSpendMessage | WsVcAddProofsMessage | WsVcGetProofsForRootMessage | WsVcRevokeMessage | WsCrcatApprovePendingMessage | WsGatherSigningInfoMessage | WsApplySignaturesMessage | WsSubmitTransactionsMessage;