chia-agent 14.0.0 → 14.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +252 -3
- package/LICENSE +1 -1
- package/README.md +7 -5
- package/agent/index.d.ts +1 -1
- package/api/chia/consensus/block_record.d.ts +1 -32
- package/api/chia/consensus/blockchain.d.ts +2 -1
- package/api/chia/consensus/cost_calculator.d.ts +1 -1
- package/api/chia/data_layer/data_layer_util.d.ts +16 -16
- package/api/chia/data_layer/data_layer_wallet.d.ts +4 -3
- package/api/chia/farmer/farmer.d.ts +1 -1
- package/api/chia/full_node/signage_point.d.ts +1 -1
- package/api/chia/harvester/harvester.d.ts +1 -1
- package/api/chia/plot-sync/receiver.d.ts +2 -2
- package/api/chia/plotters/bladebit.d.ts +1 -1
- package/api/chia/plotters/chiapos.d.ts +1 -1
- package/api/chia/plotters/maxmax.d.ts +1 -1
- package/api/chia/plotting/util.d.ts +3 -3
- package/api/chia/pools/pool_config.d.ts +1 -1
- package/api/chia/pools/pool_wallet_info.d.ts +2 -4
- package/api/chia/protocols/farmer_protocol.d.ts +8 -8
- package/api/chia/protocols/harvester_protocol.d.ts +1 -1
- package/api/chia/protocols/pool_protocol.d.ts +13 -13
- package/api/chia/rpc/util.d.ts +14 -0
- package/api/chia/rpc/wallet_request_types.d.ts +46 -3
- package/api/chia/server/outbound_message.d.ts +1 -1
- package/api/chia/timelord/types.d.ts +1 -1
- package/api/chia/types/_python_types_.d.ts +22 -22
- package/api/chia/types/blockchain_format/classgroup.d.ts +1 -4
- package/api/chia/types/blockchain_format/coin.d.ts +1 -11
- package/api/chia/types/blockchain_format/foliage.d.ts +1 -35
- package/api/chia/types/blockchain_format/pool_target.d.ts +1 -6
- package/api/chia/types/blockchain_format/program.d.ts +1 -1
- package/api/chia/types/blockchain_format/proof_of_space.d.ts +1 -10
- package/api/chia/types/blockchain_format/reward_chain_block.d.ts +1 -30
- package/api/chia/types/blockchain_format/sized_bytes.d.ts +7 -7
- package/api/chia/types/blockchain_format/slots.d.ts +1 -24
- package/api/chia/types/blockchain_format/sub_epoch_summary.d.ts +1 -9
- package/api/chia/types/blockchain_format/vdf.d.ts +1 -13
- package/api/chia/types/clvm_cost.d.ts +1 -1
- package/api/chia/types/coin_record.d.ts +2 -2
- package/api/chia/types/coin_spend.d.ts +3 -8
- package/api/chia/types/condition_opcode.d.ts +1 -1
- package/api/chia/types/condition_with_args.d.ts +1 -1
- package/api/chia/types/end_of_slot_bundle.d.ts +1 -8
- package/api/chia/types/full_block.d.ts +1 -20
- package/api/chia/types/mempool_item.d.ts +3 -3
- package/api/chia/types/mojos.d.ts +1 -1
- package/api/chia/types/signing_mode.d.ts +6 -6
- package/api/chia/types/spend_bundle.d.ts +1 -1
- package/api/chia/types/spend_bundle_condition.d.ts +1 -26
- package/api/chia/types/unfinished_block.d.ts +1 -0
- package/api/chia/types/unfinished_header_block.d.ts +1 -1
- package/api/chia/util/keychain.d.ts +2 -2
- package/api/chia/util/misc.d.ts +1 -1
- package/api/chia/wallet/cat_wallet/cat_constants.d.ts +1 -1
- package/api/chia/wallet/conditions.d.ts +2 -2
- package/api/chia/wallet/dao_wallet/dao_info.d.ts +5 -5
- package/api/chia/wallet/dao_wallet/dao_wallet.d.ts +3 -3
- package/api/chia/wallet/lineage_proof.d.ts +1 -1
- package/api/chia/wallet/nft_wallet/nft_info.d.ts +1 -1
- package/api/chia/wallet/notification_store.d.ts +1 -1
- package/api/chia/wallet/puzzle_drivers.d.ts +2 -2
- package/api/chia/wallet/puzzles/clawback/metadata.d.ts +2 -2
- package/api/chia/wallet/signer_protocol.d.ts +54 -0
- package/api/chia/wallet/signer_protocol.js +2 -0
- package/api/chia/wallet/trade_record.d.ts +3 -3
- package/api/chia/wallet/transaction_record.d.ts +4 -4
- package/api/chia/wallet/util/quality_filter.d.ts +5 -5
- package/api/chia/wallet/util/tx_config.d.ts +4 -11
- package/api/chia/wallet/util/wallet_types.d.ts +1 -1
- package/api/chia/wallet/vc_wallet/vc_drivers.d.ts +2 -2
- package/api/chia/wallet/vc_wallet/vc_store.d.ts +1 -1
- package/api/chia/wallet/wallet_coin_record.d.ts +2 -2
- package/api/chia/wallet/wallet_coin_store.d.ts +1 -1
- package/api/chia/wallet/wallet_info.d.ts +2 -2
- package/api/chia/wallet/wallet_node.d.ts +1 -1
- package/api/chia_rs/chia-bls/public_key.d.ts +2 -0
- package/api/chia_rs/chia-bls/public_key.js +2 -0
- package/api/chia_rs/chia-consensus/gen/owned_conditions.d.ts +36 -0
- package/api/chia_rs/chia-consensus/gen/owned_conditions.js +2 -0
- package/api/chia_rs/chia-protocol/block_record.d.ts +32 -0
- package/api/chia_rs/chia-protocol/block_record.js +2 -0
- package/api/chia_rs/chia-protocol/classgroup.d.ts +4 -0
- package/api/chia_rs/chia-protocol/classgroup.js +2 -0
- package/api/chia_rs/chia-protocol/coin.d.ts +7 -0
- package/api/chia_rs/chia-protocol/coin.js +2 -0
- package/api/chia_rs/chia-protocol/coin_spend.d.ts +7 -0
- package/api/chia_rs/chia-protocol/coin_spend.js +2 -0
- package/api/chia_rs/chia-protocol/end_of_sub_slot_bundle.d.ts +8 -0
- package/api/chia_rs/chia-protocol/end_of_sub_slot_bundle.js +2 -0
- package/api/chia_rs/chia-protocol/foliage.d.ts +35 -0
- package/api/chia_rs/chia-protocol/foliage.js +2 -0
- package/api/chia_rs/chia-protocol/fullblock.d.ts +20 -0
- package/api/chia_rs/chia-protocol/fullblock.js +2 -0
- package/api/chia_rs/chia-protocol/pool_target.d.ts +6 -0
- package/api/chia_rs/chia-protocol/pool_target.js +2 -0
- package/api/chia_rs/chia-protocol/program.d.ts +2 -0
- package/api/chia_rs/chia-protocol/program.js +2 -0
- package/api/chia_rs/chia-protocol/proof_of_space.d.ts +10 -0
- package/api/chia_rs/chia-protocol/proof_of_space.js +2 -0
- package/api/chia_rs/chia-protocol/reward_chain_block.d.ts +30 -0
- package/api/chia_rs/chia-protocol/reward_chain_block.js +2 -0
- package/api/chia_rs/chia-protocol/slots.d.ts +24 -0
- package/api/chia_rs/chia-protocol/slots.js +2 -0
- package/api/chia_rs/chia-protocol/sub_epoch_summary.d.ts +9 -0
- package/api/chia_rs/chia-protocol/sub_epoch_summary.js +2 -0
- package/api/chia_rs/chia-protocol/unfinished_block.d.ts +17 -0
- package/api/chia_rs/chia-protocol/unfinished_block.js +2 -0
- package/api/chia_rs/chia-protocol/vdf.d.ts +13 -0
- package/api/chia_rs/chia-protocol/vdf.js +2 -0
- package/api/{chia/pool/store.d.ts → pool-reference/pool/record.d.ts} +5 -5
- package/api/pool-reference/pool/record.js +2 -0
- package/api/rpc/common/index.d.ts +34 -24
- package/api/rpc/common/index.js +8 -1
- package/api/rpc/crawler/index.d.ts +10 -10
- package/api/rpc/data_layer/index.d.ts +208 -134
- package/api/rpc/data_layer/index.js +23 -2
- package/api/rpc/farmer/index.d.ts +52 -55
- package/api/rpc/full_node/index.d.ts +140 -154
- package/api/rpc/full_node/index.js +2 -9
- package/api/rpc/harvester/index.d.ts +31 -34
- package/api/rpc/index.d.ts +7 -7
- package/api/rpc/index.js +13 -9
- package/api/rpc/pool/index.d.ts +13 -13
- package/api/rpc/wallet/index.d.ts +747 -641
- package/api/rpc/wallet/index.js +27 -20
- package/api/types.d.ts +4 -3
- package/api/types.js +2 -1
- package/api/ws/chia_plots_create/index.d.ts +7 -7
- package/api/ws/crawler/index.d.ts +9 -9
- package/api/ws/daemon/index.d.ts +198 -166
- package/api/ws/daemon/index.js +17 -3
- package/api/ws/farmer/index.d.ts +34 -34
- package/api/ws/full_node/index.d.ts +28 -17
- package/api/ws/full_node/index.js +14 -1
- package/api/ws/harvester/index.d.ts +19 -19
- package/api/ws/index.d.ts +3 -3
- package/api/ws/index.js +5 -2
- package/api/ws/timelord/index.d.ts +14 -14
- package/api/ws/wallet/index.d.ts +22 -22
- package/bin/cli.js +3 -3
- package/config/index.d.ts +1 -1
- package/config/index.js +3 -3
- package/daemon/connection.js +9 -10
- package/daemon/index.d.ts +6 -6
- package/daemon/index.js +21 -21
- package/index.js +5 -1
- package/logger.d.ts +3 -3
- package/package.json +3 -3
- package/rpc/index.d.ts +6 -4
- package/rpc/index.js +29 -29
- package/api/chia/types/blockchain_format/serialized_program.d.ts +0 -2
- /package/api/chia/{pool/store.js → rpc/util.js} +0 -0
- /package/api/chia/types/{blockchain_format/serialized_program.js → unfinished_block.js} +0 -0
|
@@ -8,13 +8,13 @@ import { Plot } from "../../chia/protocols/harvester_protocol";
|
|
|
8
8
|
import { GetMessageType, ResType } from "../../types";
|
|
9
9
|
import { TDaemon } from "../../../daemon/index";
|
|
10
10
|
export declare const chia_farmer_service = "chia_farmer";
|
|
11
|
-
export
|
|
11
|
+
export type chia_farmer_service = typeof chia_farmer_service;
|
|
12
12
|
export declare const get_signage_point_command = "get_signage_point";
|
|
13
|
-
export
|
|
14
|
-
export
|
|
13
|
+
export type get_signage_point_command = typeof get_signage_point_command;
|
|
14
|
+
export type TGetSignagePointRequest = {
|
|
15
15
|
sp_hash: str;
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type TGetSignagePointResponse = {
|
|
18
18
|
signage_point: {
|
|
19
19
|
challenge_hash: bytes32;
|
|
20
20
|
challenge_chain_sp: bytes32;
|
|
@@ -25,23 +25,22 @@ export declare type TGetSignagePointResponse = {
|
|
|
25
25
|
};
|
|
26
26
|
proofs: [string, ProofOfSpace];
|
|
27
27
|
};
|
|
28
|
-
export
|
|
28
|
+
export type WsGetSignagePointMessage = GetMessageType<chia_farmer_service, get_signage_point_command, TGetSignagePointResponse>;
|
|
29
29
|
export declare function get_signage_point<T extends TRPCAgent | TDaemon>(agent: T, params: TGetSignagePointRequest): Promise<ResType<T, TGetSignagePointResponse, WsGetSignagePointMessage>>;
|
|
30
30
|
export declare const get_signage_points_command = "get_signage_points";
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export declare type TGetSignagePointsResponse = {
|
|
31
|
+
export type get_signage_points_command = typeof get_signage_points_command;
|
|
32
|
+
export type TGetSignagePointsResponse = {
|
|
34
33
|
signage_points: TGetSignagePointResponse[];
|
|
35
34
|
};
|
|
36
|
-
export
|
|
35
|
+
export type WsGetSignagePointsMessage = GetMessageType<chia_farmer_service, get_signage_points_command, TGetSignagePointsResponse>;
|
|
37
36
|
export declare function get_signage_points<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetSignagePointsResponse, WsGetSignagePointsMessage>>;
|
|
38
37
|
export declare const get_reward_targets_command = "get_reward_targets";
|
|
39
|
-
export
|
|
40
|
-
export
|
|
38
|
+
export type get_reward_targets_command = typeof get_reward_targets_command;
|
|
39
|
+
export type TGetRewardTargetRequest = {
|
|
41
40
|
search_for_private_key: bool;
|
|
42
41
|
max_ph_to_search?: int;
|
|
43
42
|
};
|
|
44
|
-
export
|
|
43
|
+
export type TGetRewardTargetResponse = {
|
|
45
44
|
farmer_target: str;
|
|
46
45
|
pool_target: str;
|
|
47
46
|
have_farmer_sk: bool;
|
|
@@ -50,52 +49,50 @@ export declare type TGetRewardTargetResponse = {
|
|
|
50
49
|
farmer_target: str;
|
|
51
50
|
pool_target: str;
|
|
52
51
|
};
|
|
53
|
-
export
|
|
52
|
+
export type WsGetRewardTargetsMessage = GetMessageType<chia_farmer_service, get_reward_targets_command, TGetRewardTargetResponse>;
|
|
54
53
|
export declare function get_reward_targets<T extends TRPCAgent | TDaemon>(agent: T, params: TGetRewardTargetRequest): Promise<ResType<T, TGetRewardTargetResponse, WsGetRewardTargetsMessage>>;
|
|
55
54
|
export declare const set_reward_targets_command = "set_reward_targets";
|
|
56
|
-
export
|
|
57
|
-
export
|
|
55
|
+
export type set_reward_targets_command = typeof set_reward_targets_command;
|
|
56
|
+
export type TSetRewardTargetRequest = {
|
|
58
57
|
farmer_target?: str;
|
|
59
58
|
pool_target?: str;
|
|
60
59
|
};
|
|
61
|
-
export
|
|
62
|
-
export
|
|
60
|
+
export type TSetRewardTargetResponse = Record<string, never>;
|
|
61
|
+
export type WsSetRewardTargetsMessage = GetMessageType<chia_farmer_service, set_reward_targets_command, TSetRewardTargetResponse>;
|
|
63
62
|
export declare function set_reward_targets<T extends TRPCAgent | TDaemon>(agent: T, params: TSetRewardTargetRequest): Promise<ResType<T, TSetRewardTargetResponse, WsSetRewardTargetsMessage>>;
|
|
64
63
|
export declare const get_pool_state_command = "get_pool_state";
|
|
65
|
-
export
|
|
66
|
-
export
|
|
67
|
-
export declare type TGetPoolStateResponse = {
|
|
64
|
+
export type get_pool_state_command = typeof get_pool_state_command;
|
|
65
|
+
export type TGetPoolStateResponse = {
|
|
68
66
|
pool_state: PoolState[];
|
|
69
67
|
};
|
|
70
|
-
export
|
|
68
|
+
export type WsGetPoolStateMessage = GetMessageType<chia_farmer_service, get_pool_state_command, TGetPoolStateResponse>;
|
|
71
69
|
export declare function get_pool_state<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetPoolStateResponse, WsGetPoolStateMessage>>;
|
|
72
70
|
export declare const set_payout_instructions_command = "set_payout_instructions";
|
|
73
|
-
export
|
|
74
|
-
export
|
|
71
|
+
export type set_payout_instructions_command = typeof set_payout_instructions_command;
|
|
72
|
+
export type TSetPayoutInstructionsRequest = {
|
|
75
73
|
launcher_id: str;
|
|
76
74
|
payout_instructions: str;
|
|
77
75
|
};
|
|
78
|
-
export
|
|
79
|
-
export
|
|
76
|
+
export type TSetPayoutInstructionsResponse = Record<string, never>;
|
|
77
|
+
export type WsSetPayoutInstructionsMessage = GetMessageType<chia_farmer_service, set_payout_instructions_command, TSetPayoutInstructionsResponse>;
|
|
80
78
|
export declare function set_pool_payout_instructions<T extends TRPCAgent | TDaemon>(agent: T, params: TSetPayoutInstructionsRequest): Promise<ResType<T, TSetPayoutInstructionsResponse, WsSetPayoutInstructionsMessage>>;
|
|
81
79
|
export declare const get_harvesters_command = "get_harvesters";
|
|
82
|
-
export
|
|
83
|
-
export
|
|
84
|
-
export declare type TGetHarvestersResponse = {
|
|
80
|
+
export type get_harvesters_command = typeof get_harvesters_command;
|
|
81
|
+
export type TGetHarvestersResponse = {
|
|
85
82
|
harvesters: Receiver[];
|
|
86
83
|
};
|
|
87
|
-
export
|
|
84
|
+
export type WsGetHarvestersMessage = GetMessageType<chia_farmer_service, get_harvesters_command, TGetHarvestersResponse>;
|
|
88
85
|
export declare function get_harvesters<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetHarvestersResponse, WsGetHarvestersMessage>>;
|
|
89
86
|
export declare const get_harvesters_summary_command = "get_harvesters_summary";
|
|
90
|
-
export
|
|
91
|
-
export
|
|
92
|
-
harvesters: Receiver<true
|
|
87
|
+
export type get_harvesters_summary_command = typeof get_harvesters_summary_command;
|
|
88
|
+
export type TGetHarvestersSummaryResponse = {
|
|
89
|
+
harvesters: Array<Receiver<true>>;
|
|
93
90
|
};
|
|
94
|
-
export
|
|
91
|
+
export type WsGetHarvestersSummaryMessage = GetMessageType<chia_farmer_service, get_harvesters_summary_command, TGetHarvestersSummaryResponse>;
|
|
95
92
|
export declare function get_harvesters_summary<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetHarvestersSummaryResponse, WsGetHarvestersSummaryMessage>>;
|
|
96
93
|
export declare const get_harvester_plots_valid_command = "get_harvester_plots_valid";
|
|
97
|
-
export
|
|
98
|
-
export
|
|
94
|
+
export type get_harvester_plots_valid_command = typeof get_harvester_plots_valid_command;
|
|
95
|
+
export type TGetHarvesterPlotsValidRequest = {
|
|
99
96
|
node_id: bytes32;
|
|
100
97
|
page: uint32;
|
|
101
98
|
page_size: uint32;
|
|
@@ -106,78 +103,78 @@ export declare type TGetHarvesterPlotsValidRequest = {
|
|
|
106
103
|
sort_key: str;
|
|
107
104
|
reverse: bool;
|
|
108
105
|
};
|
|
109
|
-
export
|
|
106
|
+
export type TGetHarvesterPlotsValidResponse = {
|
|
110
107
|
node_id: str;
|
|
111
108
|
page: uint32;
|
|
112
109
|
page_count: uint32;
|
|
113
110
|
total_count: int;
|
|
114
111
|
plots: Plot[];
|
|
115
112
|
};
|
|
116
|
-
export
|
|
113
|
+
export type WsGetHarvesterPlotsValidMessage = GetMessageType<chia_farmer_service, get_harvester_plots_valid_command, TGetHarvesterPlotsValidResponse>;
|
|
117
114
|
export declare function get_harvester_plots_valid<T extends TRPCAgent | TDaemon>(agent: T, param: TGetHarvesterPlotsValidRequest): Promise<ResType<T, TGetHarvesterPlotsValidResponse, WsGetHarvesterPlotsValidMessage>>;
|
|
118
115
|
export declare const get_harvester_plots_invalid_command = "get_harvester_plots_invalid";
|
|
119
|
-
export
|
|
120
|
-
export
|
|
116
|
+
export type get_harvester_plots_invalid_command = typeof get_harvester_plots_invalid_command;
|
|
117
|
+
export type TGetHarvesterPlotsInvalidRequest = {
|
|
121
118
|
node_id: bytes32;
|
|
122
119
|
page: uint32;
|
|
123
120
|
page_count: uint32;
|
|
124
121
|
filter: str[];
|
|
125
122
|
reverse: bool;
|
|
126
123
|
};
|
|
127
|
-
export
|
|
124
|
+
export type TGetHarvesterPlotsInvalidResponse = {
|
|
128
125
|
node_id: str;
|
|
129
126
|
page: uint32;
|
|
130
127
|
page_count: uint32;
|
|
131
128
|
total_count: int;
|
|
132
129
|
plots: str[];
|
|
133
130
|
};
|
|
134
|
-
export
|
|
131
|
+
export type WsGetHarvesterPlotsInvalidMessage = GetMessageType<chia_farmer_service, get_harvester_plots_invalid_command, TGetHarvesterPlotsInvalidResponse>;
|
|
135
132
|
export declare function get_harvester_plots_invalid<T extends TRPCAgent | TDaemon>(agent: T, param: TGetHarvesterPlotsInvalidRequest): Promise<ResType<T, TGetHarvesterPlotsInvalidResponse, WsGetHarvesterPlotsInvalidMessage>>;
|
|
136
133
|
export declare const get_harvester_plots_keys_missing_command = "get_harvester_plots_keys_missing";
|
|
137
|
-
export
|
|
138
|
-
export
|
|
134
|
+
export type get_harvester_plots_keys_missing_command = typeof get_harvester_plots_keys_missing_command;
|
|
135
|
+
export type TGetHarvesterPlotsKeysMissingRequest = {
|
|
139
136
|
node_id: bytes32;
|
|
140
137
|
page: uint32;
|
|
141
138
|
page_count: uint32;
|
|
142
139
|
filter: str[];
|
|
143
140
|
reverse: bool;
|
|
144
141
|
};
|
|
145
|
-
export
|
|
142
|
+
export type TGetHarvesterPlotsKeysMissingResponse = {
|
|
146
143
|
node_id: str;
|
|
147
144
|
page: uint32;
|
|
148
145
|
page_count: uint32;
|
|
149
146
|
total_count: int;
|
|
150
147
|
plots: str[];
|
|
151
148
|
};
|
|
152
|
-
export
|
|
149
|
+
export type WsGetHarvesterPlotsKeysMissingMessage = GetMessageType<chia_farmer_service, get_harvester_plots_keys_missing_command, TGetHarvesterPlotsKeysMissingResponse>;
|
|
153
150
|
export declare function get_harvester_plots_keys_missing<T extends TRPCAgent | TDaemon>(agent: T, param: TGetHarvesterPlotsKeysMissingRequest): Promise<ResType<T, TGetHarvesterPlotsKeysMissingResponse, WsGetHarvesterPlotsKeysMissingMessage>>;
|
|
154
151
|
export declare const get_harvester_plots_duplicates_command = "get_harvester_plots_duplicates";
|
|
155
|
-
export
|
|
156
|
-
export
|
|
152
|
+
export type get_harvester_plots_duplicates_command = typeof get_harvester_plots_duplicates_command;
|
|
153
|
+
export type TGetHarvesterPlotsDuplicatesRequest = {
|
|
157
154
|
node_id: bytes32;
|
|
158
155
|
page: uint32;
|
|
159
156
|
page_count: uint32;
|
|
160
157
|
filter: str[];
|
|
161
158
|
reverse: bool;
|
|
162
159
|
};
|
|
163
|
-
export
|
|
160
|
+
export type TGetHarvesterPlotsDuplicatesResponse = {
|
|
164
161
|
node_id: str;
|
|
165
162
|
page: uint32;
|
|
166
163
|
page_count: uint32;
|
|
167
164
|
total_count: int;
|
|
168
165
|
plots: str[];
|
|
169
166
|
};
|
|
170
|
-
export
|
|
167
|
+
export type WsGetHarvesterPlotsDuplicatesMessage = GetMessageType<chia_farmer_service, get_harvester_plots_duplicates_command, TGetHarvesterPlotsDuplicatesResponse>;
|
|
171
168
|
export declare function get_harvester_plots_duplicates<T extends TRPCAgent | TDaemon>(agent: T, param: TGetHarvesterPlotsDuplicatesRequest): Promise<ResType<T, TGetHarvesterPlotsDuplicatesResponse, WsGetHarvesterPlotsDuplicatesMessage>>;
|
|
172
169
|
export declare const get_pool_login_link_command = "get_pool_login_link";
|
|
173
|
-
export
|
|
174
|
-
export
|
|
170
|
+
export type get_pool_login_link_command = typeof get_pool_login_link_command;
|
|
171
|
+
export type TGetPoolLinkRequest = {
|
|
175
172
|
launcher_id: str;
|
|
176
173
|
};
|
|
177
|
-
export
|
|
174
|
+
export type TGetPoolLinkResponse = {
|
|
178
175
|
login_link: str;
|
|
179
176
|
};
|
|
180
|
-
export
|
|
177
|
+
export type WsGetPoolLinkMessage = GetMessageType<chia_farmer_service, get_pool_login_link_command, TGetPoolLinkResponse>;
|
|
181
178
|
export declare function get_pool_login_link<T extends TRPCAgent | TDaemon>(agent: T, params: TGetPoolLinkRequest): Promise<ResType<T, TGetPoolLinkResponse, WsGetPoolLinkMessage>>;
|
|
182
|
-
export
|
|
183
|
-
export
|
|
179
|
+
export type RpcFarmerMessage = TGetRewardTargetResponse | TGetSignagePointResponse | TGetSignagePointsResponse | TSetRewardTargetResponse | TGetHarvestersResponse | TGetHarvestersSummaryResponse | TGetHarvesterPlotsValidResponse | TGetHarvesterPlotsInvalidResponse | TGetHarvesterPlotsKeysMissingResponse | TGetHarvesterPlotsDuplicatesResponse | TSetPayoutInstructionsResponse | TGetPoolStateResponse | TGetPoolLinkResponse;
|
|
180
|
+
export type RpcFarmerMessageOnWs = WsGetRewardTargetsMessage | WsGetSignagePointMessage | WsGetSignagePointsMessage | WsSetRewardTargetsMessage | WsGetHarvestersMessage | WsGetHarvestersSummaryMessage | WsGetHarvesterPlotsValidMessage | WsGetHarvesterPlotsInvalidMessage | WsGetHarvesterPlotsKeysMissingMessage | WsGetHarvesterPlotsDuplicatesMessage | WsSetPayoutInstructionsMessage | WsGetPoolStateMessage | WsGetPoolLinkMessage;
|