chia-agent 13.2.0 → 14.0.0-beta.1

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.
@@ -44,7 +44,7 @@ export declare type TGetBlockchainStateResponse = {
44
44
  };
45
45
  };
46
46
  export declare type WsGetBlockchainStateMessage = GetMessageType<chia_full_node_service, get_blockchain_state_command, TGetBlockchainStateResponse>;
47
- export declare function get_blockchain_state<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetBlockchainStateResponse, WsGetBlockchainStateMessage>>;
47
+ export declare function get_blockchain_state<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetBlockchainStateResponse, WsGetBlockchainStateMessage>>;
48
48
  export declare const get_block_command = "get_block";
49
49
  export declare type get_block_command = typeof get_block_command;
50
50
  export declare type TGetBlockRequest = {
@@ -54,7 +54,7 @@ export declare type TGetBlockResponse = {
54
54
  block: FullBlock;
55
55
  };
56
56
  export declare type WsGetBlockMessage = GetMessageType<chia_full_node_service, get_block_command, TGetBlockResponse>;
57
- export declare function get_block<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlockRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetBlockResponse, WsGetBlockMessage>>;
57
+ export declare function get_block<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlockRequest): Promise<ResType<T, TGetBlockResponse, WsGetBlockMessage>>;
58
58
  export declare const get_blocks_command = "get_blocks";
59
59
  export declare type get_blocks_command = typeof get_blocks_command;
60
60
  export declare type TGetBlocksRequest = {
@@ -69,7 +69,7 @@ export declare type TGetBlocksResponse = {
69
69
  }>;
70
70
  };
71
71
  export declare type WsGetBlocksMessage = GetMessageType<chia_full_node_service, get_blocks_command, TGetBlocksResponse>;
72
- export declare function get_blocks<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlocksRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetBlocksResponse, WsGetBlocksMessage>>;
72
+ export declare function get_blocks<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlocksRequest): Promise<ResType<T, TGetBlocksResponse, WsGetBlocksMessage>>;
73
73
  export declare const get_block_count_metrics_command = "get_block_count_metrics";
74
74
  export declare type get_block_count_metrics_command = typeof get_block_count_metrics_command;
75
75
  export declare type TGetBlockCountMetricsResponse = {
@@ -80,7 +80,7 @@ export declare type TGetBlockCountMetricsResponse = {
80
80
  };
81
81
  };
82
82
  export declare type WsGetBlockCountMetricsMessage = GetMessageType<chia_full_node_service, get_block_count_metrics_command, TGetBlockCountMetricsResponse>;
83
- export declare function get_block_count_metrics<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetBlockCountMetricsResponse, WsGetBlockCountMetricsMessage>>;
83
+ export declare function get_block_count_metrics<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetBlockCountMetricsResponse, WsGetBlockCountMetricsMessage>>;
84
84
  export declare const get_block_record_by_height_command = "get_block_record_by_height";
85
85
  export declare type get_block_record_by_height_command = typeof get_block_record_by_height_command;
86
86
  export declare type TGetBlockRecordByHeightRequest = {
@@ -90,7 +90,7 @@ export declare type TGetBlockRecordByHeightResponse = {
90
90
  block_record: Optional<BlockRecord>;
91
91
  };
92
92
  export declare type WsGetBlockRecordByHeightMessage = GetMessageType<chia_full_node_service, get_block_record_by_height_command, TGetBlockRecordByHeightResponse>;
93
- export declare function get_block_record_by_height<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlockRecordByHeightRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetBlockRecordByHeightResponse, WsGetBlockRecordByHeightMessage>>;
93
+ export declare function get_block_record_by_height<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlockRecordByHeightRequest): Promise<ResType<T, TGetBlockRecordByHeightResponse, WsGetBlockRecordByHeightMessage>>;
94
94
  export declare const get_block_record_command = "get_block_record";
95
95
  export declare type get_block_record_command = typeof get_block_record_command;
96
96
  export declare type TGetBlockRecordRequest = {
@@ -100,7 +100,7 @@ export declare type TGetBlockRecordResponse = {
100
100
  block_record: BlockRecord;
101
101
  };
102
102
  export declare type WsGetBlockRecordMessage = GetMessageType<chia_full_node_service, get_block_record_command, TGetBlockRecordResponse>;
103
- export declare function get_block_record<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlockRecordRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetBlockRecordResponse, WsGetBlockRecordMessage>>;
103
+ export declare function get_block_record<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlockRecordRequest): Promise<ResType<T, TGetBlockRecordResponse, WsGetBlockRecordMessage>>;
104
104
  export declare const get_block_records_command = "get_block_records";
105
105
  export declare type get_block_records_command = typeof get_block_records_command;
106
106
  export declare type TGetBlockRecordsRequest = {
@@ -111,7 +111,7 @@ export declare type TGetBlockRecordsResponse = {
111
111
  block_records: BlockRecord[];
112
112
  };
113
113
  export declare type WsGetBlockRecordsMessage = GetMessageType<chia_full_node_service, get_block_records_command, TGetBlockRecordsResponse>;
114
- export declare function get_block_records<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlockRecordsRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetBlockRecordsResponse, WsGetBlockRecordsMessage>>;
114
+ export declare function get_block_records<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlockRecordsRequest): Promise<ResType<T, TGetBlockRecordsResponse, WsGetBlockRecordsMessage>>;
115
115
  export declare const get_block_spends_command = "get_block_spends";
116
116
  export declare type get_block_spends_command = typeof get_block_spends_command;
117
117
  export declare type TGetBlockSpendsRequest = {
@@ -121,7 +121,7 @@ export declare type TGetBlockSpendsResponse = {
121
121
  block_spends: CoinSpend[];
122
122
  };
123
123
  export declare type WsGetBlockSpendsMessage = GetMessageType<chia_full_node_service, get_block_spends_command, TGetBlockSpendsResponse>;
124
- export declare function get_block_spends<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlockSpendsRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetBlockSpendsResponse, WsGetBlockSpendsMessage>>;
124
+ export declare function get_block_spends<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlockSpendsRequest): Promise<ResType<T, TGetBlockSpendsResponse, WsGetBlockSpendsMessage>>;
125
125
  export declare const get_block_spends_with_conditions_command = "get_block_spends_with_conditions";
126
126
  export declare type get_block_spends_with_conditions_command = typeof get_block_spends_with_conditions_command;
127
127
  export declare type TGetBlockSpendsWithConditionsRequest = {
@@ -131,7 +131,7 @@ export declare type TGetBlockSpendsWithConditionsResponse = {
131
131
  block_spends_with_conditions: CoinSpendWithConditions[];
132
132
  };
133
133
  export declare type WsGetBlockSpendsWithConditionsMessage = GetMessageType<chia_full_node_service, get_block_spends_with_conditions_command, TGetBlockSpendsWithConditionsResponse>;
134
- export declare function get_block_spends_with_conditions<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlockSpendsWithConditionsRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetBlockSpendsWithConditionsResponse, WsGetBlockSpendsWithConditionsMessage>>;
134
+ export declare function get_block_spends_with_conditions<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlockSpendsWithConditionsRequest): Promise<ResType<T, TGetBlockSpendsWithConditionsResponse, WsGetBlockSpendsWithConditionsMessage>>;
135
135
  export declare const get_unfinished_block_headers_command = "get_unfinished_block_headers";
136
136
  export declare type get_unfinished_block_headers_command = typeof get_unfinished_block_headers_command;
137
137
  export declare type TGetUnfinishedBlockHeadersRequest = {};
@@ -139,7 +139,7 @@ export declare type TGetUnfinishedBlockHeadersResponse = {
139
139
  headers: UnfinishedHeaderBlock[];
140
140
  };
141
141
  export declare type WsGetUnfinishedBlockHeadersMessage = GetMessageType<chia_full_node_service, get_unfinished_block_headers_command, TGetUnfinishedBlockHeadersResponse>;
142
- export declare function get_unfinished_block_headers<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetUnfinishedBlockHeadersResponse, WsGetUnfinishedBlockHeadersMessage>>;
142
+ export declare function get_unfinished_block_headers<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetUnfinishedBlockHeadersResponse, WsGetUnfinishedBlockHeadersMessage>>;
143
143
  export declare const get_network_space_command = "get_network_space";
144
144
  export declare type get_network_space_command = typeof get_network_space_command;
145
145
  export declare type TGetNetworkSpaceRequest = {
@@ -150,7 +150,7 @@ export declare type TGetNetworkSpaceResponse = {
150
150
  space: uint128;
151
151
  };
152
152
  export declare type WsGetNetworkSpaceMessage = GetMessageType<chia_full_node_service, get_network_space_command, TGetNetworkSpaceResponse>;
153
- export declare function get_network_space<T extends TRPCAgent | TDaemon>(agent: T, data: TGetNetworkSpaceRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetNetworkSpaceResponse, WsGetNetworkSpaceMessage>>;
153
+ export declare function get_network_space<T extends TRPCAgent | TDaemon>(agent: T, data: TGetNetworkSpaceRequest): Promise<ResType<T, TGetNetworkSpaceResponse, WsGetNetworkSpaceMessage>>;
154
154
  export declare const get_additions_and_removals_command = "get_additions_and_removals";
155
155
  export declare type get_additions_and_removals_command = typeof get_additions_and_removals_command;
156
156
  export declare type TGetAdditionsAndRemovalsRequest = {
@@ -161,7 +161,7 @@ export declare type TGetAdditionsAndRemovalsResponse = {
161
161
  removals: CoinRecordBackwardCompatible[];
162
162
  };
163
163
  export declare type WsGetAdditionsAndRemovalsMessage = GetMessageType<chia_full_node_service, get_additions_and_removals_command, TGetAdditionsAndRemovalsResponse>;
164
- export declare function get_additions_and_removals<T extends TRPCAgent | TDaemon>(agent: T, data: TGetAdditionsAndRemovalsRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetAdditionsAndRemovalsResponse, WsGetAdditionsAndRemovalsMessage>>;
164
+ export declare function get_additions_and_removals<T extends TRPCAgent | TDaemon>(agent: T, data: TGetAdditionsAndRemovalsRequest): Promise<ResType<T, TGetAdditionsAndRemovalsResponse, WsGetAdditionsAndRemovalsMessage>>;
165
165
  export declare const get_initial_freeze_period_command_of_full_node = "get_initial_freeze_period";
166
166
  export declare type get_initial_freeze_period_command_of_full_node = typeof get_initial_freeze_period_command_of_full_node;
167
167
  export declare type TGetInitialFreezePeriodRequestOfFullNode = {};
@@ -169,7 +169,7 @@ export declare type TGetInitialFreezePeriodResponseOfFullNode = {
169
169
  INITIAL_FREEZE_END_TIMESTAMP: uint64;
170
170
  };
171
171
  export declare type WsGetInitialFreezePeriodMessageOfFullNode = GetMessageType<chia_full_node_service, get_initial_freeze_period_command_of_full_node, TGetInitialFreezePeriodResponseOfFullNode>;
172
- export declare function get_initial_freeze_period_of_full_node<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetInitialFreezePeriodResponseOfFullNode, WsGetInitialFreezePeriodMessageOfFullNode>>;
172
+ export declare function get_initial_freeze_period_of_full_node<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetInitialFreezePeriodResponseOfFullNode, WsGetInitialFreezePeriodMessageOfFullNode>>;
173
173
  export declare const get_network_info_command_of_full_node = "get_network_info";
174
174
  export declare type get_network_info_command_of_full_node = typeof get_network_info_command_of_full_node;
175
175
  export declare type TGetNetworkInfoRequestOfFullNode = {};
@@ -178,7 +178,7 @@ export declare type TGetNetworkInfoResponseOfFullNode = {
178
178
  network_prefix: str;
179
179
  };
180
180
  export declare type WsGetNetworkInfoMessageOfFullNode = GetMessageType<chia_full_node_service, get_network_info_command_of_full_node, TGetNetworkInfoResponseOfFullNode>;
181
- export declare function get_network_info_of_full_node<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetNetworkInfoResponseOfFullNode, WsGetNetworkInfoMessageOfFullNode>>;
181
+ export declare function get_network_info_of_full_node<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetNetworkInfoResponseOfFullNode, WsGetNetworkInfoMessageOfFullNode>>;
182
182
  export declare const get_recent_signage_point_or_eos_command = "get_recent_signage_point_or_eos";
183
183
  export declare type get_recent_signage_point_or_eos_command = typeof get_recent_signage_point_or_eos_command;
184
184
  export declare type TGetRecentSignagePointOrEOSCommandRequest = {
@@ -196,7 +196,7 @@ export declare type TGetRecentSignagePointOrEOSCommandResponse = {
196
196
  reverted: bool;
197
197
  };
198
198
  export declare type WsGetRecentSignagePointOrEOSCommandMessage = GetMessageType<chia_full_node_service, get_recent_signage_point_or_eos_command, TGetRecentSignagePointOrEOSCommandResponse>;
199
- export declare function get_recent_signage_point_or_eos<T extends TRPCAgent | TDaemon>(agent: T, data: TGetRecentSignagePointOrEOSCommandRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetRecentSignagePointOrEOSCommandResponse, WsGetRecentSignagePointOrEOSCommandMessage>>;
199
+ export declare function get_recent_signage_point_or_eos<T extends TRPCAgent | TDaemon>(agent: T, data: TGetRecentSignagePointOrEOSCommandRequest): Promise<ResType<T, TGetRecentSignagePointOrEOSCommandResponse, WsGetRecentSignagePointOrEOSCommandMessage>>;
200
200
  export declare const get_coin_records_by_puzzle_hash_command = "get_coin_records_by_puzzle_hash";
201
201
  export declare type get_coin_records_by_puzzle_hash_command = typeof get_coin_records_by_puzzle_hash_command;
202
202
  export declare type TGetCoinRecordsByPuzzleHashRequest = {
@@ -209,7 +209,7 @@ export declare type TGetCoinRecordsByPuzzleHashResponse = {
209
209
  coin_records: CoinRecordBackwardCompatible[];
210
210
  };
211
211
  export declare type WsGetCoinRecordsByPuzzleHashMessage = GetMessageType<chia_full_node_service, get_coin_records_by_puzzle_hash_command, TGetCoinRecordsByPuzzleHashResponse>;
212
- export declare function get_coin_records_by_puzzle_hash<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordsByPuzzleHashRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetCoinRecordsByPuzzleHashResponse, WsGetCoinRecordsByPuzzleHashMessage>>;
212
+ export declare function get_coin_records_by_puzzle_hash<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordsByPuzzleHashRequest): Promise<ResType<T, TGetCoinRecordsByPuzzleHashResponse, WsGetCoinRecordsByPuzzleHashMessage>>;
213
213
  export declare const get_coin_records_by_puzzle_hashes_command = "get_coin_records_by_puzzle_hashes";
214
214
  export declare type get_coin_records_by_puzzle_hashes_command = typeof get_coin_records_by_puzzle_hashes_command;
215
215
  export declare type TGetCoinRecordsByPuzzleHashesRequest = {
@@ -222,7 +222,7 @@ export declare type TGetCoinRecordsByPuzzleHashesResponse = {
222
222
  coin_records: CoinRecordBackwardCompatible[];
223
223
  };
224
224
  export declare type WsGetCoinRecordsByPuzzleHashesMessage = GetMessageType<chia_full_node_service, get_coin_records_by_puzzle_hashes_command, TGetCoinRecordsByPuzzleHashesResponse>;
225
- export declare function get_coin_records_by_puzzle_hashes<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordsByPuzzleHashesRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetCoinRecordsByPuzzleHashesResponse, WsGetCoinRecordsByPuzzleHashesMessage>>;
225
+ export declare function get_coin_records_by_puzzle_hashes<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordsByPuzzleHashesRequest): Promise<ResType<T, TGetCoinRecordsByPuzzleHashesResponse, WsGetCoinRecordsByPuzzleHashesMessage>>;
226
226
  export declare const get_coin_record_by_name_command = "get_coin_record_by_name";
227
227
  export declare type get_coin_record_by_name_command = typeof get_coin_record_by_name_command;
228
228
  export declare type TGetCoinRecordByNameRequest = {
@@ -232,7 +232,7 @@ export declare type TGetCoinRecordByNameResponse = {
232
232
  coin_record: CoinRecordBackwardCompatible;
233
233
  };
234
234
  export declare type WsGetCoinRecordByNameMessage = GetMessageType<chia_full_node_service, get_coin_record_by_name_command, TGetCoinRecordByNameResponse>;
235
- export declare function get_coin_record_by_name<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordByNameRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetCoinRecordByNameResponse, WsGetCoinRecordByNameMessage>>;
235
+ export declare function get_coin_record_by_name<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordByNameRequest): Promise<ResType<T, TGetCoinRecordByNameResponse, WsGetCoinRecordByNameMessage>>;
236
236
  export declare const get_coin_records_by_names_command = "get_coin_records_by_names";
237
237
  export declare type get_coin_records_by_names_command = typeof get_coin_records_by_names_command;
238
238
  export declare type TGetCoinRecordsByNamesRequest = {
@@ -245,7 +245,7 @@ export declare type TGetCoinRecordsByNamesResponse = {
245
245
  coin_records: CoinRecordBackwardCompatible[];
246
246
  };
247
247
  export declare type WsGetCoinRecordsByNamesMessage = GetMessageType<chia_full_node_service, get_coin_records_by_names_command, TGetCoinRecordsByNamesResponse>;
248
- export declare function get_coin_records_by_names<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordsByNamesRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetCoinRecordsByNamesResponse, WsGetCoinRecordsByNamesMessage>>;
248
+ export declare function get_coin_records_by_names<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordsByNamesRequest): Promise<ResType<T, TGetCoinRecordsByNamesResponse, WsGetCoinRecordsByNamesMessage>>;
249
249
  export declare const get_coin_records_by_parent_ids_command = "get_coin_records_by_parent_ids";
250
250
  export declare type get_coin_records_by_parent_ids_command = typeof get_coin_records_by_parent_ids_command;
251
251
  export declare type TGetCoinRecordsByParentIdsRequest = {
@@ -258,7 +258,7 @@ export declare type TGetCoinRecordsByParentIdsResponse = {
258
258
  coin_records: CoinRecordBackwardCompatible[];
259
259
  };
260
260
  export declare type WsGetCoinRecordsByParentIdsMessage = GetMessageType<chia_full_node_service, get_coin_records_by_parent_ids_command, TGetCoinRecordsByParentIdsResponse>;
261
- export declare function get_coin_records_by_parent_ids<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordsByParentIdsRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetCoinRecordsByParentIdsResponse, WsGetCoinRecordsByParentIdsMessage>>;
261
+ export declare function get_coin_records_by_parent_ids<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordsByParentIdsRequest): Promise<ResType<T, TGetCoinRecordsByParentIdsResponse, WsGetCoinRecordsByParentIdsMessage>>;
262
262
  export declare const get_coin_records_by_hint_command = "get_coin_records_by_hint";
263
263
  export declare type get_coin_records_by_hint_command = typeof get_coin_records_by_hint_command;
264
264
  export declare type TGetCoinRecordsByHintRequest = {
@@ -271,7 +271,7 @@ export declare type TGetCoinRecordsByHintResponse = {
271
271
  coin_records: CoinRecordBackwardCompatible[];
272
272
  };
273
273
  export declare type WsGetCoinRecordsByHintMessage = GetMessageType<chia_full_node_service, get_coin_records_by_hint_command, TGetCoinRecordsByHintResponse>;
274
- export declare function get_coin_records_by_hint<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordsByHintRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetCoinRecordsByHintResponse, WsGetCoinRecordsByHintMessage>>;
274
+ export declare function get_coin_records_by_hint<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordsByHintRequest): Promise<ResType<T, TGetCoinRecordsByHintResponse, WsGetCoinRecordsByHintMessage>>;
275
275
  export declare const push_tx_command = "push_tx";
276
276
  export declare type push_tx_command = typeof push_tx_command;
277
277
  export declare type TPushTxRequest = {
@@ -281,7 +281,7 @@ export declare type TPushTxResponse = {
281
281
  status: str;
282
282
  };
283
283
  export declare type WsPushTxMessage = GetMessageType<chia_full_node_service, push_tx_command, TPushTxResponse>;
284
- export declare function push_tx<T extends TRPCAgent | TDaemon>(agent: T, data: TPushTxRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TPushTxResponse, WsPushTxMessage>>;
284
+ export declare function push_tx<T extends TRPCAgent | TDaemon>(agent: T, data: TPushTxRequest): Promise<ResType<T, TPushTxResponse, WsPushTxMessage>>;
285
285
  export declare const get_puzzle_and_solution_command = "get_puzzle_and_solution";
286
286
  export declare type get_puzzle_and_solution_command = typeof get_puzzle_and_solution_command;
287
287
  export declare type TGetPuzzleAndSolutionRequest = {
@@ -292,7 +292,7 @@ export declare type TGetPuzzleAndSolutionResponse = {
292
292
  coin_solution: CoinSpend;
293
293
  };
294
294
  export declare type WsGetPuzzleAndSolutionMessage = GetMessageType<chia_full_node_service, get_puzzle_and_solution_command, TGetPuzzleAndSolutionResponse>;
295
- export declare function get_puzzle_and_solution<T extends TRPCAgent | TDaemon>(agent: T, data: TGetPuzzleAndSolutionRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetPuzzleAndSolutionResponse, WsGetPuzzleAndSolutionMessage>>;
295
+ export declare function get_puzzle_and_solution<T extends TRPCAgent | TDaemon>(agent: T, data: TGetPuzzleAndSolutionRequest): Promise<ResType<T, TGetPuzzleAndSolutionResponse, WsGetPuzzleAndSolutionMessage>>;
296
296
  export declare const get_all_mempool_tx_ids_command = "get_all_mempool_tx_ids";
297
297
  export declare type get_all_mempool_tx_ids_command = typeof get_all_mempool_tx_ids_command;
298
298
  export declare type TGetAllMempoolTxIdsRequest = {};
@@ -300,7 +300,7 @@ export declare type TGetAllMempoolTxIdsResponse = {
300
300
  tx_ids: bytes32[];
301
301
  };
302
302
  export declare type WsGetAllMempoolTxIdsMessage = GetMessageType<chia_full_node_service, get_all_mempool_tx_ids_command, TGetAllMempoolTxIdsResponse>;
303
- export declare function get_all_mempool_tx_ids<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetAllMempoolTxIdsResponse, WsGetAllMempoolTxIdsMessage>>;
303
+ export declare function get_all_mempool_tx_ids<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetAllMempoolTxIdsResponse, WsGetAllMempoolTxIdsMessage>>;
304
304
  export declare const get_all_mempool_items_command = "get_all_mempool_items";
305
305
  export declare type get_all_mempool_items_command = typeof get_all_mempool_items_command;
306
306
  export declare type TGetAllMempoolItemsRequest = {};
@@ -308,7 +308,7 @@ export declare type TGetAllMempoolItemsResponse = {
308
308
  mempool_items: Record<string, MempoolItemInJsonDict>;
309
309
  };
310
310
  export declare type WsGetAllMempoolItemsMessage = GetMessageType<chia_full_node_service, get_all_mempool_items_command, TGetAllMempoolItemsResponse>;
311
- export declare function get_all_mempool_items<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetAllMempoolItemsResponse, WsGetAllMempoolItemsMessage>>;
311
+ export declare function get_all_mempool_items<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetAllMempoolItemsResponse, WsGetAllMempoolItemsMessage>>;
312
312
  export declare const get_mempool_item_by_tx_id_command = "get_mempool_item_by_tx_id";
313
313
  export declare type get_mempool_item_by_tx_id_command = typeof get_mempool_item_by_tx_id_command;
314
314
  export declare type TGetMempoolItemByTxIdRequest = {
@@ -319,7 +319,7 @@ export declare type TGetMempoolItemByTxIdResponse = {
319
319
  mempool_item: MempoolItemInJsonDict;
320
320
  };
321
321
  export declare type WsGetMempoolItemByTxIdMessage = GetMessageType<chia_full_node_service, get_mempool_item_by_tx_id_command, TGetMempoolItemByTxIdResponse>;
322
- export declare function get_mempool_item_by_tx_id<T extends TRPCAgent | TDaemon>(agent: T, data: TGetMempoolItemByTxIdRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetMempoolItemByTxIdResponse, WsGetMempoolItemByTxIdMessage>>;
322
+ export declare function get_mempool_item_by_tx_id<T extends TRPCAgent | TDaemon>(agent: T, data: TGetMempoolItemByTxIdRequest): Promise<ResType<T, TGetMempoolItemByTxIdResponse, WsGetMempoolItemByTxIdMessage>>;
323
323
  export declare const get_mempool_items_by_coin_name_command = "get_mempool_items_by_coin_name";
324
324
  export declare type get_mempool_items_by_coin_name_command = typeof get_mempool_items_by_coin_name_command;
325
325
  export declare type TGetMempoolItemsByCoinNameRequest = {
@@ -329,7 +329,7 @@ export declare type TGetMempoolItemsByCoinNameResponse = {
329
329
  mempool_items: MempoolItemInJsonDict[];
330
330
  };
331
331
  export declare type WsGetMempoolItemsByCoinNameMessage = GetMessageType<chia_full_node_service, get_mempool_items_by_coin_name_command, TGetMempoolItemsByCoinNameResponse>;
332
- export declare function get_mempool_items_by_coin_name<T extends TRPCAgent | TDaemon>(agent: T, data: TGetMempoolItemsByCoinNameRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetMempoolItemsByCoinNameResponse, WsGetMempoolItemsByCoinNameMessage>>;
332
+ export declare function get_mempool_items_by_coin_name<T extends TRPCAgent | TDaemon>(agent: T, data: TGetMempoolItemsByCoinNameRequest): Promise<ResType<T, TGetMempoolItemsByCoinNameResponse, WsGetMempoolItemsByCoinNameMessage>>;
333
333
  export declare const get_fee_estimate_command = "get_fee_estimate";
334
334
  export declare type get_fee_estimate_command = typeof get_fee_estimate_command;
335
335
  export declare type TGetFeeEstimateRequest = {
@@ -357,7 +357,7 @@ export declare type TGetFeeEstimateResponse = {
357
357
  last_tx_block_height: int;
358
358
  };
359
359
  export declare type WsGetFeeEstimateMessage = GetMessageType<chia_full_node_service, get_fee_estimate_command, TGetFeeEstimateResponse>;
360
- export declare function get_fee_estimate<T extends TRPCAgent | TDaemon>(agent: T, data: TGetFeeEstimateRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetFeeEstimateResponse, WsGetFeeEstimateMessage>>;
360
+ export declare function get_fee_estimate<T extends TRPCAgent | TDaemon>(agent: T, data: TGetFeeEstimateRequest): Promise<ResType<T, TGetFeeEstimateResponse, WsGetFeeEstimateMessage>>;
361
361
  export declare const get_all_blocks_command = "get_all_blocks";
362
362
  export declare type get_all_blocks_command = typeof get_all_blocks_command;
363
363
  export declare type TGetAllBlocksResponse = {
@@ -365,7 +365,7 @@ export declare type TGetAllBlocksResponse = {
365
365
  success: bool;
366
366
  };
367
367
  export declare type WsGetAllBlocksMessage = GetMessageType<chia_full_node_service, get_all_blocks_command, TGetAllBlocksResponse>;
368
- export declare function get_all_blocks<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetAllBlocksResponse, WsGetAllBlocksMessage>>;
368
+ export declare function get_all_blocks<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetAllBlocksResponse, WsGetAllBlocksMessage>>;
369
369
  export declare const farm_block_command = "farm_block";
370
370
  export declare type farm_block_command = typeof farm_block_command;
371
371
  export declare type TFarmBlockRequest = {
@@ -378,7 +378,7 @@ export declare type TFarmBlockResponse = {
378
378
  success: bool;
379
379
  };
380
380
  export declare type WsFarmBlockMessage = GetMessageType<chia_full_node_service, farm_block_command, TFarmBlockResponse>;
381
- export declare function farm_block<T extends TRPCAgent | TDaemon>(agent: T, data: TFarmBlockRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TFarmBlockResponse, WsFarmBlockMessage>>;
381
+ export declare function farm_block<T extends TRPCAgent | TDaemon>(agent: T, data: TFarmBlockRequest): Promise<ResType<T, TFarmBlockResponse, WsFarmBlockMessage>>;
382
382
  export declare const set_auto_farming_command = "set_auto_farming";
383
383
  export declare type set_auto_farming_command = typeof set_auto_farming_command;
384
384
  export declare type TSetAutoFarmingRequest = {
@@ -389,7 +389,7 @@ export declare type TSetAutoFarmingResponse = {
389
389
  success: bool;
390
390
  };
391
391
  export declare type WsSetAutoFarmingMessage = GetMessageType<chia_full_node_service, set_auto_farming_command, TSetAutoFarmingResponse>;
392
- export declare function set_auto_farming<T extends TRPCAgent | TDaemon>(agent: T, data: TSetAutoFarmingRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TSetAutoFarmingResponse, WsSetAutoFarmingMessage>>;
392
+ export declare function set_auto_farming<T extends TRPCAgent | TDaemon>(agent: T, data: TSetAutoFarmingRequest): Promise<ResType<T, TSetAutoFarmingResponse, WsSetAutoFarmingMessage>>;
393
393
  export declare const get_auto_farming_command = "get_auto_farming";
394
394
  export declare type get_auto_farming_command = typeof get_auto_farming_command;
395
395
  export declare type TGetAutoFarmingResponse = {
@@ -397,7 +397,7 @@ export declare type TGetAutoFarmingResponse = {
397
397
  success: bool;
398
398
  };
399
399
  export declare type WsGetAutoFarmingMessage = GetMessageType<chia_full_node_service, get_auto_farming_command, TGetAutoFarmingResponse>;
400
- export declare function get_auto_farming<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetAutoFarmingResponse, WsGetAutoFarmingMessage>>;
400
+ export declare function get_auto_farming<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetAutoFarmingResponse, WsGetAutoFarmingMessage>>;
401
401
  export declare const get_farming_ph_command = "get_farming_ph";
402
402
  export declare type get_farming_ph_command = typeof get_farming_ph_command;
403
403
  export declare type TGetFarmingPhResponse = {
@@ -405,7 +405,7 @@ export declare type TGetFarmingPhResponse = {
405
405
  success: bool;
406
406
  };
407
407
  export declare type WsGetFarmingPhMessage = GetMessageType<chia_full_node_service, get_farming_ph_command, TGetFarmingPhResponse>;
408
- export declare function get_farming_ph<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetFarmingPhResponse, WsGetFarmingPhMessage>>;
408
+ export declare function get_farming_ph<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetFarmingPhResponse, WsGetFarmingPhMessage>>;
409
409
  export declare const get_all_coins_command = "get_all_coins";
410
410
  export declare type get_all_coins_command = typeof get_all_coins_command;
411
411
  export declare type TGetAllCoinsRequest = {
@@ -416,7 +416,7 @@ export declare type TGetAllCoinsResponse = {
416
416
  success: bool;
417
417
  };
418
418
  export declare type WsGetAllCoinsMessage = GetMessageType<chia_full_node_service, get_all_coins_command, TGetAllCoinsResponse>;
419
- export declare function get_all_coins<T extends TRPCAgent | TDaemon>(agent: T, data: TGetAllCoinsRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetAllCoinsResponse, WsGetAllCoinsMessage>>;
419
+ export declare function get_all_coins<T extends TRPCAgent | TDaemon>(agent: T, data: TGetAllCoinsRequest): Promise<ResType<T, TGetAllCoinsResponse, WsGetAllCoinsMessage>>;
420
420
  export declare const get_all_puzzle_hashes_command = "get_all_puzzle_hashes";
421
421
  export declare type get_all_puzzle_hashes_command = typeof get_all_puzzle_hashes_command;
422
422
  export declare type TGetAllPuzzleHashesResponse = {
@@ -424,7 +424,7 @@ export declare type TGetAllPuzzleHashesResponse = {
424
424
  success: bool;
425
425
  };
426
426
  export declare type WsGetAllPuzzleHashesMessage = GetMessageType<chia_full_node_service, get_all_puzzle_hashes_command, TGetAllPuzzleHashesResponse>;
427
- export declare function get_all_puzzle_hashes<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetAllPuzzleHashesResponse, WsGetAllPuzzleHashesMessage>>;
427
+ export declare function get_all_puzzle_hashes<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetAllPuzzleHashesResponse, WsGetAllPuzzleHashesMessage>>;
428
428
  export declare const revert_blocks_command = "revert_blocks";
429
429
  export declare type revert_blocks_command = typeof revert_blocks_command;
430
430
  export declare type TRevertBlocksRequest = {
@@ -436,7 +436,7 @@ export declare type TRevertBlocksResponse = {
436
436
  success: bool;
437
437
  };
438
438
  export declare type WsRevertBlocksMessage = GetMessageType<chia_full_node_service, revert_blocks_command, TRevertBlocksResponse>;
439
- export declare function revert_blocks<T extends TRPCAgent | TDaemon>(agent: T, data: TRevertBlocksRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TRevertBlocksResponse, WsRevertBlocksMessage>>;
439
+ export declare function revert_blocks<T extends TRPCAgent | TDaemon>(agent: T, data: TRevertBlocksRequest): Promise<ResType<T, TRevertBlocksResponse, WsRevertBlocksMessage>>;
440
440
  export declare const reorg_blocks_command = "reorg_blocks";
441
441
  export declare type reorg_blocks_command = typeof reorg_blocks_command;
442
442
  export declare type TReorgBlocksRequest = {
@@ -450,6 +450,6 @@ export declare type TReorgBlocksResponse = {
450
450
  success: bool;
451
451
  };
452
452
  export declare type WsReorgBlocksMessage = GetMessageType<chia_full_node_service, reorg_blocks_command, TReorgBlocksResponse>;
453
- export declare function reorg_blocks<T extends TRPCAgent | TDaemon>(agent: T, data: TReorgBlocksRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TReorgBlocksResponse, WsReorgBlocksMessage>>;
453
+ export declare function reorg_blocks<T extends TRPCAgent | TDaemon>(agent: T, data: TReorgBlocksRequest): Promise<ResType<T, TReorgBlocksResponse, WsReorgBlocksMessage>>;
454
454
  export declare type RpcFullNodeMessage = TGetAdditionsAndRemovalsResponse | TGetAllMempoolItemsResponse | TGetAllMempoolTxIdsResponse | TGetBlockResponse | TGetBlockRecordByHeightResponse | TGetBlockRecordResponse | TGetBlockRecordsResponse | TGetBlockSpendsResponse | TGetBlockSpendsWithConditionsResponse | TGetBlockchainStateResponse | TGetBlocksResponse | TGetBlockCountMetricsResponse | TGetRecentSignagePointOrEOSCommandResponse | TGetCoinRecordByNameResponse | TGetCoinRecordsByNamesResponse | TGetCoinRecordsByPuzzleHashResponse | TGetCoinRecordsByPuzzleHashesResponse | TGetCoinRecordsByParentIdsResponse | TGetCoinRecordsByHintResponse | TGetInitialFreezePeriodResponseOfFullNode | TGetMempoolItemByTxIdResponse | TGetMempoolItemsByCoinNameResponse | TGetNetworkInfoResponseOfFullNode | TGetNetworkSpaceResponse | TGetUnfinishedBlockHeadersResponse | TPushTxResponse | TGetPuzzleAndSolutionResponse | TGetFeeEstimateResponse | TGetAllBlocksResponse | TFarmBlockResponse | TSetAutoFarmingResponse | TGetAutoFarmingResponse | TGetFarmingPhResponse | TGetAllCoinsResponse | TGetAllPuzzleHashesResponse | TRevertBlocksResponse | TReorgBlocksResponse;
455
455
  export declare type RpcFullNodeMessageOnWs = WsGetAdditionsAndRemovalsMessage | WsGetAllMempoolItemsMessage | WsGetAllMempoolTxIdsMessage | WsGetBlockMessage | WsGetBlockRecordByHeightMessage | WsGetBlockRecordMessage | WsGetBlockRecordsMessage | WsGetBlockSpendsMessage | WsGetBlockSpendsWithConditionsMessage | WsGetBlockchainStateMessage | WsGetBlocksMessage | WsGetBlockCountMetricsMessage | WsGetRecentSignagePointOrEOSCommandMessage | WsGetCoinRecordByNameMessage | WsGetCoinRecordsByNamesMessage | WsGetCoinRecordsByPuzzleHashMessage | WsGetCoinRecordsByPuzzleHashesMessage | WsGetCoinRecordsByParentIdsMessage | WsGetCoinRecordsByHintMessage | WsGetInitialFreezePeriodMessageOfFullNode | WsGetMempoolItemByTxIdMessage | WsGetMempoolItemsByCoinNameMessage | WsGetNetworkInfoMessageOfFullNode | WsGetNetworkSpaceMessage | WsGetUnfinishedBlockHeadersMessage | WsPushTxMessage | WsGetPuzzleAndSolutionMessage | WsGetFeeEstimateMessage | WsGetAllBlocksMessage | WsFarmBlockMessage | WsSetAutoFarmingMessage | WsGetAutoFarmingMessage | WsGetFarmingPhMessage | WsGetAllCoinsMessage | WsGetAllPuzzleHashesMessage | WsRevertBlocksMessage | WsReorgBlocksMessage;
@@ -14,13 +14,13 @@ export declare type TGetPlotsResponse = {
14
14
  not_found_filenames: str[];
15
15
  };
16
16
  export declare type WsGetPlotsMessage = GetMessageType<chia_harvester_service, get_plots_command, TGetPlotsResponse>;
17
- export declare function get_plots<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetPlotsResponse, WsGetPlotsMessage>>;
17
+ export declare function get_plots<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetPlotsResponse, WsGetPlotsMessage>>;
18
18
  export declare const refresh_plots_command = "refresh_plots";
19
19
  export declare type refresh_plots_command = typeof refresh_plots_command;
20
20
  export declare type TRefreshPlotsRequest = {};
21
21
  export declare type TRefreshPlotsResponse = {};
22
22
  export declare type WsRefreshPlotsMessage = GetMessageType<chia_harvester_service, refresh_plots_command, TRefreshPlotsResponse>;
23
- export declare function refresh_plots<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TRefreshPlotsResponse, WsRefreshPlotsMessage>>;
23
+ export declare function refresh_plots<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TRefreshPlotsResponse, WsRefreshPlotsMessage>>;
24
24
  export declare const delete_plot_command = "delete_plot";
25
25
  export declare type delete_plot_command = typeof delete_plot_command;
26
26
  export declare type TDeletePlotRequest = {
@@ -28,7 +28,7 @@ export declare type TDeletePlotRequest = {
28
28
  };
29
29
  export declare type TDeletePlotResponse = {};
30
30
  export declare type WsDeletePlotMessage = GetMessageType<chia_harvester_service, delete_plot_command, TDeletePlotResponse>;
31
- export declare function delete_plot<T extends TRPCAgent | TDaemon>(agent: T, data: TDeletePlotRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TDeletePlotResponse, WsDeletePlotMessage>>;
31
+ export declare function delete_plot<T extends TRPCAgent | TDaemon>(agent: T, data: TDeletePlotRequest): Promise<ResType<T, TDeletePlotResponse, WsDeletePlotMessage>>;
32
32
  export declare const add_plot_directory_command = "add_plot_directory";
33
33
  export declare type add_plot_directory_command = typeof add_plot_directory_command;
34
34
  export declare type TAddPlotDirectoryRequest = {
@@ -36,7 +36,7 @@ export declare type TAddPlotDirectoryRequest = {
36
36
  };
37
37
  export declare type TAddPlotDirectoryResponse = {};
38
38
  export declare type WsAddPlotDirectoryMessage = GetMessageType<chia_harvester_service, add_plot_directory_command, TAddPlotDirectoryResponse>;
39
- export declare function add_plot_directory<T extends TRPCAgent | TDaemon>(agent: T, data: TAddPlotDirectoryRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TAddPlotDirectoryResponse, WsAddPlotDirectoryMessage>>;
39
+ export declare function add_plot_directory<T extends TRPCAgent | TDaemon>(agent: T, data: TAddPlotDirectoryRequest): Promise<ResType<T, TAddPlotDirectoryResponse, WsAddPlotDirectoryMessage>>;
40
40
  export declare const get_plot_directories_command = "get_plot_directories";
41
41
  export declare type get_plot_directories_command = typeof get_plot_directories_command;
42
42
  export declare type TGetPlotDirectoriesRequest = {};
@@ -44,7 +44,7 @@ export declare type TGetPlotDirectoriesResponse = {
44
44
  directories: str[];
45
45
  };
46
46
  export declare type WsGetPlotDirectoriesMessage = GetMessageType<chia_harvester_service, get_plot_directories_command, TGetPlotDirectoriesResponse>;
47
- export declare function get_plot_directories<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetPlotDirectoriesResponse, WsGetPlotDirectoriesMessage>>;
47
+ export declare function get_plot_directories<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetPlotDirectoriesResponse, WsGetPlotDirectoriesMessage>>;
48
48
  export declare const remove_plot_directory_command = "remove_plot_directory";
49
49
  export declare type remove_plot_directory_command = typeof remove_plot_directory_command;
50
50
  export declare type TRemovePlotDirectoryRequest = {
@@ -52,7 +52,7 @@ export declare type TRemovePlotDirectoryRequest = {
52
52
  };
53
53
  export declare type TRemovePlotDirectoryResponse = {};
54
54
  export declare type WsRemovePlotDirectoryMessage = GetMessageType<chia_harvester_service, remove_plot_directory_command, TRemovePlotDirectoryResponse>;
55
- export declare function remove_plot_directory<T extends TRPCAgent | TDaemon>(agent: T, data: TRemovePlotDirectoryRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TRemovePlotDirectoryResponse, WsRemovePlotDirectoryMessage>>;
55
+ export declare function remove_plot_directory<T extends TRPCAgent | TDaemon>(agent: T, data: TRemovePlotDirectoryRequest): Promise<ResType<T, TRemovePlotDirectoryResponse, WsRemovePlotDirectoryMessage>>;
56
56
  export declare const get_harvester_config_command = "get_harvester_config";
57
57
  export declare type get_harvester_config_command = typeof get_harvester_config_command;
58
58
  export declare type TGetHarvesterConfigResponse = {
@@ -67,7 +67,7 @@ export declare type TGetHarvesterConfigResponse = {
67
67
  refresh_parameter_interval_seconds: int;
68
68
  };
69
69
  export declare type WsGetHarvesterConfigMessage = GetMessageType<chia_harvester_service, get_harvester_config_command, TGetHarvesterConfigResponse>;
70
- export declare function get_harvester_config<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetHarvesterConfigResponse, WsGetHarvesterConfigMessage>>;
70
+ export declare function get_harvester_config<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetHarvesterConfigResponse, WsGetHarvesterConfigMessage>>;
71
71
  export declare const update_harvester_config_command = "update_harvester_config";
72
72
  export declare type update_harvester_config_command = typeof update_harvester_config_command;
73
73
  export declare type TUpdateHarvesterConfigRequest = {
@@ -82,6 +82,6 @@ export declare type TUpdateHarvesterConfigRequest = {
82
82
  };
83
83
  export declare type TUpdateHarvesterConfigResponse = {};
84
84
  export declare type WsUpdateHarvesterConfigMessage = GetMessageType<chia_harvester_service, update_harvester_config_command, TUpdateHarvesterConfigResponse>;
85
- export declare function update_harvester_config<T extends TRPCAgent | TDaemon>(agent: T, data: TUpdateHarvesterConfigRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TUpdateHarvesterConfigResponse, WsUpdateHarvesterConfigMessage>>;
85
+ export declare function update_harvester_config<T extends TRPCAgent | TDaemon>(agent: T, data: TUpdateHarvesterConfigRequest): Promise<ResType<T, TUpdateHarvesterConfigResponse, WsUpdateHarvesterConfigMessage>>;
86
86
  export declare type RpcHarvesterMessage = TAddPlotDirectoryResponse | TDeletePlotResponse | TGetPlotDirectoriesResponse | TGetPlotsResponse | TRefreshPlotsResponse | TRemovePlotDirectoryResponse | TGetHarvesterConfigResponse | TUpdateHarvesterConfigResponse;
87
87
  export declare type RpcHarvesterMessageOnWs = WsAddPlotDirectoryMessage | WsDeletePlotMessage | WsGetPlotDirectoriesMessage | WsGetPlotsMessage | WsRefreshPlotsMessage | WsRemovePlotDirectoryMessage | WsGetHarvesterConfigMessage | WsUpdateHarvesterConfigMessage;