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