chia-agent 9.0.1 → 9.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +128 -0
- package/README.md +5 -5
- package/api/chia/data_layer/data_layer_util.d.ts +30 -0
- package/api/chia/data_layer/data_layer_util.js +2 -0
- package/api/chia/data_layer/data_layer_wallet.d.ts +21 -0
- package/api/chia/data_layer/data_layer_wallet.js +2 -0
- package/api/chia/server/outbound_message.d.ts +1 -1
- package/api/chia/types/_python_types_.d.ts +1 -0
- package/api/chia/types/clvm_cost.d.ts +2 -0
- package/api/chia/types/clvm_cost.js +2 -0
- package/api/chia/types/mempool_item.d.ts +2 -3
- package/api/chia/util/keychain.d.ts +12 -0
- package/api/chia/util/keychain.js +2 -0
- package/api/chia/wallet/lineage_proof.d.ts +7 -0
- package/api/chia/wallet/lineage_proof.js +2 -0
- package/api/chia/wallet/nft_wallet/nft_info.d.ts +3 -0
- package/api/chia/wallet/util/wallet_types.d.ts +2 -1
- package/api/chia/wallet/util/wallet_types.js +3 -1
- package/api/rpc/common/index.d.ts +9 -8
- package/api/rpc/crawler/index.d.ts +2 -2
- package/api/rpc/data_layer/index.d.ts +291 -0
- package/api/rpc/data_layer/index.js +196 -0
- package/api/rpc/farmer/index.d.ts +13 -13
- package/api/rpc/full_node/index.d.ts +45 -25
- package/api/rpc/full_node/index.js +8 -1
- package/api/rpc/harvester/index.d.ts +6 -6
- package/api/rpc/index.d.ts +12 -9
- package/api/rpc/index.js +70 -20
- package/api/rpc/wallet/index.d.ts +329 -81
- package/api/rpc/wallet/index.js +144 -4
- package/api/ws/daemon/index.d.ts +102 -3
- package/api/ws/daemon/index.js +37 -2
- package/api/ws/index.d.ts +3 -3
- package/api/ws/index.js +15 -12
- package/api/ws/wallet/index.d.ts +1 -1
- package/package.json +1 -1
- package/rpc/index.d.ts +6 -2
- package/rpc/index.js +3 -0
|
@@ -10,6 +10,7 @@ import { TRPCAgent } from "../../../rpc";
|
|
|
10
10
|
import { EndOfSubSlotBundle } from "../../chia/types/end_of_slot_bundle";
|
|
11
11
|
import { SignagePoint } from "../../chia/full_node/signage_point";
|
|
12
12
|
import { CoinSpend } from "../../chia/types/coin_spend";
|
|
13
|
+
import { CLVMCost } from "../../chia/types/clvm_cost";
|
|
13
14
|
export declare const chia_full_node_service = "chia_full_node";
|
|
14
15
|
export declare type chia_full_node_service = typeof chia_full_node_service;
|
|
15
16
|
export declare const get_blockchain_state_command = "get_blockchain_state";
|
|
@@ -38,7 +39,7 @@ export declare type TGetBlockchainStateResponse = {
|
|
|
38
39
|
node_id: str;
|
|
39
40
|
};
|
|
40
41
|
};
|
|
41
|
-
export declare function get_blockchain_state(agent: TRPCAgent): Promise<TGetBlockchainStateResponse>;
|
|
42
|
+
export declare function get_blockchain_state(agent: TRPCAgent): Promise<TGetBlockchainStateResponse | import("../../../rpc").ErrorResponse>;
|
|
42
43
|
export declare const get_block_command = "get_block";
|
|
43
44
|
export declare type get_block_command = typeof get_block_command;
|
|
44
45
|
export declare type TGetBlockRequest = {
|
|
@@ -47,7 +48,7 @@ export declare type TGetBlockRequest = {
|
|
|
47
48
|
export declare type TGetBlockResponse = {
|
|
48
49
|
block: FullBlock;
|
|
49
50
|
};
|
|
50
|
-
export declare function get_block(agent: TRPCAgent, data: TGetBlockRequest): Promise<TGetBlockResponse>;
|
|
51
|
+
export declare function get_block(agent: TRPCAgent, data: TGetBlockRequest): Promise<TGetBlockResponse | import("../../../rpc").ErrorResponse>;
|
|
51
52
|
export declare const get_blocks_command = "get_blocks";
|
|
52
53
|
export declare type get_blocks_command = typeof get_blocks_command;
|
|
53
54
|
export declare type TGetBlocksRequest = {
|
|
@@ -61,7 +62,7 @@ export declare type TGetBlocksResponse = {
|
|
|
61
62
|
header_hash: str;
|
|
62
63
|
}>;
|
|
63
64
|
};
|
|
64
|
-
export declare function get_blocks(agent: TRPCAgent, data: TGetBlocksRequest): Promise<TGetBlocksResponse>;
|
|
65
|
+
export declare function get_blocks(agent: TRPCAgent, data: TGetBlocksRequest): Promise<TGetBlocksResponse | import("../../../rpc").ErrorResponse>;
|
|
65
66
|
export declare const get_block_count_metrics_command = "get_block_count_metrics";
|
|
66
67
|
export declare type get_block_count_metrics_command = typeof get_block_count_metrics_command;
|
|
67
68
|
export declare type TGetBlockCountMetricsResponse = {
|
|
@@ -71,7 +72,7 @@ export declare type TGetBlockCountMetricsResponse = {
|
|
|
71
72
|
"hint_count": int;
|
|
72
73
|
};
|
|
73
74
|
};
|
|
74
|
-
export declare function get_block_count_metrics(agent: TRPCAgent): Promise<TGetBlockCountMetricsResponse>;
|
|
75
|
+
export declare function get_block_count_metrics(agent: TRPCAgent): Promise<TGetBlockCountMetricsResponse | import("../../../rpc").ErrorResponse>;
|
|
75
76
|
export declare const get_block_record_by_height_command = "get_block_record_by_height";
|
|
76
77
|
export declare type get_block_record_by_height_command = typeof get_block_record_by_height_command;
|
|
77
78
|
export declare type TGetBlockRecordByHeightRequest = {
|
|
@@ -80,7 +81,7 @@ export declare type TGetBlockRecordByHeightRequest = {
|
|
|
80
81
|
export declare type TGetBlockRecordByHeightResponse = {
|
|
81
82
|
block_record: Optional<BlockRecord>;
|
|
82
83
|
};
|
|
83
|
-
export declare function get_block_record_by_height(agent: TRPCAgent, data: TGetBlockRecordByHeightRequest): Promise<TGetBlockRecordByHeightResponse>;
|
|
84
|
+
export declare function get_block_record_by_height(agent: TRPCAgent, data: TGetBlockRecordByHeightRequest): Promise<TGetBlockRecordByHeightResponse | import("../../../rpc").ErrorResponse>;
|
|
84
85
|
export declare const get_block_record_command = "get_block_record";
|
|
85
86
|
export declare type get_block_record_command = typeof get_block_record_command;
|
|
86
87
|
export declare type TGetBlockRecordRequest = {
|
|
@@ -89,7 +90,7 @@ export declare type TGetBlockRecordRequest = {
|
|
|
89
90
|
export declare type TGetBlockRecordResponse = {
|
|
90
91
|
block_record: BlockRecord;
|
|
91
92
|
};
|
|
92
|
-
export declare function get_block_record(agent: TRPCAgent, data: TGetBlockRecordRequest): Promise<TGetBlockRecordResponse>;
|
|
93
|
+
export declare function get_block_record(agent: TRPCAgent, data: TGetBlockRecordRequest): Promise<TGetBlockRecordResponse | import("../../../rpc").ErrorResponse>;
|
|
93
94
|
export declare const get_block_records_command = "get_block_records";
|
|
94
95
|
export declare type get_block_records_command = typeof get_block_records_command;
|
|
95
96
|
export declare type TGetBlockRecordsRequest = {
|
|
@@ -99,7 +100,7 @@ export declare type TGetBlockRecordsRequest = {
|
|
|
99
100
|
export declare type TGetBlockRecordsResponse = {
|
|
100
101
|
block_records: BlockRecord[];
|
|
101
102
|
};
|
|
102
|
-
export declare function get_block_records(agent: TRPCAgent, data: TGetBlockRecordsRequest): Promise<TGetBlockRecordsResponse>;
|
|
103
|
+
export declare function get_block_records(agent: TRPCAgent, data: TGetBlockRecordsRequest): Promise<TGetBlockRecordsResponse | import("../../../rpc").ErrorResponse>;
|
|
103
104
|
export declare const get_block_spends_command = "get_block_spends";
|
|
104
105
|
export declare type get_block_spends_command = typeof get_block_spends_command;
|
|
105
106
|
export declare type TGetBlockSpendsRequest = {
|
|
@@ -108,14 +109,14 @@ export declare type TGetBlockSpendsRequest = {
|
|
|
108
109
|
export declare type TGetBlockSpendsResponse = {
|
|
109
110
|
block_spends: CoinSpend[];
|
|
110
111
|
};
|
|
111
|
-
export declare function get_block_spends(agent: TRPCAgent, data: TGetBlockSpendsRequest): Promise<TGetBlockSpendsResponse>;
|
|
112
|
+
export declare function get_block_spends(agent: TRPCAgent, data: TGetBlockSpendsRequest): Promise<TGetBlockSpendsResponse | import("../../../rpc").ErrorResponse>;
|
|
112
113
|
export declare const get_unfinished_block_headers_command = "get_unfinished_block_headers";
|
|
113
114
|
export declare type get_unfinished_block_headers_command = typeof get_unfinished_block_headers_command;
|
|
114
115
|
export declare type TGetUnfinishedBlockHeadersRequest = {};
|
|
115
116
|
export declare type TGetUnfinishedBlockHeadersResponse = {
|
|
116
117
|
headers: UnfinishedHeaderBlock[];
|
|
117
118
|
};
|
|
118
|
-
export declare function get_unfinished_block_headers(agent: TRPCAgent): Promise<TGetUnfinishedBlockHeadersResponse>;
|
|
119
|
+
export declare function get_unfinished_block_headers(agent: TRPCAgent): Promise<TGetUnfinishedBlockHeadersResponse | import("../../../rpc").ErrorResponse>;
|
|
119
120
|
export declare const get_network_space_command = "get_network_space";
|
|
120
121
|
export declare type get_network_space_command = typeof get_network_space_command;
|
|
121
122
|
export declare type TGetNetworkSpaceRequest = {
|
|
@@ -125,7 +126,7 @@ export declare type TGetNetworkSpaceRequest = {
|
|
|
125
126
|
export declare type TGetNetworkSpaceResponse = {
|
|
126
127
|
space: uint128;
|
|
127
128
|
};
|
|
128
|
-
export declare function get_network_space(agent: TRPCAgent, data: TGetNetworkSpaceRequest): Promise<TGetNetworkSpaceResponse>;
|
|
129
|
+
export declare function get_network_space(agent: TRPCAgent, data: TGetNetworkSpaceRequest): Promise<TGetNetworkSpaceResponse | import("../../../rpc").ErrorResponse>;
|
|
129
130
|
export declare const get_additions_and_removals_command = "get_additions_and_removals";
|
|
130
131
|
export declare type get_additions_and_removals_command = typeof get_additions_and_removals_command;
|
|
131
132
|
export declare type TGetAdditionsAndRemovalsRequest = {
|
|
@@ -135,14 +136,14 @@ export declare type TGetAdditionsAndRemovalsResponse = {
|
|
|
135
136
|
additions: CoinRecordBackwardCompatible[];
|
|
136
137
|
removals: CoinRecordBackwardCompatible[];
|
|
137
138
|
};
|
|
138
|
-
export declare function get_additions_and_removals(agent: TRPCAgent, data: TGetAdditionsAndRemovalsRequest): Promise<TGetAdditionsAndRemovalsResponse>;
|
|
139
|
+
export declare function get_additions_and_removals(agent: TRPCAgent, data: TGetAdditionsAndRemovalsRequest): Promise<TGetAdditionsAndRemovalsResponse | import("../../../rpc").ErrorResponse>;
|
|
139
140
|
export declare const get_initial_freeze_period_command_of_full_node = "get_initial_freeze_period";
|
|
140
141
|
export declare type get_initial_freeze_period_command_of_full_node = typeof get_initial_freeze_period_command_of_full_node;
|
|
141
142
|
export declare type TGetInitialFreezePeriodRequestOfFullNode = {};
|
|
142
143
|
export declare type TGetInitialFreezePeriodResponseOfFullNode = {
|
|
143
144
|
INITIAL_FREEZE_END_TIMESTAMP: uint64;
|
|
144
145
|
};
|
|
145
|
-
export declare function get_initial_freeze_period_of_full_node(agent: TRPCAgent): Promise<TGetInitialFreezePeriodResponseOfFullNode>;
|
|
146
|
+
export declare function get_initial_freeze_period_of_full_node(agent: TRPCAgent): Promise<TGetInitialFreezePeriodResponseOfFullNode | import("../../../rpc").ErrorResponse>;
|
|
146
147
|
export declare const get_network_info_command_of_full_node = "get_network_info";
|
|
147
148
|
export declare type get_network_info_command_of_full_node = typeof get_network_info_command_of_full_node;
|
|
148
149
|
export declare type TGetNetworkInfoRequestOfFullNode = {};
|
|
@@ -150,7 +151,7 @@ export declare type TGetNetworkInfoResponseOfFullNode = {
|
|
|
150
151
|
network_name: str;
|
|
151
152
|
network_prefix: str;
|
|
152
153
|
};
|
|
153
|
-
export declare function get_network_info_of_full_node(agent: TRPCAgent): Promise<TGetNetworkInfoResponseOfFullNode>;
|
|
154
|
+
export declare function get_network_info_of_full_node(agent: TRPCAgent): Promise<TGetNetworkInfoResponseOfFullNode | import("../../../rpc").ErrorResponse>;
|
|
154
155
|
export declare const get_recent_signage_point_or_eos_command = "get_recent_signage_point_or_eos";
|
|
155
156
|
export declare type get_recent_signage_point_or_eos_command = typeof get_recent_signage_point_or_eos_command;
|
|
156
157
|
export declare type TGetRecentSignagePointOrEOSCommandRequest = {
|
|
@@ -167,7 +168,7 @@ export declare type TGetRecentSignagePointOrEOSCommandResponse = {
|
|
|
167
168
|
time_received: float;
|
|
168
169
|
reverted: bool;
|
|
169
170
|
};
|
|
170
|
-
export declare function get_recent_signage_point_or_eos(agent: TRPCAgent, data: TGetRecentSignagePointOrEOSCommandRequest): Promise<TGetRecentSignagePointOrEOSCommandResponse>;
|
|
171
|
+
export declare function get_recent_signage_point_or_eos(agent: TRPCAgent, data: TGetRecentSignagePointOrEOSCommandRequest): Promise<TGetRecentSignagePointOrEOSCommandResponse | import("../../../rpc").ErrorResponse>;
|
|
171
172
|
export declare const get_coin_records_by_puzzle_hash_command = "get_coin_records_by_puzzle_hash";
|
|
172
173
|
export declare type get_coin_records_by_puzzle_hash_command = typeof get_coin_records_by_puzzle_hash_command;
|
|
173
174
|
export declare type TGetCoinRecordsByPuzzleHashRequest = {
|
|
@@ -179,7 +180,7 @@ export declare type TGetCoinRecordsByPuzzleHashRequest = {
|
|
|
179
180
|
export declare type TGetCoinRecordsByPuzzleHashResponse = {
|
|
180
181
|
coin_records: CoinRecordBackwardCompatible[];
|
|
181
182
|
};
|
|
182
|
-
export declare function get_coin_records_by_puzzle_hash(agent: TRPCAgent, data: TGetCoinRecordsByPuzzleHashRequest): Promise<TGetCoinRecordsByPuzzleHashResponse>;
|
|
183
|
+
export declare function get_coin_records_by_puzzle_hash(agent: TRPCAgent, data: TGetCoinRecordsByPuzzleHashRequest): Promise<TGetCoinRecordsByPuzzleHashResponse | import("../../../rpc").ErrorResponse>;
|
|
183
184
|
export declare const get_coin_records_by_puzzle_hashes_command = "get_coin_records_by_puzzle_hashes";
|
|
184
185
|
export declare type get_coin_records_by_puzzle_hashes_command = typeof get_coin_records_by_puzzle_hashes_command;
|
|
185
186
|
export declare type TGetCoinRecordsByPuzzleHashesRequest = {
|
|
@@ -191,7 +192,7 @@ export declare type TGetCoinRecordsByPuzzleHashesRequest = {
|
|
|
191
192
|
export declare type TGetCoinRecordsByPuzzleHashesResponse = {
|
|
192
193
|
coin_records: CoinRecordBackwardCompatible[];
|
|
193
194
|
};
|
|
194
|
-
export declare function get_coin_records_by_puzzle_hashes(agent: TRPCAgent, data: TGetCoinRecordsByPuzzleHashesRequest): Promise<TGetCoinRecordsByPuzzleHashesResponse>;
|
|
195
|
+
export declare function get_coin_records_by_puzzle_hashes(agent: TRPCAgent, data: TGetCoinRecordsByPuzzleHashesRequest): Promise<TGetCoinRecordsByPuzzleHashesResponse | import("../../../rpc").ErrorResponse>;
|
|
195
196
|
export declare const get_coin_record_by_name_command = "get_coin_record_by_name";
|
|
196
197
|
export declare type get_coin_record_by_name_command = typeof get_coin_record_by_name_command;
|
|
197
198
|
export declare type TGetCoinRecordByNameRequest = {
|
|
@@ -200,7 +201,7 @@ export declare type TGetCoinRecordByNameRequest = {
|
|
|
200
201
|
export declare type TGetCoinRecordByNameResponse = {
|
|
201
202
|
coin_record: CoinRecordBackwardCompatible;
|
|
202
203
|
};
|
|
203
|
-
export declare function get_coin_record_by_name(agent: TRPCAgent, data: TGetCoinRecordByNameRequest): Promise<TGetCoinRecordByNameResponse>;
|
|
204
|
+
export declare function get_coin_record_by_name(agent: TRPCAgent, data: TGetCoinRecordByNameRequest): Promise<TGetCoinRecordByNameResponse | import("../../../rpc").ErrorResponse>;
|
|
204
205
|
export declare const get_coin_records_by_names_command = "get_coin_records_by_names";
|
|
205
206
|
export declare type get_coin_records_by_names_command = typeof get_coin_records_by_names_command;
|
|
206
207
|
export declare type TGetCoinRecordsByNamesRequest = {
|
|
@@ -212,7 +213,7 @@ export declare type TGetCoinRecordsByNamesRequest = {
|
|
|
212
213
|
export declare type TGetCoinRecordsByNamesResponse = {
|
|
213
214
|
coin_records: CoinRecordBackwardCompatible[];
|
|
214
215
|
};
|
|
215
|
-
export declare function get_coin_records_by_names(agent: TRPCAgent, data: TGetCoinRecordsByNamesRequest): Promise<TGetCoinRecordsByNamesResponse>;
|
|
216
|
+
export declare function get_coin_records_by_names(agent: TRPCAgent, data: TGetCoinRecordsByNamesRequest): Promise<TGetCoinRecordsByNamesResponse | import("../../../rpc").ErrorResponse>;
|
|
216
217
|
export declare const get_coin_records_by_parent_ids_command = "get_coin_records_by_parent_ids";
|
|
217
218
|
export declare type get_coin_records_by_parent_ids_command = typeof get_coin_records_by_parent_ids_command;
|
|
218
219
|
export declare type TGetCoinRecordsByParentIdsRequest = {
|
|
@@ -224,7 +225,7 @@ export declare type TGetCoinRecordsByParentIdsRequest = {
|
|
|
224
225
|
export declare type TGetCoinRecordsByParentIdsResponse = {
|
|
225
226
|
coin_records: CoinRecordBackwardCompatible[];
|
|
226
227
|
};
|
|
227
|
-
export declare function get_coin_records_by_parent_ids(agent: TRPCAgent, data: TGetCoinRecordsByParentIdsRequest): Promise<TGetCoinRecordsByParentIdsResponse>;
|
|
228
|
+
export declare function get_coin_records_by_parent_ids(agent: TRPCAgent, data: TGetCoinRecordsByParentIdsRequest): Promise<TGetCoinRecordsByParentIdsResponse | import("../../../rpc").ErrorResponse>;
|
|
228
229
|
export declare const get_coin_records_by_hint_command = "get_coin_records_by_hint";
|
|
229
230
|
export declare type get_coin_records_by_hint_command = typeof get_coin_records_by_hint_command;
|
|
230
231
|
export declare type TGetCoinRecordsByHintRequest = {
|
|
@@ -236,7 +237,7 @@ export declare type TGetCoinRecordsByHintRequest = {
|
|
|
236
237
|
export declare type TGetCoinRecordsByHintResponse = {
|
|
237
238
|
coin_records: CoinRecordBackwardCompatible[];
|
|
238
239
|
};
|
|
239
|
-
export declare function get_coin_records_by_hint(agent: TRPCAgent, data: TGetCoinRecordsByHintRequest): Promise<TGetCoinRecordsByHintResponse>;
|
|
240
|
+
export declare function get_coin_records_by_hint(agent: TRPCAgent, data: TGetCoinRecordsByHintRequest): Promise<TGetCoinRecordsByHintResponse | import("../../../rpc").ErrorResponse>;
|
|
240
241
|
export declare const push_tx_command = "push_tx";
|
|
241
242
|
export declare type push_tx_command = typeof push_tx_command;
|
|
242
243
|
export declare type TPushTxRequest = {
|
|
@@ -245,7 +246,7 @@ export declare type TPushTxRequest = {
|
|
|
245
246
|
export declare type TPushTxResponse = {
|
|
246
247
|
status: str;
|
|
247
248
|
};
|
|
248
|
-
export declare function push_tx(agent: TRPCAgent, data: TPushTxRequest): Promise<TPushTxResponse>;
|
|
249
|
+
export declare function push_tx(agent: TRPCAgent, data: TPushTxRequest): Promise<TPushTxResponse | import("../../../rpc").ErrorResponse>;
|
|
249
250
|
export declare const get_puzzle_and_solution_command = "get_puzzle_and_solution";
|
|
250
251
|
export declare type get_puzzle_and_solution_command = typeof get_puzzle_and_solution_command;
|
|
251
252
|
export declare type TGetPuzzleAndSolutionRequest = {
|
|
@@ -255,21 +256,21 @@ export declare type TGetPuzzleAndSolutionRequest = {
|
|
|
255
256
|
export declare type TGetPuzzleAndSolutionResponse = {
|
|
256
257
|
coin_solution: CoinSpend;
|
|
257
258
|
};
|
|
258
|
-
export declare function get_puzzle_and_solution(agent: TRPCAgent, data: TGetPuzzleAndSolutionRequest): Promise<TGetPuzzleAndSolutionResponse>;
|
|
259
|
+
export declare function get_puzzle_and_solution(agent: TRPCAgent, data: TGetPuzzleAndSolutionRequest): Promise<TGetPuzzleAndSolutionResponse | import("../../../rpc").ErrorResponse>;
|
|
259
260
|
export declare const get_all_mempool_tx_ids_command = "get_all_mempool_tx_ids";
|
|
260
261
|
export declare type get_all_mempool_tx_ids_command = typeof get_all_mempool_tx_ids_command;
|
|
261
262
|
export declare type TGetAllMempoolTxIdsRequest = {};
|
|
262
263
|
export declare type TGetAllMempoolTxIdsResponse = {
|
|
263
264
|
tx_ids: bytes32[];
|
|
264
265
|
};
|
|
265
|
-
export declare function get_all_mempool_tx_ids(agent: TRPCAgent): Promise<TGetAllMempoolTxIdsResponse>;
|
|
266
|
+
export declare function get_all_mempool_tx_ids(agent: TRPCAgent): Promise<TGetAllMempoolTxIdsResponse | import("../../../rpc").ErrorResponse>;
|
|
266
267
|
export declare const get_all_mempool_items_command = "get_all_mempool_items";
|
|
267
268
|
export declare type get_all_mempool_items_command = typeof get_all_mempool_items_command;
|
|
268
269
|
export declare type TGetAllMempoolItemsRequest = {};
|
|
269
270
|
export declare type TGetAllMempoolItemsResponse = {
|
|
270
271
|
mempool_items: Record<string, MempoolItem>;
|
|
271
272
|
};
|
|
272
|
-
export declare function get_all_mempool_items(agent: TRPCAgent): Promise<TGetAllMempoolItemsResponse>;
|
|
273
|
+
export declare function get_all_mempool_items(agent: TRPCAgent): Promise<TGetAllMempoolItemsResponse | import("../../../rpc").ErrorResponse>;
|
|
273
274
|
export declare const get_mempool_item_by_tx_id_command = "get_mempool_item_by_tx_id";
|
|
274
275
|
export declare type get_mempool_item_by_tx_id_command = typeof get_mempool_item_by_tx_id_command;
|
|
275
276
|
export declare type TGetMempoolItemByTxIdRequest = {
|
|
@@ -278,4 +279,23 @@ export declare type TGetMempoolItemByTxIdRequest = {
|
|
|
278
279
|
export declare type TGetMempoolItemByTxIdResponse = {
|
|
279
280
|
mempool_item: MempoolItem;
|
|
280
281
|
};
|
|
281
|
-
export declare function get_mempool_item_by_tx_id(agent: TRPCAgent, data: TGetMempoolItemByTxIdRequest): Promise<TGetMempoolItemByTxIdResponse>;
|
|
282
|
+
export declare function get_mempool_item_by_tx_id(agent: TRPCAgent, data: TGetMempoolItemByTxIdRequest): Promise<TGetMempoolItemByTxIdResponse | import("../../../rpc").ErrorResponse>;
|
|
283
|
+
export declare const get_fee_estimate_command = "get_fee_estimate";
|
|
284
|
+
export declare type get_fee_estimate_command = typeof get_fee_estimate_command;
|
|
285
|
+
export declare type TGetFeeEstimateRequest = {
|
|
286
|
+
spend_bundle?: SpendBundle;
|
|
287
|
+
cost?: uint64;
|
|
288
|
+
target_times: int[];
|
|
289
|
+
};
|
|
290
|
+
export declare type TGetFeeEstimateResponse = {
|
|
291
|
+
estimates: uint64[];
|
|
292
|
+
target_times: int[];
|
|
293
|
+
current_fee_rate: uint64;
|
|
294
|
+
mempool_size: CLVMCost;
|
|
295
|
+
mempool_max_size: CLVMCost;
|
|
296
|
+
full_node_synced: bool;
|
|
297
|
+
peak_height: uint32;
|
|
298
|
+
last_peak_timestamp: uint64;
|
|
299
|
+
node_time_utc: int;
|
|
300
|
+
};
|
|
301
|
+
export declare function get_fee_estimate(agent: TRPCAgent, data: TGetFeeEstimateRequest): Promise<TGetFeeEstimateResponse | import("../../../rpc").ErrorResponse>;
|
|
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.get_mempool_item_by_tx_id_command = exports.get_all_mempool_items = exports.get_all_mempool_items_command = exports.get_all_mempool_tx_ids = exports.get_all_mempool_tx_ids_command = exports.get_puzzle_and_solution = exports.get_puzzle_and_solution_command = exports.push_tx = exports.push_tx_command = exports.get_coin_records_by_hint = exports.get_coin_records_by_hint_command = exports.get_coin_records_by_parent_ids = exports.get_coin_records_by_parent_ids_command = exports.get_coin_records_by_names = exports.get_coin_records_by_names_command = exports.get_coin_record_by_name = exports.get_coin_record_by_name_command = exports.get_coin_records_by_puzzle_hashes = exports.get_coin_records_by_puzzle_hashes_command = exports.get_coin_records_by_puzzle_hash = exports.get_coin_records_by_puzzle_hash_command = exports.get_recent_signage_point_or_eos = exports.get_recent_signage_point_or_eos_command = exports.get_network_info_of_full_node = exports.get_network_info_command_of_full_node = exports.get_initial_freeze_period_of_full_node = exports.get_initial_freeze_period_command_of_full_node = exports.get_additions_and_removals = exports.get_additions_and_removals_command = exports.get_network_space = exports.get_network_space_command = exports.get_unfinished_block_headers = exports.get_unfinished_block_headers_command = exports.get_block_spends = exports.get_block_spends_command = exports.get_block_records = exports.get_block_records_command = exports.get_block_record = exports.get_block_record_command = exports.get_block_record_by_height = exports.get_block_record_by_height_command = exports.get_block_count_metrics = exports.get_block_count_metrics_command = exports.get_blocks = exports.get_blocks_command = exports.get_block = exports.get_block_command = exports.get_blockchain_state = exports.get_blockchain_state_command = exports.chia_full_node_service = void 0;
|
|
13
|
-
exports.get_mempool_item_by_tx_id = void 0;
|
|
13
|
+
exports.get_fee_estimate = exports.get_fee_estimate_command = exports.get_mempool_item_by_tx_id = void 0;
|
|
14
14
|
exports.chia_full_node_service = "chia_full_node";
|
|
15
15
|
exports.get_blockchain_state_command = "get_blockchain_state";
|
|
16
16
|
function get_blockchain_state(agent) {
|
|
@@ -187,3 +187,10 @@ function get_mempool_item_by_tx_id(agent, data) {
|
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
189
|
exports.get_mempool_item_by_tx_id = get_mempool_item_by_tx_id;
|
|
190
|
+
exports.get_fee_estimate_command = "get_fee_estimate";
|
|
191
|
+
function get_fee_estimate(agent, data) {
|
|
192
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
193
|
+
return agent.sendMessage(exports.chia_full_node_service, exports.get_fee_estimate_command, data);
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
exports.get_fee_estimate = get_fee_estimate;
|
|
@@ -11,37 +11,37 @@ export declare type TGetPlotsResponse = {
|
|
|
11
11
|
failed_to_open_filenames: str[];
|
|
12
12
|
not_found_filenames: str[];
|
|
13
13
|
};
|
|
14
|
-
export declare function get_plots(agent: TRPCAgent): Promise<TGetPlotsResponse>;
|
|
14
|
+
export declare function get_plots(agent: TRPCAgent): Promise<TGetPlotsResponse | import("../../../rpc").ErrorResponse>;
|
|
15
15
|
export declare const refresh_plots_command = "refresh_plots";
|
|
16
16
|
export declare type refresh_plots_command = typeof refresh_plots_command;
|
|
17
17
|
export declare type TRefreshPlotsRequest = {};
|
|
18
18
|
export declare type TRefreshPlotsResponse = {};
|
|
19
|
-
export declare function refresh_plots(agent: TRPCAgent): Promise<TRefreshPlotsResponse>;
|
|
19
|
+
export declare function refresh_plots(agent: TRPCAgent): Promise<TRefreshPlotsResponse | import("../../../rpc").ErrorResponse>;
|
|
20
20
|
export declare const delete_plot_command = "delete_plot";
|
|
21
21
|
export declare type delete_plot_command = typeof delete_plot_command;
|
|
22
22
|
export declare type TDeletePlotRequest = {
|
|
23
23
|
filename: str;
|
|
24
24
|
};
|
|
25
25
|
export declare type TDeletePlotResponse = {};
|
|
26
|
-
export declare function delete_plot(agent: TRPCAgent, data: TDeletePlotRequest): Promise<TDeletePlotResponse>;
|
|
26
|
+
export declare function delete_plot(agent: TRPCAgent, data: TDeletePlotRequest): Promise<TDeletePlotResponse | import("../../../rpc").ErrorResponse>;
|
|
27
27
|
export declare const add_plot_directory_command = "add_plot_directory";
|
|
28
28
|
export declare type add_plot_directory_command = typeof add_plot_directory_command;
|
|
29
29
|
export declare type TAddPlotDirectoryRequest = {
|
|
30
30
|
dirname: str;
|
|
31
31
|
};
|
|
32
32
|
export declare type TAddPlotDirectoryResponse = {};
|
|
33
|
-
export declare function add_plot_directory(agent: TRPCAgent, data: TAddPlotDirectoryRequest): Promise<TAddPlotDirectoryResponse>;
|
|
33
|
+
export declare function add_plot_directory(agent: TRPCAgent, data: TAddPlotDirectoryRequest): Promise<TAddPlotDirectoryResponse | import("../../../rpc").ErrorResponse>;
|
|
34
34
|
export declare const get_plot_directories_command = "get_plot_directories";
|
|
35
35
|
export declare type get_plot_directories_command = typeof get_plot_directories_command;
|
|
36
36
|
export declare type TGetPlotDirectoriesRequest = {};
|
|
37
37
|
export declare type TGetPlotDirectoriesResponse = {
|
|
38
38
|
directories: str[];
|
|
39
39
|
};
|
|
40
|
-
export declare function get_plot_directories(agent: TRPCAgent): Promise<TGetPlotDirectoriesResponse>;
|
|
40
|
+
export declare function get_plot_directories(agent: TRPCAgent): Promise<TGetPlotDirectoriesResponse | import("../../../rpc").ErrorResponse>;
|
|
41
41
|
export declare const remove_plot_directory_command = "remove_plot_directory";
|
|
42
42
|
export declare type remove_plot_directory_command = typeof remove_plot_directory_command;
|
|
43
43
|
export declare type TRemovePlotDirectoryRequest = {
|
|
44
44
|
dirname: str;
|
|
45
45
|
};
|
|
46
46
|
export declare type TRemovePlotDirectoryResponse = {};
|
|
47
|
-
export declare function remove_plot_directory(agent: TRPCAgent, data: TRemovePlotDirectoryRequest): Promise<TRemovePlotDirectoryResponse>;
|
|
47
|
+
export declare function remove_plot_directory(agent: TRPCAgent, data: TRemovePlotDirectoryRequest): Promise<TRemovePlotDirectoryResponse | import("../../../rpc").ErrorResponse>;
|
package/api/rpc/index.d.ts
CHANGED
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import type { TGetRewardTargetResponse, TGetSignagePointResponse, TGetSignagePointsResponse, TSetRewardTargetResponse, TGetHarvestersResponse, TGetHarvestersSummaryResponse, TGetHarvesterPlotsValidResponse, TGetHarvesterPlotsInvalidResponse, TGetHarvesterPlotsKeysMissingResponse, TGetHarvesterPlotsDuplicatesResponse, TSetPayoutInstructionsResponse, TGetPoolStateResponse, TGetPoolLinkResponse } from "./farmer/index";
|
|
2
|
-
export { chia_farmer_service, TGetRewardTargetRequest, TGetRewardTargetResponse, TGetSignagePointRequest, TGetSignagePointResponse, TGetSignagePointsRequest, TGetSignagePointsResponse, TSetRewardTargetRequest, TSetRewardTargetResponse, TGetHarvestersRequest, TGetHarvestersResponse,
|
|
3
|
-
import type { TGetAdditionsAndRemovalsResponse, TGetAllMempoolItemsResponse, TGetAllMempoolTxIdsResponse, TGetBlockRecordByHeightResponse, TGetBlockRecordResponse, TGetBlockRecordsResponse, TGetBlockSpendsResponse, TGetBlockResponse, TGetBlockchainStateResponse, TGetBlocksResponse, TGetBlockCountMetricsResponse, TGetRecentSignagePointOrEOSCommandResponse, TGetCoinRecordByNameResponse, TGetCoinRecordsByNamesResponse, TGetCoinRecordsByPuzzleHashResponse, TGetCoinRecordsByPuzzleHashesResponse, TGetCoinRecordsByParentIdsResponse, TGetCoinRecordsByHintResponse, TGetInitialFreezePeriodResponseOfFullNode, TGetMempoolItemByTxIdResponse, TGetNetworkInfoResponseOfFullNode, TGetNetworkSpaceResponse, TGetUnfinishedBlockHeadersResponse, TPushTxResponse, TGetPuzzleAndSolutionResponse } from "./full_node/index";
|
|
4
|
-
export { chia_full_node_service, TGetAdditionsAndRemovalsRequest, TGetAdditionsAndRemovalsResponse, TGetAllMempoolItemsRequest, TGetAllMempoolItemsResponse, TGetAllMempoolTxIdsRequest, TGetAllMempoolTxIdsResponse, TGetBlockRecordByHeightRequest, TGetBlockRecordByHeightResponse, TGetBlockRecordRequest, TGetBlockRecordResponse, TGetBlockRecordsRequest, TGetBlockRecordsResponse, TGetBlockSpendsRequest, TGetBlockSpendsResponse, TGetBlockRequest, TGetBlockResponse, TGetBlockchainStateRequest, TGetBlockchainStateResponse, TGetBlocksRequest, TGetBlocksResponse,
|
|
2
|
+
export { chia_farmer_service, TGetRewardTargetRequest, TGetRewardTargetResponse, get_reward_targets, TGetSignagePointRequest, TGetSignagePointResponse, get_signage_point, TGetSignagePointsRequest, TGetSignagePointsResponse, get_signage_points, TSetRewardTargetRequest, TSetRewardTargetResponse, set_reward_targets, TGetHarvestersRequest, TGetHarvestersResponse, get_harvesters, TGetHarvestersSummaryResponse, get_harvesters_summary, TGetHarvesterPlotsValidRequest, TGetHarvesterPlotsValidResponse, get_harvester_plots_valid, TGetHarvesterPlotsInvalidRequest, TGetHarvesterPlotsInvalidResponse, get_harvester_plots_invalid, TGetHarvesterPlotsKeysMissingRequest, TGetHarvesterPlotsKeysMissingResponse, get_harvester_plots_keys_missing, TGetHarvesterPlotsDuplicatesRequest, TGetHarvesterPlotsDuplicatesResponse, get_harvester_plots_duplicates, TSetPayoutInstructionsRequest, TSetPayoutInstructionsResponse, set_pool_payout_instructions, TGetPoolStateRequest, TGetPoolStateResponse, get_pool_state, TGetPoolLinkRequest, TGetPoolLinkResponse, get_pool_login_link, } from "./farmer/index";
|
|
3
|
+
import type { TGetAdditionsAndRemovalsResponse, TGetAllMempoolItemsResponse, TGetAllMempoolTxIdsResponse, TGetBlockRecordByHeightResponse, TGetBlockRecordResponse, TGetBlockRecordsResponse, TGetBlockSpendsResponse, TGetBlockResponse, TGetBlockchainStateResponse, TGetBlocksResponse, TGetBlockCountMetricsResponse, TGetRecentSignagePointOrEOSCommandResponse, TGetCoinRecordByNameResponse, TGetCoinRecordsByNamesResponse, TGetCoinRecordsByPuzzleHashResponse, TGetCoinRecordsByPuzzleHashesResponse, TGetCoinRecordsByParentIdsResponse, TGetCoinRecordsByHintResponse, TGetInitialFreezePeriodResponseOfFullNode, TGetMempoolItemByTxIdResponse, TGetNetworkInfoResponseOfFullNode, TGetNetworkSpaceResponse, TGetUnfinishedBlockHeadersResponse, TPushTxResponse, TGetPuzzleAndSolutionResponse, TGetFeeEstimateResponse } from "./full_node/index";
|
|
4
|
+
export { chia_full_node_service, TGetAdditionsAndRemovalsRequest, TGetAdditionsAndRemovalsResponse, get_additions_and_removals, TGetAllMempoolItemsRequest, TGetAllMempoolItemsResponse, get_all_mempool_items, TGetAllMempoolTxIdsRequest, TGetAllMempoolTxIdsResponse, get_all_mempool_tx_ids, TGetBlockRecordByHeightRequest, TGetBlockRecordByHeightResponse, get_block_record_by_height, TGetBlockRecordRequest, TGetBlockRecordResponse, get_block_record, TGetBlockRecordsRequest, TGetBlockRecordsResponse, get_block_records, TGetBlockSpendsRequest, TGetBlockSpendsResponse, get_block_spends, TGetBlockRequest, TGetBlockResponse, get_block, TGetBlockchainStateRequest, TGetBlockchainStateResponse, get_blockchain_state, TGetBlocksRequest, TGetBlocksResponse, get_blocks, TGetBlockCountMetricsResponse, get_block_count_metrics, TGetRecentSignagePointOrEOSCommandRequest, TGetRecentSignagePointOrEOSCommandResponse, get_recent_signage_point_or_eos, TGetCoinRecordsByNamesRequest, TGetCoinRecordsByNamesResponse, get_coin_records_by_names, TGetCoinRecordByNameRequest, TGetCoinRecordByNameResponse, get_coin_record_by_name, TGetCoinRecordsByPuzzleHashRequest, TGetCoinRecordsByPuzzleHashResponse, get_coin_records_by_puzzle_hash, TGetCoinRecordsByPuzzleHashesRequest, TGetCoinRecordsByPuzzleHashesResponse, get_coin_records_by_puzzle_hashes, TGetCoinRecordsByParentIdsRequest, TGetCoinRecordsByParentIdsResponse, get_coin_records_by_parent_ids, TGetCoinRecordsByHintRequest, TGetCoinRecordsByHintResponse, get_coin_records_by_hint, TGetInitialFreezePeriodRequestOfFullNode, TGetInitialFreezePeriodResponseOfFullNode, get_initial_freeze_period_of_full_node, TGetMempoolItemByTxIdRequest, TGetMempoolItemByTxIdResponse, get_mempool_item_by_tx_id, TGetNetworkInfoRequestOfFullNode, TGetNetworkInfoResponseOfFullNode, get_network_info_of_full_node, TGetNetworkSpaceRequest, TGetNetworkSpaceResponse, get_network_space, TGetUnfinishedBlockHeadersRequest, TGetUnfinishedBlockHeadersResponse, get_unfinished_block_headers, TPushTxRequest, TPushTxResponse, push_tx, TGetPuzzleAndSolutionRequest, TGetPuzzleAndSolutionResponse, get_puzzle_and_solution, TGetFeeEstimateRequest, TGetFeeEstimateResponse, get_fee_estimate, } from "./full_node/index";
|
|
5
5
|
import type { TAddPlotDirectoryResponse, TDeletePlotResponse, TGetPlotDirectoriesResponse, TGetPlotsResponse, TRefreshPlotsResponse, TRemovePlotDirectoryResponse } from "./harvester/index";
|
|
6
|
-
export { chia_harvester_service, TAddPlotDirectoryRequest, TAddPlotDirectoryResponse, TDeletePlotRequest, TDeletePlotResponse, TGetPlotDirectoriesRequest, TGetPlotDirectoriesResponse, TGetPlotsRequest, TGetPlotsResponse, TRefreshPlotsRequest, TRefreshPlotsResponse, TRemovePlotDirectoryRequest, TRemovePlotDirectoryResponse,
|
|
7
|
-
import type { TAddKeyResponse, TAddRateLimitedFundsResponse, TCancelOfferResponse, TCancelOffersResponse, TCatGetAssetIdResponse, TCatGetNameResponse, TGetStrayCatsResponse, TCatAssetIdToNameResponse, TCatSetNameResponse, TCatSpendResponse, TCheckOfferValidityResponse, TCreateNewWalletResponse, TCreateOfferForIdsResponse, TCreateSignedTransactionResponse, TDeleteUnconfirmedTransactionsResponse, TSelectCoinsResponse, TGetCurrentDerivationIndexResponse, TExtendDerivationIndexResponse, TDeleteAllKeysResponse, TDeleteKeyResponse, TDidSetWalletNameResponse, TDidGetWalletNameResponse, TDidCreateAttestResponse, TDidCreateBackupFileResponse, TDidTransferDidResponse, TDidGetDidResponse, TDidGetInformationNeededForRecoveryResponse, TDidGetPubkeyResponse, TDidGetRecoveryListResponse, TDidGetCurrentCoinInfoResponse, TDidGetMetadataResponse, TDidRecoverySpendResponse, TDidSpendResponse, TDidUpdateRecoveryIdsResponse, TDidUpdateMetadataResponse, TNftMintNftResponse, TNftGetNftsResponse, TNftSetNftDidResponse, TNftGetByDidResponse, TNftGetWalletDidResponse, TNftGetWalletsWithDidsResponse, TNftSetNftStatusResponse, TNftTransferNftResponse, TNftGetInfoResponse, TNftAddUriResponse, TFarmBlockResponse, TGenerateMnemonicResponse, TGetAllOffersResponse, TGetCatListResponse, TGetFarmedAmountResponse, TGetHeightInfoResponse, TGetInitialFreezePeriodResponseOfWallet, TGetLoggedInFingerprintResponse, TGetNetworkInfoResponseOfWallet, TGetNextAddressResponse, TGetOfferResponse, TGetOffersCountResponse, TGetOfferSummaryResponse, TGetPrivateKeyResponse, TGetPublicKeysResponse, TGetSyncStatusResponse, TGetTransactionCountResponse, TGetTransactionResponse, TGetTransactionsResponse, TGetWalletBalanceResponse, TGetWalletsResponse, TLoginResponse, TPushTxResponse as TPushTxResponseOfWallet, TPwAbsorbRewardsResponse, TPwStatusResponse, TRlSetUserInfoResponse, TSendClawbackTransactionResponse, TSendTransactionResponse, TSendTransactionMultiResponse, TTakeOfferResponse, TPwJoinPoolResponse, TPwSelfPoolResponse } from "./wallet/index";
|
|
8
|
-
export { chia_wallet_service, TAddKeyRequest, TAddKeyResponse, TAddRateLimitedFundsRequest, TAddRateLimitedFundsResponse, TAdditions, TCancelOfferRequest, TCancelOfferResponse, TCancelOffersRequest, TCancelOffersResponse, TCatGetAssetIdRequest, TCatGetAssetIdResponse, TCatGetNameRequest, TCatGetNameResponse, TGetStrayCatsResponse, TCatAssetIdToNameRequest, TCatAssetIdToNameResponse, TCatSetNameRequest, TCatSetNameResponse, TCatSpendRequest, TCatSpendResponse, TCheckOfferValidityRequest, TCheckOfferValidityResponse, TCreateNewWalletRequest, TCreateNewWalletResponse, TCreateOfferForIdsRequest, TCreateOfferForIdsResponse, TCreateSignedTransactionRequest, TCreateSignedTransactionResponse, TDeleteUnconfirmedTransactionsRequest, TDeleteUnconfirmedTransactionsResponse, TSelectCoinsRequest, TSelectCoinsResponse, TGetCurrentDerivationIndexResponse, TExtendDerivationIndexRequest, TExtendDerivationIndexResponse, TCreate_New_CAT_WalletRequest, TCreate_New_CAT_WalletResponse, TCreate_New_DID_WalletRequest, TCreate_New_DID_WalletResponse, TCreate_New_RL_WalletRequest, TCreate_New_RL_WalletResponse, TDeleteAllKeysRequest, TDeleteAllKeysResponse, TDeleteKeyRequest, TDeleteKeyResponse, TDidSetWalletNameRequest, TDidSetWalletNameResponse, TDidGetWalletNameRequest, TDidGetWalletNameResponse, TDidCreateAttestRequest, TDidCreateAttestResponse, TDidCreateBackupFileRequest, TDidCreateBackupFileResponse, TDidTransferDidRequest, TDidTransferDidResponse, TDidGetDidRequest, TDidGetDidResponse, TDidGetInformationNeededForRecoveryRequest, TDidGetInformationNeededForRecoveryResponse, TDidGetCurrentCoinInfoRequest, TDidGetCurrentCoinInfoResponse, TDidGetPubkeyRequest, TDidGetPubkeyResponse, TDidGetRecoveryListRequest, TDidGetRecoveryListResponse, TDidGetMetadataRequest, TDidGetMetadataResponse, TDidRecoverySpendRequest, TDidRecoverySpendResponse, TDidSpendRequest, TDidSpendResponse, TDidUpdateRecoveryIdsRequest, TDidUpdateRecoveryIdsResponse, TDidUpdateMetadataRequest, TDidUpdateMetadataResponse, TNftMintNftRequest, TNftMintNftResponse, TNftGetNftsRequest, TNftGetNftsResponse, TNftSetNftDidRequest, TNftSetNftDidResponse, TNftGetByDidRequest, TNftGetByDidResponse, TNftGetWalletDidRequest, TNftGetWalletDidResponse, TNftGetWalletsWithDidsResponse, TNftSetNftStatusRequest, TNftSetNftStatusResponse, TNftTransferNftRequest, TNftTransferNftResponse, TNftGetInfoRequest, TNftGetInfoResponse, TNftAddUriRequest, TNftAddUriResponse, TFarmBlockRequest, TFarmBlockResponse, TGenerateMnemonicRequest, TGenerateMnemonicResponse, TGetAllOffersRequest, TGetAllOffersResponse, TGetCatListResponse, TGetFarmedAmountRequest, TGetFarmedAmountResponse, TGetHeightInfoRequest, TGetHeightInfoResponse, TGetInitialFreezePeriodRequestOfWallet, TGetInitialFreezePeriodResponseOfWallet, TGetLoggedInFingerprintResponse, TGetOfferRequest, TGetOfferResponse, TGetOffersCountResponse, TGetOfferSummaryRequest, TGetOfferSummaryResponse, TGetNetworkInfoRequestOfWallet, TGetNetworkInfoResponseOfWallet, TGetNextAddressRequest, TGetNextAddressResponse, TGetPrivateKeyRequest, TGetPrivateKeyResponse, TGetPublicKeysRequest, TGetPublicKeysResponse, TGetSyncStatusRequest, TGetSyncStatusResponse, TGetTransactionCountRequest, TGetTransactionCountResponse, TGetTransactionRequest, TGetTransactionResponse, TGetTransactionsRequest, TGetTransactionsResponse, TGetWalletBalanceRequest, TGetWalletBalanceResponse, TGetWalletsRequest, TGetWalletsResponse, TLoginRequest, TLoginResponse, TPushTxRequest as TPushTxRequestOfWallet, TPushTxResponse as TPushTxResponseOfWallet,
|
|
6
|
+
export { chia_harvester_service, TAddPlotDirectoryRequest, TAddPlotDirectoryResponse, add_plot_directory, TDeletePlotRequest, TDeletePlotResponse, delete_plot, TGetPlotDirectoriesRequest, TGetPlotDirectoriesResponse, get_plot_directories, TGetPlotsRequest, TGetPlotsResponse, get_plots, TRefreshPlotsRequest, TRefreshPlotsResponse, refresh_plots, TRemovePlotDirectoryRequest, TRemovePlotDirectoryResponse, remove_plot_directory, } from "./harvester/index";
|
|
7
|
+
import type { TAddKeyResponse, TAddRateLimitedFundsResponse, TCancelOfferResponse, TCancelOffersResponse, TCatGetAssetIdResponse, TCatGetNameResponse, TGetStrayCatsResponse, TCatAssetIdToNameResponse, TCatSetNameResponse, TCatSpendResponse, TCheckOfferValidityResponse, TCreateNewWalletResponse, TCreateOfferForIdsResponse, TCreateSignedTransactionResponse, TDeleteUnconfirmedTransactionsResponse, TSelectCoinsResponse, TGetCurrentDerivationIndexResponse, TExtendDerivationIndexResponse, TGetNotificationsResponse, TDeleteNotificationsResponse, TSendNotificationResponse, TSignMessageByAddressResponse, TSignMessageByIdResponse, TNftCalculateRoyaltiesResponse, TNftMintBulkResponse, TDeleteAllKeysResponse, TDeleteKeyResponse, TDidSetWalletNameResponse, TDidGetWalletNameResponse, TDidCreateAttestResponse, TDidCreateBackupFileResponse, TDidTransferDidResponse, TDidGetDidResponse, TDidGetInformationNeededForRecoveryResponse, TDidGetPubkeyResponse, TDidGetRecoveryListResponse, TDidGetCurrentCoinInfoResponse, TDidGetMetadataResponse, TDidRecoverySpendResponse, TDidSpendResponse, TDidUpdateRecoveryIdsResponse, TDidUpdateMetadataResponse, TNftMintNftResponse, TNftGetNftsResponse, TNftSetNftDidResponse, TNftGetByDidResponse, TNftGetWalletDidResponse, TNftGetWalletsWithDidsResponse, TNftSetNftStatusResponse, TNftTransferNftResponse, TNftGetInfoResponse, TNftAddUriResponse, TFarmBlockResponse, TGenerateMnemonicResponse, TGetAllOffersResponse, TGetCatListResponse, TGetFarmedAmountResponse, TGetHeightInfoResponse, TGetInitialFreezePeriodResponseOfWallet, TGetLoggedInFingerprintResponse, TGetNetworkInfoResponseOfWallet, TGetNextAddressResponse, TGetOfferResponse, TGetOffersCountResponse, TGetOfferSummaryResponse, TGetPrivateKeyResponse, TGetPublicKeysResponse, TGetSyncStatusResponse, TGetTransactionCountResponse, TGetTransactionResponse, TGetTransactionsResponse, TGetWalletBalanceResponse, TGetWalletsResponse, TLoginResponse, TPushTxResponse as TPushTxResponseOfWallet, TPushTransactionsResponse, TPwAbsorbRewardsResponse, TPwStatusResponse, TRlSetUserInfoResponse, TSendClawbackTransactionResponse, TSendTransactionResponse, TSendTransactionMultiResponse, TTakeOfferResponse, TPwJoinPoolResponse, TPwSelfPoolResponse, TCreateNewDlResponse, TDlTrackNewResponse, TDlStopTrackingResponse, TDlLatestSingletonResponse, TDlSingletonsByRootResponse, TDlUpdateRootResponse, TDlUpdateMultipleResponse, TDlHistoryResponse, TDlOwnedSingletonsResponse, TDlGetMirrorsResponse, TDlNewMirrorResponse, TDlDeleteMirrorResponse } from "./wallet/index";
|
|
8
|
+
export { chia_wallet_service, TAddKeyRequest, TAddKeyResponse, add_key, TAddRateLimitedFundsRequest, TAddRateLimitedFundsResponse, add_rate_limited_funds, TAdditions, TCancelOfferRequest, TCancelOfferResponse, cancel_offer, TCancelOffersRequest, TCancelOffersResponse, cancel_offers, TCatGetAssetIdRequest, TCatGetAssetIdResponse, cat_get_asset_id, TCatGetNameRequest, TCatGetNameResponse, cat_get_name, TGetStrayCatsResponse, get_stray_cats, TCatAssetIdToNameRequest, TCatAssetIdToNameResponse, cat_asset_id_to_name, TCatSetNameRequest, TCatSetNameResponse, cat_set_name, TCatSpendRequest, TCatSpendResponse, cat_spend, TCheckOfferValidityRequest, TCheckOfferValidityResponse, check_offer_validity, TCreateNewWalletRequest, TCreateNewWalletResponse, create_new_wallet, TCreateOfferForIdsRequest, TCreateOfferForIdsResponse, create_offer_for_ids, TCreateSignedTransactionRequest, TCreateSignedTransactionResponse, create_signed_transaction, TDeleteUnconfirmedTransactionsRequest, TDeleteUnconfirmedTransactionsResponse, delete_unconfirmed_transactions, TSelectCoinsRequest, TSelectCoinsResponse, select_coins, TGetCurrentDerivationIndexResponse, get_current_derivation_index, TExtendDerivationIndexRequest, TExtendDerivationIndexResponse, extend_derivation_index, TGetNotificationsRequest, TGetNotificationsResponse, get_notifications, TDeleteNotificationsRequest, TDeleteNotificationsResponse, delete_notifications, TSendNotificationRequest, TSendNotificationResponse, send_notification, TSignMessageByAddressRequest, TSignMessageByAddressResponse, sign_message_by_address, TSignMessageByIdRequest, TSignMessageByIdResponse, sign_message_by_id, TNftCalculateRoyaltiesRequest, TNftCalculateRoyaltiesResponse, nft_calculate_royalties, TNftMintBulkRequest, TNftMintBulkResponse, nft_mint_bulk, TCreate_New_CAT_WalletRequest, TCreate_New_CAT_WalletResponse, TCreate_New_DID_WalletRequest, TCreate_New_DID_WalletResponse, TCreate_New_RL_WalletRequest, TCreate_New_RL_WalletResponse, TDeleteAllKeysRequest, TDeleteAllKeysResponse, delete_all_keys, TDeleteKeyRequest, TDeleteKeyResponse, delete_key, TDidSetWalletNameRequest, TDidSetWalletNameResponse, did_set_wallet_name, TDidGetWalletNameRequest, TDidGetWalletNameResponse, did_get_wallet_name, TDidCreateAttestRequest, TDidCreateAttestResponse, did_create_attest, TDidCreateBackupFileRequest, TDidCreateBackupFileResponse, did_create_backup_file, TDidTransferDidRequest, TDidTransferDidResponse, did_transfer_did, TDidGetDidRequest, TDidGetDidResponse, did_get_did, TDidGetInformationNeededForRecoveryRequest, TDidGetInformationNeededForRecoveryResponse, did_get_information_needed_for_recovery, TDidGetCurrentCoinInfoRequest, TDidGetCurrentCoinInfoResponse, did_get_current_coin_info, TDidGetPubkeyRequest, TDidGetPubkeyResponse, did_get_pubkey, TDidGetRecoveryListRequest, TDidGetRecoveryListResponse, did_get_recovery_list, TDidGetMetadataRequest, TDidGetMetadataResponse, did_get_metadata, TDidRecoverySpendRequest, TDidRecoverySpendResponse, did_recovery_spend, TDidSpendRequest, TDidSpendResponse, did_spend, TDidUpdateRecoveryIdsRequest, TDidUpdateRecoveryIdsResponse, did_update_recovery_ids, TDidUpdateMetadataRequest, TDidUpdateMetadataResponse, did_update_metadata, TNftMintNftRequest, TNftMintNftResponse, nft_mint_nft, TNftGetNftsRequest, TNftGetNftsResponse, nft_get_nfts, TNftSetNftDidRequest, TNftSetNftDidResponse, nft_set_nft_did, TNftGetByDidRequest, TNftGetByDidResponse, nft_get_by_did, TNftGetWalletDidRequest, TNftGetWalletDidResponse, nft_get_wallet_did, TNftGetWalletsWithDidsResponse, nft_get_wallets_with_dids, TNftSetNftStatusRequest, TNftSetNftStatusResponse, nft_set_nft_status, TNftTransferNftRequest, TNftTransferNftResponse, nft_transfer_nft, TNftGetInfoRequest, TNftGetInfoResponse, nft_get_info, TNftAddUriRequest, TNftAddUriResponse, nft_add_uri, TFarmBlockRequest, TFarmBlockResponse, farm_block, TGenerateMnemonicRequest, TGenerateMnemonicResponse, generate_mnemonic, TGetAllOffersRequest, TGetAllOffersResponse, get_all_offers, TGetCatListResponse, get_cat_list, TGetFarmedAmountRequest, TGetFarmedAmountResponse, get_farmed_amount, TGetHeightInfoRequest, TGetHeightInfoResponse, get_height_info, TGetInitialFreezePeriodRequestOfWallet, TGetInitialFreezePeriodResponseOfWallet, get_initial_freeze_period_of_wallet, TGetLoggedInFingerprintResponse, get_logged_in_fingerprint, TGetOfferRequest, TGetOfferResponse, get_offer, TGetOffersCountResponse, get_offers_count, TGetOfferSummaryRequest, TGetOfferSummaryResponse, get_offer_summary, TGetNetworkInfoRequestOfWallet, TGetNetworkInfoResponseOfWallet, get_network_info_of_wallet, TGetNextAddressRequest, TGetNextAddressResponse, get_next_address, TGetPrivateKeyRequest, TGetPrivateKeyResponse, get_private_key, TGetPublicKeysRequest, TGetPublicKeysResponse, get_public_keys, TGetSyncStatusRequest, TGetSyncStatusResponse, get_sync_status, TGetTransactionCountRequest, TGetTransactionCountResponse, get_transaction_count, TGetTransactionRequest, TGetTransactionResponse, get_transaction, TGetTransactionsRequest, TGetTransactionsResponse, get_transactions, TGetWalletBalanceRequest, TGetWalletBalanceResponse, get_wallet_balance, TGetWalletsRequest, TGetWalletsResponse, get_wallets, TLoginRequest, TLoginResponse, log_in, TPushTxRequest as TPushTxRequestOfWallet, TPushTxResponse as TPushTxResponseOfWallet, push_tx as push_tx_wallet, TPushTransactionsRequest, TPushTransactionsResponse, push_transactions, TPwJoinPoolRequest, TPwJoinPoolResponse, pw_join_pool, TPwSelfPoolRequest, TPwSelfPoolResponse, pw_self_pool, TPwAbsorbRewardsRequest, TPwAbsorbRewardsResponse, pw_absorb_rewards, TPwStatusRequest, TPwStatusResponse, pw_status, TRlSetUserInfoRequest, TRlSetUserInfoResponse, rl_set_user_info, TSendClawbackTransactionRequest, TSendClawbackTransactionResponse, send_clawback_transaction, TSendTransactionRequest, TSendTransactionResponse, send_transaction, TSendTransactionMultiRequest, TSendTransactionMultiResponse, send_transaction_multi, TTakeOfferRequest, TTakeOfferResponse, take_offer, TCreateNewDlRequest, TCreateNewDlResponse, create_new_dl, TDlTrackNewRequest, TDlTrackNewResponse, dl_track_new, TDlStopTrackingRequest, TDlStopTrackingResponse, dl_stop_tracking, TDlLatestSingletonRequest, TDlLatestSingletonResponse, dl_latest_singleton, TDlSingletonsByRootRequest, TDlSingletonsByRootResponse, dl_singletons_by_root, TDlUpdateRootRequest, TDlUpdateRootResponse, dl_update_root, TDlUpdateMultipleRequest, TDlUpdateMultipleResponse, dl_update_multiple, TDlHistoryRequest, TDlHistoryResponse, dl_history, TDlOwnedSingletonsResponse, dl_owned_singletons, TDlGetMirrorsRequest, TDlGetMirrorsResponse, dl_get_mirrors, TDlNewMirrorRequest, TDlNewMirrorResponse, dl_new_mirror, TDlDeleteMirrorRequest, TDlDeleteMirrorResponse, dl_delete_mirror, } from "./wallet/index";
|
|
9
|
+
import { TCreateDataStoreResponse, TGetOwnedStoresResponse, TBatchUpdateResponse, TGetValueResponse, TGetKeysResponse, TGetKeysValuesResponse, TGetAncestorsResponse, TGetRootResponse, TGetLocalRootResponse, TGetRootsResponse, TDeleteKeyResponse as TDeleteKeyResponseDL, TInsertResponse, TSubscribeResponse, TUnsubscribeResponse, TAddMirrorResponse, TDeleteMirrorResponse, TGetMirrorsResponse, TRemoveSubscriptionsResponse, TSubscriptionsResponse, TGetKvDiffResponse, TGetRootHistoryResponse, TAddMissingFilesResponse, TMakeOfferResponse, TTakeOfferResponse as TTakeOfferResponseDL, TVerifyOfferResponse, TCancelOfferResponse as TCancelOfferResponseDL } from "./data_layer/index";
|
|
10
|
+
export { chia_data_layer_service, TCreateDataStoreRequest, TCreateDataStoreResponse, create_data_store, TGetOwnedStoresResponse, get_owned_stores, TBatchUpdateRequest, TBatchUpdateResponse, batch_update, TGetValueRequest, TGetValueResponse, get_value, TGetKeysRequest, TGetKeysResponse, get_keys, TGetKeysValuesRequest, TGetKeysValuesResponse, get_keys_values, TGetAncestorsRequest, TGetAncestorsResponse, get_ancestors, TGetRootRequest, TGetRootResponse, get_root, TGetLocalRootRequest, TGetLocalRootResponse, get_local_root, TGetRootsRequest, TGetRootsResponse, get_roots, TDeleteKeyRequest as TDeleteKeyDLRequest, TDeleteKeyResponse as TDeleteKeyDLResponse, delete_key as delete_key_dl, TInsertRequest, TInsertResponse, insert, TSubscribeRequest, TSubscribeResponse, subscribe, TUnsubscribeRequest, TUnsubscribeResponse, unsubscribe, TAddMirrorRequest, TAddMirrorResponse, add_mirror, TDeleteMirrorRequest, TDeleteMirrorResponse, delete_mirror, TGetMirrorsRequest, TGetMirrorsResponse, get_mirrors, TRemoveSubscriptionsRequest, TRemoveSubscriptionsResponse, remove_subscriptions, TSubscriptionsResponse, subscriptions, TGetKvDiffRequest, TGetKvDiffResponse, get_kv_diff, TGetRootHistoryRequest, TGetRootHistoryResponse, get_root_history, TAddMissingFilesRequest, TAddMissingFilesResponse, add_missing_files, TMakeOfferRequest, TMakeOfferResponse, make_offer, TTakeOfferRequest as TTakeOfferRequestDL, TTakeOfferResponse as TTakeOfferResponseDL, take_offer as take_offer_dl, TVerifyOfferRequest, TVerifyOfferResponse, verify_offer, TCancelOfferRequest as TCancelOfferRequestDL, TCancelOfferResponse as TCancelOfferResponseDL, cancel_offer as cancel_offer_dl, } from "./data_layer/index";
|
|
9
11
|
import type { TGetIpsAfterTimestampResponse, TGetPeerCountsResponse } from "./crawler/index";
|
|
10
12
|
export { chia_crawler_service, TGetIpsAfterTimestampRequest, TGetIpsAfterTimestampResponse, TGetPeerCountsResponse, get_ips_after_timestamp, get_peer_counts, } from "./crawler/index";
|
|
11
13
|
import type { TGetConnectionsResponse, TOpenConnectionResponse, TCloseConnectionResponse, TStopNodeResponse, TGetRoutesResponse, THealthzResponse } from "./common/index";
|
|
12
14
|
export { chia_common_service, TGetConnectionsRequest, TGetConnectionsResponse, TOpenConnectionRequest, TOpenConnectionResponse, TCloseConnectionRequest, TCloseConnectionResponse, TStopNodeResponse, TGetRoutesResponse, THealthzResponse, get_connections, open_connection, close_connection, stop_node, get_routes, healthz, } from "./common/index";
|
|
13
15
|
export declare type RpcFarmerMessage = TGetRewardTargetResponse | TGetSignagePointResponse | TGetSignagePointsResponse | TSetRewardTargetResponse | TGetHarvestersResponse | TGetHarvestersSummaryResponse | TGetHarvesterPlotsValidResponse | TGetHarvesterPlotsInvalidResponse | TGetHarvesterPlotsKeysMissingResponse | TGetHarvesterPlotsDuplicatesResponse | TSetPayoutInstructionsResponse | TGetPoolStateResponse | TGetPoolLinkResponse;
|
|
14
|
-
export declare type RpcFullNodeMessage = TGetAdditionsAndRemovalsResponse | TGetAllMempoolItemsResponse | TGetAllMempoolTxIdsResponse | TGetBlockResponse | TGetBlockRecordByHeightResponse | TGetBlockRecordResponse | TGetBlockRecordsResponse | TGetBlockSpendsResponse | TGetBlockchainStateResponse | TGetBlocksResponse | TGetBlockCountMetricsResponse | TGetRecentSignagePointOrEOSCommandResponse | TGetCoinRecordByNameResponse | TGetCoinRecordsByNamesResponse | TGetCoinRecordsByPuzzleHashResponse | TGetCoinRecordsByPuzzleHashesResponse | TGetCoinRecordsByParentIdsResponse | TGetCoinRecordsByHintResponse | TGetInitialFreezePeriodResponseOfFullNode | TGetMempoolItemByTxIdResponse | TGetNetworkInfoResponseOfFullNode | TGetNetworkSpaceResponse | TGetUnfinishedBlockHeadersResponse | TPushTxResponse | TGetPuzzleAndSolutionResponse;
|
|
16
|
+
export declare type RpcFullNodeMessage = TGetAdditionsAndRemovalsResponse | TGetAllMempoolItemsResponse | TGetAllMempoolTxIdsResponse | TGetBlockResponse | TGetBlockRecordByHeightResponse | TGetBlockRecordResponse | TGetBlockRecordsResponse | TGetBlockSpendsResponse | TGetBlockchainStateResponse | TGetBlocksResponse | TGetBlockCountMetricsResponse | TGetRecentSignagePointOrEOSCommandResponse | TGetCoinRecordByNameResponse | TGetCoinRecordsByNamesResponse | TGetCoinRecordsByPuzzleHashResponse | TGetCoinRecordsByPuzzleHashesResponse | TGetCoinRecordsByParentIdsResponse | TGetCoinRecordsByHintResponse | TGetInitialFreezePeriodResponseOfFullNode | TGetMempoolItemByTxIdResponse | TGetNetworkInfoResponseOfFullNode | TGetNetworkSpaceResponse | TGetUnfinishedBlockHeadersResponse | TPushTxResponse | TGetPuzzleAndSolutionResponse | TGetFeeEstimateResponse;
|
|
15
17
|
export declare type RpcHarvesterMessage = TAddPlotDirectoryResponse | TDeletePlotResponse | TGetPlotDirectoriesResponse | TGetPlotsResponse | TRefreshPlotsResponse | TRemovePlotDirectoryResponse;
|
|
16
|
-
export declare type RpcWalletMessage = TAddKeyResponse | TAddRateLimitedFundsResponse | TCancelOfferResponse | TCancelOffersResponse | TCatGetAssetIdResponse | TCatGetNameResponse | TGetStrayCatsResponse | TCatAssetIdToNameResponse | TCatSetNameResponse | TCatSpendResponse | TCheckOfferValidityResponse | TCreateNewWalletResponse | TCreateOfferForIdsResponse | TCreateSignedTransactionResponse | TDeleteUnconfirmedTransactionsResponse | TSelectCoinsResponse | TGetCurrentDerivationIndexResponse | TExtendDerivationIndexResponse | TDeleteAllKeysResponse | TDeleteKeyResponse | TDidSetWalletNameResponse | TDidGetWalletNameResponse | TDidCreateAttestResponse | TDidCreateBackupFileResponse | TDidTransferDidResponse | TDidGetDidResponse | TDidGetInformationNeededForRecoveryResponse | TDidGetCurrentCoinInfoResponse | TDidGetPubkeyResponse | TDidGetRecoveryListResponse | TDidGetMetadataResponse | TDidRecoverySpendResponse | TDidSpendResponse | TDidUpdateRecoveryIdsResponse | TDidUpdateMetadataResponse | TNftMintNftResponse | TNftGetNftsResponse | TNftSetNftDidResponse | TNftGetByDidResponse | TNftGetWalletDidResponse | TNftGetWalletsWithDidsResponse | TNftSetNftStatusResponse | TNftTransferNftResponse | TNftGetInfoResponse | TNftAddUriResponse | TFarmBlockResponse | TGenerateMnemonicResponse | TGetAllOffersResponse | TGetCatListResponse | TGetFarmedAmountResponse | TGetHeightInfoResponse | TGetInitialFreezePeriodResponseOfWallet | TGetLoggedInFingerprintResponse | TGetOfferResponse | TGetOffersCountResponse | TGetOfferSummaryResponse | TGetNetworkInfoResponseOfWallet | TGetNextAddressResponse | TGetPrivateKeyResponse | TGetPublicKeysResponse | TGetSyncStatusResponse | TGetTransactionResponse | TGetTransactionCountResponse | TGetTransactionsResponse | TGetWalletBalanceResponse | TGetWalletsResponse | TLoginResponse | TPushTxResponseOfWallet | TPwJoinPoolResponse | TPwSelfPoolResponse | TPwAbsorbRewardsResponse | TPwStatusResponse | TRlSetUserInfoResponse | TSendClawbackTransactionResponse | TSendTransactionResponse | TSendTransactionMultiResponse | TTakeOfferResponse;
|
|
18
|
+
export declare type RpcWalletMessage = TAddKeyResponse | TAddRateLimitedFundsResponse | TCancelOfferResponse | TCancelOffersResponse | TCatGetAssetIdResponse | TCatGetNameResponse | TGetStrayCatsResponse | TCatAssetIdToNameResponse | TCatSetNameResponse | TCatSpendResponse | TCheckOfferValidityResponse | TCreateNewWalletResponse | TCreateOfferForIdsResponse | TCreateSignedTransactionResponse | TDeleteUnconfirmedTransactionsResponse | TSelectCoinsResponse | TGetCurrentDerivationIndexResponse | TExtendDerivationIndexResponse | TGetNotificationsResponse | TDeleteNotificationsResponse | TSendNotificationResponse | TSignMessageByAddressResponse | TSignMessageByIdResponse | TNftCalculateRoyaltiesResponse | TNftMintBulkResponse | TDeleteAllKeysResponse | TDeleteKeyResponse | TDidSetWalletNameResponse | TDidGetWalletNameResponse | TDidCreateAttestResponse | TDidCreateBackupFileResponse | TDidTransferDidResponse | TDidGetDidResponse | TDidGetInformationNeededForRecoveryResponse | TDidGetCurrentCoinInfoResponse | TDidGetPubkeyResponse | TDidGetRecoveryListResponse | TDidGetMetadataResponse | TDidRecoverySpendResponse | TDidSpendResponse | TDidUpdateRecoveryIdsResponse | TDidUpdateMetadataResponse | TNftMintNftResponse | TNftGetNftsResponse | TNftSetNftDidResponse | TNftGetByDidResponse | TNftGetWalletDidResponse | TNftGetWalletsWithDidsResponse | TNftSetNftStatusResponse | TNftTransferNftResponse | TNftGetInfoResponse | TNftAddUriResponse | TFarmBlockResponse | TGenerateMnemonicResponse | TGetAllOffersResponse | TGetCatListResponse | TGetFarmedAmountResponse | TGetHeightInfoResponse | TGetInitialFreezePeriodResponseOfWallet | TGetLoggedInFingerprintResponse | TGetOfferResponse | TGetOffersCountResponse | TGetOfferSummaryResponse | TGetNetworkInfoResponseOfWallet | TGetNextAddressResponse | TGetPrivateKeyResponse | TGetPublicKeysResponse | TGetSyncStatusResponse | TGetTransactionResponse | TGetTransactionCountResponse | TGetTransactionsResponse | TGetWalletBalanceResponse | TGetWalletsResponse | TLoginResponse | TPushTxResponseOfWallet | TPushTransactionsResponse | TPwJoinPoolResponse | TPwSelfPoolResponse | TPwAbsorbRewardsResponse | TPwStatusResponse | TRlSetUserInfoResponse | TSendClawbackTransactionResponse | TSendTransactionResponse | TSendTransactionMultiResponse | TTakeOfferResponse | TCreateNewDlResponse | TDlTrackNewResponse | TDlStopTrackingResponse | TDlLatestSingletonResponse | TDlSingletonsByRootResponse | TDlUpdateRootResponse | TDlUpdateMultipleResponse | TDlHistoryResponse | TDlOwnedSingletonsResponse | TDlGetMirrorsResponse | TDlNewMirrorResponse | TDlDeleteMirrorResponse;
|
|
19
|
+
export declare type RpcDataLayerMessage = TCreateDataStoreResponse | TGetOwnedStoresResponse | TBatchUpdateResponse | TGetValueResponse | TGetKeysResponse | TGetKeysValuesResponse | TGetAncestorsResponse | TGetRootResponse | TGetLocalRootResponse | TGetRootsResponse | TDeleteKeyResponseDL | TInsertResponse | TSubscribeResponse | TUnsubscribeResponse | TAddMirrorResponse | TDeleteMirrorResponse | TGetMirrorsResponse | TRemoveSubscriptionsResponse | TSubscriptionsResponse | TGetKvDiffResponse | TGetRootHistoryResponse | TAddMissingFilesResponse | TMakeOfferResponse | TTakeOfferResponseDL | TVerifyOfferResponse | TCancelOfferResponseDL;
|
|
17
20
|
export declare type RpcCrawlerMessage = TGetIpsAfterTimestampResponse | TGetPeerCountsResponse;
|
|
18
21
|
export declare type RpcCommonMessage = TGetConnectionsResponse | TOpenConnectionResponse | TCloseConnectionResponse | TStopNodeResponse | TGetRoutesResponse | THealthzResponse;
|
|
19
|
-
export declare type RpcMessage = RpcFarmerMessage | RpcFullNodeMessage | RpcHarvesterMessage | RpcWalletMessage | RpcCrawlerMessage | RpcCommonMessage;
|
|
22
|
+
export declare type RpcMessage = RpcFarmerMessage | RpcFullNodeMessage | RpcHarvesterMessage | RpcWalletMessage | RpcDataLayerMessage | RpcCrawlerMessage | RpcCommonMessage;
|