chia-agent 13.0.0 → 13.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,116 @@
1
1
  # Changelog
2
2
 
3
+ ## [13.1.0]
4
+ ### Added
5
+ - [Daemon WebSocket API](./src/api/ws/daemon)
6
+ - [`get_public_key`](./src/api/ws/daemon/README.md#get_public_keydaemon-params)
7
+ - [`get_public_keys`](./src/api/ws/daemon/README.md#get_public_keysdaemon-params)
8
+ - [DataLayer RPC API](./src/api/rpc/data_layer)
9
+ - [`wallet_log_in`](./src/api/rpc/data_layer/README.md#wallet_loginagent-params)
10
+ - [FullNode RPC API](./src/api/rpc/full_node)
11
+ - [`get_mempool_items_by_coin_name`](./src/api/rpc/full_node/README.md#get_mempool_items_by_coin_nameagent-params)
12
+ - [Wallet RPC API](./src/api/rpc/wallet)
13
+ - [`crcat_approve_pending`](./src/api/rpc/wallet/README.md#crcat_approve_pendingagent-params)
14
+ ### Changed
15
+ - [Daemon WebSocket API](./src/api/ws/daemon)
16
+ - [`start_plotting`](./src/api/ws/daemon/README.md#start_plottingdaemon-params)
17
+ - Added `disk_128`, `disk_16` to cudaplot request parameter.
18
+ - [DataLayer RPC API](./src/api/rpc/data_layer)
19
+ - [`create_data_store`](./src/api/rpc/data_layer/README.md#create_data_storeagent-params)
20
+ - Added `verbose` to request parameter
21
+ - Now `txs` is set only when `verbose` is `true`.
22
+ - [`unsubscribe`](./src/api/rpc/data_layer/README.md#unsubscribeagent-params)
23
+ - Added `retain` to request parameter
24
+ - [Wallet RPC API](./src/api/rpc/wallet)
25
+ - A collection of common optional request parameters([`TxEndpoint`](./src/api/chia/wallet/util/tx_config.ts)) is added to several wallet RPC API requests.
26
+ - [`create_new_wallet`](./src/api/rpc/wallet/README.md#create_new_walletagent-params)
27
+ - [`send_transaction`](./src/api/rpc/wallet/README.md#send_transactionagent-params)
28
+ - [`spend_clawback_coins`](./src/api/rpc/wallet/README.md#spend_clawback_coinsagent-params)
29
+ - [`select_coins`](./src/api/rpc/wallet/README.md#select_coinsagent-params)
30
+ - [`send_notification`](./src/api/rpc/wallet/README.md#send_notificationagent-params)
31
+ - [`cat_spend`](./src/api/rpc/wallet/README.md#cat_spendagent-params)
32
+ - [`create_offer_for_ids`](./src/api/rpc/wallet/README.md#create_offer_for_idsagent-params)
33
+ - [`take_offer`](./src/api/rpc/wallet/README.md#take_offeragent-params)
34
+ - [`cancel_offer`](./src/api/rpc/wallet/README.md#cancel_offeragent-params)
35
+ - [`cancel_offers`](./src/api/rpc/wallet/README.md#cancel_offersagent-params)
36
+ - [`did_update_recovery_ids`](./src/api/rpc/wallet/README.md#did_update_recovery_idsagent-params)
37
+ - [`did_message_spend`](./src/api/rpc/wallet/README.md#did_message_spendagent-params)
38
+ - [`did_update_metadata`](./src/api/rpc/wallet/README.md#did_update_metadataagent-params)
39
+ - [`did_create_attest`](./src/api/rpc/wallet/README.md#did_create_attestagent-params)
40
+ - [`did_transfer_did`](./src/api/rpc/wallet/README.md#did_transfer_didagent-params)
41
+ - [`nft_mint_nft`](./src/api/rpc/wallet/README.md#nft_mint_nftagent-params)
42
+ - [`nft_set_nft_did`](./src/api/rpc/wallet/README.md#nft_set_nft_didagent-params)
43
+ - [`nft_set_did_bulk`](./src/api/rpc/wallet/README.md#nft_set_did_bulkagent-params)
44
+ - [`nft_transfer_bulk`](./src/api/rpc/wallet/README.md#nft_transfer_bulkagent-params)
45
+ - [`nft_transfer_nft`](./src/api/rpc/wallet/README.md#nft_transfer_nftagent-params)
46
+ - [`nft_add_uri`](./src/api/rpc/wallet/README.md#nft_add_uriagent-params)
47
+ - [`nft_mint_bulk`](./src/api/rpc/wallet/README.md#nft_mint_bulkagent-params)
48
+ - [`create_signed_transaction`](./src/api/rpc/wallet/README.md#create_signed_transactionagent-params)
49
+ - [`pw_join_pool`](./src/api/rpc/wallet/README.md#pw_join_poolagent-params)
50
+ - [`pw_self_pool`](./src/api/rpc/wallet/README.md#pw_self_poolagent-params)
51
+ - [`pw_absorb_rewards`](./src/api/rpc/wallet/README.md#pw_absorb_rewardsagent-params)
52
+ - [`create_new_dl`](./src/api/rpc/wallet/README.md#create_new_dlagent-params)
53
+ - [`dl_update_root`](./src/api/rpc/wallet/README.md#dl_update_rootagent-params)
54
+ - [`dl_update_multiple`](./src/api/rpc/wallet/README.md#dl_update_multipleagent-params)
55
+ - [`dl_new_mirror`](./src/api/rpc/wallet/README.md#dl_new_mirroragent-params)
56
+ - [`dl_delete_mirror`](./src/api/rpc/wallet/README.md#dl_delete_mirroragent-params)
57
+ - [`vc_mint`](./src/api/rpc/wallet/README.md#vc_mintagent-params)
58
+ - [`vc_spend`](./src/api/rpc/wallet/README.md#vc_spendagent-params)
59
+ - [`vc_revoke`](./src/api/rpc/wallet/README.md#vc_revokeagent-params)
60
+ - [`create_new_wallet`](./src/api/rpc/wallet/README.md#create_new_walletagent-params)
61
+ - Added `test` request parameter for CAT wallet
62
+ - [`spend_clawback_coins`](./src/api/rpc/wallet/README.md#spend_clawback_coinsagent-params)
63
+ - Added `force` request parameter
64
+ - [`get_offer_summary`](./src/api/rpc/wallet/README.md#get_offer_summaryagent-params)
65
+ - Added `valid_times` to response
66
+ - `TradeRecord` now has `valid_times`.
67
+ As a result of this addition, the following Wallet RPC APIs are affected.
68
+ - [`create_offer_for_ids`](./src/api/rpc/wallet/README.md#create_offer_for_idsagent-params)
69
+ - [`get_all_offers`](./src/api/rpc/wallet/README.md#get_all_offersagent-params)
70
+ - [`get_offer`](./src/api/rpc/wallet/README.md#get_offeragent-params)
71
+ - [`take_offer`](./src/api/rpc/wallet/README.md#take_offeragent-params)
72
+ - `TransactionRecordConvenience` now has `valid_times`.
73
+ As a result of this addition, the following Wallet RPC APIs are affected
74
+ - [`cat_spend`](./src/api/rpc/wallet/README.md#cat_spendagent-params)
75
+ - [`crcat_approve_pending`](./src/api/rpc/wallet/README.md#crcat_approve_pendingagent-params)
76
+ - [`create_new_dl`](./src/api/rpc/wallet/README.md#create_new_dlagent-params)
77
+ - [`create_signed_transaction`](./src/api/rpc/wallet/README.md#create_signed_transactionagent-params)
78
+ - [`did_transfer_did`](./src/api/rpc/wallet/README.md#did_transfer_didagent-params)
79
+ - [`dl_delete_mirror`](./src/api/rpc/wallet/README.md#dl_delete_mirroragent-params)
80
+ - [`dl_new_mirror`](./src/api/rpc/wallet/README.md#dl_new_mirroragent-params)
81
+ - [`dl_update_multiple`](./src/api/rpc/wallet/README.md#dl_update_multipleagent-params)
82
+ - [`dl_update_root`](./src/api/rpc/wallet/README.md#dl_update_rootagent-params)
83
+ - [`get_transaction`](./src/api/rpc/wallet/README.md#get_transactionagent-params)
84
+ - [`get_transactions`](./src/api/rpc/wallet/README.md#get_transactionsagent-params)
85
+ - [`send_notification`](./src/api/rpc/wallet/README.md#send_notificationagent-params)
86
+ - [`send_transaction_multi`](./src/api/rpc/wallet/README.md#send_transaction_multiagent-params)
87
+ - [`send_transaction`](./src/api/rpc/wallet/README.md#send_transactionagent-params)
88
+ - [`vc_mint`](./src/api/rpc/wallet/README.md#vc_mintagent-params)
89
+ - [`vc_revoke`](./src/api/rpc/wallet/README.md#vc_revokeagent-params)
90
+ - [`vc_spend`](./src/api/rpc/wallet/README.md#vc_spendagent-params)
91
+ - `CRCAT` are added to [`WalletType`](./src/api/chia/wallet/util/wallet_types.ts) and `CRCAT_PENDING`, `CRCAT` are added to [`CoinType`](./src/api/chia/wallet/util/wallet_types.ts).
92
+ As a result of this addition, the following Wallet RPC API is affected.
93
+ - [`get_coin_records`](./src/api/rpc/wallet/README.md#get_coin_recordsagent-params)
94
+ ### Fixed
95
+ - [Daemon WebSocket API](./src/api/ws/daemon)
96
+ - Fixed an issue where `kc_user` and `kc_service` were missing from the request parameter of the following daemon Ws APIs.
97
+ - [`get_key`](./src/api/ws/daemon/README.md#get_keydaemon-params)
98
+ - [`get_keys`](./src/api/ws/daemon/README.md#get_keysdaemon-params)
99
+ - [`set_label`](./src/api/ws/daemon/README.md#set_labeldaemon-params)
100
+ - [`delete_label`](./src/api/ws/daemon/README.md#delete_labeldaemon-params)
101
+ - [Wallet RPC API](./src/api/rpc/wallet)
102
+ - [`create_new_wallet`](./src/api/rpc/wallet/README.md#create_new_walletagent-params)
103
+ - Added missing `name` request parameter for CAT wallet
104
+ - [`get_offer_summary`](./src/api/rpc/wallet/README.md#get_offer_summaryagent-params)
105
+ - Fixed wrong response param name: `driver_dict` -> `infos`
106
+ - Fixed an issue where the type of `status` property in `TradeRecordConvenience` was `uint32` (`str` is correct).
107
+
108
+ ## [13.0.1]
109
+ ### Changed
110
+ - [Daemon WebSocket API](./src/api/ws/daemon)
111
+ - [`start_plotting`](./src/api/ws/daemon/README.md#start_plottingdaemon-params)
112
+ - `no_direct_downloads` has been removed from `TBladeBitCudaParams`
113
+
3
114
  ## [13.0.0]
4
115
  ### Breaking change
5
116
  - The format of [`PoolState`](./src/api/chia/farmer/farmer.ts)) has been changed.
@@ -1127,7 +1238,9 @@ daemon.sendMessage(destination, get_block_record_by_height_command, data);
1127
1238
  Initial release.
1128
1239
 
1129
1240
  <!-- [Unreleased]: https://github.com/Chia-Mine/chia-agent/compare/v0.0.1...v0.0.2 -->
1130
- [12.2.0]: https://github.com/Chia-Mine/chia-agent/compare/v12.1.0...v13.0.0
1241
+ [13.1.0]: https://github.com/Chia-Mine/chia-agent/compare/v13.0.1...v13.1.0
1242
+ [13.0.1]: https://github.com/Chia-Mine/chia-agent/compare/v13.0.0...v13.0.1
1243
+ [13.0.0]: https://github.com/Chia-Mine/chia-agent/compare/v12.1.0...v13.0.0
1131
1244
  [12.1.0]: https://github.com/Chia-Mine/chia-agent/compare/v12.0.1...v12.1.0
1132
1245
  [12.0.1]: https://github.com/Chia-Mine/chia-agent/compare/v12.0.0...v12.0.1
1133
1246
  [12.0.0]: https://github.com/Chia-Mine/chia-agent/compare/v11.1.1...v12.0.0
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  [![npm version](https://badge.fury.io/js/chia-agent.svg)](https://badge.fury.io/js/chia-agent) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
3
3
 
4
4
  chia rpc/websocket client library for NodeJS.
5
- Supports all RPC/Websocket API available at `chia 2.0.0`.
5
+ Supports all RPC/Websocket API available at `chia 2.1.0`.
6
6
  \(If you need previous version, search for the corresponding release [here](https://github.com/Chia-Mine/chia-agent/releases)\)
7
7
 
8
8
  you can develop your own nodejs script with `chia-agent` to:
@@ -22,8 +22,8 @@ yarn add chia-agent
22
22
 
23
23
  ## Compatibility
24
24
  This code is compatible with:
25
- - [`dc46f46b9a30628b208d38fd7dd0ca085e820781`](https://github.com/Chia-Network/chia-blockchain/tree/dc46f46b9a30628b208d38fd7dd0ca085e820781) of [chia-blockchain 2.0.0](https://github.com/Chia-Network/chia-blockchain)
26
- - [Diff to the main branch of chia-blockchain](https://github.com/Chia-Network/chia-blockchain/compare/dc46f46b9a30628b208d38fd7dd0ca085e820781...main)
25
+ - [`f2cc5dbd94e5a13cc0b76ca05aec801d7d18d8a5`](https://github.com/Chia-Network/chia-blockchain/tree/f2cc5dbd94e5a13cc0b76ca05aec801d7d18d8a5) of [chia-blockchain 2.1.0](https://github.com/Chia-Network/chia-blockchain)
26
+ - [Diff to the main branch of chia-blockchain](https://github.com/Chia-Network/chia-blockchain/compare/f2cc5dbd94e5a13cc0b76ca05aec801d7d18d8a5...main)
27
27
  - [`6c1c7ecd2ed7307760d1673dc2b1057f22e08fd5`](https://github.com/Chia-Network/pool-reference/tree/6c1c7ecd2ed7307760d1673dc2b1057f22e08fd5) of [pool-reference](https://github.com/Chia-Network/pool-reference)
28
28
  - [Diff to the main branch of pool-reference](https://github.com/Chia-Network/pool-reference/compare/6c1c7ecd2ed7307760d1673dc2b1057f22e08fd5...main)
29
29
 
@@ -0,0 +1,12 @@
1
+ import { Optional, str, uint32, uint64 } from "../types/_python_types_";
2
+ export declare type Condition = Record<str, any>;
3
+ export declare type ConditionValidTimes = {
4
+ min_secs_since_created: Optional<uint64>;
5
+ min_time: Optional<uint64>;
6
+ min_blocks_since_created: Optional<uint32>;
7
+ min_height: Optional<uint32>;
8
+ max_secs_after_created: Optional<uint64>;
9
+ max_time: Optional<uint64>;
10
+ max_blocks_after_created: Optional<uint32>;
11
+ max_height: Optional<uint32>;
12
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,7 +2,8 @@ import { bool, bytes, int, Optional, str, uint32, uint64, uint8 } from "../types
2
2
  import { Coin } from "../types/blockchain_format/coin";
3
3
  import { bytes32 } from "../types/blockchain_format/sized_bytes";
4
4
  import { TDriverDict } from "./puzzle_drivers";
5
- export declare type TradeRecord = {
5
+ import { ConditionValidTimes } from "./conditions";
6
+ export declare type TradeRecordOld = {
6
7
  confirmed_at_index: uint32;
7
8
  accepted_at_time: Optional<uint64>;
8
9
  created_at_time: uint64;
@@ -15,7 +16,11 @@ export declare type TradeRecord = {
15
16
  status: uint32;
16
17
  sent_to: Array<[str, uint8, Optional<str>]>;
17
18
  };
19
+ export declare type TradeRecord = TradeRecordOld & {
20
+ valid_times: ConditionValidTimes;
21
+ };
18
22
  export declare type TradeRecordConvenience = {
23
+ status: str;
19
24
  summary: {
20
25
  offered: Record<str, int>;
21
26
  requested: Record<str, int>;
@@ -3,7 +3,8 @@ import { SpendBundle } from "../types/spend_bundle";
3
3
  import { Coin } from "../types/blockchain_format/coin";
4
4
  import { bytes32 } from "../types/blockchain_format/sized_bytes";
5
5
  import { ClawbackMetadata } from "./puzzles/clawback/metadata";
6
- export declare type TransactionRecord = {
6
+ import { ConditionValidTimes } from "./conditions";
7
+ export declare type TransactionRecordOld = {
7
8
  confirmed_at_height: uint32;
8
9
  created_at_time: uint64;
9
10
  to_puzzle_hash: bytes32;
@@ -21,6 +22,9 @@ export declare type TransactionRecord = {
21
22
  name: bytes32;
22
23
  memos: Array<[bytes32, bytes[]]>;
23
24
  };
25
+ export declare type TransactionRecord = TransactionRecordOld & {
26
+ valid_times: ConditionValidTimes;
27
+ };
24
28
  export declare type TransactionRecordConvenience = {
25
29
  to_address: str;
26
30
  memos: Record<str, str>;
@@ -0,0 +1,24 @@
1
+ import { bool, int, Optional, str, uint64 } from "../../types/_python_types_";
2
+ import { bytes32 } from "../../types/blockchain_format/sized_bytes";
3
+ import { Condition } from "../conditions";
4
+ export declare type CoinSelectionConfigLoader = {
5
+ min_coin_amount?: Optional<uint64>;
6
+ max_coin_amount?: Optional<uint64>;
7
+ excluded_coin_amounts?: Optional<uint64[]>;
8
+ excluded_coin_ids?: Optional<bytes32[]>;
9
+ };
10
+ export declare type TxEndpointForCompat = {
11
+ exclude_coin_ids?: Optional<bytes32[]>;
12
+ exclude_coin_amounts?: Optional<uint64[]>;
13
+ exclude_coins?: Optional<bytes32[]>;
14
+ excluded_coins?: Optional<bytes32[]>;
15
+ };
16
+ export declare type TxConfigLoader = CoinSelectionConfigLoader & {
17
+ reuse_puzhash?: Optional<bool>;
18
+ };
19
+ export declare type TxEndpoint = TxConfigLoader & TxEndpointForCompat & {
20
+ extra_conditions?: Array<{
21
+ opcode: str | int;
22
+ args: Condition;
23
+ }>;
24
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -13,10 +13,13 @@ export declare const WalletType: {
13
13
  readonly DATA_LAYER: 11;
14
14
  readonly DATA_LAYER_OFFER: 12;
15
15
  readonly VC: 13;
16
+ readonly CRCAT: 57;
16
17
  };
17
18
  export declare const CoinType: {
18
19
  readonly NORMAL: 0;
19
20
  readonly CLAWBACK: 1;
21
+ readonly CRCAT_PENDING: 2;
22
+ readonly CRCAT: 3;
20
23
  };
21
24
  export declare type StreamableWalletIdentifier = {
22
25
  id: uint32;
@@ -17,8 +17,11 @@ exports.WalletType = {
17
17
  DATA_LAYER: 11,
18
18
  DATA_LAYER_OFFER: 12,
19
19
  VC: 13,
20
+ CRCAT: 57,
20
21
  };
21
22
  exports.CoinType = {
22
23
  NORMAL: 0,
23
24
  CLAWBACK: 1,
25
+ CRCAT_PENDING: 2,
26
+ CRCAT: 3,
24
27
  };
@@ -1,5 +1,5 @@
1
1
  import { TRPCAgent } from "../../../rpc/index";
2
- import { bool, None, Optional, str, uint64 } from "../../chia/types/_python_types_";
2
+ import { bool, int, None, Optional, str, uint64 } from "../../chia/types/_python_types_";
3
3
  import { TransactionRecord } from "../../chia/wallet/transaction_record";
4
4
  import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
5
5
  import { OfferMarshalled, OfferStoreMarshalled, PluginStatusMarshalled, RootMarshalled, SyncStatus } from "../../chia/data_layer/data_layer_util";
@@ -7,13 +7,22 @@ import { GetMessageType, ResType } from "../../types";
7
7
  import { TDaemon } from "../../../daemon/index";
8
8
  export declare const chia_data_layer_service = "chia_data_layer";
9
9
  export declare type chia_data_layer_service = typeof chia_data_layer_service;
10
+ export declare const wallet_log_in_command = "wallet_log_in";
11
+ export declare type wallet_log_in_command = typeof wallet_log_in_command;
12
+ export declare type TWalletLogInRequest = {
13
+ fingerprint: int;
14
+ };
15
+ export declare type TWalletLogInResponse = {};
16
+ export declare type WsWalletLogInMessage = GetMessageType<chia_data_layer_service, wallet_log_in_command, TWalletLogInResponse>;
17
+ export declare function wallet_log_in<T extends TRPCAgent | TDaemon>(agent: T, params: TWalletLogInRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TWalletLogInResponse, WsWalletLogInMessage>>;
10
18
  export declare const create_data_store_command = "create_data_store";
11
19
  export declare type create_data_store_command = typeof create_data_store_command;
12
20
  export declare type TCreateDataStoreRequest = {
13
21
  fee?: uint64;
22
+ verbose?: bool;
14
23
  };
15
24
  export declare type TCreateDataStoreResponse = {
16
- txs: TransactionRecord[];
25
+ txs?: TransactionRecord[];
17
26
  id: str;
18
27
  };
19
28
  export declare type WsCreateDataStoreMessage = GetMessageType<chia_data_layer_service, create_data_store_command, TCreateDataStoreResponse>;
@@ -170,6 +179,7 @@ export declare const unsubscribe_command = "unsubscribe";
170
179
  export declare type unsubscribe_command = typeof unsubscribe_command;
171
180
  export declare type TUnsubscribeRequest = {
172
181
  id: str;
182
+ retain?: bool;
173
183
  };
174
184
  export declare type TUnsubscribeResponse = {};
175
185
  export declare type WsUnsubscribeMessage = GetMessageType<chia_data_layer_service, unsubscribe_command, TUnsubscribeResponse>;
@@ -343,5 +353,5 @@ export declare type TClearPendingRootsResponse = {
343
353
  };
344
354
  export declare type WsClearPendingRootsMessage = GetMessageType<chia_data_layer_service, clear_pending_roots_command, TClearPendingRootsResponse>;
345
355
  export declare function clear_pending_roots<T extends TRPCAgent | TDaemon>(agent: T, params: TClearPendingRootsRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TClearPendingRootsResponse, WsClearPendingRootsMessage>>;
346
- export declare type RpcDataLayerMessage = TCreateDataStoreResponse | TGetOwnedStoresResponse | TBatchUpdateResponse | TGetValueResponse | TGetKeysResponse | TGetKeysValuesResponse | TGetAncestorsResponse | TGetRootResponse | TGetLocalRootResponse | TGetRootsResponse | TDeleteKeyResponse | TInsertResponse | TSubscribeResponse | TUnsubscribeResponse | TAddMirrorResponse | TDeleteMirrorResponse | TGetMirrorsResponse | TRemoveSubscriptionsResponse | TSubscriptionsResponse | TGetKvDiffResponse | TGetRootHistoryResponse | TAddMissingFilesResponse | TMakeOfferResponse | TTakeOfferResponse | TVerifyOfferResponse | TCancelOfferResponse | TGetSyncStatusResponse | TCheckPluginsResponse | TClearPendingRootsResponse;
347
- export declare type RpcDataLayerMessageOnWs = WsCreateDataStoreMessage | WsGetOwnedStoresMessage | WsBatchUpdateMessage | WsGetValueMessage | WsGetKeysMessage | WsGetKeysValuesMessage | WsGetAncestorsMessage | WsGetRootMessage | WsGetLocalRootMessage | WsGetRootsMessage | WsDeleteKeyMessage | WsInsertMessage | WsSubscribeMessage | WsUnsubscribeMessage | WsAddMirrorMessage | WsDeleteMirrorMessage | WsGetMirrorsMessage | WsRemoveSubscriptionsMessage | WsSubscriptionsMessage | WsGetKvDiffMessage | WsGetRootHistoryMessage | WsAddMissingFilesMessage | WsMakeOfferMessage | WsTakeOfferMessage | WsVerifyOfferMessage | WsCancelOfferMessage | WsGetSyncStatusMessage | WsCheckPluginsMessage | WsClearPendingRootsMessage;
356
+ export declare type RpcDataLayerMessage = TWalletLogInResponse | TCreateDataStoreResponse | TGetOwnedStoresResponse | TBatchUpdateResponse | TGetValueResponse | TGetKeysResponse | TGetKeysValuesResponse | TGetAncestorsResponse | TGetRootResponse | TGetLocalRootResponse | TGetRootsResponse | TDeleteKeyResponse | TInsertResponse | TSubscribeResponse | TUnsubscribeResponse | TAddMirrorResponse | TDeleteMirrorResponse | TGetMirrorsResponse | TRemoveSubscriptionsResponse | TSubscriptionsResponse | TGetKvDiffResponse | TGetRootHistoryResponse | TAddMissingFilesResponse | TMakeOfferResponse | TTakeOfferResponse | TVerifyOfferResponse | TCancelOfferResponse | TGetSyncStatusResponse | TCheckPluginsResponse | TClearPendingRootsResponse;
357
+ export declare type RpcDataLayerMessageOnWs = WsWalletLogInMessage | WsCreateDataStoreMessage | WsGetOwnedStoresMessage | WsBatchUpdateMessage | WsGetValueMessage | WsGetKeysMessage | WsGetKeysValuesMessage | WsGetAncestorsMessage | WsGetRootMessage | WsGetLocalRootMessage | WsGetRootsMessage | WsDeleteKeyMessage | WsInsertMessage | WsSubscribeMessage | WsUnsubscribeMessage | WsAddMirrorMessage | WsDeleteMirrorMessage | WsGetMirrorsMessage | WsRemoveSubscriptionsMessage | WsSubscriptionsMessage | WsGetKvDiffMessage | WsGetRootHistoryMessage | WsAddMissingFilesMessage | WsMakeOfferMessage | WsTakeOfferMessage | WsVerifyOfferMessage | WsCancelOfferMessage | WsGetSyncStatusMessage | WsCheckPluginsMessage | WsClearPendingRootsMessage;
@@ -9,9 +9,16 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.verify_offer_command = exports.take_offer = exports.take_offer_command = exports.make_offer = exports.make_offer_command = exports.add_missing_files = exports.add_missing_files_command = exports.get_root_history = exports.get_root_history_command = exports.get_kv_diff = exports.get_kv_diff_command = exports.subscriptions = exports.subscriptions_command = exports.remove_subscriptions = exports.remove_subscriptions_command = exports.get_mirrors = exports.get_mirrors_command = exports.delete_mirror = exports.delete_mirror_command = exports.add_mirror = exports.add_mirror_command = exports.unsubscribe = exports.unsubscribe_command = exports.subscribe = exports.subscribe_command = exports.insert = exports.insert_command = exports.delete_key = exports.delete_key_command = exports.get_roots = exports.get_roots_command = exports.get_local_root = exports.get_local_root_command = exports.get_root = exports.get_root_command = exports.get_ancestors = exports.get_ancestors_command = exports.get_keys_values = exports.get_keys_values_command = exports.get_keys = exports.get_keys_command = exports.get_value = exports.get_value_command = exports.batch_update = exports.batch_update_command = exports.get_owned_stores = exports.get_owned_stores_command = exports.create_data_store = exports.create_data_store_command = exports.chia_data_layer_service = void 0;
13
- exports.clear_pending_roots = exports.clear_pending_roots_command = exports.check_plugins = exports.check_plugins_command = exports.get_sync_status = exports.get_sync_status_command = exports.cancel_offer = exports.cancel_offer_command = exports.verify_offer = void 0;
12
+ exports.take_offer_command = exports.make_offer = exports.make_offer_command = exports.add_missing_files = exports.add_missing_files_command = exports.get_root_history = exports.get_root_history_command = exports.get_kv_diff = exports.get_kv_diff_command = exports.subscriptions = exports.subscriptions_command = exports.remove_subscriptions = exports.remove_subscriptions_command = exports.get_mirrors = exports.get_mirrors_command = exports.delete_mirror = exports.delete_mirror_command = exports.add_mirror = exports.add_mirror_command = exports.unsubscribe = exports.unsubscribe_command = exports.subscribe = exports.subscribe_command = exports.insert = exports.insert_command = exports.delete_key = exports.delete_key_command = exports.get_roots = exports.get_roots_command = exports.get_local_root = exports.get_local_root_command = exports.get_root = exports.get_root_command = exports.get_ancestors = exports.get_ancestors_command = exports.get_keys_values = exports.get_keys_values_command = exports.get_keys = exports.get_keys_command = exports.get_value = exports.get_value_command = exports.batch_update = exports.batch_update_command = exports.get_owned_stores = exports.get_owned_stores_command = exports.create_data_store = exports.create_data_store_command = exports.wallet_log_in = exports.wallet_log_in_command = exports.chia_data_layer_service = void 0;
13
+ exports.clear_pending_roots = exports.clear_pending_roots_command = exports.check_plugins = exports.check_plugins_command = exports.get_sync_status = exports.get_sync_status_command = exports.cancel_offer = exports.cancel_offer_command = exports.verify_offer = exports.verify_offer_command = exports.take_offer = void 0;
14
14
  exports.chia_data_layer_service = "chia_data_layer";
15
+ exports.wallet_log_in_command = "wallet_log_in";
16
+ function wallet_log_in(agent, params) {
17
+ return __awaiter(this, void 0, void 0, function* () {
18
+ return agent.sendMessage(exports.chia_data_layer_service, exports.wallet_log_in_command, params);
19
+ });
20
+ }
21
+ exports.wallet_log_in = wallet_log_in;
15
22
  exports.create_data_store_command = "create_data_store";
16
23
  function create_data_store(agent, params) {
17
24
  return __awaiter(this, void 0, void 0, function* () {
@@ -310,6 +310,16 @@ export declare type TGetMempoolItemByTxIdResponse = {
310
310
  };
311
311
  export declare type WsGetMempoolItemByTxIdMessage = GetMessageType<chia_full_node_service, get_mempool_item_by_tx_id_command, TGetMempoolItemByTxIdResponse>;
312
312
  export declare function get_mempool_item_by_tx_id<T extends TRPCAgent | TDaemon>(agent: T, data: TGetMempoolItemByTxIdRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetMempoolItemByTxIdResponse, WsGetMempoolItemByTxIdMessage>>;
313
+ export declare const get_mempool_items_by_coin_name_command = "get_mempool_items_by_coin_name";
314
+ export declare type get_mempool_items_by_coin_name_command = typeof get_mempool_items_by_coin_name_command;
315
+ export declare type TGetMempoolItemsByCoinNameRequest = {
316
+ coin_name: str;
317
+ };
318
+ export declare type TGetMempoolItemsByCoinNameResponse = {
319
+ mempool_items: MempoolItemInJsonDict[];
320
+ };
321
+ export declare type WsGetMempoolItemsByCoinNameMessage = GetMessageType<chia_full_node_service, get_mempool_items_by_coin_name_command, TGetMempoolItemsByCoinNameResponse>;
322
+ export declare function get_mempool_items_by_coin_name<T extends TRPCAgent | TDaemon>(agent: T, data: TGetMempoolItemsByCoinNameRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetMempoolItemsByCoinNameResponse, WsGetMempoolItemsByCoinNameMessage>>;
313
323
  export declare const get_fee_estimate_command = "get_fee_estimate";
314
324
  export declare type get_fee_estimate_command = typeof get_fee_estimate_command;
315
325
  export declare type TGetFeeEstimateRequest = {
@@ -431,5 +441,5 @@ export declare type TReorgBlocksResponse = {
431
441
  };
432
442
  export declare type WsReorgBlocksMessage = GetMessageType<chia_full_node_service, reorg_blocks_command, TReorgBlocksResponse>;
433
443
  export declare function reorg_blocks<T extends TRPCAgent | TDaemon>(agent: T, data: TReorgBlocksRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TReorgBlocksResponse, WsReorgBlocksMessage>>;
434
- export declare type RpcFullNodeMessage = TGetAdditionsAndRemovalsResponse | TGetAllMempoolItemsResponse | TGetAllMempoolTxIdsResponse | TGetBlockResponse | TGetBlockRecordByHeightResponse | TGetBlockRecordResponse | TGetBlockRecordsResponse | TGetBlockSpendsResponse | TGetBlockchainStateResponse | TGetBlocksResponse | TGetBlockCountMetricsResponse | TGetRecentSignagePointOrEOSCommandResponse | TGetCoinRecordByNameResponse | TGetCoinRecordsByNamesResponse | TGetCoinRecordsByPuzzleHashResponse | TGetCoinRecordsByPuzzleHashesResponse | TGetCoinRecordsByParentIdsResponse | TGetCoinRecordsByHintResponse | TGetInitialFreezePeriodResponseOfFullNode | TGetMempoolItemByTxIdResponse | TGetNetworkInfoResponseOfFullNode | TGetNetworkSpaceResponse | TGetUnfinishedBlockHeadersResponse | TPushTxResponse | TGetPuzzleAndSolutionResponse | TGetFeeEstimateResponse | TGetAllBlocksResponse | TFarmBlockResponse | TSetAutoFarmingResponse | TGetAutoFarmingResponse | TGetFarmingPhResponse | TGetAllCoinsResponse | TGetAllPuzzleHashesResponse | TRevertBlocksResponse | TReorgBlocksResponse;
435
- export declare type RpcFullNodeMessageOnWs = WsGetAdditionsAndRemovalsMessage | WsGetAllMempoolItemsMessage | WsGetAllMempoolTxIdsMessage | WsGetBlockMessage | WsGetBlockRecordByHeightMessage | WsGetBlockRecordMessage | WsGetBlockRecordsMessage | WsGetBlockSpendsMessage | WsGetBlockchainStateMessage | WsGetBlocksMessage | WsGetBlockCountMetricsMessage | WsGetRecentSignagePointOrEOSCommandMessage | WsGetCoinRecordByNameMessage | WsGetCoinRecordsByNamesMessage | WsGetCoinRecordsByPuzzleHashMessage | WsGetCoinRecordsByPuzzleHashesMessage | WsGetCoinRecordsByParentIdsMessage | WsGetCoinRecordsByHintMessage | WsGetInitialFreezePeriodMessageOfFullNode | WsGetMempoolItemByTxIdMessage | WsGetNetworkInfoMessageOfFullNode | WsGetNetworkSpaceMessage | WsGetUnfinishedBlockHeadersMessage | WsPushTxMessage | WsGetPuzzleAndSolutionMessage | WsGetFeeEstimateMessage | WsGetAllBlocksMessage | WsFarmBlockMessage | WsSetAutoFarmingMessage | WsGetAutoFarmingMessage | WsGetFarmingPhMessage | WsGetAllCoinsMessage | WsGetAllPuzzleHashesMessage | WsRevertBlocksMessage | WsReorgBlocksMessage;
444
+ export declare type RpcFullNodeMessage = TGetAdditionsAndRemovalsResponse | TGetAllMempoolItemsResponse | TGetAllMempoolTxIdsResponse | TGetBlockResponse | TGetBlockRecordByHeightResponse | TGetBlockRecordResponse | TGetBlockRecordsResponse | TGetBlockSpendsResponse | TGetBlockchainStateResponse | TGetBlocksResponse | TGetBlockCountMetricsResponse | TGetRecentSignagePointOrEOSCommandResponse | TGetCoinRecordByNameResponse | TGetCoinRecordsByNamesResponse | TGetCoinRecordsByPuzzleHashResponse | TGetCoinRecordsByPuzzleHashesResponse | TGetCoinRecordsByParentIdsResponse | TGetCoinRecordsByHintResponse | TGetInitialFreezePeriodResponseOfFullNode | TGetMempoolItemByTxIdResponse | TGetMempoolItemsByCoinNameResponse | TGetNetworkInfoResponseOfFullNode | TGetNetworkSpaceResponse | TGetUnfinishedBlockHeadersResponse | TPushTxResponse | TGetPuzzleAndSolutionResponse | TGetFeeEstimateResponse | TGetAllBlocksResponse | TFarmBlockResponse | TSetAutoFarmingResponse | TGetAutoFarmingResponse | TGetFarmingPhResponse | TGetAllCoinsResponse | TGetAllPuzzleHashesResponse | TRevertBlocksResponse | TReorgBlocksResponse;
445
+ export declare type RpcFullNodeMessageOnWs = WsGetAdditionsAndRemovalsMessage | WsGetAllMempoolItemsMessage | WsGetAllMempoolTxIdsMessage | WsGetBlockMessage | WsGetBlockRecordByHeightMessage | WsGetBlockRecordMessage | WsGetBlockRecordsMessage | WsGetBlockSpendsMessage | WsGetBlockchainStateMessage | WsGetBlocksMessage | WsGetBlockCountMetricsMessage | WsGetRecentSignagePointOrEOSCommandMessage | WsGetCoinRecordByNameMessage | WsGetCoinRecordsByNamesMessage | WsGetCoinRecordsByPuzzleHashMessage | WsGetCoinRecordsByPuzzleHashesMessage | WsGetCoinRecordsByParentIdsMessage | WsGetCoinRecordsByHintMessage | WsGetInitialFreezePeriodMessageOfFullNode | WsGetMempoolItemByTxIdMessage | WsGetMempoolItemsByCoinNameMessage | WsGetNetworkInfoMessageOfFullNode | WsGetNetworkSpaceMessage | WsGetUnfinishedBlockHeadersMessage | WsPushTxMessage | WsGetPuzzleAndSolutionMessage | WsGetFeeEstimateMessage | WsGetAllBlocksMessage | WsFarmBlockMessage | WsSetAutoFarmingMessage | WsGetAutoFarmingMessage | WsGetFarmingPhMessage | WsGetAllCoinsMessage | WsGetAllPuzzleHashesMessage | WsRevertBlocksMessage | WsReorgBlocksMessage;
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.get_mempool_item_by_tx_id_command = exports.get_all_mempool_items = exports.get_all_mempool_items_command = exports.get_all_mempool_tx_ids = exports.get_all_mempool_tx_ids_command = exports.get_puzzle_and_solution = exports.get_puzzle_and_solution_command = exports.push_tx = exports.push_tx_command = exports.get_coin_records_by_hint = exports.get_coin_records_by_hint_command = exports.get_coin_records_by_parent_ids = exports.get_coin_records_by_parent_ids_command = exports.get_coin_records_by_names = exports.get_coin_records_by_names_command = exports.get_coin_record_by_name = exports.get_coin_record_by_name_command = exports.get_coin_records_by_puzzle_hashes = exports.get_coin_records_by_puzzle_hashes_command = exports.get_coin_records_by_puzzle_hash = exports.get_coin_records_by_puzzle_hash_command = exports.get_recent_signage_point_or_eos = exports.get_recent_signage_point_or_eos_command = exports.get_network_info_of_full_node = exports.get_network_info_command_of_full_node = exports.get_initial_freeze_period_of_full_node = exports.get_initial_freeze_period_command_of_full_node = exports.get_additions_and_removals = exports.get_additions_and_removals_command = exports.get_network_space = exports.get_network_space_command = exports.get_unfinished_block_headers = exports.get_unfinished_block_headers_command = exports.get_block_spends = exports.get_block_spends_command = exports.get_block_records = exports.get_block_records_command = exports.get_block_record = exports.get_block_record_command = exports.get_block_record_by_height = exports.get_block_record_by_height_command = exports.get_block_count_metrics = exports.get_block_count_metrics_command = exports.get_blocks = exports.get_blocks_command = exports.get_block = exports.get_block_command = exports.get_blockchain_state = exports.get_blockchain_state_command = exports.chia_full_node_service = void 0;
13
- exports.reorg_blocks = exports.reorg_blocks_command = exports.revert_blocks = exports.revert_blocks_command = exports.get_all_puzzle_hashes = exports.get_all_puzzle_hashes_command = exports.get_all_coins = exports.get_all_coins_command = exports.get_farming_ph = exports.get_farming_ph_command = exports.get_auto_farming = exports.get_auto_farming_command = exports.set_auto_farming = exports.set_auto_farming_command = exports.farm_block = exports.farm_block_command = exports.get_all_blocks = exports.get_all_blocks_command = exports.get_fee_estimate = exports.get_fee_estimate_command = exports.get_mempool_item_by_tx_id = void 0;
13
+ exports.reorg_blocks = exports.reorg_blocks_command = exports.revert_blocks = exports.revert_blocks_command = exports.get_all_puzzle_hashes = exports.get_all_puzzle_hashes_command = exports.get_all_coins = exports.get_all_coins_command = exports.get_farming_ph = exports.get_farming_ph_command = exports.get_auto_farming = exports.get_auto_farming_command = exports.set_auto_farming = exports.set_auto_farming_command = exports.farm_block = exports.farm_block_command = exports.get_all_blocks = exports.get_all_blocks_command = exports.get_fee_estimate = exports.get_fee_estimate_command = exports.get_mempool_items_by_coin_name = exports.get_mempool_items_by_coin_name_command = exports.get_mempool_item_by_tx_id = void 0;
14
14
  exports.chia_full_node_service = "chia_full_node";
15
15
  exports.get_blockchain_state_command = "get_blockchain_state";
16
16
  function get_blockchain_state(agent) {
@@ -187,6 +187,13 @@ function get_mempool_item_by_tx_id(agent, data) {
187
187
  });
188
188
  }
189
189
  exports.get_mempool_item_by_tx_id = get_mempool_item_by_tx_id;
190
+ exports.get_mempool_items_by_coin_name_command = "get_mempool_items_by_coin_name";
191
+ function get_mempool_items_by_coin_name(agent, data) {
192
+ return __awaiter(this, void 0, void 0, function* () {
193
+ return agent.sendMessage(exports.chia_full_node_service, exports.get_mempool_items_by_coin_name_command, data);
194
+ });
195
+ }
196
+ exports.get_mempool_items_by_coin_name = get_mempool_items_by_coin_name;
190
197
  exports.get_fee_estimate_command = "get_fee_estimate";
191
198
  function get_fee_estimate(agent, data) {
192
199
  return __awaiter(this, void 0, void 0, function* () {
@@ -1,13 +1,13 @@
1
1
  import type { RpcFarmerMessage } from "./farmer/index";
2
2
  export { chia_farmer_service, RpcFarmerMessage, TGetRewardTargetRequest, TGetRewardTargetResponse, get_reward_targets, TGetSignagePointRequest, TGetSignagePointResponse, get_signage_point, TGetSignagePointsRequest, TGetSignagePointsResponse, get_signage_points, TSetRewardTargetRequest, TSetRewardTargetResponse, set_reward_targets, TGetHarvestersRequest, TGetHarvestersResponse, get_harvesters, TGetHarvestersSummaryResponse, get_harvesters_summary, TGetHarvesterPlotsValidRequest, TGetHarvesterPlotsValidResponse, get_harvester_plots_valid, TGetHarvesterPlotsInvalidRequest, TGetHarvesterPlotsInvalidResponse, get_harvester_plots_invalid, TGetHarvesterPlotsKeysMissingRequest, TGetHarvesterPlotsKeysMissingResponse, get_harvester_plots_keys_missing, TGetHarvesterPlotsDuplicatesRequest, TGetHarvesterPlotsDuplicatesResponse, get_harvester_plots_duplicates, TSetPayoutInstructionsRequest, TSetPayoutInstructionsResponse, set_pool_payout_instructions, TGetPoolStateRequest, TGetPoolStateResponse, get_pool_state, TGetPoolLinkRequest, TGetPoolLinkResponse, get_pool_login_link, } from "./farmer/index";
3
3
  import type { RpcFullNodeMessage } from "./full_node/index";
4
- export { chia_full_node_service, TGetAdditionsAndRemovalsRequest, TGetAdditionsAndRemovalsResponse, get_additions_and_removals, TGetAllMempoolItemsRequest, TGetAllMempoolItemsResponse, get_all_mempool_items, TGetAllMempoolTxIdsRequest, TGetAllMempoolTxIdsResponse, get_all_mempool_tx_ids, TGetBlockRecordByHeightRequest, TGetBlockRecordByHeightResponse, get_block_record_by_height, TGetBlockRecordRequest, TGetBlockRecordResponse, get_block_record, TGetBlockRecordsRequest, TGetBlockRecordsResponse, get_block_records, TGetBlockSpendsRequest, TGetBlockSpendsResponse, get_block_spends, TGetBlockRequest, TGetBlockResponse, get_block, TGetBlockchainStateRequest, TGetBlockchainStateResponse, get_blockchain_state, TGetBlocksRequest, TGetBlocksResponse, get_blocks, TGetBlockCountMetricsResponse, get_block_count_metrics, TGetRecentSignagePointOrEOSCommandRequest, TGetRecentSignagePointOrEOSCommandResponse, get_recent_signage_point_or_eos, TGetCoinRecordsByNamesRequest, TGetCoinRecordsByNamesResponse, get_coin_records_by_names, TGetCoinRecordByNameRequest, TGetCoinRecordByNameResponse, get_coin_record_by_name, TGetCoinRecordsByPuzzleHashRequest, TGetCoinRecordsByPuzzleHashResponse, get_coin_records_by_puzzle_hash, TGetCoinRecordsByPuzzleHashesRequest, TGetCoinRecordsByPuzzleHashesResponse, get_coin_records_by_puzzle_hashes, TGetCoinRecordsByParentIdsRequest, TGetCoinRecordsByParentIdsResponse, get_coin_records_by_parent_ids, TGetCoinRecordsByHintRequest, TGetCoinRecordsByHintResponse, get_coin_records_by_hint, TGetInitialFreezePeriodRequestOfFullNode, TGetInitialFreezePeriodResponseOfFullNode, get_initial_freeze_period_of_full_node, TGetMempoolItemByTxIdRequest, TGetMempoolItemByTxIdResponse, get_mempool_item_by_tx_id, TGetNetworkInfoRequestOfFullNode, TGetNetworkInfoResponseOfFullNode, get_network_info_of_full_node, TGetNetworkSpaceRequest, TGetNetworkSpaceResponse, get_network_space, TGetUnfinishedBlockHeadersRequest, TGetUnfinishedBlockHeadersResponse, get_unfinished_block_headers, TPushTxRequest, TPushTxResponse, push_tx, TGetPuzzleAndSolutionRequest, TGetPuzzleAndSolutionResponse, get_puzzle_and_solution, TGetFeeEstimateRequest, TGetFeeEstimateResponse, get_fee_estimate, TGetAllBlocksResponse, get_all_blocks, TFarmBlockRequest as TFarmBlockFullNodeRequest, TFarmBlockResponse as TFarmBlockFullNodeResponse, farm_block as farm_block_fullnode, TSetAutoFarmingRequest, TSetAutoFarmingResponse, set_auto_farming, TGetAutoFarmingResponse, get_auto_farming, TGetFarmingPhResponse, get_farming_ph, TGetAllCoinsRequest, TGetAllCoinsResponse, get_all_coins, TGetAllPuzzleHashesResponse, get_all_puzzle_hashes, TRevertBlocksRequest, TRevertBlocksResponse, revert_blocks, TReorgBlocksRequest, TReorgBlocksResponse, reorg_blocks } from "./full_node/index";
4
+ export { chia_full_node_service, TGetAdditionsAndRemovalsRequest, TGetAdditionsAndRemovalsResponse, get_additions_and_removals, TGetAllMempoolItemsRequest, TGetAllMempoolItemsResponse, get_all_mempool_items, TGetAllMempoolTxIdsRequest, TGetAllMempoolTxIdsResponse, get_all_mempool_tx_ids, TGetMempoolItemsByCoinNameRequest, TGetMempoolItemsByCoinNameResponse, get_mempool_items_by_coin_name, TGetBlockRecordByHeightRequest, TGetBlockRecordByHeightResponse, get_block_record_by_height, TGetBlockRecordRequest, TGetBlockRecordResponse, get_block_record, TGetBlockRecordsRequest, TGetBlockRecordsResponse, get_block_records, TGetBlockSpendsRequest, TGetBlockSpendsResponse, get_block_spends, TGetBlockRequest, TGetBlockResponse, get_block, TGetBlockchainStateRequest, TGetBlockchainStateResponse, get_blockchain_state, TGetBlocksRequest, TGetBlocksResponse, get_blocks, TGetBlockCountMetricsResponse, get_block_count_metrics, TGetRecentSignagePointOrEOSCommandRequest, TGetRecentSignagePointOrEOSCommandResponse, get_recent_signage_point_or_eos, TGetCoinRecordsByNamesRequest, TGetCoinRecordsByNamesResponse, get_coin_records_by_names, TGetCoinRecordByNameRequest, TGetCoinRecordByNameResponse, get_coin_record_by_name, TGetCoinRecordsByPuzzleHashRequest, TGetCoinRecordsByPuzzleHashResponse, get_coin_records_by_puzzle_hash, TGetCoinRecordsByPuzzleHashesRequest, TGetCoinRecordsByPuzzleHashesResponse, get_coin_records_by_puzzle_hashes, TGetCoinRecordsByParentIdsRequest, TGetCoinRecordsByParentIdsResponse, get_coin_records_by_parent_ids, TGetCoinRecordsByHintRequest, TGetCoinRecordsByHintResponse, get_coin_records_by_hint, TGetInitialFreezePeriodRequestOfFullNode, TGetInitialFreezePeriodResponseOfFullNode, get_initial_freeze_period_of_full_node, TGetMempoolItemByTxIdRequest, TGetMempoolItemByTxIdResponse, get_mempool_item_by_tx_id, TGetNetworkInfoRequestOfFullNode, TGetNetworkInfoResponseOfFullNode, get_network_info_of_full_node, TGetNetworkSpaceRequest, TGetNetworkSpaceResponse, get_network_space, TGetUnfinishedBlockHeadersRequest, TGetUnfinishedBlockHeadersResponse, get_unfinished_block_headers, TPushTxRequest, TPushTxResponse, push_tx, TGetPuzzleAndSolutionRequest, TGetPuzzleAndSolutionResponse, get_puzzle_and_solution, TGetFeeEstimateRequest, TGetFeeEstimateResponse, get_fee_estimate, TGetAllBlocksResponse, get_all_blocks, TFarmBlockRequest as TFarmBlockFullNodeRequest, TFarmBlockResponse as TFarmBlockFullNodeResponse, farm_block as farm_block_fullnode, TSetAutoFarmingRequest, TSetAutoFarmingResponse, set_auto_farming, TGetAutoFarmingResponse, get_auto_farming, TGetFarmingPhResponse, get_farming_ph, TGetAllCoinsRequest, TGetAllCoinsResponse, get_all_coins, TGetAllPuzzleHashesResponse, get_all_puzzle_hashes, TRevertBlocksRequest, TRevertBlocksResponse, revert_blocks, TReorgBlocksRequest, TReorgBlocksResponse, reorg_blocks } from "./full_node/index";
5
5
  import type { RpcHarvesterMessage } from "./harvester/index";
6
6
  export { chia_harvester_service, TAddPlotDirectoryRequest, TAddPlotDirectoryResponse, add_plot_directory, TDeletePlotRequest, TDeletePlotResponse, delete_plot, TGetPlotDirectoriesRequest, TGetPlotDirectoriesResponse, get_plot_directories, TGetPlotsRequest, TGetPlotsResponse, get_plots, TRefreshPlotsRequest, TRefreshPlotsResponse, refresh_plots, TRemovePlotDirectoryRequest, TRemovePlotDirectoryResponse, remove_plot_directory, TGetHarvesterConfigResponse, get_harvester_config, TUpdateHarvesterConfigRequest, TUpdateHarvesterConfigResponse, update_harvester_config, } from "./harvester/index";
7
7
  import type { RpcWalletMessage } from "./wallet/index";
8
- export { chia_wallet_service, TAddKeyRequest, TAddKeyResponse, add_key, TAddRateLimitedFundsRequest, TAddRateLimitedFundsResponse, add_rate_limited_funds, TAdditions, TCancelOfferRequest, TCancelOfferResponse, cancel_offer, TCancelOffersRequest, TCancelOffersResponse, cancel_offers, TCatGetAssetIdRequest, TCatGetAssetIdResponse, cat_get_asset_id, TCatGetNameRequest, TCatGetNameResponse, cat_get_name, TGetStrayCatsResponse, get_stray_cats, TCatAssetIdToNameRequest, TCatAssetIdToNameResponse, cat_asset_id_to_name, TCatSetNameRequest, TCatSetNameResponse, cat_set_name, TCatSpendRequest, TCatSpendResponse, cat_spend, TCheckOfferValidityRequest, TCheckOfferValidityResponse, check_offer_validity, TCreateNewWalletRequest, TCreateNewWalletResponse, create_new_wallet, TCreateOfferForIdsRequest, TCreateOfferForIdsResponse, create_offer_for_ids, TCreateSignedTransactionRequest, TCreateSignedTransactionResponse, create_signed_transaction, TDeleteUnconfirmedTransactionsRequest, TDeleteUnconfirmedTransactionsResponse, delete_unconfirmed_transactions, TSelectCoinsRequest, TSelectCoinsResponse, select_coins, TGetCurrentDerivationIndexResponse, get_current_derivation_index, TExtendDerivationIndexRequest, TExtendDerivationIndexResponse, extend_derivation_index, TGetNotificationsRequest, TGetNotificationsResponse, get_notifications, TDeleteNotificationsRequest, TDeleteNotificationsResponse, delete_notifications, TSendNotificationRequest, TSendNotificationResponse, send_notification, TSignMessageByAddressRequest, TSignMessageByAddressResponse, sign_message_by_address, TSignMessageByIdRequest, TSignMessageByIdResponse, sign_message_by_id, TVerifySignatureRequest, TVerifySignatureResponse, verify_signature, TGetTransactionMemoRequest, TGetTransactionMemoResponse, get_transaction_memo, TNftCalculateRoyaltiesRequest, TNftCalculateRoyaltiesResponse, nft_calculate_royalties, TNftMintBulkRequest, TNftMintBulkResponse, nft_mint_bulk, TNftSetDidBulkRequest, TNftSetDidBulkResponse, nft_set_did_bulk, TNftTransferBulkRequest, TNftTransferBulkResponse, nft_transfer_bulk, TCreate_New_CAT_WalletRequest, TCreate_New_CAT_WalletResponse, TCreate_New_DID_WalletRequest, TCreate_New_DID_WalletResponse, TCreate_New_RL_WalletRequest, TCreate_New_RL_WalletResponse, TDeleteAllKeysRequest, TDeleteAllKeysResponse, delete_all_keys, TSetWalletResyncOnStartupRequest, TSetWalletResyncOnStartupResponse, set_wallet_resync_on_startup, TDeleteKeyRequest, TDeleteKeyResponse, delete_key, TDidSetWalletNameRequest, TDidSetWalletNameResponse, did_set_wallet_name, TDidGetWalletNameRequest, TDidGetWalletNameResponse, did_get_wallet_name, TDidCreateAttestRequest, TDidCreateAttestResponse, did_create_attest, TDidCreateBackupFileRequest, TDidCreateBackupFileResponse, did_create_backup_file, TDidTransferDidRequest, TDidTransferDidResponse, did_transfer_did, TDidGetDidRequest, TDidGetDidResponse, did_get_did, TDidGetInformationNeededForRecoveryRequest, TDidGetInformationNeededForRecoveryResponse, did_get_information_needed_for_recovery, TDidGetCurrentCoinInfoRequest, TDidGetCurrentCoinInfoResponse, did_get_current_coin_info, TDidGetPubkeyRequest, TDidGetPubkeyResponse, did_get_pubkey, TDidGetRecoveryListRequest, TDidGetRecoveryListResponse, did_get_recovery_list, TDidGetMetadataRequest, TDidGetMetadataResponse, did_get_metadata, TDidRecoverySpendRequest, TDidRecoverySpendResponse, did_recovery_spend, TDidSpendRequest, TDidSpendResponse, did_spend, TDidUpdateRecoveryIdsRequest, TDidUpdateRecoveryIdsResponse, did_update_recovery_ids, TDidUpdateMetadataRequest, TDidUpdateMetadataResponse, did_update_metadata, TNftMintNftRequest, TNftMintNftResponse, nft_mint_nft, TNftCountNftsRequest, TNftCountNftsResponse, nft_count_nfts, TNftGetNftsRequest, TNftGetNftsResponse, nft_get_nfts, TNftSetNftDidRequest, TNftSetNftDidResponse, nft_set_nft_did, TNftGetByDidRequest, TNftGetByDidResponse, nft_get_by_did, TNftGetWalletDidRequest, TNftGetWalletDidResponse, nft_get_wallet_did, TNftGetWalletsWithDidsResponse, nft_get_wallets_with_dids, TNftSetNftStatusRequest, TNftSetNftStatusResponse, nft_set_nft_status, TNftTransferNftRequest, TNftTransferNftResponse, nft_transfer_nft, TNftGetInfoRequest, TNftGetInfoResponse, nft_get_info, TNftAddUriRequest, TNftAddUriResponse, nft_add_uri, TFarmBlockRequest, TFarmBlockResponse, farm_block, TGetTimestampForHeightResponse, get_timestamp_for_height, TSetAutoClaimRequest, TSetAutoClaimResponse, set_auto_claim, TGetAutoClaimResponse, get_auto_claim, TGenerateMnemonicRequest, TGenerateMnemonicResponse, generate_mnemonic, TGetAllOffersRequest, TGetAllOffersResponse, get_all_offers, TGetCatListResponse, get_cat_list, TGetFarmedAmountRequest, TGetFarmedAmountResponse, get_farmed_amount, TGetHeightInfoRequest, TGetHeightInfoResponse, get_height_info, TGetInitialFreezePeriodRequestOfWallet, TGetInitialFreezePeriodResponseOfWallet, get_initial_freeze_period_of_wallet, TGetLoggedInFingerprintResponse, get_logged_in_fingerprint, TGetOfferRequest, TGetOfferResponse, get_offer, TGetOffersCountResponse, get_offers_count, TGetOfferSummaryRequest, TGetOfferSummaryResponse, get_offer_summary, TGetNetworkInfoRequestOfWallet, TGetNetworkInfoResponseOfWallet, get_network_info_of_wallet, TGetNextAddressRequest, TGetNextAddressResponse, get_next_address, TGetPrivateKeyRequest, TGetPrivateKeyResponse, get_private_key, TGetPublicKeysRequest, TGetPublicKeysResponse, get_public_keys, TGetSyncStatusRequest, TGetSyncStatusResponse, get_sync_status, TGetTransactionCountRequest, TGetTransactionCountResponse, get_transaction_count, TGetTransactionRequest, TGetTransactionResponse, get_transaction, TGetTransactionsRequest, TGetTransactionsResponse, get_transactions, TGetWalletBalanceRequest, TGetWalletBalanceResponse, get_wallet_balance, TGetWalletBalancesRequest, TGetWalletBalancesResponse, get_wallet_balances, TGetWalletsRequest, TGetWalletsResponse, get_wallets, TLoginRequest, TLoginResponse, log_in, TPushTxRequest as TPushTxRequestOfWallet, TPushTxResponse as TPushTxResponseOfWallet, push_tx as push_tx_wallet, TPushTransactionsRequest, TPushTransactionsResponse, push_transactions, TPwJoinPoolRequest, TPwJoinPoolResponse, pw_join_pool, TPwSelfPoolRequest, TPwSelfPoolResponse, pw_self_pool, TPwAbsorbRewardsRequest, TPwAbsorbRewardsResponse, pw_absorb_rewards, TPwStatusRequest, TPwStatusResponse, pw_status, TRlSetUserInfoRequest, TRlSetUserInfoResponse, rl_set_user_info, TSendClawbackTransactionRequest, TSendClawbackTransactionResponse, send_clawback_transaction, TSendTransactionRequest, TSendTransactionResponse, send_transaction, TSendTransactionMultiRequest, TSendTransactionMultiResponse, send_transaction_multi, TSpendClawbackCoinsRequest, TSpendClawbackCoinsResponse, spend_clawback_coins, TGetCoinRecordsRequest, TGetCoinRecordsResponse, get_coin_records, TTakeOfferRequest, TTakeOfferResponse, take_offer, TCreateNewDlRequest, TCreateNewDlResponse, create_new_dl, TDlTrackNewRequest, TDlTrackNewResponse, dl_track_new, TDlStopTrackingRequest, TDlStopTrackingResponse, dl_stop_tracking, TDlLatestSingletonRequest, TDlLatestSingletonResponse, dl_latest_singleton, TDlSingletonsByRootRequest, TDlSingletonsByRootResponse, dl_singletons_by_root, TDlUpdateRootRequest, TDlUpdateRootResponse, dl_update_root, TDlUpdateMultipleRequest, TDlUpdateMultipleResponse, dl_update_multiple, TDlHistoryRequest, TDlHistoryResponse, dl_history, TDlOwnedSingletonsResponse, dl_owned_singletons, TDlGetMirrorsRequest, TDlGetMirrorsResponse, dl_get_mirrors, TDlNewMirrorRequest, TDlNewMirrorResponse, dl_new_mirror, TDlDeleteMirrorRequest, TDlDeleteMirrorResponse, dl_delete_mirror, TVcMintRequest, TVcMintResponse, vc_mint, TVcGetRequest, TVcGetResponse, vc_get, TVcGetListRequest, TVcGetListResponse, vc_get_list, TVcSpendRequest, TVcSpendResponse, vc_spend, TVcAddProofsRequest, TVcAddProofsResponse, vc_add_proofs, TVcGetProofsForRootRequest, TVcGetProofsForRootResponse, vc_get_proofs_for_root, TVcRevokeRequest, TVcRevokeResponse, vc_revoke, } from "./wallet/index";
8
+ export { chia_wallet_service, TAddKeyRequest, TAddKeyResponse, add_key, TAddRateLimitedFundsRequest, TAddRateLimitedFundsResponse, add_rate_limited_funds, TAdditions, TCancelOfferRequest, TCancelOfferResponse, cancel_offer, TCancelOffersRequest, TCancelOffersResponse, cancel_offers, TCatGetAssetIdRequest, TCatGetAssetIdResponse, cat_get_asset_id, TCatGetNameRequest, TCatGetNameResponse, cat_get_name, TGetStrayCatsResponse, get_stray_cats, TCatAssetIdToNameRequest, TCatAssetIdToNameResponse, cat_asset_id_to_name, TCatSetNameRequest, TCatSetNameResponse, cat_set_name, TCatSpendRequest, TCatSpendResponse, cat_spend, TCheckOfferValidityRequest, TCheckOfferValidityResponse, check_offer_validity, TCreateNewWalletRequest, TCreateNewWalletResponse, create_new_wallet, TCreateOfferForIdsRequest, TCreateOfferForIdsResponse, create_offer_for_ids, TCreateSignedTransactionRequest, TCreateSignedTransactionResponse, create_signed_transaction, TDeleteUnconfirmedTransactionsRequest, TDeleteUnconfirmedTransactionsResponse, delete_unconfirmed_transactions, TSelectCoinsRequest, TSelectCoinsResponse, select_coins, TGetCurrentDerivationIndexResponse, get_current_derivation_index, TExtendDerivationIndexRequest, TExtendDerivationIndexResponse, extend_derivation_index, TGetNotificationsRequest, TGetNotificationsResponse, get_notifications, TDeleteNotificationsRequest, TDeleteNotificationsResponse, delete_notifications, TSendNotificationRequest, TSendNotificationResponse, send_notification, TSignMessageByAddressRequest, TSignMessageByAddressResponse, sign_message_by_address, TSignMessageByIdRequest, TSignMessageByIdResponse, sign_message_by_id, TVerifySignatureRequest, TVerifySignatureResponse, verify_signature, TGetTransactionMemoRequest, TGetTransactionMemoResponse, get_transaction_memo, TNftCalculateRoyaltiesRequest, TNftCalculateRoyaltiesResponse, nft_calculate_royalties, TNftMintBulkRequest, TNftMintBulkResponse, nft_mint_bulk, TNftSetDidBulkRequest, TNftSetDidBulkResponse, nft_set_did_bulk, TNftTransferBulkRequest, TNftTransferBulkResponse, nft_transfer_bulk, TCreate_New_CAT_WalletRequest, TCreate_New_CAT_WalletResponse, TCreate_New_DID_WalletRequest, TCreate_New_DID_WalletResponse, TCreate_New_RL_WalletRequest, TCreate_New_RL_WalletResponse, TDeleteAllKeysRequest, TDeleteAllKeysResponse, delete_all_keys, TSetWalletResyncOnStartupRequest, TSetWalletResyncOnStartupResponse, set_wallet_resync_on_startup, TDeleteKeyRequest, TDeleteKeyResponse, delete_key, TDidSetWalletNameRequest, TDidSetWalletNameResponse, did_set_wallet_name, TDidGetWalletNameRequest, TDidGetWalletNameResponse, did_get_wallet_name, TDidCreateAttestRequest, TDidCreateAttestResponse, did_create_attest, TDidCreateBackupFileRequest, TDidCreateBackupFileResponse, did_create_backup_file, TDidTransferDidRequest, TDidTransferDidResponse, did_transfer_did, TDidGetDidRequest, TDidGetDidResponse, did_get_did, TDidGetInformationNeededForRecoveryRequest, TDidGetInformationNeededForRecoveryResponse, did_get_information_needed_for_recovery, TDidGetCurrentCoinInfoRequest, TDidGetCurrentCoinInfoResponse, did_get_current_coin_info, TDidGetPubkeyRequest, TDidGetPubkeyResponse, did_get_pubkey, TDidGetRecoveryListRequest, TDidGetRecoveryListResponse, did_get_recovery_list, TDidGetMetadataRequest, TDidGetMetadataResponse, did_get_metadata, TDidRecoverySpendRequest, TDidRecoverySpendResponse, did_recovery_spend, TDidSpendRequest, TDidSpendResponse, did_spend, TDidUpdateRecoveryIdsRequest, TDidUpdateRecoveryIdsResponse, did_update_recovery_ids, TDidUpdateMetadataRequest, TDidUpdateMetadataResponse, did_update_metadata, TNftMintNftRequest, TNftMintNftResponse, nft_mint_nft, TNftCountNftsRequest, TNftCountNftsResponse, nft_count_nfts, TNftGetNftsRequest, TNftGetNftsResponse, nft_get_nfts, TNftSetNftDidRequest, TNftSetNftDidResponse, nft_set_nft_did, TNftGetByDidRequest, TNftGetByDidResponse, nft_get_by_did, TNftGetWalletDidRequest, TNftGetWalletDidResponse, nft_get_wallet_did, TNftGetWalletsWithDidsResponse, nft_get_wallets_with_dids, TNftSetNftStatusRequest, TNftSetNftStatusResponse, nft_set_nft_status, TNftTransferNftRequest, TNftTransferNftResponse, nft_transfer_nft, TNftGetInfoRequest, TNftGetInfoResponse, nft_get_info, TNftAddUriRequest, TNftAddUriResponse, nft_add_uri, TFarmBlockRequest, TFarmBlockResponse, farm_block, TGetTimestampForHeightResponse, get_timestamp_for_height, TSetAutoClaimRequest, TSetAutoClaimResponse, set_auto_claim, TGetAutoClaimResponse, get_auto_claim, TGenerateMnemonicRequest, TGenerateMnemonicResponse, generate_mnemonic, TGetAllOffersRequest, TGetAllOffersResponse, get_all_offers, TGetCatListResponse, get_cat_list, TGetFarmedAmountRequest, TGetFarmedAmountResponse, get_farmed_amount, TGetHeightInfoRequest, TGetHeightInfoResponse, get_height_info, TGetInitialFreezePeriodRequestOfWallet, TGetInitialFreezePeriodResponseOfWallet, get_initial_freeze_period_of_wallet, TGetLoggedInFingerprintResponse, get_logged_in_fingerprint, TGetOfferRequest, TGetOfferResponse, get_offer, TGetOffersCountResponse, get_offers_count, TGetOfferSummaryRequest, TGetOfferSummaryResponse, get_offer_summary, TGetNetworkInfoRequestOfWallet, TGetNetworkInfoResponseOfWallet, get_network_info_of_wallet, TGetNextAddressRequest, TGetNextAddressResponse, get_next_address, TGetPrivateKeyRequest, TGetPrivateKeyResponse, get_private_key, TGetPublicKeysRequest, TGetPublicKeysResponse, get_public_keys, TGetSyncStatusRequest, TGetSyncStatusResponse, get_sync_status, TGetTransactionCountRequest, TGetTransactionCountResponse, get_transaction_count, TGetTransactionRequest, TGetTransactionResponse, get_transaction, TGetTransactionsRequest, TGetTransactionsResponse, get_transactions, TGetWalletBalanceRequest, TGetWalletBalanceResponse, get_wallet_balance, TGetWalletBalancesRequest, TGetWalletBalancesResponse, get_wallet_balances, TGetWalletsRequest, TGetWalletsResponse, get_wallets, TLoginRequest, TLoginResponse, log_in, TPushTxRequest as TPushTxRequestOfWallet, TPushTxResponse as TPushTxResponseOfWallet, push_tx as push_tx_wallet, TPushTransactionsRequest, TPushTransactionsResponse, push_transactions, TPwJoinPoolRequest, TPwJoinPoolResponse, pw_join_pool, TPwSelfPoolRequest, TPwSelfPoolResponse, pw_self_pool, TPwAbsorbRewardsRequest, TPwAbsorbRewardsResponse, pw_absorb_rewards, TPwStatusRequest, TPwStatusResponse, pw_status, TRlSetUserInfoRequest, TRlSetUserInfoResponse, rl_set_user_info, TSendClawbackTransactionRequest, TSendClawbackTransactionResponse, send_clawback_transaction, TSendTransactionRequest, TSendTransactionResponse, send_transaction, TSendTransactionMultiRequest, TSendTransactionMultiResponse, send_transaction_multi, TSpendClawbackCoinsRequest, TSpendClawbackCoinsResponse, spend_clawback_coins, TGetCoinRecordsRequest, TGetCoinRecordsResponse, get_coin_records, TTakeOfferRequest, TTakeOfferResponse, take_offer, TCreateNewDlRequest, TCreateNewDlResponse, create_new_dl, TDlTrackNewRequest, TDlTrackNewResponse, dl_track_new, TDlStopTrackingRequest, TDlStopTrackingResponse, dl_stop_tracking, TDlLatestSingletonRequest, TDlLatestSingletonResponse, dl_latest_singleton, TDlSingletonsByRootRequest, TDlSingletonsByRootResponse, dl_singletons_by_root, TDlUpdateRootRequest, TDlUpdateRootResponse, dl_update_root, TDlUpdateMultipleRequest, TDlUpdateMultipleResponse, dl_update_multiple, TDlHistoryRequest, TDlHistoryResponse, dl_history, TDlOwnedSingletonsResponse, dl_owned_singletons, TDlGetMirrorsRequest, TDlGetMirrorsResponse, dl_get_mirrors, TDlNewMirrorRequest, TDlNewMirrorResponse, dl_new_mirror, TDlDeleteMirrorRequest, TDlDeleteMirrorResponse, dl_delete_mirror, TVcMintRequest, TVcMintResponse, vc_mint, TVcGetRequest, TVcGetResponse, vc_get, TVcGetListRequest, TVcGetListResponse, vc_get_list, TVcSpendRequest, TVcSpendResponse, vc_spend, TVcAddProofsRequest, TVcAddProofsResponse, vc_add_proofs, TVcGetProofsForRootRequest, TVcGetProofsForRootResponse, vc_get_proofs_for_root, TVcRevokeRequest, TVcRevokeResponse, vc_revoke, TCrcatApprovePendingRequest, TCrcatApprovePendingResponse, crcat_approve_pending, } from "./wallet/index";
9
9
  import type { RpcDataLayerMessage } from "./data_layer/index";
10
- export { chia_data_layer_service, TCreateDataStoreRequest, TCreateDataStoreResponse, create_data_store, TGetOwnedStoresResponse, get_owned_stores, TBatchUpdateRequest, TBatchUpdateResponse, batch_update, TGetValueRequest, TGetValueResponse, get_value, TGetKeysRequest, TGetKeysResponse, get_keys, TGetKeysValuesRequest, TGetKeysValuesResponse, get_keys_values, TGetAncestorsRequest, TGetAncestorsResponse, get_ancestors, TGetRootRequest, TGetRootResponse, get_root, TGetLocalRootRequest, TGetLocalRootResponse, get_local_root, TGetRootsRequest, TGetRootsResponse, get_roots, TDeleteKeyRequest as TDeleteKeyDLRequest, TDeleteKeyResponse as TDeleteKeyDLResponse, delete_key as delete_key_dl, TInsertRequest, TInsertResponse, insert, TSubscribeRequest, TSubscribeResponse, subscribe, TUnsubscribeRequest, TUnsubscribeResponse, unsubscribe, TAddMirrorRequest, TAddMirrorResponse, add_mirror, TDeleteMirrorRequest, TDeleteMirrorResponse, delete_mirror, TGetMirrorsRequest, TGetMirrorsResponse, get_mirrors, TRemoveSubscriptionsRequest, TRemoveSubscriptionsResponse, remove_subscriptions, TSubscriptionsResponse, subscriptions, TGetKvDiffRequest, TGetKvDiffResponse, get_kv_diff, TGetRootHistoryRequest, TGetRootHistoryResponse, get_root_history, TAddMissingFilesRequest, TAddMissingFilesResponse, add_missing_files, TMakeOfferRequest, TMakeOfferResponse, make_offer, TTakeOfferRequest as TTakeOfferRequestDL, TTakeOfferResponse as TTakeOfferResponseDL, take_offer as take_offer_dl, TVerifyOfferRequest, TVerifyOfferResponse, verify_offer, TCancelOfferRequest as TCancelOfferRequestDL, TCancelOfferResponse as TCancelOfferResponseDL, cancel_offer as cancel_offer_dl, TGetSyncStatusRequest as TGetSyncStatusRequestDL, TGetSyncStatusResponse as TGetSyncStatusResponseDL, get_sync_status as get_sync_status_dl, TCheckPluginsResponse, check_plugins, TClearPendingRootsRequest, TClearPendingRootsResponse, clear_pending_roots, } from "./data_layer/index";
10
+ export { chia_data_layer_service, TWalletLogInRequest, TWalletLogInResponse, wallet_log_in, TCreateDataStoreRequest, TCreateDataStoreResponse, create_data_store, TGetOwnedStoresResponse, get_owned_stores, TBatchUpdateRequest, TBatchUpdateResponse, batch_update, TGetValueRequest, TGetValueResponse, get_value, TGetKeysRequest, TGetKeysResponse, get_keys, TGetKeysValuesRequest, TGetKeysValuesResponse, get_keys_values, TGetAncestorsRequest, TGetAncestorsResponse, get_ancestors, TGetRootRequest, TGetRootResponse, get_root, TGetLocalRootRequest, TGetLocalRootResponse, get_local_root, TGetRootsRequest, TGetRootsResponse, get_roots, TDeleteKeyRequest as TDeleteKeyDLRequest, TDeleteKeyResponse as TDeleteKeyDLResponse, delete_key as delete_key_dl, TInsertRequest, TInsertResponse, insert, TSubscribeRequest, TSubscribeResponse, subscribe, TUnsubscribeRequest, TUnsubscribeResponse, unsubscribe, TAddMirrorRequest, TAddMirrorResponse, add_mirror, TDeleteMirrorRequest, TDeleteMirrorResponse, delete_mirror, TGetMirrorsRequest, TGetMirrorsResponse, get_mirrors, TRemoveSubscriptionsRequest, TRemoveSubscriptionsResponse, remove_subscriptions, TSubscriptionsResponse, subscriptions, TGetKvDiffRequest, TGetKvDiffResponse, get_kv_diff, TGetRootHistoryRequest, TGetRootHistoryResponse, get_root_history, TAddMissingFilesRequest, TAddMissingFilesResponse, add_missing_files, TMakeOfferRequest, TMakeOfferResponse, make_offer, TTakeOfferRequest as TTakeOfferRequestDL, TTakeOfferResponse as TTakeOfferResponseDL, take_offer as take_offer_dl, TVerifyOfferRequest, TVerifyOfferResponse, verify_offer, TCancelOfferRequest as TCancelOfferRequestDL, TCancelOfferResponse as TCancelOfferResponseDL, cancel_offer as cancel_offer_dl, TGetSyncStatusRequest as TGetSyncStatusRequestDL, TGetSyncStatusResponse as TGetSyncStatusResponseDL, get_sync_status as get_sync_status_dl, TCheckPluginsResponse, check_plugins, TClearPendingRootsRequest, TClearPendingRootsResponse, clear_pending_roots, } from "./data_layer/index";
11
11
  import type { RpcCrawlerMessage } from "./crawler/index";
12
12
  export { chia_crawler_service, TGetIpsAfterTimestampRequest, TGetIpsAfterTimestampResponse, TGetPeerCountsResponse, get_ips_after_timestamp, get_peer_counts, } from "./crawler/index";
13
13
  import type { RpcCommonMessage } from "./common/index";
package/api/rpc/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.reorg_blocks = exports.revert_blocks = exports.get_all_puzzle_hashes = exports.get_all_coins = exports.get_farming_ph = exports.get_auto_farming = exports.set_auto_farming = exports.farm_block_fullnode = exports.get_all_blocks = exports.get_fee_estimate = exports.get_puzzle_and_solution = 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_record_by_name = exports.get_coin_records_by_names = exports.get_recent_signage_point_or_eos = exports.get_block_count_metrics = exports.get_blocks = exports.get_blockchain_state = exports.get_block = exports.get_block_spends = exports.get_block_records = exports.get_block_record = exports.get_block_record_by_height = exports.get_all_mempool_tx_ids = exports.get_all_mempool_items = exports.get_additions_and_removals = exports.chia_full_node_service = exports.get_pool_login_link = exports.get_pool_state = exports.set_pool_payout_instructions = 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.did_get_current_coin_info = exports.did_get_information_needed_for_recovery = exports.did_get_did = exports.did_transfer_did = exports.did_create_backup_file = exports.did_create_attest = exports.did_get_wallet_name = exports.did_set_wallet_name = exports.delete_key = exports.set_wallet_resync_on_startup = exports.delete_all_keys = exports.nft_transfer_bulk = exports.nft_set_did_bulk = exports.nft_mint_bulk = exports.nft_calculate_royalties = exports.get_transaction_memo = exports.verify_signature = exports.sign_message_by_id = exports.sign_message_by_address = exports.send_notification = exports.delete_notifications = exports.get_notifications = exports.extend_derivation_index = exports.get_current_derivation_index = 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 = exports.cat_get_asset_id = exports.cancel_offers = exports.cancel_offer = exports.add_rate_limited_funds = exports.add_key = exports.chia_wallet_service = exports.update_harvester_config = exports.get_harvester_config = 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 = void 0;
5
- exports.pw_status = exports.pw_absorb_rewards = exports.pw_self_pool = exports.pw_join_pool = exports.push_transactions = exports.push_tx_wallet = exports.log_in = exports.get_wallets = exports.get_wallet_balances = exports.get_wallet_balance = exports.get_transactions = exports.get_transaction = exports.get_transaction_count = 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.get_auto_claim = exports.set_auto_claim = exports.get_timestamp_for_height = exports.farm_block = exports.nft_add_uri = exports.nft_get_info = exports.nft_transfer_nft = exports.nft_set_nft_status = exports.nft_get_wallets_with_dids = exports.nft_get_wallet_did = exports.nft_get_by_did = exports.nft_set_nft_did = exports.nft_get_nfts = exports.nft_count_nfts = exports.nft_mint_nft = exports.did_update_metadata = exports.did_update_recovery_ids = exports.did_spend = exports.did_recovery_spend = exports.did_get_metadata = exports.did_get_recovery_list = exports.did_get_pubkey = void 0;
6
- exports.make_offer = exports.add_missing_files = exports.get_root_history = exports.get_kv_diff = exports.subscriptions = exports.remove_subscriptions = exports.get_mirrors = exports.delete_mirror = exports.add_mirror = exports.unsubscribe = exports.subscribe = exports.insert = exports.delete_key_dl = exports.get_roots = exports.get_local_root = exports.get_root = exports.get_ancestors = exports.get_keys_values = exports.get_keys = exports.get_value = exports.batch_update = exports.get_owned_stores = exports.create_data_store = exports.chia_data_layer_service = exports.vc_revoke = exports.vc_get_proofs_for_root = exports.vc_add_proofs = exports.vc_spend = exports.vc_get_list = exports.vc_get = exports.vc_mint = exports.dl_delete_mirror = exports.dl_new_mirror = exports.dl_get_mirrors = exports.dl_owned_singletons = exports.dl_history = exports.dl_update_multiple = exports.dl_update_root = exports.dl_singletons_by_root = exports.dl_latest_singleton = exports.dl_stop_tracking = exports.dl_track_new = exports.create_new_dl = exports.take_offer = exports.get_coin_records = exports.spend_clawback_coins = exports.send_transaction_multi = exports.send_transaction = exports.send_clawback_transaction = exports.rl_set_user_info = void 0;
7
- exports.healthz = 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.clear_pending_roots = exports.check_plugins = exports.get_sync_status_dl = exports.cancel_offer_dl = exports.verify_offer = exports.take_offer_dl = void 0;
3
+ exports.revert_blocks = exports.get_all_puzzle_hashes = exports.get_all_coins = exports.get_farming_ph = exports.get_auto_farming = exports.set_auto_farming = exports.farm_block_fullnode = exports.get_all_blocks = exports.get_fee_estimate = exports.get_puzzle_and_solution = 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_record_by_name = exports.get_coin_records_by_names = exports.get_recent_signage_point_or_eos = exports.get_block_count_metrics = exports.get_blocks = exports.get_blockchain_state = exports.get_block = exports.get_block_spends = exports.get_block_records = exports.get_block_record = exports.get_block_record_by_height = exports.get_mempool_items_by_coin_name = exports.get_all_mempool_tx_ids = exports.get_all_mempool_items = exports.get_additions_and_removals = exports.chia_full_node_service = exports.get_pool_login_link = exports.get_pool_state = exports.set_pool_payout_instructions = 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.did_get_information_needed_for_recovery = exports.did_get_did = exports.did_transfer_did = exports.did_create_backup_file = exports.did_create_attest = exports.did_get_wallet_name = exports.did_set_wallet_name = exports.delete_key = exports.set_wallet_resync_on_startup = exports.delete_all_keys = exports.nft_transfer_bulk = exports.nft_set_did_bulk = exports.nft_mint_bulk = exports.nft_calculate_royalties = exports.get_transaction_memo = exports.verify_signature = exports.sign_message_by_id = exports.sign_message_by_address = exports.send_notification = exports.delete_notifications = exports.get_notifications = exports.extend_derivation_index = exports.get_current_derivation_index = 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 = exports.cat_get_asset_id = exports.cancel_offers = exports.cancel_offer = exports.add_rate_limited_funds = exports.add_key = exports.chia_wallet_service = exports.update_harvester_config = exports.get_harvester_config = 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.reorg_blocks = void 0;
5
+ exports.pw_absorb_rewards = exports.pw_self_pool = exports.pw_join_pool = exports.push_transactions = exports.push_tx_wallet = exports.log_in = exports.get_wallets = exports.get_wallet_balances = exports.get_wallet_balance = exports.get_transactions = exports.get_transaction = exports.get_transaction_count = 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.get_auto_claim = exports.set_auto_claim = exports.get_timestamp_for_height = exports.farm_block = exports.nft_add_uri = exports.nft_get_info = exports.nft_transfer_nft = exports.nft_set_nft_status = exports.nft_get_wallets_with_dids = exports.nft_get_wallet_did = exports.nft_get_by_did = exports.nft_set_nft_did = exports.nft_get_nfts = exports.nft_count_nfts = exports.nft_mint_nft = exports.did_update_metadata = exports.did_update_recovery_ids = exports.did_spend = exports.did_recovery_spend = exports.did_get_metadata = exports.did_get_recovery_list = exports.did_get_pubkey = exports.did_get_current_coin_info = void 0;
6
+ exports.get_kv_diff = exports.subscriptions = exports.remove_subscriptions = exports.get_mirrors = exports.delete_mirror = exports.add_mirror = exports.unsubscribe = exports.subscribe = exports.insert = exports.delete_key_dl = exports.get_roots = exports.get_local_root = exports.get_root = exports.get_ancestors = exports.get_keys_values = exports.get_keys = exports.get_value = exports.batch_update = exports.get_owned_stores = exports.create_data_store = exports.wallet_log_in = exports.chia_data_layer_service = exports.crcat_approve_pending = exports.vc_revoke = exports.vc_get_proofs_for_root = exports.vc_add_proofs = exports.vc_spend = exports.vc_get_list = exports.vc_get = exports.vc_mint = exports.dl_delete_mirror = exports.dl_new_mirror = exports.dl_get_mirrors = exports.dl_owned_singletons = exports.dl_history = exports.dl_update_multiple = exports.dl_update_root = exports.dl_singletons_by_root = exports.dl_latest_singleton = exports.dl_stop_tracking = exports.dl_track_new = exports.create_new_dl = exports.take_offer = exports.get_coin_records = exports.spend_clawback_coins = exports.send_transaction_multi = exports.send_transaction = exports.send_clawback_transaction = exports.rl_set_user_info = exports.pw_status = void 0;
7
+ exports.healthz = 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.clear_pending_roots = exports.check_plugins = exports.get_sync_status_dl = exports.cancel_offer_dl = exports.verify_offer = exports.take_offer_dl = exports.make_offer = exports.add_missing_files = exports.get_root_history = void 0;
8
8
  var index_1 = require("./farmer/index");
9
9
  Object.defineProperty(exports, "chia_farmer_service", { enumerable: true, get: function () { return index_1.chia_farmer_service; } });
10
10
  Object.defineProperty(exports, "get_reward_targets", { enumerable: true, get: function () { return index_1.get_reward_targets; } });
@@ -25,6 +25,7 @@ Object.defineProperty(exports, "chia_full_node_service", { enumerable: true, get
25
25
  Object.defineProperty(exports, "get_additions_and_removals", { enumerable: true, get: function () { return index_2.get_additions_and_removals; } });
26
26
  Object.defineProperty(exports, "get_all_mempool_items", { enumerable: true, get: function () { return index_2.get_all_mempool_items; } });
27
27
  Object.defineProperty(exports, "get_all_mempool_tx_ids", { enumerable: true, get: function () { return index_2.get_all_mempool_tx_ids; } });
28
+ Object.defineProperty(exports, "get_mempool_items_by_coin_name", { enumerable: true, get: function () { return index_2.get_mempool_items_by_coin_name; } });
28
29
  Object.defineProperty(exports, "get_block_record_by_height", { enumerable: true, get: function () { return index_2.get_block_record_by_height; } });
29
30
  Object.defineProperty(exports, "get_block_record", { enumerable: true, get: function () { return index_2.get_block_record; } });
30
31
  Object.defineProperty(exports, "get_block_records", { enumerable: true, get: function () { return index_2.get_block_records; } });
@@ -185,8 +186,10 @@ Object.defineProperty(exports, "vc_spend", { enumerable: true, get: function ()
185
186
  Object.defineProperty(exports, "vc_add_proofs", { enumerable: true, get: function () { return index_4.vc_add_proofs; } });
186
187
  Object.defineProperty(exports, "vc_get_proofs_for_root", { enumerable: true, get: function () { return index_4.vc_get_proofs_for_root; } });
187
188
  Object.defineProperty(exports, "vc_revoke", { enumerable: true, get: function () { return index_4.vc_revoke; } });
189
+ Object.defineProperty(exports, "crcat_approve_pending", { enumerable: true, get: function () { return index_4.crcat_approve_pending; } });
188
190
  var index_5 = require("./data_layer/index");
189
191
  Object.defineProperty(exports, "chia_data_layer_service", { enumerable: true, get: function () { return index_5.chia_data_layer_service; } });
192
+ Object.defineProperty(exports, "wallet_log_in", { enumerable: true, get: function () { return index_5.wallet_log_in; } });
190
193
  Object.defineProperty(exports, "create_data_store", { enumerable: true, get: function () { return index_5.create_data_store; } });
191
194
  Object.defineProperty(exports, "get_owned_stores", { enumerable: true, get: function () { return index_5.get_owned_stores; } });
192
195
  Object.defineProperty(exports, "batch_update", { enumerable: true, get: function () { return index_5.batch_update; } });
@@ -22,6 +22,8 @@ import { GetCoinRecords } from "../../chia/wallet/wallet_coin_store";
22
22
  import { WalletCoinRecordWithMetadata } from "../../chia/wallet/wallet_coin_record";
23
23
  import { VCRecord } from "../../chia/wallet/vc_wallet/vc_store";
24
24
  import { TransactionTypeFilter } from "../../chia/wallet/util/quality_filter";
25
+ import { TxEndpoint } from "../../chia/wallet/util/tx_config";
26
+ import { ConditionValidTimes } from "../../chia/wallet/conditions";
25
27
  export declare const chia_wallet_service = "chia_wallet";
26
28
  export declare type chia_wallet_service = typeof chia_wallet_service;
27
29
  export declare const log_in_command = "log_in";
@@ -231,7 +233,9 @@ export declare function get_wallets<T extends TRPCAgent | TDaemon>(agent: T, dat
231
233
  export declare type TCreate_New_CAT_WalletRequest = {
232
234
  fee?: uint64;
233
235
  wallet_type: "cat_wallet";
236
+ name?: str;
234
237
  mode: "new";
238
+ test?: bool;
235
239
  amount: uint64;
236
240
  } | {
237
241
  fee?: uint64;
@@ -342,7 +346,7 @@ export declare type TCreateWalletErrorResponse = {
342
346
  };
343
347
  export declare const create_new_wallet_command = "create_new_wallet";
344
348
  export declare type create_new_wallet_command = typeof create_new_wallet_command;
345
- export declare type TCreateNewWalletRequest = TCreate_New_CAT_WalletRequest | TCreate_New_RL_WalletRequest | TCreate_New_DID_WalletRequest | TCreate_New_NFT_WalletRequest | TCreate_New_Pool_WalletRequest;
349
+ export declare type TCreateNewWalletRequest = (TCreate_New_CAT_WalletRequest | TCreate_New_RL_WalletRequest | TCreate_New_DID_WalletRequest | TCreate_New_NFT_WalletRequest | TCreate_New_Pool_WalletRequest) & TxEndpoint;
346
350
  export declare type TCreateNewWalletResponse = TCreate_New_CAT_WalletResponse | TCreate_New_RL_WalletResponse | TCreate_New_DID_WalletResponse | TCreate_New_NFT_WalletResponse | TCreate_New_Pool_WalletResponse | TCreateWalletErrorResponse;
347
351
  export declare type WsCreateNewWalletMessage = GetMessageType<chia_wallet_service, create_new_wallet_command, TCreateNewWalletResponse>;
348
352
  export declare function create_new_wallet<T extends TRPCAgent | TDaemon>(agent: T, data: TCreateNewWalletRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TCreateNewWalletResponse, WsCreateNewWalletMessage>>;
@@ -421,16 +425,11 @@ export declare type TSendTransactionRequest = {
421
425
  fee: int;
422
426
  address: str;
423
427
  memos?: str[];
424
- min_coin_amount?: uint64;
425
- max_coin_amount?: uint64;
426
- excluded_coin_amounts?: uint64[];
427
- excluded_coin_ids?: str[];
428
428
  puzzle_decorator?: Array<{
429
429
  decorator: str;
430
430
  clawback_timelock?: uint64;
431
431
  }>;
432
- reuse_puzhash?: bool;
433
- };
432
+ } & TxEndpoint;
434
433
  export declare type TSendTransactionResponse = {
435
434
  transaction: TransactionRecordConvenience;
436
435
  transaction_id: TransactionRecord["name"];
@@ -474,7 +473,8 @@ export declare type TSpendClawbackCoinsRequest = {
474
473
  coin_ids: str[];
475
474
  fee?: uint64;
476
475
  batch_size: int;
477
- };
476
+ force?: bool;
477
+ } & TxEndpoint;
478
478
  export declare type TSpendClawbackCoinsResponse = {
479
479
  success: True;
480
480
  transaction_ids: str[];
@@ -538,14 +538,10 @@ export declare type TCreateSignedTransactionRequest = {
538
538
  wallet_id?: uint32;
539
539
  additions: TAdditions[];
540
540
  fee?: uint64;
541
- min_coin_amount?: uint64;
542
- max_coin_amount?: uint64;
543
- excluded_coin_amounts?: uint64[];
544
541
  coins?: Coin[];
545
- excluded_coins?: Coin[];
546
542
  coin_announcements?: TCoinAnnouncement[];
547
543
  puzzle_announcements?: TPuzzleAnnouncement[];
548
- };
544
+ } & TxEndpoint;
549
545
  export declare type TCreateSignedTransactionResponse = {
550
546
  signed_txs: TransactionRecordConvenience[];
551
547
  signed_tx: TransactionRecordConvenience;
@@ -565,11 +561,7 @@ export declare type select_coins_command = typeof select_coins_command;
565
561
  export declare type TSelectCoinsRequest = {
566
562
  amount: uint64;
567
563
  wallet_id: uint32;
568
- min_coin_amount?: uint64;
569
- max_coin_amount?: uint64;
570
- excluded_coin_amounts?: uint64[];
571
- excluded_coins?: Coin[];
572
- };
564
+ } & TxEndpoint;
573
565
  export declare type TSelectCoinsResponse = {
574
566
  coins: Coin[];
575
567
  };
@@ -656,7 +648,7 @@ export declare type TSendNotificationRequest = {
656
648
  message: str;
657
649
  amount: uint64;
658
650
  fee?: uint64;
659
- };
651
+ } & TxEndpoint;
660
652
  export declare type TSendNotificationResponse = {
661
653
  tx: TransactionRecordConvenience;
662
654
  };
@@ -787,15 +779,10 @@ export declare type TCatSpendRequest = {
787
779
  inner_address: str;
788
780
  memos?: str[];
789
781
  coins?: Coin[];
790
- min_coin_amount?: uint64;
791
- max_coin_amount?: uint64;
792
- excluded_coin_amounts?: uint64[];
793
- excluded_coin_ids?: str[];
794
- reuse_puzhash?: bool;
795
782
  extra_delta?: int;
796
783
  tail_reveal?: str;
797
784
  tail_solution?: str;
798
- };
785
+ } & TxEndpoint;
799
786
  export declare type TCatSpendResponse = {
800
787
  transaction: TransactionRecordConvenience;
801
788
  transaction_id: TransactionRecord["name"];
@@ -820,11 +807,8 @@ export declare type TCreateOfferForIdsRequest = {
820
807
  fee?: uint64;
821
808
  validate_only?: bool;
822
809
  driver_dict?: TDriverDict;
823
- min_coin_amount?: uint64;
824
- max_coin_amount?: uint64;
825
810
  solver?: Record<str, any>;
826
- reuse_puzhash?: bool;
827
- };
811
+ } & TxEndpoint;
828
812
  export declare type TCreateOfferForIdsResponse = {
829
813
  offer: str;
830
814
  trade_record: TradeRecordConvenience;
@@ -843,6 +827,7 @@ export declare type TGetOfferSummaryResponse = {
843
827
  requested: Record<str, int>;
844
828
  fees: int;
845
829
  infos: TDriverDict;
830
+ valid_times: Omit<ConditionValidTimes, "max_secs_after_created" | "min_secs_since_created" | "max_blocks_after_created" | "min_blocks_since_created">;
846
831
  };
847
832
  id: bytes32;
848
833
  };
@@ -864,11 +849,8 @@ export declare type take_offer_command = typeof take_offer_command;
864
849
  export declare type TTakeOfferRequest = {
865
850
  offer: str;
866
851
  fee?: uint64;
867
- min_coin_amount?: uint64;
868
- max_coin_amount?: uint64;
869
852
  solver?: Record<str, any>;
870
- reuse_puzhash?: bool;
871
- };
853
+ } & TxEndpoint;
872
854
  export declare type TTakeOfferResponse = {
873
855
  trade_record: TradeRecordConvenience;
874
856
  };
@@ -919,7 +901,7 @@ export declare type TCancelOfferRequest = {
919
901
  secure: bool;
920
902
  trade_id: str;
921
903
  fee?: uint64;
922
- };
904
+ } & TxEndpoint;
923
905
  export declare type TCancelOfferResponse = {};
924
906
  export declare type WsCancelOfferMessage = GetMessageType<chia_wallet_service, cancel_offer_command, TCancelOfferResponse>;
925
907
  export declare function cancel_offer<T extends TRPCAgent | TDaemon>(agent: T, data: TCancelOfferRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TCancelOfferResponse, WsCancelOfferMessage>>;
@@ -931,7 +913,7 @@ export declare type TCancelOffersRequest = {
931
913
  batch_size?: int;
932
914
  cancel_all?: bool;
933
915
  asset_id?: str;
934
- };
916
+ } & TxEndpoint;
935
917
  export declare type TCancelOffersResponse = {
936
918
  success: True;
937
919
  };
@@ -970,8 +952,7 @@ export declare type TDidUpdateRecoveryIdsRequest = {
970
952
  wallet_id: uint32;
971
953
  new_list: str[];
972
954
  num_verifications_required?: uint64;
973
- reuse_puzhash?: bool;
974
- };
955
+ } & TxEndpoint;
975
956
  export declare type TDidUpdateRecoveryIdsResponse = {
976
957
  success: bool;
977
958
  };
@@ -983,8 +964,7 @@ export declare type TDidUpdateMetadataRequest = {
983
964
  wallet_id: uint32;
984
965
  metadata?: Record<str, str>;
985
966
  fee?: uint64;
986
- reuse_puzhash?: bool;
987
- };
967
+ } & TxEndpoint;
988
968
  export declare type TDidUpdateMetadataResponse = {
989
969
  success: True;
990
970
  wallet_id: uint32;
@@ -1077,7 +1057,7 @@ export declare type TDidCreateAttestRequest = {
1077
1057
  wallet_id: uint32;
1078
1058
  coin_name: str;
1079
1059
  puzhash: str;
1080
- };
1060
+ } & TxEndpoint;
1081
1061
  export declare type TDidCreateAttestResponse = {
1082
1062
  success: True;
1083
1063
  message_spend_bundle: str;
@@ -1137,7 +1117,7 @@ export declare type TDidMessageSpendRequest = {
1137
1117
  wallet_id: uint32;
1138
1118
  coin_announcements: str[];
1139
1119
  puzzle_announcements: str[];
1140
- };
1120
+ } & TxEndpoint;
1141
1121
  export declare type TDidMessageSpendResponse = {
1142
1122
  success: True;
1143
1123
  spend_bundle: SpendBundle;
@@ -1193,8 +1173,7 @@ export declare type TDidTransferDidRequest = {
1193
1173
  inner_address: str;
1194
1174
  fee?: uint64;
1195
1175
  with_recovery_info?: bool;
1196
- reuse_puzhash?: bool;
1197
- };
1176
+ } & TxEndpoint;
1198
1177
  export declare type TDidTransferDidResponse = {
1199
1178
  success: True;
1200
1179
  transaction: TransactionRecordConvenience;
@@ -1219,8 +1198,7 @@ export declare type TNftMintNftRequest = {
1219
1198
  fee?: uint64;
1220
1199
  did_id?: str;
1221
1200
  royalty_percentage?: uint16;
1222
- reuse_puzhash?: bool;
1223
- };
1201
+ } & TxEndpoint;
1224
1202
  export declare type TNftMintNftResponse = {
1225
1203
  wallet_id: uint32;
1226
1204
  success: True;
@@ -1266,8 +1244,7 @@ export declare type TNftSetNftDidRequest = {
1266
1244
  did_id?: str;
1267
1245
  nft_coin_id: str;
1268
1246
  fee?: uint64;
1269
- reuse_puzhash?: bool;
1270
- };
1247
+ } & TxEndpoint;
1271
1248
  export declare type TNftSetNftDidResponse = {
1272
1249
  wallet_id: uint32;
1273
1250
  success: True;
@@ -1287,8 +1264,7 @@ export declare type TNftSetDidBulkRequest = {
1287
1264
  }>;
1288
1265
  did_id?: str;
1289
1266
  fee?: uint64;
1290
- reuse_puzhash?: bool;
1291
- };
1267
+ } & TxEndpoint;
1292
1268
  export declare type TNftSetDidBulkResponse = {
1293
1269
  success: False;
1294
1270
  error: str;
@@ -1309,8 +1285,7 @@ export declare type TNftTransferBulkRequest = {
1309
1285
  }>;
1310
1286
  target_address: str;
1311
1287
  fee?: uint64;
1312
- reuse_puzhash?: bool;
1313
- };
1288
+ } & TxEndpoint;
1314
1289
  export declare type TNftTransferBulkResponse = {
1315
1290
  success: False;
1316
1291
  error: str;
@@ -1378,8 +1353,7 @@ export declare type TNftTransferNftRequest = {
1378
1353
  target_address: str;
1379
1354
  nft_coin_id: str;
1380
1355
  fee?: uint64;
1381
- reuse_puzhash?: bool;
1382
- };
1356
+ } & TxEndpoint;
1383
1357
  export declare type TNftTransferNftResponse = {
1384
1358
  success: True;
1385
1359
  wallet_id: uint32;
@@ -1414,8 +1388,7 @@ export declare type TNftAddUriRequest = {
1414
1388
  key: str;
1415
1389
  nft_coin_id: str;
1416
1390
  fee?: uint64;
1417
- reuse_puzhash?: bool;
1418
- };
1391
+ } & TxEndpoint;
1419
1392
  export declare type TNftAddUriResponse = {
1420
1393
  success: True;
1421
1394
  wallet_id: uint32;
@@ -1470,8 +1443,7 @@ export declare type TNftMintBulkRequest = {
1470
1443
  did_lineage_parent?: str;
1471
1444
  mint_from_did?: bool;
1472
1445
  fee?: uint64;
1473
- reuse_puzhash?: bool;
1474
- };
1446
+ } & TxEndpoint;
1475
1447
  export declare type TNftMintBulkResponse = {
1476
1448
  success: False;
1477
1449
  error: str;
@@ -1530,7 +1502,7 @@ export declare type TPwJoinPoolRequest = {
1530
1502
  target_puzzlehash?: string;
1531
1503
  pool_url?: str;
1532
1504
  relative_lock_height: uint32;
1533
- };
1505
+ } & TxEndpoint;
1534
1506
  export declare type TPwJoinPoolResponse = {
1535
1507
  total_fee: uint64;
1536
1508
  transaction: TransactionRecord;
@@ -1546,7 +1518,7 @@ export declare type pw_self_pool_command = typeof pw_self_pool_command;
1546
1518
  export declare type TPwSelfPoolRequest = {
1547
1519
  wallet_id: uint32;
1548
1520
  fee?: uint64;
1549
- };
1521
+ } & TxEndpoint;
1550
1522
  export declare type TPwSelfPoolResponse = {
1551
1523
  total_fee: uint64;
1552
1524
  transaction: TransactionRecord;
@@ -1560,7 +1532,7 @@ export declare type TPwAbsorbRewardsRequest = {
1560
1532
  wallet_id: uint32;
1561
1533
  fee?: uint64;
1562
1534
  max_spends_in_tx?: int;
1563
- };
1535
+ } & TxEndpoint;
1564
1536
  export declare type TPwAbsorbRewardsResponse = {
1565
1537
  state: PoolWalletInfo;
1566
1538
  transaction: TransactionRecord;
@@ -1584,7 +1556,7 @@ export declare type create_new_dl_command = typeof create_new_dl_command;
1584
1556
  export declare type TCreateNewDlRequest = {
1585
1557
  root: str;
1586
1558
  fee?: uint64;
1587
- };
1559
+ } & TxEndpoint;
1588
1560
  export declare type TCreateNewDlResponse = {
1589
1561
  success: False;
1590
1562
  error: str;
@@ -1639,7 +1611,7 @@ export declare type TDlUpdateRootRequest = {
1639
1611
  launcher_id: str;
1640
1612
  new_root: str;
1641
1613
  fee?: uint64;
1642
- };
1614
+ } & TxEndpoint;
1643
1615
  export declare type TDlUpdateRootResponse = {
1644
1616
  tx_record: TransactionRecordConvenience;
1645
1617
  };
@@ -1649,7 +1621,7 @@ export declare const dl_update_multiple_command = "dl_update_multiple";
1649
1621
  export declare type dl_update_multiple_command = typeof dl_update_multiple_command;
1650
1622
  export declare type TDlUpdateMultipleRequest = {
1651
1623
  updates: Record<str, str>;
1652
- };
1624
+ } & TxEndpoint;
1653
1625
  export declare type TDlUpdateMultipleResponse = {
1654
1626
  tx_records: TransactionRecordConvenience[];
1655
1627
  };
@@ -1694,7 +1666,7 @@ export declare type TDlNewMirrorRequest = {
1694
1666
  amount: uint64;
1695
1667
  urls: str[];
1696
1668
  fee?: uint64;
1697
- };
1669
+ } & TxEndpoint;
1698
1670
  export declare type TDlNewMirrorResponse = {
1699
1671
  transactions: TransactionRecordConvenience[];
1700
1672
  };
@@ -1705,7 +1677,7 @@ export declare type dl_delete_mirror_command = typeof dl_delete_mirror_command;
1705
1677
  export declare type TDlDeleteMirrorRequest = {
1706
1678
  coin_id: str;
1707
1679
  fee?: uint64;
1708
- };
1680
+ } & TxEndpoint;
1709
1681
  export declare type TDlDeleteMirrorResponse = {
1710
1682
  transactions: TransactionRecordConvenience[];
1711
1683
  };
@@ -1718,7 +1690,7 @@ export declare type VCMint = {
1718
1690
  };
1719
1691
  export declare const vc_mint_command = "vc_mint";
1720
1692
  export declare type vc_mint_command = typeof vc_mint_command;
1721
- export declare type TVcMintRequest = VCMint;
1693
+ export declare type TVcMintRequest = VCMint & TxEndpoint;
1722
1694
  export declare type TVcMintResponse = {
1723
1695
  vc_record: VCRecord;
1724
1696
  transactions: TransactionRecordConvenience[];
@@ -1757,11 +1729,10 @@ export declare type VcSpend = {
1757
1729
  new_proof_hash: Optional<bytes32>;
1758
1730
  provider_inner_puzhash: Optional<bytes32>;
1759
1731
  fee: uint64;
1760
- reuse_puzhash: Optional<bool>;
1761
1732
  };
1762
1733
  export declare const vc_spend_command = "vc_spend";
1763
1734
  export declare type vc_spend_command = typeof vc_spend_command;
1764
- export declare type TVcSpendRequest = VcSpend;
1735
+ export declare type TVcSpendRequest = VcSpend & TxEndpoint;
1765
1736
  export declare type TVcSpendResponse = {
1766
1737
  transactions: TransactionRecordConvenience[];
1767
1738
  };
@@ -1791,15 +1762,27 @@ export declare function vc_get_proofs_for_root<T extends TRPCAgent | TDaemon>(ag
1791
1762
  export declare type VcRevoke = {
1792
1763
  vc_parent_id: bytes32;
1793
1764
  fee: uint64;
1794
- reuse_puzhash: Optional<bool>;
1795
1765
  };
1796
1766
  export declare const vc_revoke_command = "vc_revoke";
1797
1767
  export declare type vc_revoke_command = typeof vc_revoke_command;
1798
- export declare type TVcRevokeRequest = VcRevoke;
1768
+ export declare type TVcRevokeRequest = VcRevoke & TxEndpoint;
1799
1769
  export declare type TVcRevokeResponse = {
1800
1770
  transactions: TransactionRecordConvenience[];
1801
1771
  };
1802
1772
  export declare type WsVcRevokeMessage = GetMessageType<chia_wallet_service, vc_revoke_command, TVcRevokeResponse>;
1803
1773
  export declare function vc_revoke<T extends TRPCAgent | TDaemon>(agent: T, data: TVcRevokeRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TVcRevokeResponse, WsVcRevokeMessage>>;
1804
- export declare type RpcWalletMessage = TAddKeyResponse | TAddRateLimitedFundsResponse | TCancelOfferResponse | TCancelOffersResponse | TCatGetAssetIdResponse | TCatGetNameResponse | TGetStrayCatsResponse | TCatAssetIdToNameResponse | TCatSetNameResponse | TCatSpendResponse | TCheckOfferValidityResponse | TCreateNewWalletResponse | TCreateOfferForIdsResponse | TCreateSignedTransactionResponse | TDeleteUnconfirmedTransactionsResponse | TSelectCoinsResponse | TGetSpendableCoinsResponse | TGetCoinRecordsByNamesResponse | TGetCurrentDerivationIndexResponse | TExtendDerivationIndexResponse | TGetNotificationsResponse | TDeleteNotificationsResponse | TSendNotificationResponse | TSignMessageByAddressResponse | TSignMessageByIdResponse | TVerifySignatureResponse | TGetTransactionMemoResponse | TNftCalculateRoyaltiesResponse | TNftMintBulkResponse | TNftSetDidBulkResponse | TNftTransferBulkResponse | TDeleteAllKeysResponse | TSetWalletResyncOnStartupResponse | TDeleteKeyResponse | TCheckDeleteKeyResponse | TDidSetWalletNameResponse | TDidGetWalletNameResponse | TDidCreateAttestResponse | TDidCreateBackupFileResponse | TDidTransferDidResponse | TDidMessageSpendResponse | TDidGetInfoResponse | TDidFindLostDidResponse | TDidGetDidResponse | TDidGetInformationNeededForRecoveryResponse | TDidGetCurrentCoinInfoResponse | TDidGetPubkeyResponse | TDidGetRecoveryListResponse | TDidGetMetadataResponse | TDidRecoverySpendResponse | TDidSpendResponse | TDidUpdateRecoveryIdsResponse | TDidUpdateMetadataResponse | TNftMintNftResponse | TNftCountNftsResponse | TNftGetNftsResponse | TNftSetNftDidResponse | TNftGetByDidResponse | TNftGetWalletDidResponse | TNftGetWalletsWithDidsResponse | TNftSetNftStatusResponse | TNftTransferNftResponse | TNftGetInfoResponse | TNftAddUriResponse | TFarmBlockResponse | TGetTimestampForHeightResponse | TSetAutoClaimResponse | TGetAutoClaimResponse | TGenerateMnemonicResponse | TGetAllOffersResponse | TGetCatListResponse | TGetFarmedAmountResponse | TGetHeightInfoResponse | TGetInitialFreezePeriodResponseOfWallet | TGetLoggedInFingerprintResponse | TGetOfferResponse | TGetOffersCountResponse | TGetOfferSummaryResponse | TGetNetworkInfoResponseOfWallet | TGetNextAddressResponse | TGetPrivateKeyResponse | TGetPublicKeysResponse | TGetSyncStatusResponse | TGetTransactionResponse | TGetTransactionCountResponse | TGetTransactionsResponse | TGetWalletBalanceResponse | TGetWalletBalancesResponse | TGetWalletsResponse | TLoginResponse | TPushTxResponseOfWallet | TPushTransactionsResponse | TPwJoinPoolResponse | TPwSelfPoolResponse | TPwAbsorbRewardsResponse | TPwStatusResponse | TRlSetUserInfoResponse | TSendClawbackTransactionResponse | TSendTransactionResponse | TSendTransactionMultiResponse | TSpendClawbackCoinsResponse | TGetCoinRecordsResponse | TTakeOfferResponse | TCreateNewDlResponse | TDlTrackNewResponse | TDlStopTrackingResponse | TDlLatestSingletonResponse | TDlSingletonsByRootResponse | TDlUpdateRootResponse | TDlUpdateMultipleResponse | TDlHistoryResponse | TDlOwnedSingletonsResponse | TDlGetMirrorsResponse | TDlNewMirrorResponse | TDlDeleteMirrorResponse | TVcMintResponse | TVcGetResponse | TVcGetListResponse | TVcSpendResponse | TVcAddProofsResponse | TVcGetProofsForRootResponse | TVcRevokeResponse;
1805
- export declare type RpcWalletMessageOnWs = WsAddKeyMessage | WsAddRateLimitedFundsMessage | WsCancelOfferMessage | WsCancelOffersMessage | WsCatGetAssetIdMessage | WsCatGetNameMessage | WsGetStrayCatsMessage | WsCatAssetIdToNameMessage | WsCatSetNameMessage | WsCatSpendMessage | WsCheckOfferValidityMessage | WsCreateNewWalletMessage | WsCreateOfferForIdsMessage | WsCreateSignedTransactionMessage | WsDeleteUnconfirmedTransactionsMessage | WsSelectCoinsMessage | WsGetSpendableCoinsMessage | WsGetCoinRecordsByNamesMessage | WsGetCurrentDerivationIndexMessage | WsExtendDerivationIndexMessage | WsGetNotificationsMessage | WsDeleteNotificationsMessage | WsSendNotificationMessage | WsSignMessageByAddressMessage | WsSignMessageByIdMessage | WsVerifySignatureMessage | WsGetTransactionMemoMessage | WsNftCalculateRoyaltiesMessage | WsNftMintBulkMessage | WsNftSetDidBulkMessage | WsNftTransferBulkMessage | WsDeleteAllKeysMessage | WsSetWalletResyncOnStartupMessage | WsDeleteKeyMessage | WsCheckDeleteKeyMessage | WsDidSetWalletNameMessage | WsDidGetWalletNameMessage | WsDidCreateAttestMessage | WsDidCreateBackupFileMessage | WsDidTransferDidMessage | WsDidMessageSpendMessage | WsDidGetInfoMessage | WsDidFindLostDidMessage | WsDidGetDidMessage | WsDidGetInformationNeededForRecoveryMessage | WsDidGetCurrentCoinInfoMessage | WsDidGetPubkeyMessage | WsDidGetRecoveryListMessage | WsDidGetMetadataMessage | WsDidRecoverySpendMessage | WsDidSpendMessage | WsDidUpdateRecoveryIdsMessage | WsDidUpdateMetadataMessage | WsNftMintNftMessage | WsNftCountNftsMessage | WsNftGetNftsMessage | WsNftSetNftDidMessage | WsNftGetByDidMessage | WsNftGetWalletDidMessage | WsNftGetWalletsWithDidsMessage | WsNftSetNftStatusMessage | WsNftTransferNftMessage | WsNftGetInfoMessage | WsNftAddUriMessage | WsFarmBlockMessage | WsGetTimestampForHeightMessage | WsSetAutoClaimMessage | WsGetAutoClaimMessage | WsGenerateMnemonicMessage | WsGetAllOffersMessage | WsGetCatListMessage | WsGetFarmedAmountMessage | WsGetHeightInfoMessage | WsGetInitialFreezePeriodMessageOfWallet | WsGetLoggedInFingerprintMessage | WsGetOfferMessage | WsGetOffersCountMessage | WsGetOfferSummaryMessage | WsGetNetworkInfoMessageOfWallet | WsGetNextAddressMessage | WsGetPrivateKeyMessage | WsGetPublicKeysMessage | WsGetSyncStatusMessage | WsGetTransactionMessage | WsGetTransactionCountMessage | WsGetTransactionsMessage | WsGetWalletBalanceMessage | WsGetWalletBalancesMessage | WsGetWalletsMessage | WsLoginMessage | WsPushTxMessageOfWallet | WsPushTransactionsMessage | WsPwJoinPoolMessage | WsPwSelfPoolMessage | WsPwAbsorbRewardsMessage | WsPwStatusMessage | WsRlSetUserInfoMessage | WsSendClawbackTransactionMessage | WsSendTransactionMessage | WsSendTransactionMultiMessage | WsSpendClawbackCoinsMessage | WsGetCoinRecordsMessage | WsTakeOfferMessage | WsCreateNewDlMessage | WsDlTrackNewMessage | WsDlStopTrackingMessage | WsDlLatestSingletonMessage | WsDlSingletonsByRootMessage | WsDlUpdateRootMessage | WsDlUpdateMultipleMessage | WsDlHistoryMessage | WsDlOwnedSingletonsMessage | WsDlGetMirrorsMessage | WsDlNewMirrorMessage | WsDlDeleteMirrorMessage | WsVcMintMessage | WsVcGetMessage | WsVcGetListMessage | WsVcSpendMessage | WsVcAddProofsMessage | WsVcGetProofsForRootMessage | WsVcRevokeMessage;
1774
+ export declare type CrcatApprovePending = {
1775
+ wallet_id: uint32;
1776
+ min_amount_to_claim: uint64;
1777
+ fee: uint64;
1778
+ };
1779
+ export declare const crcat_approve_pending_command = "crcat_approve_pending";
1780
+ export declare type crcat_approve_pending_command = typeof crcat_approve_pending_command;
1781
+ export declare type TCrcatApprovePendingRequest = CrcatApprovePending & TxEndpoint;
1782
+ export declare type TCrcatApprovePendingResponse = {
1783
+ transactions: TransactionRecordConvenience[];
1784
+ };
1785
+ export declare type WsCrcatApprovePendingMessage = GetMessageType<chia_wallet_service, crcat_approve_pending_command, TCrcatApprovePendingResponse>;
1786
+ export declare function crcat_approve_pending<T extends TRPCAgent | TDaemon>(agent: T, data: TCrcatApprovePendingRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TCrcatApprovePendingResponse, WsCrcatApprovePendingMessage>>;
1787
+ export declare type RpcWalletMessage = TAddKeyResponse | TAddRateLimitedFundsResponse | TCancelOfferResponse | TCancelOffersResponse | TCatGetAssetIdResponse | TCatGetNameResponse | TGetStrayCatsResponse | TCatAssetIdToNameResponse | TCatSetNameResponse | TCatSpendResponse | TCheckOfferValidityResponse | TCreateNewWalletResponse | TCreateOfferForIdsResponse | TCreateSignedTransactionResponse | TDeleteUnconfirmedTransactionsResponse | TSelectCoinsResponse | TGetSpendableCoinsResponse | TGetCoinRecordsByNamesResponse | TGetCurrentDerivationIndexResponse | TExtendDerivationIndexResponse | TGetNotificationsResponse | TDeleteNotificationsResponse | TSendNotificationResponse | TSignMessageByAddressResponse | TSignMessageByIdResponse | TVerifySignatureResponse | TGetTransactionMemoResponse | TNftCalculateRoyaltiesResponse | TNftMintBulkResponse | TNftSetDidBulkResponse | TNftTransferBulkResponse | TDeleteAllKeysResponse | TSetWalletResyncOnStartupResponse | TDeleteKeyResponse | TCheckDeleteKeyResponse | TDidSetWalletNameResponse | TDidGetWalletNameResponse | TDidCreateAttestResponse | TDidCreateBackupFileResponse | TDidTransferDidResponse | TDidMessageSpendResponse | TDidGetInfoResponse | TDidFindLostDidResponse | TDidGetDidResponse | TDidGetInformationNeededForRecoveryResponse | TDidGetCurrentCoinInfoResponse | TDidGetPubkeyResponse | TDidGetRecoveryListResponse | TDidGetMetadataResponse | TDidRecoverySpendResponse | TDidSpendResponse | TDidUpdateRecoveryIdsResponse | TDidUpdateMetadataResponse | TNftMintNftResponse | TNftCountNftsResponse | TNftGetNftsResponse | TNftSetNftDidResponse | TNftGetByDidResponse | TNftGetWalletDidResponse | TNftGetWalletsWithDidsResponse | TNftSetNftStatusResponse | TNftTransferNftResponse | TNftGetInfoResponse | TNftAddUriResponse | TFarmBlockResponse | TGetTimestampForHeightResponse | TSetAutoClaimResponse | TGetAutoClaimResponse | TGenerateMnemonicResponse | TGetAllOffersResponse | TGetCatListResponse | TGetFarmedAmountResponse | TGetHeightInfoResponse | TGetInitialFreezePeriodResponseOfWallet | TGetLoggedInFingerprintResponse | TGetOfferResponse | TGetOffersCountResponse | TGetOfferSummaryResponse | TGetNetworkInfoResponseOfWallet | TGetNextAddressResponse | TGetPrivateKeyResponse | TGetPublicKeysResponse | TGetSyncStatusResponse | TGetTransactionResponse | TGetTransactionCountResponse | TGetTransactionsResponse | TGetWalletBalanceResponse | TGetWalletBalancesResponse | TGetWalletsResponse | TLoginResponse | TPushTxResponseOfWallet | TPushTransactionsResponse | TPwJoinPoolResponse | TPwSelfPoolResponse | TPwAbsorbRewardsResponse | TPwStatusResponse | TRlSetUserInfoResponse | TSendClawbackTransactionResponse | TSendTransactionResponse | TSendTransactionMultiResponse | TSpendClawbackCoinsResponse | TGetCoinRecordsResponse | TTakeOfferResponse | TCreateNewDlResponse | TDlTrackNewResponse | TDlStopTrackingResponse | TDlLatestSingletonResponse | TDlSingletonsByRootResponse | TDlUpdateRootResponse | TDlUpdateMultipleResponse | TDlHistoryResponse | TDlOwnedSingletonsResponse | TDlGetMirrorsResponse | TDlNewMirrorResponse | TDlDeleteMirrorResponse | TVcMintResponse | TVcGetResponse | TVcGetListResponse | TVcSpendResponse | TVcAddProofsResponse | TVcGetProofsForRootResponse | TVcRevokeResponse | TCrcatApprovePendingResponse;
1788
+ export declare type RpcWalletMessageOnWs = WsAddKeyMessage | WsAddRateLimitedFundsMessage | WsCancelOfferMessage | WsCancelOffersMessage | WsCatGetAssetIdMessage | WsCatGetNameMessage | WsGetStrayCatsMessage | WsCatAssetIdToNameMessage | WsCatSetNameMessage | WsCatSpendMessage | WsCheckOfferValidityMessage | WsCreateNewWalletMessage | WsCreateOfferForIdsMessage | WsCreateSignedTransactionMessage | WsDeleteUnconfirmedTransactionsMessage | WsSelectCoinsMessage | WsGetSpendableCoinsMessage | WsGetCoinRecordsByNamesMessage | WsGetCurrentDerivationIndexMessage | WsExtendDerivationIndexMessage | WsGetNotificationsMessage | WsDeleteNotificationsMessage | WsSendNotificationMessage | WsSignMessageByAddressMessage | WsSignMessageByIdMessage | WsVerifySignatureMessage | WsGetTransactionMemoMessage | WsNftCalculateRoyaltiesMessage | WsNftMintBulkMessage | WsNftSetDidBulkMessage | WsNftTransferBulkMessage | WsDeleteAllKeysMessage | WsSetWalletResyncOnStartupMessage | WsDeleteKeyMessage | WsCheckDeleteKeyMessage | WsDidSetWalletNameMessage | WsDidGetWalletNameMessage | WsDidCreateAttestMessage | WsDidCreateBackupFileMessage | WsDidTransferDidMessage | WsDidMessageSpendMessage | WsDidGetInfoMessage | WsDidFindLostDidMessage | WsDidGetDidMessage | WsDidGetInformationNeededForRecoveryMessage | WsDidGetCurrentCoinInfoMessage | WsDidGetPubkeyMessage | WsDidGetRecoveryListMessage | WsDidGetMetadataMessage | WsDidRecoverySpendMessage | WsDidSpendMessage | WsDidUpdateRecoveryIdsMessage | WsDidUpdateMetadataMessage | WsNftMintNftMessage | WsNftCountNftsMessage | WsNftGetNftsMessage | WsNftSetNftDidMessage | WsNftGetByDidMessage | WsNftGetWalletDidMessage | WsNftGetWalletsWithDidsMessage | WsNftSetNftStatusMessage | WsNftTransferNftMessage | WsNftGetInfoMessage | WsNftAddUriMessage | WsFarmBlockMessage | WsGetTimestampForHeightMessage | WsSetAutoClaimMessage | WsGetAutoClaimMessage | WsGenerateMnemonicMessage | WsGetAllOffersMessage | WsGetCatListMessage | WsGetFarmedAmountMessage | WsGetHeightInfoMessage | WsGetInitialFreezePeriodMessageOfWallet | WsGetLoggedInFingerprintMessage | WsGetOfferMessage | WsGetOffersCountMessage | WsGetOfferSummaryMessage | WsGetNetworkInfoMessageOfWallet | WsGetNextAddressMessage | WsGetPrivateKeyMessage | WsGetPublicKeysMessage | WsGetSyncStatusMessage | WsGetTransactionMessage | WsGetTransactionCountMessage | WsGetTransactionsMessage | WsGetWalletBalanceMessage | WsGetWalletBalancesMessage | WsGetWalletsMessage | WsLoginMessage | WsPushTxMessageOfWallet | WsPushTransactionsMessage | WsPwJoinPoolMessage | WsPwSelfPoolMessage | WsPwAbsorbRewardsMessage | WsPwStatusMessage | WsRlSetUserInfoMessage | WsSendClawbackTransactionMessage | WsSendTransactionMessage | WsSendTransactionMultiMessage | WsSpendClawbackCoinsMessage | WsGetCoinRecordsMessage | WsTakeOfferMessage | WsCreateNewDlMessage | WsDlTrackNewMessage | WsDlStopTrackingMessage | WsDlLatestSingletonMessage | WsDlSingletonsByRootMessage | WsDlUpdateRootMessage | WsDlUpdateMultipleMessage | WsDlHistoryMessage | WsDlOwnedSingletonsMessage | WsDlGetMirrorsMessage | WsDlNewMirrorMessage | WsDlDeleteMirrorMessage | WsVcMintMessage | WsVcGetMessage | WsVcGetListMessage | WsVcSpendMessage | WsVcAddProofsMessage | WsVcGetProofsForRootMessage | WsVcRevokeMessage | WsCrcatApprovePendingMessage;
@@ -13,7 +13,7 @@ exports.get_transaction_command = exports.get_wallet_balances = exports.get_wall
13
13
  exports.cat_asset_id_to_name_command = exports.cat_set_name = exports.cat_set_name_command = exports.get_cat_list = exports.get_cat_list_command = exports.sign_message_by_id = exports.sign_message_by_id_command = exports.sign_message_by_address = exports.sign_message_by_address_command = exports.get_transaction_memo = exports.get_transaction_memo_command = exports.verify_signature = exports.verify_signature_command = exports.send_notification = exports.send_notification_command = exports.delete_notifications = exports.delete_notifications_command = exports.get_notifications = exports.get_notifications_command = exports.extend_derivation_index = exports.extend_derivation_index_command = exports.get_current_derivation_index = exports.get_current_derivation_index_command = exports.get_coin_records_by_names = exports.get_coin_records_by_names_command = exports.get_spendable_coins = exports.get_spendable_coins_command = exports.select_coins = exports.select_coins_command = exports.delete_unconfirmed_transactions = exports.delete_unconfirmed_transactions_command = exports.create_signed_transaction = exports.create_signed_transaction_command = exports.get_farmed_amount = exports.get_farmed_amount_command = exports.get_transaction_count = exports.get_transaction_count_command = exports.get_coin_records = exports.get_coin_records_command = exports.spend_clawback_coins = exports.spend_clawback_coins_command = exports.send_transaction_multi = exports.send_transaction_multi_command = exports.send_transaction = exports.send_transaction_command = exports.get_next_address = exports.get_next_address_command = exports.get_transactions = exports.get_transactions_command = exports.get_transaction = void 0;
14
14
  exports.did_get_information_needed_for_recovery_command = exports.did_create_attest = exports.did_create_attest_command = exports.did_get_metadata = exports.did_get_metadata_command = exports.did_get_recovery_list = exports.did_get_recovery_list_command = exports.did_recovery_spend = exports.did_recovery_spend_command = exports.did_get_did = exports.did_get_did_command = exports.did_get_pubkey = exports.did_get_pubkey_command = exports.did_spend = exports.did_spend_command = exports.did_update_metadata = exports.did_update_metadata_command = exports.did_update_recovery_ids = exports.did_update_recovery_ids_command = exports.did_get_wallet_name = exports.did_get_wallet_name_command = exports.did_set_wallet_name = exports.did_set_wallet_name_command = exports.cancel_offers = exports.cancel_offers_command = exports.cancel_offer = exports.cancel_offer_command = exports.get_offers_count = exports.get_offers_count_command = exports.get_all_offers = exports.get_all_offers_command = exports.get_offer = exports.get_offer_command = exports.take_offer = exports.take_offer_command = exports.check_offer_validity = exports.check_offer_validity_command = exports.get_offer_summary = exports.get_offer_summary_command = exports.create_offer_for_ids = exports.create_offer_for_ids_command = exports.cat_get_asset_id = exports.cat_get_asset_id_command = exports.cat_spend = exports.cat_spend_command = exports.get_stray_cats = exports.get_stray_cats_command = exports.cat_get_name = exports.cat_get_name_command = exports.cat_asset_id_to_name = void 0;
15
15
  exports.pw_join_pool_command = exports.add_rate_limited_funds = exports.add_rate_limited_funds_command = exports.send_clawback_transaction = exports.send_clawback_transaction_command = exports.rl_set_user_info = exports.rl_set_user_info_command = exports.nft_mint_bulk = exports.nft_mint_bulk_command = exports.nft_calculate_royalties = exports.nft_calculate_royalties_command = exports.nft_add_uri = exports.nft_add_uri_command = exports.nft_get_info = exports.nft_get_info_command = exports.nft_transfer_nft = exports.nft_transfer_nft_command = exports.nft_set_nft_status = exports.nft_set_nft_status_command = exports.nft_get_wallets_with_dids = exports.nft_get_wallets_with_dids_command = exports.nft_get_wallet_did = exports.nft_get_wallet_did_command = exports.nft_get_by_did = exports.nft_get_by_did_command = exports.nft_transfer_bulk = exports.nft_transfer_bulk_command = exports.nft_set_did_bulk = exports.nft_set_did_bulk_command = exports.nft_set_nft_did = exports.nft_set_nft_did_command = exports.nft_get_nfts = exports.nft_get_nfts_command = exports.nft_count_nfts = exports.nft_count_nfts_command = exports.nft_mint_nft = exports.nft_mint_nft_command = exports.did_transfer_did = exports.did_transfer_did_command = exports.did_find_lost_did = exports.did_find_lost_did_command = exports.did_get_info = exports.did_get_info_command = exports.did_message_spend = exports.did_message_spend_command = exports.did_create_backup_file = exports.did_create_backup_file_command = exports.did_get_current_coin_info = exports.did_get_current_coin_info_command = exports.did_get_information_needed_for_recovery = void 0;
16
- exports.vc_revoke = exports.vc_revoke_command = exports.vc_get_proofs_for_root = exports.vc_get_proofs_for_root_command = exports.vc_add_proofs = exports.vc_add_proofs_command = exports.vc_spend = exports.vc_spend_command = exports.vc_get_list = exports.vc_get_list_command = exports.vc_get = exports.vc_get_command = exports.vc_mint = exports.vc_mint_command = exports.dl_delete_mirror = exports.dl_delete_mirror_command = exports.dl_new_mirror = exports.dl_new_mirror_command = exports.dl_get_mirrors = exports.dl_get_mirrors_command = exports.dl_owned_singletons = exports.dl_owned_singletons_command = exports.dl_history = exports.dl_history_command = exports.dl_update_multiple = exports.dl_update_multiple_command = exports.dl_update_root = exports.dl_update_root_command = exports.dl_singletons_by_root = exports.dl_singletons_by_root_command = exports.dl_latest_singleton = exports.dl_latest_singleton_command = exports.dl_stop_tracking = exports.dl_stop_tracking_command = exports.dl_track_new = exports.dl_track_new_command = exports.create_new_dl = exports.create_new_dl_command = exports.pw_status = exports.pw_status_command = exports.pw_absorb_rewards = exports.pw_absorb_rewards_command = exports.pw_self_pool = exports.pw_self_pool_command = exports.pw_join_pool = void 0;
16
+ exports.crcat_approve_pending = exports.crcat_approve_pending_command = exports.vc_revoke = exports.vc_revoke_command = exports.vc_get_proofs_for_root = exports.vc_get_proofs_for_root_command = exports.vc_add_proofs = exports.vc_add_proofs_command = exports.vc_spend = exports.vc_spend_command = exports.vc_get_list = exports.vc_get_list_command = exports.vc_get = exports.vc_get_command = exports.vc_mint = exports.vc_mint_command = exports.dl_delete_mirror = exports.dl_delete_mirror_command = exports.dl_new_mirror = exports.dl_new_mirror_command = exports.dl_get_mirrors = exports.dl_get_mirrors_command = exports.dl_owned_singletons = exports.dl_owned_singletons_command = exports.dl_history = exports.dl_history_command = exports.dl_update_multiple = exports.dl_update_multiple_command = exports.dl_update_root = exports.dl_update_root_command = exports.dl_singletons_by_root = exports.dl_singletons_by_root_command = exports.dl_latest_singleton = exports.dl_latest_singleton_command = exports.dl_stop_tracking = exports.dl_stop_tracking_command = exports.dl_track_new = exports.dl_track_new_command = exports.create_new_dl = exports.create_new_dl_command = exports.pw_status = exports.pw_status_command = exports.pw_absorb_rewards = exports.pw_absorb_rewards_command = exports.pw_self_pool = exports.pw_self_pool_command = exports.pw_join_pool = void 0;
17
17
  exports.chia_wallet_service = "chia_wallet";
18
18
  // # Key management
19
19
  exports.log_in_command = "log_in";
@@ -877,3 +877,10 @@ function vc_revoke(agent, data) {
877
877
  });
878
878
  }
879
879
  exports.vc_revoke = vc_revoke;
880
+ exports.crcat_approve_pending_command = "crcat_approve_pending";
881
+ function crcat_approve_pending(agent, data) {
882
+ return __awaiter(this, void 0, void 0, function* () {
883
+ return agent.sendMessage(exports.chia_wallet_service, exports.crcat_approve_pending_command, data);
884
+ });
885
+ }
886
+ exports.crcat_approve_pending = crcat_approve_pending;
@@ -92,9 +92,10 @@ export declare type TBladeBitCudaParams = {
92
92
  no_cpu_affinity?: bool;
93
93
  compress?: int;
94
94
  device?: int;
95
- no_direct_downloads?: bool;
96
95
  t?: str;
97
96
  t2?: str;
97
+ disk_128?: bool;
98
+ disk_16?: bool;
98
99
  };
99
100
  export declare type TMadMaxParams = {
100
101
  plotter: "madmax";
@@ -270,6 +271,8 @@ export declare type get_key_command = typeof get_key_command;
270
271
  export declare type TGetKeyRequest = {
271
272
  fingerprint: uint32;
272
273
  include_secrets?: bool;
274
+ kc_user?: str;
275
+ kc_service?: str;
273
276
  };
274
277
  export declare type TGetKeyResponse = {
275
278
  success: True;
@@ -289,6 +292,8 @@ export declare const get_keys_command = "get_keys";
289
292
  export declare type get_keys_command = typeof get_keys_command;
290
293
  export declare type TGetKeysRequest = {
291
294
  include_secrets?: bool;
295
+ kc_user?: str;
296
+ kc_service?: str;
292
297
  };
293
298
  export declare type TGetKeysResponse = {
294
299
  success: True;
@@ -304,11 +309,54 @@ export declare type TGetKeysResponse = {
304
309
  };
305
310
  export declare type WsGetKeysMessage = GetMessageType<daemon_service, get_keys_command, TGetKeysResponse>;
306
311
  export declare function get_keys(daemon: TDaemon, data: TGetKeysRequest): Promise<WsGetKeysMessage>;
312
+ export declare const get_public_key_command = "get_public_key";
313
+ export declare type get_public_key_command = typeof get_public_key_command;
314
+ export declare type TGetPublicKeyRequest = {
315
+ fingerprint: uint32;
316
+ kc_user?: str;
317
+ kc_service?: str;
318
+ };
319
+ export declare type TGetPublicKeyResponse = {
320
+ success: True;
321
+ key: Omit<KeyData, "secrets">;
322
+ } | {
323
+ success: False;
324
+ error: "keyring is locked" | "key not found" | "malformed request";
325
+ error_details?: {
326
+ message: str;
327
+ } | {
328
+ fingerprint: int;
329
+ };
330
+ };
331
+ export declare type WsGetPublicKeyMessage = GetMessageType<daemon_service, get_public_key_command, TGetPublicKeyResponse>;
332
+ export declare function get_public_key(daemon: TDaemon, data: TGetPublicKeyRequest): Promise<WsGetPublicKeyMessage>;
333
+ export declare const get_public_keys_command = "get_public_keys";
334
+ export declare type get_public_keys_command = typeof get_public_keys_command;
335
+ export declare type TGetPublicKeysRequest = {
336
+ kc_user?: str;
337
+ kc_service?: str;
338
+ };
339
+ export declare type TGetPublicKeysResponse = {
340
+ success: True;
341
+ keys: Array<Omit<KeyData, "secrets">>;
342
+ } | {
343
+ success: False;
344
+ error: "keyring is locked" | "key not found" | "malformed request";
345
+ error_details?: {
346
+ message: str;
347
+ } | {
348
+ fingerprint: int;
349
+ };
350
+ };
351
+ export declare type WsGetPublicKeysMessage = GetMessageType<daemon_service, get_public_keys_command, TGetPublicKeysResponse>;
352
+ export declare function get_public_keys(daemon: TDaemon, data: TGetPublicKeysRequest): Promise<WsGetPublicKeysMessage>;
307
353
  export declare const set_label_command = "set_label";
308
354
  export declare type set_label_command = typeof set_label_command;
309
355
  export declare type TSetLabelRequest = {
310
356
  fingerprint: uint32;
311
357
  label: str;
358
+ kc_user?: str;
359
+ kc_service?: str;
312
360
  };
313
361
  export declare type TSetLabelResponse = {
314
362
  success: True;
@@ -327,6 +375,8 @@ export declare const delete_label_command = "delete_label";
327
375
  export declare type delete_label_command = typeof delete_label_command;
328
376
  export declare type TDeleteLabelRequest = {
329
377
  fingerprint: uint32;
378
+ kc_user?: str;
379
+ kc_service?: str;
330
380
  };
331
381
  export declare type TDeleteLabelResponse = {
332
382
  success: True;
@@ -555,4 +605,4 @@ export declare type TKeyringStatusChangedBroadCast = {
555
605
  };
556
606
  export declare type WsKeyringStatusChangedMessage = GetMessageType<daemon_service, keyring_status_changed_command, TKeyringStatusChangedBroadCast>;
557
607
  export declare function on_keyring_status_changed(daemon: TDaemon, callback: (e: WsKeyringStatusChangedMessage) => unknown): Promise<() => void>;
558
- export declare type WsDaemonMessage = WsExitMessage | WsGetStatusMessage | WsGetVersionMessage | WsGetPlottersMessage | WsRunningServicesMessage | WsIsRunningMessage | WsPingMessage | WsRegisterServiceMessage | WsStartPlottingMessage | WsStartServiceMessage | WsStopPlottingMessage | WsStopServiceMessage | WsAddPrivateKeyMessage | WsCheckKeysMessage | WsDeleteAllKeysMessage | WsDeleteKeyByFingerprintMessage | WsGetAllPrivateKeysMessage | WsGetFirstPrivateKeyMessage | WsGetKeyForFingerprintMessage | WsGetKeyMessage | WsGetKeysMessage | WsSetLabelMessage | WsDeleteLabelMessage | WsIsKeyringLockedMessage | WsKeyringStateMessage | WsUnlockKeyringMessage | WsValidateKeyringPassphraseMessage | WsMigrateKeyringMessage | WsSetKeyringPassphraseMessage | WsRemoveKeyringPassphraseMessage | WsNotifyKeyringMigrationCompletedMessage | WsGetRoutesMessage | WsGetWalletAddressesMessage | WsGetKeysForPlottingMessage | WsKeyringStatusChangedMessage;
608
+ export declare type WsDaemonMessage = WsExitMessage | WsGetStatusMessage | WsGetVersionMessage | WsGetPlottersMessage | WsRunningServicesMessage | WsIsRunningMessage | WsPingMessage | WsRegisterServiceMessage | WsStartPlottingMessage | WsStartServiceMessage | WsStopPlottingMessage | WsStopServiceMessage | WsAddPrivateKeyMessage | WsCheckKeysMessage | WsDeleteAllKeysMessage | WsDeleteKeyByFingerprintMessage | WsGetAllPrivateKeysMessage | WsGetFirstPrivateKeyMessage | WsGetKeyForFingerprintMessage | WsGetKeyMessage | WsGetKeysMessage | WsGetPublicKeyMessage | WsGetPublicKeysMessage | WsSetLabelMessage | WsDeleteLabelMessage | WsIsKeyringLockedMessage | WsKeyringStateMessage | WsUnlockKeyringMessage | WsValidateKeyringPassphraseMessage | WsMigrateKeyringMessage | WsSetKeyringPassphraseMessage | WsRemoveKeyringPassphraseMessage | WsNotifyKeyringMigrationCompletedMessage | WsGetRoutesMessage | WsGetWalletAddressesMessage | WsGetKeysForPlottingMessage | WsKeyringStatusChangedMessage;
@@ -9,8 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.remove_keyring_passphrase_command = exports.set_keyring_passphrase = exports.set_keyring_passphrase_command = exports.migrate_keyring = exports.migrate_keyring_command = exports.validate_keyring_passphrase = exports.validate_keyring_passphrase_command = exports.unlock_keyring = exports.unlock_keyring_command = exports.keyring_status = exports.keyring_status_command = exports.is_keyring_locked = exports.is_keyring_locked_command = exports.delete_label = exports.delete_label_command = exports.set_label = exports.set_label_command = exports.get_keys = exports.get_keys_command = exports.get_key = exports.get_key_command = exports.get_key_for_fingerprint = exports.get_key_for_fingerprint_command = exports.get_first_private_key = exports.get_first_private_key_command = exports.get_all_private_keys = exports.get_all_private_keys_command = exports.delete_key_by_fingerprint = exports.delete_key_by_fingerprint_command = exports.delete_all_keys = exports.delete_all_keys_command = exports.check_keys = exports.check_keys_command = exports.add_private_key = exports.add_private_key_command = exports.is_running = exports.is_running_command = exports.running_services = exports.running_services_command = exports.stop_service = exports.stop_service_command = exports.stop_plotting = exports.stop_plotting_command = exports.start_plotting = exports.start_plotting_command = exports.start_service = exports.start_service_command = exports.ping = exports.ping_command = exports.daemon_service = void 0;
13
- exports.on_keyring_status_changed = exports.keyring_status_changed_command = exports.get_keys_for_plotting = exports.get_keys_for_plotting_command = exports.get_wallet_addresses = exports.get_wallet_addresses_command = exports.get_routes = exports.get_routes_command = exports.get_plotters = exports.get_plotters_command = exports.get_version = exports.get_version_command = exports.get_status = exports.get_status_command = exports.register_service = exports.register_service_command = exports.exit = exports.exit_command = exports.notify_keyring_migration_completed = exports.notify_keyring_migration_completed_command = exports.remove_keyring_passphrase = void 0;
12
+ exports.migrate_keyring_command = exports.validate_keyring_passphrase = exports.validate_keyring_passphrase_command = exports.unlock_keyring = exports.unlock_keyring_command = exports.keyring_status = exports.keyring_status_command = exports.is_keyring_locked = exports.is_keyring_locked_command = exports.delete_label = exports.delete_label_command = exports.set_label = exports.set_label_command = exports.get_public_keys = exports.get_public_keys_command = exports.get_public_key = exports.get_public_key_command = exports.get_keys = exports.get_keys_command = exports.get_key = exports.get_key_command = exports.get_key_for_fingerprint = exports.get_key_for_fingerprint_command = exports.get_first_private_key = exports.get_first_private_key_command = exports.get_all_private_keys = exports.get_all_private_keys_command = exports.delete_key_by_fingerprint = exports.delete_key_by_fingerprint_command = exports.delete_all_keys = exports.delete_all_keys_command = exports.check_keys = exports.check_keys_command = exports.add_private_key = exports.add_private_key_command = exports.is_running = exports.is_running_command = exports.running_services = exports.running_services_command = exports.stop_service = exports.stop_service_command = exports.stop_plotting = exports.stop_plotting_command = exports.start_plotting = exports.start_plotting_command = exports.start_service = exports.start_service_command = exports.ping = exports.ping_command = exports.daemon_service = void 0;
13
+ exports.on_keyring_status_changed = exports.keyring_status_changed_command = exports.get_keys_for_plotting = exports.get_keys_for_plotting_command = exports.get_wallet_addresses = exports.get_wallet_addresses_command = exports.get_routes = exports.get_routes_command = exports.get_plotters = exports.get_plotters_command = exports.get_version = exports.get_version_command = exports.get_status = exports.get_status_command = exports.register_service = exports.register_service_command = exports.exit = exports.exit_command = exports.notify_keyring_migration_completed = exports.notify_keyring_migration_completed_command = exports.remove_keyring_passphrase = exports.remove_keyring_passphrase_command = exports.set_keyring_passphrase = exports.set_keyring_passphrase_command = exports.migrate_keyring = void 0;
14
14
  // The daemon service currently does not provide state_change event as of v1.1.5.
15
15
  const types_1 = require("../../types");
16
16
  exports.daemon_service = "daemon";
@@ -126,6 +126,20 @@ function get_keys(daemon, data) {
126
126
  });
127
127
  }
128
128
  exports.get_keys = get_keys;
129
+ exports.get_public_key_command = "get_public_key";
130
+ function get_public_key(daemon, data) {
131
+ return __awaiter(this, void 0, void 0, function* () {
132
+ return daemon.sendMessage(exports.daemon_service, exports.get_public_key_command, data);
133
+ });
134
+ }
135
+ exports.get_public_key = get_public_key;
136
+ exports.get_public_keys_command = "get_public_keys";
137
+ function get_public_keys(daemon, data) {
138
+ return __awaiter(this, void 0, void 0, function* () {
139
+ return daemon.sendMessage(exports.daemon_service, exports.get_public_keys_command, data);
140
+ });
141
+ }
142
+ exports.get_public_keys = get_public_keys;
129
143
  exports.set_label_command = "set_label";
130
144
  function set_label(daemon, data) {
131
145
  return __awaiter(this, void 0, void 0, function* () {
package/api/ws/index.d.ts CHANGED
@@ -13,5 +13,5 @@ export { chia_crawler_service, TLoadedInitialPeersBroadCast, TCrawlBatchComplete
13
13
  import type { WsTimelordMessage } from "./timelord/index";
14
14
  export { chia_timelord_service, TFinishedPotBroadCast, TNewCompactProofBroadCast, TSkippingPeakBroadCast, TNewPeakBroadCast, on_finished_pot, on_new_compact_proof, on_skipping_peak, on_new_peak, } from "./timelord/index";
15
15
  import type { WsDaemonMessage } from "./daemon/index";
16
- export { daemon_service, register_service, TRegisterServiceRequest, TRegisterServiceResponse, start_service, TStartServiceRequest, TStartServiceResponse, start_plotting, TStartPlottingResponse, TStartPlottingRequest, stop_service, TStopServiceResponse, TStopServiceRequest, stop_plotting, TStopPlottingRequest, TStopPlottingResponse, exit, TExitRequest, TExitResponse, get_status, TGetStatusRequest, TGetStatusResponse, get_version, TGetVersionRequest, TGetVersionResponse, get_plotters, TGetPlottersRequest, TGetPlottersResponse, running_services, TRunningServicesResponse, is_running, TIsRunningRequest, TIsRunningResponse, add_private_key, TAddPrivateKeyRequest, TAddPrivateKeyResponse, check_keys, TCheckKeysRequest, TCheckKeysResponse, delete_all_keys, TDeleteAllKeysRequest, TDeleteAllKeysResponse, delete_key_by_fingerprint, TDeleteKeyByFingerprintRequest, TDeleteKeyByFingerprintResponse, get_all_private_keys, TGetAllPrivateKeysRequest, TGetAllPrivateKeysResponse, get_first_private_key, TGetFirstPrivateKeyRequest, TGetFirstPrivateKeyResponse, get_key_for_fingerprint, TGetKeyForFingerprintRequest, TGetKeyForFingerprintResponse, get_key, TGetKeyRequest, TGetKeyResponse, get_keys, TGetKeysRequest, TGetKeysResponse, set_label, TSetLabelRequest, TSetLabelResponse, delete_label, TDeleteLabelRequest, TDeleteLabelResponse, is_keyring_locked, TIsKeyringLockedResponse, on_keyring_status_changed, TKeyringStatusChangedBroadCast, keyring_status, TKeyringStatusResponse, unlock_keyring, TUnlockKeyringRequest, TUnlockKeyringResponse, migrate_keyring, TMigrateKeyringRequest, TMigrateKeyringResponse, set_keyring_passphrase, TSetKeyringPassphraseRequest, TSetKeyringPassphraseResponse, remove_keyring_passphrase, TRemoveKeyringPassphraseRequest, TRemoveKeyringPassphraseResponse, notify_keyring_migration_completed, TNotifyKeyringMigrationCompletedRequest, TNotifyKeyringMigrationCompletedResponse, ping, TPingRequest, TPingResponse, validate_keyring_passphrase, TValidateKeyringPassphraseRequest, TValidateKeyringPassphraseResponse, TPlotQueue, get_routes, TGetRoutesResponse, get_wallet_addresses, TGetWalletAddressesRequest, TGetWalletAddressesResponse, get_keys_for_plotting, TGetKeysForPlottingRequest, TGetKeysForPlottingResponse, } from "./daemon/index";
16
+ export { daemon_service, register_service, TRegisterServiceRequest, TRegisterServiceResponse, start_service, TStartServiceRequest, TStartServiceResponse, start_plotting, TStartPlottingResponse, TStartPlottingRequest, stop_service, TStopServiceResponse, TStopServiceRequest, stop_plotting, TStopPlottingRequest, TStopPlottingResponse, exit, TExitRequest, TExitResponse, get_status, TGetStatusRequest, TGetStatusResponse, get_version, TGetVersionRequest, TGetVersionResponse, get_plotters, TGetPlottersRequest, TGetPlottersResponse, running_services, TRunningServicesResponse, is_running, TIsRunningRequest, TIsRunningResponse, add_private_key, TAddPrivateKeyRequest, TAddPrivateKeyResponse, check_keys, TCheckKeysRequest, TCheckKeysResponse, delete_all_keys, TDeleteAllKeysRequest, TDeleteAllKeysResponse, delete_key_by_fingerprint, TDeleteKeyByFingerprintRequest, TDeleteKeyByFingerprintResponse, get_all_private_keys, TGetAllPrivateKeysRequest, TGetAllPrivateKeysResponse, get_first_private_key, TGetFirstPrivateKeyRequest, TGetFirstPrivateKeyResponse, get_key_for_fingerprint, TGetKeyForFingerprintRequest, TGetKeyForFingerprintResponse, get_key, TGetKeyRequest, TGetKeyResponse, get_keys, TGetKeysRequest, TGetKeysResponse, get_public_key, TGetPublicKeyRequest, TGetPublicKeyResponse, get_public_keys, TGetPublicKeysRequest, TGetPublicKeysResponse, set_label, TSetLabelRequest, TSetLabelResponse, delete_label, TDeleteLabelRequest, TDeleteLabelResponse, is_keyring_locked, TIsKeyringLockedResponse, on_keyring_status_changed, TKeyringStatusChangedBroadCast, keyring_status, TKeyringStatusResponse, unlock_keyring, TUnlockKeyringRequest, TUnlockKeyringResponse, migrate_keyring, TMigrateKeyringRequest, TMigrateKeyringResponse, set_keyring_passphrase, TSetKeyringPassphraseRequest, TSetKeyringPassphraseResponse, remove_keyring_passphrase, TRemoveKeyringPassphraseRequest, TRemoveKeyringPassphraseResponse, notify_keyring_migration_completed, TNotifyKeyringMigrationCompletedRequest, TNotifyKeyringMigrationCompletedResponse, ping, TPingRequest, TPingResponse, validate_keyring_passphrase, TValidateKeyringPassphraseRequest, TValidateKeyringPassphraseResponse, TPlotQueue, get_routes, TGetRoutesResponse, get_wallet_addresses, TGetWalletAddressesRequest, TGetWalletAddressesResponse, get_keys_for_plotting, TGetKeysForPlottingRequest, TGetKeysForPlottingResponse, } from "./daemon/index";
17
17
  export declare type WsMessage = WsFarmerMessage | WsFullNodeMessage | WsHarvesterMessage | WsWalletMessage | WsPlotsMessage | WsCrawlerMessage | WsTimelordMessage | WsDaemonMessage;
package/api/ws/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.stop_plotting = exports.stop_service = exports.start_plotting = exports.start_service = exports.register_service = exports.daemon_service = exports.on_new_peak = exports.on_skipping_peak = exports.on_new_compact_proof = exports.on_finished_pot = exports.chia_timelord_service = exports.on_crawl_batch_completed = exports.on_loaded_initial_peers = exports.chia_crawler_service = exports.on_state_changed_of_plots = exports.state_changed_command_of_plots = exports.chia_plotter_service = exports.on_message_from_wallet = exports.on_close_connection_wallet = exports.on_add_connection_wallet = exports.on_coin_added = exports.on_state_changed_of_wallet = exports.on_sync_changed = exports.on_get_connections_wallet = exports.chia_wallet_service = exports.on_close_connection_harvester = exports.on_add_connection_harvester = exports.on_farming_info = exports.on_get_plots = exports.on_get_connections_harvester = exports.on_message_from_harvester = exports.chia_harvester_service = exports.on_signage_point = exports.on_block = exports.on_get_blockchain_state = exports.on_get_connections_full_node = exports.on_message_from_full_node = exports.chia_full_node_service = exports.on_close_connection = exports.on_add_connection = exports.on_failed_partial = exports.on_submitted_partial = exports.on_proof = exports.on_harvester_removed = exports.on_harvester_update = exports.on_new_signage_point = exports.on_new_farming_info = exports.on_get_connections_farmer = exports.on_message_from_farmer = exports.chia_farmer_service = void 0;
4
- exports.get_keys_for_plotting = exports.get_wallet_addresses = exports.get_routes = exports.validate_keyring_passphrase = exports.ping = exports.notify_keyring_migration_completed = exports.remove_keyring_passphrase = exports.set_keyring_passphrase = exports.migrate_keyring = exports.unlock_keyring = exports.keyring_status = exports.on_keyring_status_changed = exports.is_keyring_locked = exports.delete_label = exports.set_label = exports.get_keys = exports.get_key = exports.get_key_for_fingerprint = exports.get_first_private_key = exports.get_all_private_keys = exports.delete_key_by_fingerprint = exports.delete_all_keys = exports.check_keys = exports.add_private_key = exports.is_running = exports.running_services = exports.get_plotters = exports.get_version = exports.get_status = exports.exit = void 0;
4
+ exports.get_keys_for_plotting = exports.get_wallet_addresses = exports.get_routes = exports.validate_keyring_passphrase = exports.ping = exports.notify_keyring_migration_completed = exports.remove_keyring_passphrase = exports.set_keyring_passphrase = exports.migrate_keyring = exports.unlock_keyring = exports.keyring_status = exports.on_keyring_status_changed = exports.is_keyring_locked = exports.delete_label = exports.set_label = exports.get_public_keys = exports.get_public_key = exports.get_keys = exports.get_key = exports.get_key_for_fingerprint = exports.get_first_private_key = exports.get_all_private_keys = exports.delete_key_by_fingerprint = exports.delete_all_keys = exports.check_keys = exports.add_private_key = exports.is_running = exports.running_services = exports.get_plotters = exports.get_version = exports.get_status = exports.exit = void 0;
5
5
  var index_1 = require("./farmer/index");
6
6
  Object.defineProperty(exports, "chia_farmer_service", { enumerable: true, get: function () { return index_1.chia_farmer_service; } });
7
7
  Object.defineProperty(exports, "on_message_from_farmer", { enumerable: true, get: function () { return index_1.on_message_from_farmer; } });
@@ -75,6 +75,8 @@ Object.defineProperty(exports, "get_first_private_key", { enumerable: true, get:
75
75
  Object.defineProperty(exports, "get_key_for_fingerprint", { enumerable: true, get: function () { return index_8.get_key_for_fingerprint; } });
76
76
  Object.defineProperty(exports, "get_key", { enumerable: true, get: function () { return index_8.get_key; } });
77
77
  Object.defineProperty(exports, "get_keys", { enumerable: true, get: function () { return index_8.get_keys; } });
78
+ Object.defineProperty(exports, "get_public_key", { enumerable: true, get: function () { return index_8.get_public_key; } });
79
+ Object.defineProperty(exports, "get_public_keys", { enumerable: true, get: function () { return index_8.get_public_keys; } });
78
80
  Object.defineProperty(exports, "set_label", { enumerable: true, get: function () { return index_8.set_label; } });
79
81
  Object.defineProperty(exports, "delete_label", { enumerable: true, get: function () { return index_8.delete_label; } });
80
82
  Object.defineProperty(exports, "is_keyring_locked", { enumerable: true, get: function () { return index_8.is_keyring_locked; } });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chia-agent",
3
- "version": "13.0.0",
3
+ "version": "13.1.0",
4
4
  "author": "ChiaMineJP <admin@chiamine.jp>",
5
5
  "description": "chia rpc/websocket client library",
6
6
  "license": "MIT",