chia-agent 3.0.1 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/CHANGELOG.md +177 -0
  2. package/README.md +9 -13
  3. package/api/chia/consensus/blockchain.d.ts +1 -0
  4. package/api/chia/{types/condition_with_args.js → consensus/blockchain.js} +0 -0
  5. package/api/chia/consensus/cost_calculator.d.ts +3 -3
  6. package/api/chia/farmer/farmer.d.ts +1 -0
  7. package/api/chia/harvester/harvester.d.ts +2 -3
  8. package/api/chia/plot-sync/receiver.d.ts +22 -0
  9. package/api/chia/{types/name_puzzle_condition.js → plot-sync/receiver.js} +0 -0
  10. package/api/chia/pools/pool_config.d.ts +0 -1
  11. package/api/chia/protocols/harvester_protocol.d.ts +0 -5
  12. package/api/chia/server/outbound_message.d.ts +1 -0
  13. package/api/chia/{wallet/util/backup_utils.js → server/outbound_message.js} +0 -0
  14. package/api/chia/timelord/types.d.ts +1 -0
  15. package/api/chia/{wallet/util/trade_utils.js → timelord/types.js} +0 -0
  16. package/api/chia/types/coin_record.d.ts +3 -1
  17. package/api/chia/types/spend_bundle_condition.d.ts +18 -0
  18. package/api/chia/types/spend_bundle_condition.js +2 -0
  19. package/api/chia/wallet/cat_wallet/cat_constants.d.ts +6 -0
  20. package/api/chia/wallet/cat_wallet/cat_constants.js +2 -0
  21. package/api/chia/wallet/trade_record.d.ts +24 -0
  22. package/api/chia/wallet/trade_record.js +1 -0
  23. package/api/chia/wallet/transaction_record.d.ts +7 -2
  24. package/api/chia/wallet/util/wallet_types.d.ts +1 -1
  25. package/api/chia/wallet/util/wallet_types.js +1 -1
  26. package/api/rpc/common/index.d.ts +40 -0
  27. package/api/rpc/common/index.js +48 -0
  28. package/api/rpc/crawler/index.d.ts +29 -0
  29. package/api/rpc/crawler/index.js +27 -0
  30. package/api/rpc/farmer/index.d.ts +82 -10
  31. package/api/rpc/farmer/index.js +36 -1
  32. package/api/rpc/full_node/index.d.ts +39 -8
  33. package/api/rpc/full_node/index.js +21 -1
  34. package/api/rpc/index.d.ts +16 -10
  35. package/api/rpc/index.js +42 -12
  36. package/api/rpc/wallet/index.d.ts +198 -114
  37. package/api/rpc/wallet/index.js +98 -49
  38. package/api/types.d.ts +16 -0
  39. package/api/types.js +2 -1
  40. package/api/ws/crawler/index.d.ts +25 -0
  41. package/api/ws/crawler/index.js +40 -0
  42. package/api/ws/daemon/index.d.ts +8 -0
  43. package/api/ws/daemon/index.js +9 -2
  44. package/api/ws/farmer/index.d.ts +20 -8
  45. package/api/ws/farmer/index.js +31 -5
  46. package/api/ws/full_node/index.d.ts +50 -4
  47. package/api/ws/full_node/index.js +40 -1
  48. package/api/ws/harvester/index.d.ts +9 -3
  49. package/api/ws/harvester/index.js +14 -1
  50. package/api/ws/index.d.ts +22 -16
  51. package/api/ws/index.js +54 -33
  52. package/api/ws/timelord/index.d.ts +38 -0
  53. package/api/ws/timelord/index.js +66 -0
  54. package/api/ws/wallet/index.d.ts +32 -6
  55. package/api/ws/wallet/index.js +42 -3
  56. package/daemon/connection.d.ts +2 -2
  57. package/daemon/index.d.ts +6 -6
  58. package/index.d.ts +0 -2
  59. package/package.json +2 -2
  60. package/api/chia/types/condition_opcodes.d.ts +0 -20
  61. package/api/chia/types/condition_opcodes.js +0 -31
  62. package/api/chia/types/condition_with_args.d.ts +0 -6
  63. package/api/chia/types/name_puzzle_condition.d.ts +0 -8
  64. package/api/chia/wallet/util/backup_utils.d.ts +0 -25
  65. package/api/chia/wallet/util/trade_utils.d.ts +0 -11
@@ -1,9 +1,10 @@
1
1
  import { ProofOfSpace } from "../../chia/types/blockchain_format/proof_of_space";
2
- import { bool, int, str, uint64, uint8 } from "../../chia/types/_python_types_";
2
+ import { bool, int, Optional, str, uint64, uint8 } from "../../chia/types/_python_types_";
3
3
  import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
4
4
  import { TRPCAgent } from "../../../rpc/index";
5
- import { RespondPlots } from "../../chia/protocols/harvester_protocol";
6
5
  import { PoolState } from "../../chia/farmer/farmer";
6
+ import { Receiver } from "../../chia/plot-sync/receiver";
7
+ import { Plot } from "../../chia/protocols/harvester_protocol";
7
8
  export declare const chia_farmer_service = "chia_farmer";
8
9
  export declare type chia_farmer_service = typeof chia_farmer_service;
9
10
  export declare const get_signage_point_command = "get_signage_point";
@@ -68,20 +69,91 @@ export declare type TSetPayoutInstructionsRequest = {
68
69
  };
69
70
  export declare type TSetPayoutInstructionsResponse = {};
70
71
  export declare function set_pool_payout_instructions(agent: TRPCAgent, params: TSetPayoutInstructionsRequest): Promise<TSetPayoutInstructionsResponse>;
71
- export declare type HarvesterObject = RespondPlots & {
72
- connection: {
73
- node_id: str;
74
- host: str;
75
- port: int;
76
- };
77
- };
78
72
  export declare const get_harvesters_command = "get_harvesters";
79
73
  export declare type get_harvesters_command = typeof get_harvesters_command;
80
74
  export declare type TGetHarvestersRequest = {};
81
75
  export declare type TGetHarvestersResponse = {
82
- harvesters: HarvesterObject[];
76
+ harvesters: Receiver[];
83
77
  };
84
78
  export declare function get_harvesters(agent: TRPCAgent): Promise<TGetHarvestersResponse>;
79
+ export declare const get_harvesters_summary_command = "get_harvesters_summary";
80
+ export declare type get_harvesters_summary_command = typeof get_harvesters_summary_command;
81
+ export declare type TGetHarvestersSummaryResponse = {
82
+ harvesters: Receiver<true>[];
83
+ };
84
+ export declare function get_harvesters_summary(agent: TRPCAgent): Promise<TGetHarvestersSummaryResponse>;
85
+ export declare const get_harvester_plots_valid_command = "get_harvester_plots_valid";
86
+ export declare type get_harvester_plots_valid_command = typeof get_harvester_plots_valid_command;
87
+ export declare type TGetHarvesterPlotsValidRequest = {
88
+ node_id: bytes32;
89
+ page: int;
90
+ page_size: int;
91
+ filter: Array<{
92
+ key: str;
93
+ value: Optional<str>;
94
+ }>;
95
+ sort_key: str;
96
+ reverse: bool;
97
+ };
98
+ export declare type TGetHarvesterPlotsValidResponse = {
99
+ node_id: str;
100
+ page: int;
101
+ page_count: int;
102
+ total_count: int;
103
+ plots: Plot[];
104
+ };
105
+ export declare function get_harvester_plots_valid(agent: TRPCAgent, param: TGetHarvesterPlotsValidRequest): Promise<TGetHarvesterPlotsValidResponse>;
106
+ export declare const get_harvester_plots_invalid_command = "get_harvester_plots_invalid";
107
+ export declare type get_harvester_plots_invalid_command = typeof get_harvester_plots_invalid_command;
108
+ export declare type TGetHarvesterPlotsInvalidRequest = {
109
+ node_id: bytes32;
110
+ page: int;
111
+ page_size: int;
112
+ filter: str[];
113
+ reverse: bool;
114
+ };
115
+ export declare type TGetHarvesterPlotsInvalidResponse = {
116
+ node_id: str;
117
+ page: int;
118
+ page_count: int;
119
+ total_count: int;
120
+ plots: str[];
121
+ };
122
+ export declare function get_harvester_plots_invalid(agent: TRPCAgent, param: TGetHarvesterPlotsInvalidRequest): Promise<TGetHarvesterPlotsInvalidResponse>;
123
+ export declare const get_harvester_plots_keys_missing_command = "get_harvester_plots_keys_missing";
124
+ export declare type get_harvester_plots_keys_missing_command = typeof get_harvester_plots_keys_missing_command;
125
+ export declare type TGetHarvesterPlotsKeysMissingRequest = {
126
+ node_id: bytes32;
127
+ page: int;
128
+ page_size: int;
129
+ filter: str[];
130
+ reverse: bool;
131
+ };
132
+ export declare type TGetHarvesterPlotsKeysMissingResponse = {
133
+ node_id: str;
134
+ page: int;
135
+ page_count: int;
136
+ total_count: int;
137
+ plots: str[];
138
+ };
139
+ export declare function get_harvester_plots_keys_missing(agent: TRPCAgent, param: TGetHarvesterPlotsKeysMissingRequest): Promise<TGetHarvesterPlotsKeysMissingResponse>;
140
+ export declare const get_harvester_plots_duplicates_command = "get_harvester_plots_duplicates";
141
+ export declare type get_harvester_plots_duplicates_command = typeof get_harvester_plots_duplicates_command;
142
+ export declare type TGetHarvesterPlotsDuplicatesRequest = {
143
+ node_id: bytes32;
144
+ page: int;
145
+ page_size: int;
146
+ filter: str[];
147
+ reverse: bool;
148
+ };
149
+ export declare type TGetHarvesterPlotsDuplicatesResponse = {
150
+ node_id: str;
151
+ page: int;
152
+ page_count: int;
153
+ total_count: int;
154
+ plots: str[];
155
+ };
156
+ export declare function get_harvester_plots_duplicates(agent: TRPCAgent, param: TGetHarvesterPlotsDuplicatesRequest): Promise<TGetHarvesterPlotsDuplicatesResponse>;
85
157
  export declare const get_pool_login_link_command = "get_pool_login_link";
86
158
  export declare type get_pool_login_link_command = typeof get_pool_login_link_command;
87
159
  export declare type TGetPoolLinkRequest = {
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.get_pool_login_link = exports.get_pool_login_link_command = exports.get_harvesters = exports.get_harvesters_command = exports.set_pool_payout_instructions = exports.set_payout_instructions_command = exports.get_pool_state = exports.get_pool_state_command = exports.set_reward_targets = exports.set_reward_targets_command = exports.get_reward_targets = exports.get_reward_targets_command = exports.get_signage_points = exports.get_signage_points_command = exports.get_signage_point = exports.get_signage_point_command = exports.chia_farmer_service = void 0;
12
+ exports.get_pool_login_link = exports.get_pool_login_link_command = exports.get_harvester_plots_duplicates = exports.get_harvester_plots_duplicates_command = exports.get_harvester_plots_keys_missing = exports.get_harvester_plots_keys_missing_command = exports.get_harvester_plots_invalid = exports.get_harvester_plots_invalid_command = exports.get_harvester_plots_valid = exports.get_harvester_plots_valid_command = exports.get_harvesters_summary = exports.get_harvesters_summary_command = exports.get_harvesters = exports.get_harvesters_command = exports.set_pool_payout_instructions = exports.set_payout_instructions_command = exports.get_pool_state = exports.get_pool_state_command = exports.set_reward_targets = exports.set_reward_targets_command = exports.get_reward_targets = exports.get_reward_targets_command = exports.get_signage_points = exports.get_signage_points_command = exports.get_signage_point = exports.get_signage_point_command = exports.chia_farmer_service = void 0;
13
13
  exports.chia_farmer_service = "chia_farmer";
14
14
  exports.get_signage_point_command = "get_signage_point";
15
15
  function get_signage_point(agent, params) {
@@ -60,6 +60,41 @@ function get_harvesters(agent) {
60
60
  });
61
61
  }
62
62
  exports.get_harvesters = get_harvesters;
63
+ exports.get_harvesters_summary_command = "get_harvesters_summary";
64
+ function get_harvesters_summary(agent) {
65
+ return __awaiter(this, void 0, void 0, function* () {
66
+ return agent.sendMessage(exports.chia_farmer_service, exports.get_harvesters_summary_command);
67
+ });
68
+ }
69
+ exports.get_harvesters_summary = get_harvesters_summary;
70
+ exports.get_harvester_plots_valid_command = "get_harvester_plots_valid";
71
+ function get_harvester_plots_valid(agent, param) {
72
+ return __awaiter(this, void 0, void 0, function* () {
73
+ return agent.sendMessage(exports.chia_farmer_service, exports.get_harvester_plots_valid_command, param);
74
+ });
75
+ }
76
+ exports.get_harvester_plots_valid = get_harvester_plots_valid;
77
+ exports.get_harvester_plots_invalid_command = "get_harvester_plots_invalid";
78
+ function get_harvester_plots_invalid(agent, param) {
79
+ return __awaiter(this, void 0, void 0, function* () {
80
+ return agent.sendMessage(exports.chia_farmer_service, exports.get_harvester_plots_invalid_command, param);
81
+ });
82
+ }
83
+ exports.get_harvester_plots_invalid = get_harvester_plots_invalid;
84
+ exports.get_harvester_plots_keys_missing_command = "get_harvester_plots_keys_missing";
85
+ function get_harvester_plots_keys_missing(agent, param) {
86
+ return __awaiter(this, void 0, void 0, function* () {
87
+ return agent.sendMessage(exports.chia_farmer_service, exports.get_harvester_plots_keys_missing_command, param);
88
+ });
89
+ }
90
+ exports.get_harvester_plots_keys_missing = get_harvester_plots_keys_missing;
91
+ exports.get_harvester_plots_duplicates_command = "get_harvester_plots_duplicates";
92
+ function get_harvester_plots_duplicates(agent, param) {
93
+ return __awaiter(this, void 0, void 0, function* () {
94
+ return agent.sendMessage(exports.chia_farmer_service, exports.get_harvester_plots_duplicates_command, param);
95
+ });
96
+ }
97
+ exports.get_harvester_plots_duplicates = get_harvester_plots_duplicates;
63
98
  exports.get_pool_login_link_command = "get_pool_login_link";
64
99
  function get_pool_login_link(agent, params) {
65
100
  return __awaiter(this, void 0, void 0, function* () {
@@ -2,7 +2,7 @@ import { FullBlock } from "../../chia/types/full_block";
2
2
  import { BlockRecord } from "../../chia/consensus/block_record";
3
3
  import { bool, float, int, Optional, str, uint128, uint32, uint64 } from "../../chia/types/_python_types_";
4
4
  import { UnfinishedHeaderBlock } from "../../chia/types/unfinished_header_block";
5
- import { CoinRecord } from "../../chia/types/coin_record";
5
+ import { CoinRecordBackwardCompatible } from "../../chia/types/coin_record";
6
6
  import { SpendBundle } from "../../chia/types/spend_bundle";
7
7
  import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
8
8
  import { MempoolItem } from "../../chia/types/mempool_item";
@@ -29,6 +29,13 @@ export declare type TGetBlockchainStateResponse = {
29
29
  sub_slot_iters: uint64;
30
30
  space: uint128;
31
31
  mempool_size: int;
32
+ mempool_cost: int;
33
+ mempool_min_fees: {
34
+ cost_5000000: float;
35
+ };
36
+ mempool_max_total_cost: int;
37
+ block_max_cost: int;
38
+ node_id: str;
32
39
  };
33
40
  };
34
41
  export declare function get_blockchain_state(agent: TRPCAgent): Promise<TGetBlockchainStateResponse>;
@@ -47,6 +54,7 @@ export declare type TGetBlocksRequest = {
47
54
  start: int;
48
55
  end: int;
49
56
  exclude_header_hash?: bool;
57
+ exclude_reorged?: bool;
50
58
  };
51
59
  export declare type TGetBlocksResponse = {
52
60
  blocks: FullBlock[] | Array<FullBlock & {
@@ -54,6 +62,16 @@ export declare type TGetBlocksResponse = {
54
62
  }>;
55
63
  };
56
64
  export declare function get_blocks(agent: TRPCAgent, data: TGetBlocksRequest): Promise<TGetBlocksResponse>;
65
+ export declare const get_block_count_metrics_command = "get_block_count_metrics";
66
+ export declare type get_block_count_metrics_command = typeof get_block_count_metrics_command;
67
+ export declare type TGetBlockCountMetricsResponse = {
68
+ metrics: {
69
+ "compact_blocks": int;
70
+ "uncompact_blocks": int;
71
+ "hint_count": int;
72
+ };
73
+ };
74
+ export declare function get_block_count_metrics(agent: TRPCAgent): Promise<TGetBlockCountMetricsResponse>;
57
75
  export declare const get_block_record_by_height_command = "get_block_record_by_height";
58
76
  export declare type get_block_record_by_height_command = typeof get_block_record_by_height_command;
59
77
  export declare type TGetBlockRecordByHeightRequest = {
@@ -105,8 +123,8 @@ export declare type TGetAdditionsAndRemovalsRequest = {
105
123
  header_hash: str;
106
124
  };
107
125
  export declare type TGetAdditionsAndRemovalsResponse = {
108
- additions: CoinRecord[];
109
- removals: CoinRecord[];
126
+ additions: CoinRecordBackwardCompatible[];
127
+ removals: CoinRecordBackwardCompatible[];
110
128
  };
111
129
  export declare function get_additions_and_removals(agent: TRPCAgent, data: TGetAdditionsAndRemovalsRequest): Promise<TGetAdditionsAndRemovalsResponse>;
112
130
  export declare const get_initial_freeze_period_command_of_full_node = "get_initial_freeze_period";
@@ -150,7 +168,7 @@ export declare type TGetCoinRecordsByPuzzleHashRequest = {
150
168
  include_spent_coins: bool;
151
169
  };
152
170
  export declare type TGetCoinRecordsByPuzzleHashResponse = {
153
- coin_records: CoinRecord[];
171
+ coin_records: CoinRecordBackwardCompatible[];
154
172
  };
155
173
  export declare function get_coin_records_by_puzzle_hash(agent: TRPCAgent, data: TGetCoinRecordsByPuzzleHashRequest): Promise<TGetCoinRecordsByPuzzleHashResponse>;
156
174
  export declare const get_coin_records_by_puzzle_hashes_command = "get_coin_records_by_puzzle_hashes";
@@ -162,7 +180,7 @@ export declare type TGetCoinRecordsByPuzzleHashesRequest = {
162
180
  include_spent_coins: bool;
163
181
  };
164
182
  export declare type TGetCoinRecordsByPuzzleHashesResponse = {
165
- coin_records: CoinRecord[];
183
+ coin_records: CoinRecordBackwardCompatible[];
166
184
  };
167
185
  export declare function get_coin_records_by_puzzle_hashes(agent: TRPCAgent, data: TGetCoinRecordsByPuzzleHashesRequest): Promise<TGetCoinRecordsByPuzzleHashesResponse>;
168
186
  export declare const get_coin_record_by_name_command = "get_coin_record_by_name";
@@ -171,7 +189,7 @@ export declare type TGetCoinRecordByNameRequest = {
171
189
  name: str;
172
190
  };
173
191
  export declare type TGetCoinRecordByNameResponse = {
174
- coin_record: CoinRecord;
192
+ coin_record: CoinRecordBackwardCompatible;
175
193
  };
176
194
  export declare function get_coin_record_by_name(agent: TRPCAgent, data: TGetCoinRecordByNameRequest): Promise<TGetCoinRecordByNameResponse>;
177
195
  export declare const get_coin_records_by_names_command = "get_coin_records_by_names";
@@ -183,7 +201,7 @@ export declare type TGetCoinRecordsByNamesRequest = {
183
201
  include_spent_coins?: bool;
184
202
  };
185
203
  export declare type TGetCoinRecordsByNamesResponse = {
186
- coin_records: CoinRecord[];
204
+ coin_records: CoinRecordBackwardCompatible[];
187
205
  };
188
206
  export declare function get_coin_records_by_names(agent: TRPCAgent, data: TGetCoinRecordsByNamesRequest): Promise<TGetCoinRecordsByNamesResponse>;
189
207
  export declare const get_coin_records_by_parent_ids_command = "get_coin_records_by_parent_ids";
@@ -195,8 +213,21 @@ export declare type TGetCoinRecordsByParentIdsRequest = {
195
213
  include_spent_coins?: bool;
196
214
  };
197
215
  export declare type TGetCoinRecordsByParentIdsResponse = {
198
- coin_records: CoinRecord[];
216
+ coin_records: CoinRecordBackwardCompatible[];
217
+ };
218
+ export declare function get_coin_records_by_parent_ids(agent: TRPCAgent, data: TGetCoinRecordsByParentIdsRequest): Promise<TGetCoinRecordsByParentIdsResponse>;
219
+ export declare const get_coin_records_by_hint_command = "get_coin_records_by_hint";
220
+ export declare type get_coin_records_by_hint_command = typeof get_coin_records_by_hint_command;
221
+ export declare type TGetCoinRecordsByHintRequest = {
222
+ hint: str;
223
+ start_height?: uint32;
224
+ end_height?: uint32;
225
+ include_spent_coins?: bool;
226
+ };
227
+ export declare type TGetCoinRecordsByHintResponse = {
228
+ coin_records: CoinRecordBackwardCompatible[];
199
229
  };
230
+ export declare function get_coin_records_by_hint(agent: TRPCAgent, data: TGetCoinRecordsByHintRequest): Promise<TGetCoinRecordsByHintResponse>;
200
231
  export declare const push_tx_command = "push_tx";
201
232
  export declare type push_tx_command = typeof push_tx_command;
202
233
  export declare type TPushTxRequest = {
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.get_mempool_item_by_tx_id = 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_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_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_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;
12
+ exports.get_mempool_item_by_tx_id = 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_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
13
  exports.chia_full_node_service = "chia_full_node";
14
14
  exports.get_blockchain_state_command = "get_blockchain_state";
15
15
  function get_blockchain_state(agent) {
@@ -32,6 +32,13 @@ function get_blocks(agent, data) {
32
32
  });
33
33
  }
34
34
  exports.get_blocks = get_blocks;
35
+ exports.get_block_count_metrics_command = "get_block_count_metrics";
36
+ function get_block_count_metrics(agent) {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ return agent.sendMessage(exports.chia_full_node_service, exports.get_block_count_metrics_command);
39
+ });
40
+ }
41
+ exports.get_block_count_metrics = get_block_count_metrics;
35
42
  exports.get_block_record_by_height_command = "get_block_record_by_height";
36
43
  function get_block_record_by_height(agent, data) {
37
44
  return __awaiter(this, void 0, void 0, function* () {
@@ -124,6 +131,19 @@ function get_coin_records_by_names(agent, data) {
124
131
  }
125
132
  exports.get_coin_records_by_names = get_coin_records_by_names;
126
133
  exports.get_coin_records_by_parent_ids_command = "get_coin_records_by_parent_ids";
134
+ function get_coin_records_by_parent_ids(agent, data) {
135
+ return __awaiter(this, void 0, void 0, function* () {
136
+ return agent.sendMessage(exports.chia_full_node_service, exports.get_coin_records_by_parent_ids_command, data);
137
+ });
138
+ }
139
+ exports.get_coin_records_by_parent_ids = get_coin_records_by_parent_ids;
140
+ exports.get_coin_records_by_hint_command = "get_coin_records_by_hint";
141
+ function get_coin_records_by_hint(agent, data) {
142
+ return __awaiter(this, void 0, void 0, function* () {
143
+ return agent.sendMessage(exports.chia_full_node_service, exports.get_coin_records_by_hint_command, data);
144
+ });
145
+ }
146
+ exports.get_coin_records_by_hint = get_coin_records_by_hint;
127
147
  exports.push_tx_command = "push_tx";
128
148
  function push_tx(agent, data) {
129
149
  return __awaiter(this, void 0, void 0, function* () {
@@ -1,13 +1,19 @@
1
- import type { TGetRewardTargetResponse, TGetSignagePointResponse, TGetSignagePointsResponse, TSetRewardTargetResponse, TGetHarvestersResponse, TSetPayoutInstructionsResponse, TGetPoolStateResponse } from "./farmer/index";
2
- export { chia_farmer_service, TGetRewardTargetRequest, TGetRewardTargetResponse, TGetSignagePointRequest, TGetSignagePointResponse, TGetSignagePointsRequest, TGetSignagePointsResponse, TSetRewardTargetRequest, TSetRewardTargetResponse, TGetHarvestersRequest, TGetHarvestersResponse, TSetPayoutInstructionsRequest, TSetPayoutInstructionsResponse, TGetPoolStateRequest, TGetPoolStateResponse, get_reward_targets, get_signage_point, get_signage_points, set_reward_targets, get_harvesters, set_pool_payout_instructions, get_pool_state, } from "./farmer/index";
3
- import type { TGetAdditionsAndRemovalsResponse, TGetAllMempoolItemsResponse, TGetAllMempoolTxIdsResponse, TGetBlockRecordByHeightResponse, TGetBlockRecordResponse, TGetBlockRecordsResponse, TGetBlockResponse, TGetBlockchainStateResponse, TGetBlocksResponse, TGetRecentSignagePointOrEOSCommandResponse, TGetCoinRecordByNameResponse, TGetCoinRecordsByPuzzleHashResponse, TGetCoinRecordsByPuzzleHashesResponse, TGetInitialFreezePeriodResponseOfFullNode, TGetMempoolItemByTxIdResponse, TGetNetworkInfoResponseOfFullNode, TGetNetworkSpaceResponse, TGetUnfinishedBlockHeadersResponse, TPushTxResponse } from "./full_node/index";
4
- export { chia_full_node_service, TGetAdditionsAndRemovalsRequest, TGetAdditionsAndRemovalsResponse, TGetAllMempoolItemsRequest, TGetAllMempoolItemsResponse, TGetAllMempoolTxIdsRequest, TGetAllMempoolTxIdsResponse, TGetBlockRecordByHeightRequest, TGetBlockRecordByHeightResponse, TGetBlockRecordRequest, TGetBlockRecordResponse, TGetBlockRecordsRequest, TGetBlockRecordsResponse, TGetBlockRequest, TGetBlockResponse, TGetBlockchainStateRequest, TGetBlockchainStateResponse, TGetBlocksRequest, TGetBlocksResponse, TGetRecentSignagePointOrEOSCommandRequest, TGetRecentSignagePointOrEOSCommandResponse, TGetCoinRecordByNameRequest, TGetCoinRecordByNameResponse, TGetCoinRecordsByPuzzleHashRequest, TGetCoinRecordsByPuzzleHashResponse, TGetCoinRecordsByPuzzleHashesRequest, TGetCoinRecordsByPuzzleHashesResponse, TGetInitialFreezePeriodRequestOfFullNode, TGetInitialFreezePeriodResponseOfFullNode, TGetMempoolItemByTxIdRequest, TGetMempoolItemByTxIdResponse, TGetNetworkInfoRequestOfFullNode, TGetNetworkInfoResponseOfFullNode, TGetNetworkSpaceRequest, TGetNetworkSpaceResponse, TGetUnfinishedBlockHeadersRequest, TGetUnfinishedBlockHeadersResponse, TPushTxRequest, TPushTxResponse, get_additions_and_removals, get_all_mempool_items, get_all_mempool_tx_ids, get_block, get_block_record, get_block_record_by_height, get_block_records, get_blockchain_state, get_blocks, get_recent_signage_point_or_eos, get_coin_record_by_name, get_coin_records_by_puzzle_hash, get_coin_records_by_puzzle_hashes, get_initial_freeze_period_of_full_node, get_mempool_item_by_tx_id, get_network_info_of_full_node, get_network_space, get_unfinished_block_headers, push_tx, } from "./full_node/index";
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, TGetHarvestersSummaryResponse, TGetHarvesterPlotsValidRequest, TGetHarvesterPlotsValidResponse, TGetHarvesterPlotsInvalidRequest, TGetHarvesterPlotsInvalidResponse, TGetHarvesterPlotsKeysMissingRequest, TGetHarvesterPlotsKeysMissingResponse, TGetHarvesterPlotsDuplicatesRequest, TGetHarvesterPlotsDuplicatesResponse, TSetPayoutInstructionsRequest, TSetPayoutInstructionsResponse, TGetPoolStateRequest, TGetPoolStateResponse, TGetPoolLinkRequest, TGetPoolLinkResponse, get_reward_targets, get_signage_point, get_signage_points, set_reward_targets, get_harvesters, get_harvesters_summary, get_harvester_plots_valid, get_harvester_plots_invalid, get_harvester_plots_keys_missing, get_harvester_plots_duplicates, get_pool_login_link, set_pool_payout_instructions, get_pool_state, } from "./farmer/index";
3
+ import type { TGetAdditionsAndRemovalsResponse, TGetAllMempoolItemsResponse, TGetAllMempoolTxIdsResponse, TGetBlockRecordByHeightResponse, TGetBlockRecordResponse, TGetBlockRecordsResponse, TGetBlockResponse, TGetBlockchainStateResponse, TGetBlocksResponse, TGetBlockCountMetricsResponse, TGetRecentSignagePointOrEOSCommandResponse, TGetCoinRecordByNameResponse, TGetCoinRecordsByNamesResponse, TGetCoinRecordsByPuzzleHashResponse, TGetCoinRecordsByPuzzleHashesResponse, TGetCoinRecordsByParentIdsResponse, TGetCoinRecordsByHintResponse, TGetInitialFreezePeriodResponseOfFullNode, TGetMempoolItemByTxIdResponse, TGetNetworkInfoResponseOfFullNode, TGetNetworkSpaceResponse, TGetUnfinishedBlockHeadersResponse, TPushTxResponse } from "./full_node/index";
4
+ export { chia_full_node_service, TGetAdditionsAndRemovalsRequest, TGetAdditionsAndRemovalsResponse, TGetAllMempoolItemsRequest, TGetAllMempoolItemsResponse, TGetAllMempoolTxIdsRequest, TGetAllMempoolTxIdsResponse, TGetBlockRecordByHeightRequest, TGetBlockRecordByHeightResponse, TGetBlockRecordRequest, TGetBlockRecordResponse, TGetBlockRecordsRequest, TGetBlockRecordsResponse, TGetBlockRequest, TGetBlockResponse, TGetBlockchainStateRequest, TGetBlockchainStateResponse, TGetBlocksRequest, TGetBlocksResponse, TGetBlockCountMetricsResponse, TGetRecentSignagePointOrEOSCommandRequest, TGetRecentSignagePointOrEOSCommandResponse, TGetCoinRecordsByNamesRequest, TGetCoinRecordsByNamesResponse, TGetCoinRecordByNameRequest, TGetCoinRecordByNameResponse, TGetCoinRecordsByPuzzleHashRequest, TGetCoinRecordsByPuzzleHashResponse, TGetCoinRecordsByPuzzleHashesRequest, TGetCoinRecordsByPuzzleHashesResponse, TGetCoinRecordsByParentIdsRequest, TGetCoinRecordsByParentIdsResponse, TGetCoinRecordsByHintRequest, TGetCoinRecordsByHintResponse, TGetInitialFreezePeriodRequestOfFullNode, TGetInitialFreezePeriodResponseOfFullNode, TGetMempoolItemByTxIdRequest, TGetMempoolItemByTxIdResponse, TGetNetworkInfoRequestOfFullNode, TGetNetworkInfoResponseOfFullNode, TGetNetworkSpaceRequest, TGetNetworkSpaceResponse, TGetUnfinishedBlockHeadersRequest, TGetUnfinishedBlockHeadersResponse, TPushTxRequest, TPushTxResponse, get_additions_and_removals, get_all_mempool_items, get_all_mempool_tx_ids, get_block, get_block_record, get_block_record_by_height, get_block_records, get_blockchain_state, get_blocks, get_block_count_metrics, get_recent_signage_point_or_eos, get_coin_record_by_name, get_coin_records_by_names, get_coin_records_by_puzzle_hash, get_coin_records_by_puzzle_hashes, get_coin_records_by_parent_ids, get_coin_records_by_hint, get_initial_freeze_period_of_full_node, get_mempool_item_by_tx_id, get_network_info_of_full_node, get_network_space, get_unfinished_block_headers, push_tx, } from "./full_node/index";
5
5
  import type { TAddPlotDirectoryResponse, TDeletePlotResponse, TGetPlotDirectoriesResponse, TGetPlotsResponse, TRefreshPlotsResponse, TRemovePlotDirectoryResponse } from "./harvester/index";
6
6
  export { chia_harvester_service, TAddPlotDirectoryRequest, TAddPlotDirectoryResponse, TDeletePlotRequest, TDeletePlotResponse, TGetPlotDirectoriesRequest, TGetPlotDirectoriesResponse, TGetPlotsRequest, TGetPlotsResponse, TRefreshPlotsRequest, TRefreshPlotsResponse, TRemovePlotDirectoryRequest, TRemovePlotDirectoryResponse, add_plot_directory, delete_plot, get_plot_directories, get_plots, refresh_plots, remove_plot_directory, } from "./harvester/index";
7
- import type { TAddKeyResponse, TAddRateLimitedFundsResponse, TCancelTradeResponse, TCcGetColourResponse, TCcGetNameResponse, TCcSetNameResponse, TCcSpendResponse, TCreateBackupResponse, TCreateNewWalletResponse, TCreateOfferForIdsResponse, TCreateSignedTransactionResponse, TDeleteAllKeysResponse, TDeleteKeyResponse, TDidCreateAttestResponse, TDidCreateBackupFileResponse, TDidGetDidResponse, TDidGetInformationNeededForRecoveryResponse, TDidGetPubkeyResponse, TDidGetRecoveryListResponse, TDidRecoverySpendResponse, TDidSpendResponse, TDidUpdateRecoveryIdsResponse, TFarmBlockResponse, TGenerateMnemonicResponse, TGetAllTradesResponse, TGetDiscrepanciesForOfferResponse, TGetFarmedAmountResponse, TGetHeightInfoResponse, TGetInitialFreezePeriodResponseOfWallet, TGetNetworkInfoResponseOfWallet, TGetNextAddressResponse, TGetPrivateKeyResponse, TGetPublicKeysResponse, TGetSyncStatusResponse, TGetTradeResponse, TGetTransactionCountResponse, TGetTransactionResponse, TGetTransactionsResponse, TGetWalletBalanceResponse, TGetWalletsResponse, TLoginResponse, TPwAbsorbRewardsResponse, TPwStatusResponse, TResponseToOfferResponse, TRlSetUserInfoResponse, TSendClawbackTransactionResponse, TSendTransactionResponse, TSendTransactionMultiResponse, TPwJoinPoolResponse, TPwSelfPoolResponse } from "./wallet/index";
8
- export { chia_wallet_service, TAddKeyRequest, TAddKeyResponse, TAddRateLimitedFundsRequest, TAddRateLimitedFundsResponse, TAdditions, TCancelTradeRequest, TCancelTradeResponse, TCcGetColourRequest, TCcGetColourResponse, TCcGetNameRequest, TCcGetNameResponse, TCcSetNameRequest, TCcSetNameResponse, TCcSpendRequest, TCcSpendResponse, TCreateBackupRequest, TCreateBackupResponse, TCreateNewWalletRequest, TCreateNewWalletResponse, TCreateOfferForIdsRequest, TCreateOfferForIdsResponse, TCreateSignedTransactionRequest, TCreateSignedTransactionResponse, TCreate_New_CC_WalletRequest, TCreate_New_CC_WalletResponse, TCreate_New_DID_WalletRequest, TCreate_New_DID_WalletResponse, TCreate_New_RL_WalletRequest, TCreate_New_RL_WalletResponse, TDeleteAllKeysRequest, TDeleteAllKeysResponse, TDeleteKeyRequest, TDeleteKeyResponse, TDidCreateAttestRequest, TDidCreateAttestResponse, TDidCreateBackupFileRequest, TDidCreateBackupFileResponse, TDidGetDidRequest, TDidGetDidResponse, TDidGetInformationNeededForRecoveryRequest, TDidGetInformationNeededForRecoveryResponse, TDidGetPubkeyRequest, TDidGetPubkeyResponse, TDidGetRecoveryListRequest, TDidGetRecoveryListResponse, TDidRecoverySpendRequest, TDidRecoverySpendResponse, TDidSpendRequest, TDidSpendResponse, TDidUpdateRecoveryIdsRequest, TDidUpdateRecoveryIdsResponse, TFarmBlockRequest, TFarmBlockResponse, TGenerateMnemonicRequest, TGenerateMnemonicResponse, TGetAllTradesRequest, TGetAllTradesResponse, TGetDiscrepanciesForOfferRequest, TGetDiscrepanciesForOfferResponse, TGetFarmedAmountRequest, TGetFarmedAmountResponse, TGetHeightInfoRequest, TGetHeightInfoResponse, TGetInitialFreezePeriodRequestOfWallet, TGetInitialFreezePeriodResponseOfWallet, TGetNetworkInfoRequestOfWallet, TGetNetworkInfoResponseOfWallet, TGetNextAddressRequest, TGetNextAddressResponse, TGetPrivateKeyRequest, TGetPrivateKeyResponse, TGetPublicKeysRequest, TGetPublicKeysResponse, TGetSyncStatusRequest, TGetSyncStatusResponse, TGetTradeRequest, TGetTradeResponse, TGetTransactionCountRequest, TGetTransactionCountResponse, TGetTransactionRequest, TGetTransactionResponse, TGetTransactionsRequest, TGetTransactionsResponse, TGetWalletBalanceRequest, TGetWalletBalanceResponse, TGetWalletsRequest, TGetWalletsResponse, TLoginRequest, TLoginResponse, TPwJoinPoolRequest, TPwJoinPoolResponse, TPwSelfPoolRequest, TPwSelfPoolResponse, TPwAbsorbRewardsRequest, TPwAbsorbRewardsResponse, TPwStatusRequest, TPwStatusResponse, TResponseToOfferRequest, TResponseToOfferResponse, TRlSetUserInfoRequest, TRlSetUserInfoResponse, TSendClawbackTransactionRequest, TSendClawbackTransactionResponse, TSendTransactionRequest, TSendTransactionResponse, TSendTransactionMultiRequest, TSendTransactionMultiResponse, add_key, add_rate_limited_funds, cancel_trade, cc_get_colour, cc_get_name, cc_set_name, cc_spend, create_backup, create_new_wallet, create_offer_for_ids, create_signed_transaction, delete_all_keys, delete_key, did_create_attest, did_create_backup_file, did_get_did, did_get_information_needed_for_recovery, did_get_pubkey, did_get_recovery_list, did_recovery_spend, did_spend, did_update_recovery_ids, farm_block, generate_mnemonic, get_all_trades, get_discrepancies_for_offer, get_farmed_amount, get_height_info, get_initial_freeze_period_of_wallet, get_network_info_of_wallet, get_next_address, get_private_key, get_public_keys, get_sync_status, get_trade, get_transaction, get_transaction_count, get_transactions, get_wallet_balance, get_wallets, log_in, pw_join_pool, pw_self_pool, pw_absorb_rewards, pw_status, respond_to_offer, rl_set_user_info, send_clawback_transaction, send_transaction, send_transaction_multi, } from "./wallet/index";
9
- export declare type RpcFarmerMessage = TGetRewardTargetResponse | TGetSignagePointResponse | TGetSignagePointsResponse | TSetRewardTargetResponse | TGetHarvestersResponse | TSetPayoutInstructionsResponse | TGetPoolStateResponse;
10
- export declare type RpcFullNodeMessage = TGetAdditionsAndRemovalsResponse | TGetAllMempoolItemsResponse | TGetAllMempoolTxIdsResponse | TGetBlockResponse | TGetBlockRecordByHeightResponse | TGetBlockRecordResponse | TGetBlockRecordsResponse | TGetBlockchainStateResponse | TGetBlocksResponse | TGetRecentSignagePointOrEOSCommandResponse | TGetCoinRecordByNameResponse | TGetCoinRecordsByPuzzleHashResponse | TGetCoinRecordsByPuzzleHashesResponse | TGetInitialFreezePeriodResponseOfFullNode | TGetMempoolItemByTxIdResponse | TGetNetworkInfoResponseOfFullNode | TGetNetworkSpaceResponse | TGetUnfinishedBlockHeadersResponse | TPushTxResponse;
7
+ import type { TAddKeyResponse, TAddRateLimitedFundsResponse, TCancelOfferResponse, TCatGetAssetIdResponse, TCatGetNameResponse, TGetStrayCatsResponse, TCatAssetIdToNameResponse, TCatSetNameResponse, TCatSpendResponse, TCheckOfferValidityResponse, TCreateNewWalletResponse, TCreateOfferForIdsResponse, TCreateSignedTransactionResponse, TDeleteUnconfirmedTransactionsResponse, TSelectCoinsResponse, TDeleteAllKeysResponse, TDeleteKeyResponse, TDidCreateAttestResponse, TDidCreateBackupFileResponse, TDidGetDidResponse, TDidGetInformationNeededForRecoveryResponse, TDidGetPubkeyResponse, TDidGetRecoveryListResponse, TDidRecoverySpendResponse, TDidSpendResponse, TDidUpdateRecoveryIdsResponse, 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, TCatGetAssetIdRequest, TCatGetAssetIdResponse, TCatGetNameRequest, TCatGetNameResponse, TGetStrayCatsResponse, TCatAssetIdToNameRequest, TCatAssetIdToNameResponse, TCatSetNameRequest, TCatSetNameResponse, TCatSpendRequest, TCatSpendResponse, TCheckOfferValidityRequest, TCheckOfferValidityResponse, TCreateNewWalletRequest, TCreateNewWalletResponse, TCreateOfferForIdsRequest, TCreateOfferForIdsResponse, TCreateSignedTransactionRequest, TCreateSignedTransactionResponse, TDeleteUnconfirmedTransactionsRequest, TDeleteUnconfirmedTransactionsResponse, TSelectCoinsRequest, TSelectCoinsResponse, 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, TDidCreateAttestRequest, TDidCreateAttestResponse, TDidCreateBackupFileRequest, TDidCreateBackupFileResponse, TDidGetDidRequest, TDidGetDidResponse, TDidGetInformationNeededForRecoveryRequest, TDidGetInformationNeededForRecoveryResponse, TDidGetPubkeyRequest, TDidGetPubkeyResponse, TDidGetRecoveryListRequest, TDidGetRecoveryListResponse, TDidRecoverySpendRequest, TDidRecoverySpendResponse, TDidSpendRequest, TDidSpendResponse, TDidUpdateRecoveryIdsRequest, TDidUpdateRecoveryIdsResponse, 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, TPwJoinPoolRequest, TPwJoinPoolResponse, TPwSelfPoolRequest, TPwSelfPoolResponse, TPwAbsorbRewardsRequest, TPwAbsorbRewardsResponse, TPwStatusRequest, TPwStatusResponse, TRlSetUserInfoRequest, TRlSetUserInfoResponse, TSendClawbackTransactionRequest, TSendClawbackTransactionResponse, TSendTransactionRequest, TSendTransactionResponse, TSendTransactionMultiRequest, TSendTransactionMultiResponse, TTakeOfferRequest, TTakeOfferResponse, add_key, add_rate_limited_funds, cancel_offer, cat_get_asset_id, cat_get_name, get_stray_cats, cat_asset_id_to_name, cat_set_name, cat_spend, check_offer_validity, create_new_wallet, create_offer_for_ids, create_signed_transaction, delete_unconfirmed_transactions, select_coins, delete_all_keys, delete_key, did_create_attest, did_create_backup_file, did_get_did, did_get_information_needed_for_recovery, did_get_pubkey, did_get_recovery_list, did_recovery_spend, did_spend, did_update_recovery_ids, farm_block, generate_mnemonic, get_all_offers, get_cat_list, get_farmed_amount, get_height_info, get_initial_freeze_period_of_wallet, get_logged_in_fingerprint, get_offer, get_offers_count, get_offer_summary, get_network_info_of_wallet, get_next_address, get_private_key, get_public_keys, get_sync_status, get_transaction, get_transaction_count, get_transactions, get_wallet_balance, get_wallets, log_in, push_tx as push_tx_wallet, pw_join_pool, pw_self_pool, pw_absorb_rewards, pw_status, rl_set_user_info, send_clawback_transaction, send_transaction, send_transaction_multi, take_offer, } from "./wallet/index";
9
+ import type { TGetIpsAfterTimestampResponse, TGetPeerCountsResponse } from "./crawler/index";
10
+ export { chia_crawler_service, TGetIpsAfterTimestampRequest, TGetIpsAfterTimestampResponse, TGetPeerCountsResponse, get_ips_after_timestamp, get_peer_counts, } from "./crawler/index";
11
+ import type { TGetConnectionsResponse, TOpenConnectionResponse, TCloseConnectionResponse, TStopNodeResponse, TGetRoutesResponse } from "./common/index";
12
+ export { chia_common_service, TGetConnectionsRequest, TGetConnectionsResponse, TOpenConnectionRequest, TOpenConnectionResponse, TCloseConnectionRequest, TCloseConnectionResponse, TStopNodeResponse, TGetRoutesResponse, get_connections, open_connection, close_connection, stop_node, get_routes, } from "./common/index";
13
+ 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 | TGetBlockchainStateResponse | TGetBlocksResponse | TGetBlockCountMetricsResponse | TGetRecentSignagePointOrEOSCommandResponse | TGetCoinRecordByNameResponse | TGetCoinRecordsByNamesResponse | TGetCoinRecordsByPuzzleHashResponse | TGetCoinRecordsByPuzzleHashesResponse | TGetCoinRecordsByParentIdsResponse | TGetCoinRecordsByHintResponse | TGetInitialFreezePeriodResponseOfFullNode | TGetMempoolItemByTxIdResponse | TGetNetworkInfoResponseOfFullNode | TGetNetworkSpaceResponse | TGetUnfinishedBlockHeadersResponse | TPushTxResponse;
11
15
  export declare type RpcHarvesterMessage = TAddPlotDirectoryResponse | TDeletePlotResponse | TGetPlotDirectoriesResponse | TGetPlotsResponse | TRefreshPlotsResponse | TRemovePlotDirectoryResponse;
12
- export declare type RpcWalletMessage = TAddKeyResponse | TAddRateLimitedFundsResponse | TCancelTradeResponse | TCcGetColourResponse | TCcGetNameResponse | TCcSetNameResponse | TCcSpendResponse | TCreateBackupResponse | TCreateNewWalletResponse | TCreateOfferForIdsResponse | TCreateSignedTransactionResponse | TDeleteAllKeysResponse | TDeleteKeyResponse | TDidCreateAttestResponse | TDidCreateBackupFileResponse | TDidGetDidResponse | TDidGetInformationNeededForRecoveryResponse | TDidGetPubkeyResponse | TDidGetRecoveryListResponse | TDidRecoverySpendResponse | TDidSpendResponse | TDidUpdateRecoveryIdsResponse | TFarmBlockResponse | TGenerateMnemonicResponse | TGetAllTradesResponse | TGetDiscrepanciesForOfferResponse | TGetFarmedAmountResponse | TGetHeightInfoResponse | TGetInitialFreezePeriodResponseOfWallet | TGetNetworkInfoResponseOfWallet | TGetNextAddressResponse | TGetPrivateKeyResponse | TGetPublicKeysResponse | TGetSyncStatusResponse | TGetTradeResponse | TGetTransactionResponse | TGetTransactionCountResponse | TGetTransactionsResponse | TGetWalletBalanceResponse | TGetWalletsResponse | TLoginResponse | TPwJoinPoolResponse | TPwSelfPoolResponse | TPwAbsorbRewardsResponse | TPwStatusResponse | TResponseToOfferResponse | TRlSetUserInfoResponse | TSendClawbackTransactionResponse | TSendTransactionResponse | TSendTransactionMultiResponse;
13
- export declare type RpcMessage = RpcFarmerMessage | RpcFullNodeMessage | RpcHarvesterMessage | RpcWalletMessage;
16
+ export declare type RpcWalletMessage = TAddKeyResponse | TAddRateLimitedFundsResponse | TCancelOfferResponse | TCatGetAssetIdResponse | TCatGetNameResponse | TGetStrayCatsResponse | TCatAssetIdToNameResponse | TCatSetNameResponse | TCatSpendResponse | TCheckOfferValidityResponse | TCreateNewWalletResponse | TCreateOfferForIdsResponse | TCreateSignedTransactionResponse | TDeleteUnconfirmedTransactionsResponse | TSelectCoinsResponse | TDeleteAllKeysResponse | TDeleteKeyResponse | TDidCreateAttestResponse | TDidCreateBackupFileResponse | TDidGetDidResponse | TDidGetInformationNeededForRecoveryResponse | TDidGetPubkeyResponse | TDidGetRecoveryListResponse | TDidRecoverySpendResponse | TDidSpendResponse | TDidUpdateRecoveryIdsResponse | 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;
17
+ export declare type RpcCrawlerMessage = TGetIpsAfterTimestampResponse | TGetPeerCountsResponse;
18
+ export declare type RpcCommonMessage = TGetConnectionsResponse | TOpenConnectionResponse | TCloseConnectionResponse | TStopNodeResponse | TGetRoutesResponse;
19
+ export declare type RpcMessage = RpcFarmerMessage | RpcFullNodeMessage | RpcHarvesterMessage | RpcWalletMessage | RpcCrawlerMessage | RpcCommonMessage;
package/api/rpc/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.did_create_attest = exports.delete_key = exports.delete_all_keys = exports.create_signed_transaction = exports.create_offer_for_ids = exports.create_new_wallet = exports.create_backup = exports.cc_spend = exports.cc_set_name = exports.cc_get_name = exports.cc_get_colour = exports.cancel_trade = exports.add_rate_limited_funds = exports.add_key = exports.chia_wallet_service = exports.remove_plot_directory = exports.refresh_plots = exports.get_plots = exports.get_plot_directories = exports.delete_plot = exports.add_plot_directory = exports.chia_harvester_service = exports.push_tx = exports.get_unfinished_block_headers = exports.get_network_space = exports.get_network_info_of_full_node = exports.get_mempool_item_by_tx_id = exports.get_initial_freeze_period_of_full_node = exports.get_coin_records_by_puzzle_hashes = exports.get_coin_records_by_puzzle_hash = exports.get_coin_record_by_name = exports.get_recent_signage_point_or_eos = exports.get_blocks = exports.get_blockchain_state = exports.get_block_records = exports.get_block_record_by_height = exports.get_block_record = exports.get_block = exports.get_all_mempool_tx_ids = exports.get_all_mempool_items = exports.get_additions_and_removals = exports.chia_full_node_service = exports.get_pool_state = exports.set_pool_payout_instructions = exports.get_harvesters = exports.set_reward_targets = exports.get_signage_points = exports.get_signage_point = exports.get_reward_targets = exports.chia_farmer_service = void 0;
4
- exports.send_transaction_multi = exports.send_transaction = exports.send_clawback_transaction = exports.rl_set_user_info = exports.respond_to_offer = exports.pw_status = exports.pw_absorb_rewards = exports.pw_self_pool = exports.pw_join_pool = exports.log_in = exports.get_wallets = exports.get_wallet_balance = exports.get_transactions = exports.get_transaction_count = exports.get_transaction = exports.get_trade = exports.get_sync_status = exports.get_public_keys = exports.get_private_key = exports.get_next_address = exports.get_network_info_of_wallet = exports.get_initial_freeze_period_of_wallet = exports.get_height_info = exports.get_farmed_amount = exports.get_discrepancies_for_offer = exports.get_all_trades = exports.generate_mnemonic = exports.farm_block = exports.did_update_recovery_ids = exports.did_spend = exports.did_recovery_spend = exports.did_get_recovery_list = exports.did_get_pubkey = exports.did_get_information_needed_for_recovery = exports.did_get_did = exports.did_create_backup_file = void 0;
3
+ exports.cat_get_asset_id = exports.cancel_offer = exports.add_rate_limited_funds = exports.add_key = exports.chia_wallet_service = exports.remove_plot_directory = exports.refresh_plots = exports.get_plots = exports.get_plot_directories = exports.delete_plot = exports.add_plot_directory = exports.chia_harvester_service = exports.push_tx = exports.get_unfinished_block_headers = exports.get_network_space = exports.get_network_info_of_full_node = exports.get_mempool_item_by_tx_id = exports.get_initial_freeze_period_of_full_node = exports.get_coin_records_by_hint = exports.get_coin_records_by_parent_ids = exports.get_coin_records_by_puzzle_hashes = exports.get_coin_records_by_puzzle_hash = exports.get_coin_records_by_names = exports.get_coin_record_by_name = exports.get_recent_signage_point_or_eos = exports.get_block_count_metrics = exports.get_blocks = exports.get_blockchain_state = exports.get_block_records = exports.get_block_record_by_height = exports.get_block_record = exports.get_block = exports.get_all_mempool_tx_ids = exports.get_all_mempool_items = exports.get_additions_and_removals = exports.chia_full_node_service = exports.get_pool_state = exports.set_pool_payout_instructions = exports.get_pool_login_link = exports.get_harvester_plots_duplicates = exports.get_harvester_plots_keys_missing = exports.get_harvester_plots_invalid = exports.get_harvester_plots_valid = exports.get_harvesters_summary = exports.get_harvesters = exports.set_reward_targets = exports.get_signage_points = exports.get_signage_point = exports.get_reward_targets = exports.chia_farmer_service = void 0;
4
+ exports.rl_set_user_info = exports.pw_status = exports.pw_absorb_rewards = exports.pw_self_pool = exports.pw_join_pool = exports.push_tx_wallet = exports.log_in = exports.get_wallets = exports.get_wallet_balance = exports.get_transactions = exports.get_transaction_count = exports.get_transaction = exports.get_sync_status = exports.get_public_keys = exports.get_private_key = exports.get_next_address = exports.get_network_info_of_wallet = exports.get_offer_summary = exports.get_offers_count = exports.get_offer = exports.get_logged_in_fingerprint = exports.get_initial_freeze_period_of_wallet = exports.get_height_info = exports.get_farmed_amount = exports.get_cat_list = exports.get_all_offers = exports.generate_mnemonic = exports.farm_block = exports.did_update_recovery_ids = exports.did_spend = exports.did_recovery_spend = exports.did_get_recovery_list = exports.did_get_pubkey = exports.did_get_information_needed_for_recovery = exports.did_get_did = exports.did_create_backup_file = exports.did_create_attest = exports.delete_key = exports.delete_all_keys = exports.select_coins = exports.delete_unconfirmed_transactions = exports.create_signed_transaction = exports.create_offer_for_ids = exports.create_new_wallet = exports.check_offer_validity = exports.cat_spend = exports.cat_set_name = exports.cat_asset_id_to_name = exports.get_stray_cats = exports.cat_get_name = void 0;
5
+ exports.get_routes = exports.stop_node = exports.close_connection = exports.open_connection = exports.get_connections = exports.chia_common_service = exports.get_peer_counts = exports.get_ips_after_timestamp = exports.chia_crawler_service = exports.take_offer = exports.send_transaction_multi = exports.send_transaction = exports.send_clawback_transaction = void 0;
5
6
  var index_1 = require("./farmer/index");
6
7
  Object.defineProperty(exports, "chia_farmer_service", { enumerable: true, get: function () { return index_1.chia_farmer_service; } });
7
8
  Object.defineProperty(exports, "get_reward_targets", { enumerable: true, get: function () { return index_1.get_reward_targets; } });
@@ -9,6 +10,12 @@ Object.defineProperty(exports, "get_signage_point", { enumerable: true, get: fun
9
10
  Object.defineProperty(exports, "get_signage_points", { enumerable: true, get: function () { return index_1.get_signage_points; } });
10
11
  Object.defineProperty(exports, "set_reward_targets", { enumerable: true, get: function () { return index_1.set_reward_targets; } });
11
12
  Object.defineProperty(exports, "get_harvesters", { enumerable: true, get: function () { return index_1.get_harvesters; } });
13
+ Object.defineProperty(exports, "get_harvesters_summary", { enumerable: true, get: function () { return index_1.get_harvesters_summary; } });
14
+ Object.defineProperty(exports, "get_harvester_plots_valid", { enumerable: true, get: function () { return index_1.get_harvester_plots_valid; } });
15
+ Object.defineProperty(exports, "get_harvester_plots_invalid", { enumerable: true, get: function () { return index_1.get_harvester_plots_invalid; } });
16
+ Object.defineProperty(exports, "get_harvester_plots_keys_missing", { enumerable: true, get: function () { return index_1.get_harvester_plots_keys_missing; } });
17
+ Object.defineProperty(exports, "get_harvester_plots_duplicates", { enumerable: true, get: function () { return index_1.get_harvester_plots_duplicates; } });
18
+ Object.defineProperty(exports, "get_pool_login_link", { enumerable: true, get: function () { return index_1.get_pool_login_link; } });
12
19
  Object.defineProperty(exports, "set_pool_payout_instructions", { enumerable: true, get: function () { return index_1.set_pool_payout_instructions; } });
13
20
  Object.defineProperty(exports, "get_pool_state", { enumerable: true, get: function () { return index_1.get_pool_state; } });
14
21
  var index_2 = require("./full_node/index");
@@ -22,10 +29,14 @@ Object.defineProperty(exports, "get_block_record_by_height", { enumerable: true,
22
29
  Object.defineProperty(exports, "get_block_records", { enumerable: true, get: function () { return index_2.get_block_records; } });
23
30
  Object.defineProperty(exports, "get_blockchain_state", { enumerable: true, get: function () { return index_2.get_blockchain_state; } });
24
31
  Object.defineProperty(exports, "get_blocks", { enumerable: true, get: function () { return index_2.get_blocks; } });
32
+ Object.defineProperty(exports, "get_block_count_metrics", { enumerable: true, get: function () { return index_2.get_block_count_metrics; } });
25
33
  Object.defineProperty(exports, "get_recent_signage_point_or_eos", { enumerable: true, get: function () { return index_2.get_recent_signage_point_or_eos; } });
26
34
  Object.defineProperty(exports, "get_coin_record_by_name", { enumerable: true, get: function () { return index_2.get_coin_record_by_name; } });
35
+ Object.defineProperty(exports, "get_coin_records_by_names", { enumerable: true, get: function () { return index_2.get_coin_records_by_names; } });
27
36
  Object.defineProperty(exports, "get_coin_records_by_puzzle_hash", { enumerable: true, get: function () { return index_2.get_coin_records_by_puzzle_hash; } });
28
37
  Object.defineProperty(exports, "get_coin_records_by_puzzle_hashes", { enumerable: true, get: function () { return index_2.get_coin_records_by_puzzle_hashes; } });
38
+ Object.defineProperty(exports, "get_coin_records_by_parent_ids", { enumerable: true, get: function () { return index_2.get_coin_records_by_parent_ids; } });
39
+ Object.defineProperty(exports, "get_coin_records_by_hint", { enumerable: true, get: function () { return index_2.get_coin_records_by_hint; } });
29
40
  Object.defineProperty(exports, "get_initial_freeze_period_of_full_node", { enumerable: true, get: function () { return index_2.get_initial_freeze_period_of_full_node; } });
30
41
  Object.defineProperty(exports, "get_mempool_item_by_tx_id", { enumerable: true, get: function () { return index_2.get_mempool_item_by_tx_id; } });
31
42
  Object.defineProperty(exports, "get_network_info_of_full_node", { enumerable: true, get: function () { return index_2.get_network_info_of_full_node; } });
@@ -44,15 +55,19 @@ var index_4 = require("./wallet/index");
44
55
  Object.defineProperty(exports, "chia_wallet_service", { enumerable: true, get: function () { return index_4.chia_wallet_service; } });
45
56
  Object.defineProperty(exports, "add_key", { enumerable: true, get: function () { return index_4.add_key; } });
46
57
  Object.defineProperty(exports, "add_rate_limited_funds", { enumerable: true, get: function () { return index_4.add_rate_limited_funds; } });
47
- Object.defineProperty(exports, "cancel_trade", { enumerable: true, get: function () { return index_4.cancel_trade; } });
48
- Object.defineProperty(exports, "cc_get_colour", { enumerable: true, get: function () { return index_4.cc_get_colour; } });
49
- Object.defineProperty(exports, "cc_get_name", { enumerable: true, get: function () { return index_4.cc_get_name; } });
50
- Object.defineProperty(exports, "cc_set_name", { enumerable: true, get: function () { return index_4.cc_set_name; } });
51
- Object.defineProperty(exports, "cc_spend", { enumerable: true, get: function () { return index_4.cc_spend; } });
52
- Object.defineProperty(exports, "create_backup", { enumerable: true, get: function () { return index_4.create_backup; } });
58
+ Object.defineProperty(exports, "cancel_offer", { enumerable: true, get: function () { return index_4.cancel_offer; } });
59
+ Object.defineProperty(exports, "cat_get_asset_id", { enumerable: true, get: function () { return index_4.cat_get_asset_id; } });
60
+ Object.defineProperty(exports, "cat_get_name", { enumerable: true, get: function () { return index_4.cat_get_name; } });
61
+ Object.defineProperty(exports, "get_stray_cats", { enumerable: true, get: function () { return index_4.get_stray_cats; } });
62
+ Object.defineProperty(exports, "cat_asset_id_to_name", { enumerable: true, get: function () { return index_4.cat_asset_id_to_name; } });
63
+ Object.defineProperty(exports, "cat_set_name", { enumerable: true, get: function () { return index_4.cat_set_name; } });
64
+ Object.defineProperty(exports, "cat_spend", { enumerable: true, get: function () { return index_4.cat_spend; } });
65
+ Object.defineProperty(exports, "check_offer_validity", { enumerable: true, get: function () { return index_4.check_offer_validity; } });
53
66
  Object.defineProperty(exports, "create_new_wallet", { enumerable: true, get: function () { return index_4.create_new_wallet; } });
54
67
  Object.defineProperty(exports, "create_offer_for_ids", { enumerable: true, get: function () { return index_4.create_offer_for_ids; } });
55
68
  Object.defineProperty(exports, "create_signed_transaction", { enumerable: true, get: function () { return index_4.create_signed_transaction; } });
69
+ Object.defineProperty(exports, "delete_unconfirmed_transactions", { enumerable: true, get: function () { return index_4.delete_unconfirmed_transactions; } });
70
+ Object.defineProperty(exports, "select_coins", { enumerable: true, get: function () { return index_4.select_coins; } });
56
71
  Object.defineProperty(exports, "delete_all_keys", { enumerable: true, get: function () { return index_4.delete_all_keys; } });
57
72
  Object.defineProperty(exports, "delete_key", { enumerable: true, get: function () { return index_4.delete_key; } });
58
73
  Object.defineProperty(exports, "did_create_attest", { enumerable: true, get: function () { return index_4.did_create_attest; } });
@@ -66,29 +81,44 @@ Object.defineProperty(exports, "did_spend", { enumerable: true, get: function ()
66
81
  Object.defineProperty(exports, "did_update_recovery_ids", { enumerable: true, get: function () { return index_4.did_update_recovery_ids; } });
67
82
  Object.defineProperty(exports, "farm_block", { enumerable: true, get: function () { return index_4.farm_block; } });
68
83
  Object.defineProperty(exports, "generate_mnemonic", { enumerable: true, get: function () { return index_4.generate_mnemonic; } });
69
- Object.defineProperty(exports, "get_all_trades", { enumerable: true, get: function () { return index_4.get_all_trades; } });
70
- Object.defineProperty(exports, "get_discrepancies_for_offer", { enumerable: true, get: function () { return index_4.get_discrepancies_for_offer; } });
84
+ Object.defineProperty(exports, "get_all_offers", { enumerable: true, get: function () { return index_4.get_all_offers; } });
85
+ Object.defineProperty(exports, "get_cat_list", { enumerable: true, get: function () { return index_4.get_cat_list; } });
71
86
  Object.defineProperty(exports, "get_farmed_amount", { enumerable: true, get: function () { return index_4.get_farmed_amount; } });
72
87
  Object.defineProperty(exports, "get_height_info", { enumerable: true, get: function () { return index_4.get_height_info; } });
73
88
  Object.defineProperty(exports, "get_initial_freeze_period_of_wallet", { enumerable: true, get: function () { return index_4.get_initial_freeze_period_of_wallet; } });
89
+ Object.defineProperty(exports, "get_logged_in_fingerprint", { enumerable: true, get: function () { return index_4.get_logged_in_fingerprint; } });
90
+ Object.defineProperty(exports, "get_offer", { enumerable: true, get: function () { return index_4.get_offer; } });
91
+ Object.defineProperty(exports, "get_offers_count", { enumerable: true, get: function () { return index_4.get_offers_count; } });
92
+ Object.defineProperty(exports, "get_offer_summary", { enumerable: true, get: function () { return index_4.get_offer_summary; } });
74
93
  Object.defineProperty(exports, "get_network_info_of_wallet", { enumerable: true, get: function () { return index_4.get_network_info_of_wallet; } });
75
94
  Object.defineProperty(exports, "get_next_address", { enumerable: true, get: function () { return index_4.get_next_address; } });
76
95
  Object.defineProperty(exports, "get_private_key", { enumerable: true, get: function () { return index_4.get_private_key; } });
77
96
  Object.defineProperty(exports, "get_public_keys", { enumerable: true, get: function () { return index_4.get_public_keys; } });
78
97
  Object.defineProperty(exports, "get_sync_status", { enumerable: true, get: function () { return index_4.get_sync_status; } });
79
- Object.defineProperty(exports, "get_trade", { enumerable: true, get: function () { return index_4.get_trade; } });
80
98
  Object.defineProperty(exports, "get_transaction", { enumerable: true, get: function () { return index_4.get_transaction; } });
81
99
  Object.defineProperty(exports, "get_transaction_count", { enumerable: true, get: function () { return index_4.get_transaction_count; } });
82
100
  Object.defineProperty(exports, "get_transactions", { enumerable: true, get: function () { return index_4.get_transactions; } });
83
101
  Object.defineProperty(exports, "get_wallet_balance", { enumerable: true, get: function () { return index_4.get_wallet_balance; } });
84
102
  Object.defineProperty(exports, "get_wallets", { enumerable: true, get: function () { return index_4.get_wallets; } });
85
103
  Object.defineProperty(exports, "log_in", { enumerable: true, get: function () { return index_4.log_in; } });
104
+ Object.defineProperty(exports, "push_tx_wallet", { enumerable: true, get: function () { return index_4.push_tx; } });
86
105
  Object.defineProperty(exports, "pw_join_pool", { enumerable: true, get: function () { return index_4.pw_join_pool; } });
87
106
  Object.defineProperty(exports, "pw_self_pool", { enumerable: true, get: function () { return index_4.pw_self_pool; } });
88
107
  Object.defineProperty(exports, "pw_absorb_rewards", { enumerable: true, get: function () { return index_4.pw_absorb_rewards; } });
89
108
  Object.defineProperty(exports, "pw_status", { enumerable: true, get: function () { return index_4.pw_status; } });
90
- Object.defineProperty(exports, "respond_to_offer", { enumerable: true, get: function () { return index_4.respond_to_offer; } });
91
109
  Object.defineProperty(exports, "rl_set_user_info", { enumerable: true, get: function () { return index_4.rl_set_user_info; } });
92
110
  Object.defineProperty(exports, "send_clawback_transaction", { enumerable: true, get: function () { return index_4.send_clawback_transaction; } });
93
111
  Object.defineProperty(exports, "send_transaction", { enumerable: true, get: function () { return index_4.send_transaction; } });
94
112
  Object.defineProperty(exports, "send_transaction_multi", { enumerable: true, get: function () { return index_4.send_transaction_multi; } });
113
+ Object.defineProperty(exports, "take_offer", { enumerable: true, get: function () { return index_4.take_offer; } });
114
+ var index_5 = require("./crawler/index");
115
+ Object.defineProperty(exports, "chia_crawler_service", { enumerable: true, get: function () { return index_5.chia_crawler_service; } });
116
+ Object.defineProperty(exports, "get_ips_after_timestamp", { enumerable: true, get: function () { return index_5.get_ips_after_timestamp; } });
117
+ Object.defineProperty(exports, "get_peer_counts", { enumerable: true, get: function () { return index_5.get_peer_counts; } });
118
+ var index_6 = require("./common/index");
119
+ Object.defineProperty(exports, "chia_common_service", { enumerable: true, get: function () { return index_6.chia_common_service; } });
120
+ Object.defineProperty(exports, "get_connections", { enumerable: true, get: function () { return index_6.get_connections; } });
121
+ Object.defineProperty(exports, "open_connection", { enumerable: true, get: function () { return index_6.open_connection; } });
122
+ Object.defineProperty(exports, "close_connection", { enumerable: true, get: function () { return index_6.close_connection; } });
123
+ Object.defineProperty(exports, "stop_node", { enumerable: true, get: function () { return index_6.stop_node; } });
124
+ Object.defineProperty(exports, "get_routes", { enumerable: true, get: function () { return index_6.get_routes; } });