chia-agent 6.0.0 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +190 -0
- package/README.md +5 -5
- package/api/chia/types/blockchain_format/coin.d.ts +4 -0
- package/api/chia/types/spend_bundle_condition.d.ts +8 -0
- package/api/chia/wallet/nft_wallet/nft_info.d.ts +23 -0
- package/api/chia/wallet/nft_wallet/nft_info.js +2 -0
- package/api/chia/wallet/puzzle_drivers.d.ts +6 -0
- package/api/chia/wallet/puzzle_drivers.js +2 -0
- package/api/chia/wallet/trade_record.d.ts +2 -0
- package/api/chia/wallet/util/wallet_types.d.ts +2 -1
- package/api/chia/wallet/util/wallet_types.js +2 -1
- package/api/rpc/common/index.d.ts +6 -0
- package/api/rpc/common/index.js +8 -1
- package/api/rpc/farmer/index.d.ts +18 -17
- package/api/rpc/full_node/index.d.ts +9 -0
- package/api/rpc/full_node/index.js +9 -1
- package/api/rpc/index.d.ts +9 -9
- package/api/rpc/index.js +25 -3
- package/api/rpc/wallet/index.d.ts +336 -46
- package/api/rpc/wallet/index.js +141 -6
- package/api/ws/farmer/index.d.ts +21 -4
- package/api/ws/farmer/index.js +27 -1
- package/api/ws/harvester/index.d.ts +13 -2
- package/api/ws/harvester/index.js +14 -1
- package/api/ws/index.d.ts +6 -6
- package/api/ws/index.js +5 -2
- package/api/ws/wallet/index.d.ts +10 -5
- package/api/ws/wallet/index.js +12 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,192 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [9.0.0]
|
|
4
|
+
### Breaking Change
|
|
5
|
+
`series_total` and `series_number` in `NFTInfo` class have been renamed to `edition_total` and `edition_number`
|
|
6
|
+
(defined in `chia/wallet/nft_wallet/nft_info.py`.)
|
|
7
|
+
As a result, the following Wallet RPC APIs in `chia-blockchain@1.5.1` become not compatible with `chia-blockchain@1.5.0`
|
|
8
|
+
- [`nft_get_info`](./src/api/rpc/wallet/README.md#nft_get_infoagent-params)
|
|
9
|
+
- `nft_info.series_total` was renamed to `nft_info.edition_total`
|
|
10
|
+
- `nft_info.series_number` was renamed to `nft_info.edition_number`
|
|
11
|
+
- [`nft_get_nfts`](./src/api/rpc/wallet/README.md#nft_get_nftsagent-params)
|
|
12
|
+
- `nft_list.series_total` was renamed to `nft_list.edition_total`
|
|
13
|
+
- `nft_list.series_number` was renamed to `nft_list.edition_number`
|
|
14
|
+
### Added
|
|
15
|
+
- [New FullNode RPC API](./src/api/rpc/full_node)
|
|
16
|
+
- [`get_block_spends`](./src/api/rpc/full_node/README.md#get_block_spendsagent-params)
|
|
17
|
+
- [New Wallet RPC API](./src/api/rpc/wallet)
|
|
18
|
+
- [`cancel_offers`](./src/api/rpc/wallet/README.md#cancel_offersagent-params)
|
|
19
|
+
### Changed
|
|
20
|
+
- [Farmer RPC API](./src/api/rpc/farmer)
|
|
21
|
+
- [`get_harvester_plots_valid`](./src/api/rpc/farmer/README.md#get_harvester_plots_validagent-params)
|
|
22
|
+
- [`get_harvester_plots_invalid`](./src/api/rpc/farmer/README.md#get_harvester_plots_invalidagent-params)
|
|
23
|
+
- [`get_harvester_plots_keys_missing`](./src/api/rpc/farmer/README.md#get_harvester_plots_keys_missingagent-params)
|
|
24
|
+
- [`get_harvester_plots_duplicates`](./src/api/rpc/farmer/README.md#get_harvester_plots_duplicatesagent-params)
|
|
25
|
+
- Changed type of `page` to `uint32` from `int`
|
|
26
|
+
- Changed type of `page_size` to `uint32` from `int`
|
|
27
|
+
- [Wallet RPC API](./src/api/rpc/wallet)
|
|
28
|
+
- [`get_wallets`](./src/api/rpc/wallet/README.md#get_walletsagent-params)
|
|
29
|
+
- Added `fingerprint` to response
|
|
30
|
+
- [`create_new_wallet`](./src/api/rpc/wallet/README.md#create_new_walletagent-params)
|
|
31
|
+
- Added new error response
|
|
32
|
+
- [`get_wallet_balance`](./src/api/rpc/wallet/README.md#get_wallet_balanceagent-params)
|
|
33
|
+
- Added `wallet_type` to response
|
|
34
|
+
- Added `asset_id` to response
|
|
35
|
+
- [`send_transaction`](./src/api/rpc/wallet/README.md#send_transactionagent-params)
|
|
36
|
+
- Changed request type of `wallet_id` to `uint32` from `int`
|
|
37
|
+
- Changed request type of `min_coin_amount` to `uint64` from `uint128`
|
|
38
|
+
- [`select_coins`](./src/api/rpc/wallet/README.md#select_coinsagent-params)
|
|
39
|
+
- Added `min_coin_amount` to request.
|
|
40
|
+
- Added `excluded_coins` to request.
|
|
41
|
+
- [`cat_set_name`](./src/api/rpc/wallet/README.md#cat_set_nameagent-params)
|
|
42
|
+
- Changed type of `wallet_id` to `uint32` from `int`
|
|
43
|
+
- [`cat_get_name`](./src/api/rpc/wallet/README.md#cat_get_nameagent-params)
|
|
44
|
+
- Changed type of `wallet_id` to `uint32` from `int`
|
|
45
|
+
- [`cat_spend`](./src/api/rpc/wallet/README.md#cat_spendagent-params)
|
|
46
|
+
- Changed type of `wallet_id` to `uint32` from `int`
|
|
47
|
+
- Changed request type of `min_coin_amount` to `uint64` from `uint128`
|
|
48
|
+
- [`cat_get_asset_id`](./src/api/rpc/wallet/README.md#cat_get_asset_idagent-params)
|
|
49
|
+
- Changed type of `wallet_id` to `uint32` from `int`
|
|
50
|
+
- [`create_offer_for_ids`](./src/api/rpc/wallet/README.md#create_offer_for_idsagent-params)
|
|
51
|
+
- Changed request type of `min_coin_amount` to `uint64` from `uint128`
|
|
52
|
+
- [`take_offer`](./src/api/rpc/wallet/README.md#take_offeragent-params)
|
|
53
|
+
- Changed request type of `min_coin_amount` to `uint64` from `uint128`
|
|
54
|
+
- [`send_clawback_transaction`](./src/api/rpc/wallet/README.md#send_clawback_transactionagent-params)
|
|
55
|
+
- Changed type of `wallet_id` to `uint32` from `int`
|
|
56
|
+
- [`create_signed_transaction`](./src/api/rpc/wallet/README.md#create_signed_transactionagent-params)
|
|
57
|
+
- Changed request type of `min_coin_amount` to `uint64` from `uint128`
|
|
58
|
+
- Added `excluded_coins` to request.
|
|
59
|
+
- [`pw_self_pool`](./src/api/rpc/wallet/README.md#pw_self_poolagent-params)
|
|
60
|
+
- [`pw_absorb_rewards`](./src/api/rpc/wallet/README.md#pw_absorb_rewardsagent-params)
|
|
61
|
+
- [`pw_status`](./src/api/rpc/wallet/README.md#pw_statusagent-params)
|
|
62
|
+
- Removed error response
|
|
63
|
+
- [`nft_get_info`](./src/api/rpc/wallet/README.md#nft_get_infoagent-params)
|
|
64
|
+
- `nft_info.series_total` was renamed to `nft_info.edition_total`
|
|
65
|
+
- `nft_info.series_number` was renamed to `nft_info.edition_number`
|
|
66
|
+
- [`nft_get_nfts`](./src/api/rpc/wallet/README.md#nft_get_nftsagent-params)
|
|
67
|
+
- `nft_list.series_total` was renamed to `nft_list.edition_total`
|
|
68
|
+
- `nft_list.series_number` was renamed to `nft_list.edition_number`
|
|
69
|
+
- [Wallet WebSocket API](./src/api/ws/wallet)
|
|
70
|
+
- Added `added_stray_cat`, `new_derivation_index` events
|
|
71
|
+
### Fixed
|
|
72
|
+
- Fixed an issue where type information of `get_puzzle_and_solution` was missing.
|
|
73
|
+
- Fixed an issue where event destination of `sync_changed` and `coin_added` Wallet WebSocket API was not correct.
|
|
74
|
+
- Fixed an issue where `healthz` common RPC API was missing.
|
|
75
|
+
|
|
76
|
+
## [8.0.0]
|
|
77
|
+
### Breaking Change
|
|
78
|
+
- [`nft_mint_nft`](./src/api/rpc/wallet/README.md#nft_mint_nftagent-params)
|
|
79
|
+
- Renamed `series_number` to `edition_number`.
|
|
80
|
+
- Renamed `series_total` to `edition_total`.
|
|
81
|
+
### Added
|
|
82
|
+
- [New Wallet RPC API](./src/api/rpc/wallet)
|
|
83
|
+
- [`get_current_derivation_index`](./src/api/rpc/wallet/README.md#get_current_derivation_indexagent)
|
|
84
|
+
- [`extend_derivation_index`](./src/api/rpc/wallet/README.md#extend_derivation_indexagent-params)
|
|
85
|
+
### Changed
|
|
86
|
+
- [`send_transaction`](./src/api/rpc/wallet/README.md#send_transactionagent-params)
|
|
87
|
+
- Added `min_coin_amount` to request parameter
|
|
88
|
+
- [`cat_spend`](./src/api/rpc/wallet/README.md#cat_spendagent-params)
|
|
89
|
+
- Added `min_coin_amount` to request parameter
|
|
90
|
+
- [`create_offer_for_ids`](./src/api/rpc/wallet/README.md#create_offer_for_idsagent-params)
|
|
91
|
+
- Added `min_coin_amount` to request parameter
|
|
92
|
+
- [`take_offer`](./src/api/rpc/wallet/README.md#take_offeragent-params)
|
|
93
|
+
- Added `min_coin_amount` to request parameter
|
|
94
|
+
- [`nft_mint_nft`](./src/api/rpc/wallet/README.md#nft_mint_nftagent-params)
|
|
95
|
+
- Renamed `series_number` to `edition_number`.
|
|
96
|
+
- Renamed `series_total` to `edition_total`.
|
|
97
|
+
- [`create_signed_transaction`](./src/api/rpc/wallet/README.md#create_signed_transactionagent-params)
|
|
98
|
+
- Added `min_coin_amount` to request parameter
|
|
99
|
+
|
|
100
|
+
## [7.0.0]
|
|
101
|
+
### Breaking Change
|
|
102
|
+
- [`create_new_wallet`](./src/api/rpc/wallet/README.md#create_new_walletagent-params)
|
|
103
|
+
- Renamed `filename` to `backup_data`.
|
|
104
|
+
- [`did_get_recovery_list`](./src/api/rpc/wallet/README.md#did_get_recovery_listagent-params)
|
|
105
|
+
- Renamed `recover_list` to `recovery_list`.
|
|
106
|
+
- [`did_recovery_spend`](./src/api/rpc/wallet/README.md#did_recovery_spendagent-params)
|
|
107
|
+
- Renamed `attest_filenames` to `attest_data`.
|
|
108
|
+
- Changed the type of `success` response property to `bool` from `SpendBundle`.
|
|
109
|
+
- Added `spend_bundle` to response.
|
|
110
|
+
- [`did_create_attest`](./src/api/rpc/wallet/README.md#did_create_attestagent-params)
|
|
111
|
+
- Removed `filename` from request.
|
|
112
|
+
- Added `attest_data` to response.
|
|
113
|
+
- [`did_create_backup_file`](./src/api/rpc/wallet/README.md#did_create_backup_fileagent-params)
|
|
114
|
+
- Removed `filename` from request.
|
|
115
|
+
- Added `backup_data` to response.
|
|
116
|
+
### Added
|
|
117
|
+
- [New Farmer WebSocket API](./src/api/ws/farmer)
|
|
118
|
+
- [`on_proof`](./src/api/ws/farmer/README.md#on_proof)
|
|
119
|
+
- [`on_submitted_partial`](./src/api/ws/farmer/README.md#on_submitted_partial)
|
|
120
|
+
- [New Harvester WebSocket API](./src/api/ws/harvester)
|
|
121
|
+
- [`on_farming_info`](./src/api/ws/harvester/README.md#on_farming_info)
|
|
122
|
+
- [New Wallet RPC API](./src/api/rpc/wallet)
|
|
123
|
+
- [`did_set_wallet_name`](./src/api/rpc/wallet/README.md#did_set_wallet_nameagent-params)
|
|
124
|
+
- [`did_get_wallet_name`](./src/api/rpc/wallet/README.md#did_get_wallet_nameagent-params)
|
|
125
|
+
- [`did_update_metadata`](./src/api/rpc/wallet/README.md#did_update_metadataagent-params)
|
|
126
|
+
- [`did_get_metadata`](./src/api/rpc/wallet/README.md#did_get_metadataagent-params)
|
|
127
|
+
- [`did_get_current_coin_info`](./src/api/rpc/wallet/README.md#did_get_current_coin_infoagent-params)
|
|
128
|
+
- [`did_transfer_did`](./src/api/rpc/wallet/README.md#did_transfer_didagent-params)
|
|
129
|
+
- [`nft_mint_nft`](./src/api/rpc/wallet/README.md#nft_mint_nftagent-params)
|
|
130
|
+
- [`nft_get_nfts`](./src/api/rpc/wallet/README.md#nft_get_nftsagent-params)
|
|
131
|
+
- [`nft_set_nft_did`](./src/api/rpc/wallet/README.md#nft_set_nft_didagent-params)
|
|
132
|
+
- [`nft_get_by_did`](./src/api/rpc/wallet/README.md#nft_get_by_didagent-params)
|
|
133
|
+
- [`nft_get_wallet_did`](./src/api/rpc/wallet/README.md#nft_get_wallet_didagent-params)
|
|
134
|
+
- [`nft_get_wallets_with_dids`](./src/api/rpc/wallet/README.md#nft_get_wallets_with_didsagent)
|
|
135
|
+
- [`nft_set_nft_status`](./src/api/rpc/wallet/README.md#nft_set_nft_statusagent-params)
|
|
136
|
+
- [`nft_transfer_nft`](./src/api/rpc/wallet/README.md#nft_transfer_nftagent-params)
|
|
137
|
+
- [`nft_get_info`](./src/api/rpc/wallet/README.md#nft_get_infoagent-params)
|
|
138
|
+
- [`nft_add_uri`](./src/api/rpc/wallet/README.md#nft_add_uriagent-params)
|
|
139
|
+
### Changed
|
|
140
|
+
- [`get_reward_targets`](./src/api/rpc/farmer/README.md#get_reward_targetsagent-params)
|
|
141
|
+
- Added `max_ph_to_search` to request parameter
|
|
142
|
+
- [`check_delete_key`](./src/api/rpc/wallet/README.md#check_delete_keyagent-params)
|
|
143
|
+
- Added `max_ph_to_search` to request parameter
|
|
144
|
+
- [`get_wallets`](./src/api/rpc/wallet/README.md#get_walletsagent-params)
|
|
145
|
+
- Added `include_data` to request parameter
|
|
146
|
+
- [`create_new_wallet`](./src/api/rpc/wallet/README.md#create_new_walletagent-params)
|
|
147
|
+
- Added `metadata` and `wallet_name` to request parameter for DID wallet
|
|
148
|
+
- Changed parameter name from `filename` and `backup_data` for request parameter for DID wallet recovery
|
|
149
|
+
- Added NFT Wallet type
|
|
150
|
+
- [`create_offer_for_ids`](./src/api/rpc/wallet/README.md#create_offer_for_idsagent-params)
|
|
151
|
+
- Added `driver_dict` to request parameter
|
|
152
|
+
- [`get_offer_summary`](./src/api/rpc/wallet/README.md#get_offer_summaryagent-params)
|
|
153
|
+
- Added `infos` to response parameter
|
|
154
|
+
- [`did_update_recovery_ids`](./src/api/rpc/wallet/README.md#did_update_recovery_idsagent-params)
|
|
155
|
+
- Changed the type of `wallet_id` to `uint32` from `int`.
|
|
156
|
+
- [`did_get_did`](./src/api/rpc/wallet/README.md#did_get_didagent-params)
|
|
157
|
+
- Changed the type of `wallet_id` to `uint32` from `int`.
|
|
158
|
+
- [`did_get_recovery_list`](./src/api/rpc/wallet/README.md#did_get_recovery_listagent-params)
|
|
159
|
+
- Changed the type of `wallet_id` to `uint32` from `int`.
|
|
160
|
+
- Renamed `recover_list` to `recovery_list`.
|
|
161
|
+
- [`did_recovery_spend`](./src/api/rpc/wallet/README.md#did_recovery_spendagent-params)
|
|
162
|
+
- Changed the type of `wallet_id` to `uint32` from `int`.
|
|
163
|
+
- Renamed `attest_filenames` to `attest_data`.
|
|
164
|
+
- Changed response dict format
|
|
165
|
+
- [`did_get_pubkey`](./src/api/rpc/wallet/README.md#did_get_pubkeyagent-params)
|
|
166
|
+
- Changed the type of `wallet_id` to `uint32` from `int`.
|
|
167
|
+
- [`did_create_attest`](./src/api/rpc/wallet/README.md#did_create_attestagent-params)
|
|
168
|
+
- Changed the type of `wallet_id` to `uint32` from `int`.
|
|
169
|
+
- Removed `filename` from request.
|
|
170
|
+
- Added `attest_data` to response.
|
|
171
|
+
- [`did_get_information_needed_for_recovery`](./src/api/rpc/wallet/README.md#did_get_information_needed_for_recoveryagent-params)
|
|
172
|
+
- Changed the type of `wallet_id` to `uint32` from `int`.
|
|
173
|
+
- [`did_create_backup_file`](./src/api/rpc/wallet/README.md#did_create_backup_fileagent-params)
|
|
174
|
+
- Changed the type of `wallet_id` to `uint32` from `int`.
|
|
175
|
+
- Removed `filename` from request.
|
|
176
|
+
- Added `backup_data` to response.
|
|
177
|
+
- `TradeRecordConvenience` type at `chia/wallet/trade_record.py` was changed.
|
|
178
|
+
(Added `infos` property to `summary` dict)
|
|
179
|
+
As a result, the following APIs are affected:
|
|
180
|
+
- `create_offer_for_ids` of Wallet RPC API
|
|
181
|
+
- `take_offer` of Wallet RPC API
|
|
182
|
+
- `get_offer` of Wallet RPC API
|
|
183
|
+
- `get_all_offers` of Wallet RPC API
|
|
184
|
+
- Renamed `DISTRIBUTED_ID` to `DECENTRALIZED_ID` of `WalletType` in `src/api/chia/wallet/util/wallet_type.ts`.
|
|
185
|
+
- Added `NFT` to `WalletType` in `src/api/chia/wallet/util/wallet_type.ts`.
|
|
186
|
+
### Fixed
|
|
187
|
+
- Fixed an issue where README description for `did_get_pubkey` was wrong.
|
|
188
|
+
- Fixed an issue where the type of `pubkey` response property for `did_get_pubkey` was wrong.
|
|
189
|
+
|
|
3
190
|
## [6.0.0]
|
|
4
191
|
### Minor Breaking Change
|
|
5
192
|
- At chia-blockchain@1.3.5, a farmer websocket API `new_plots` was replaced by
|
|
@@ -384,6 +571,9 @@ daemon.sendMessage(destination, get_block_record_by_height_command, data);
|
|
|
384
571
|
Initial release.
|
|
385
572
|
|
|
386
573
|
<!-- [Unreleased]: https://github.com/Chia-Mine/chia-agent/compare/v0.0.1...v0.0.2 -->
|
|
574
|
+
[9.0.0]: https://github.com/Chia-Mine/chia-agent/compare/v8.0.0...v9.0.0
|
|
575
|
+
[8.0.0]: https://github.com/Chia-Mine/chia-agent/compare/v7.0.0...v8.0.0
|
|
576
|
+
[7.0.0]: https://github.com/Chia-Mine/chia-agent/compare/v6.0.0...v7.0.0
|
|
387
577
|
[6.0.0]: https://github.com/Chia-Mine/chia-agent/compare/v5.0.0...v6.0.0
|
|
388
578
|
[5.0.0]: https://github.com/Chia-Mine/chia-agent/compare/v4.0.0...v5.0.0
|
|
389
579
|
[4.0.0]: https://github.com/Chia-Mine/chia-agent/compare/v3.0.1...v4.0.0
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
[](https://badge.fury.io/js/chia-agent) [](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 1.
|
|
5
|
+
Supports all RPC/Websocket API available at `chia 1.5.1`.
|
|
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,10 +22,10 @@ yarn add chia-agent
|
|
|
22
22
|
|
|
23
23
|
## Compatibility
|
|
24
24
|
This code is compatible with:
|
|
25
|
-
- [`
|
|
26
|
-
- [Diff to the main branch of chia-blockchain](https://github.com/Chia-Network/chia-blockchain/compare/
|
|
27
|
-
- [`
|
|
28
|
-
- [Diff to the main branch of pool-reference](https://github.com/Chia-Network/pool-reference/compare/
|
|
25
|
+
- [`6ec6bd799b43c040fe0097d27729348272e42e21`](https://github.com/Chia-Network/chia-blockchain/tree/6ec6bd799b43c040fe0097d27729348272e42e21) of [chia-blockchain 1.5.1](https://github.com/Chia-Network/chia-blockchain)
|
|
26
|
+
- [Diff to the main branch of chia-blockchain](https://github.com/Chia-Network/chia-blockchain/compare/6ec6bd799b43c040fe0097d27729348272e42e21...main)
|
|
27
|
+
- [`495f71e3acc93b18f10cfa9aac6a5b68cc7064c2`](https://github.com/Chia-Network/pool-reference/tree/495f71e3acc93b18f10cfa9aac6a5b68cc7064c2) of [pool-reference](https://github.com/Chia-Network/pool-reference)
|
|
28
|
+
- [Diff to the main branch of pool-reference](https://github.com/Chia-Network/pool-reference/compare/495f71e3acc93b18f10cfa9aac6a5b68cc7064c2...main)
|
|
29
29
|
|
|
30
30
|
## API
|
|
31
31
|
There are 2 kinds of APIs in chia.
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { bytes32 } from "./sized_bytes";
|
|
2
2
|
import { uint64 } from "../_python_types_";
|
|
3
|
+
/**
|
|
4
|
+
* The actual definition of `Coin` type was moved to https://github.com/Chia-Network/chia_rs/blob/main/wheel/src/coin.rs
|
|
5
|
+
* from chia-blockchain@1.5.1
|
|
6
|
+
*/
|
|
3
7
|
export declare type Coin = {
|
|
4
8
|
parent_coin_info: bytes32;
|
|
5
9
|
puzzle_hash: bytes32;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { bytes32, bytes48 } from "./blockchain_format/sized_bytes";
|
|
2
2
|
import { bytes, Optional, uint32, uint64 } from "./_python_types_";
|
|
3
|
+
/**
|
|
4
|
+
* The actual definition of `Spend` type was moved to https://github.com/Chia-Network/chia_rs/blob/main/wheel/src/run_generator.rs
|
|
5
|
+
* from chia-blockchain@1.5.1
|
|
6
|
+
*/
|
|
3
7
|
export declare type Spend = {
|
|
4
8
|
coin_id: bytes32;
|
|
5
9
|
puzzle_hash: bytes32;
|
|
@@ -8,6 +12,10 @@ export declare type Spend = {
|
|
|
8
12
|
create_coin: Array<[bytes32, uint64, bytes]>;
|
|
9
13
|
agg_sig_me: Array<[bytes48, bytes]>;
|
|
10
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* The actual definition of `SpendBundleConditions` type was moved to https://github.com/Chia-Network/chia_rs/blob/main/wheel/src/run_generator.rs
|
|
17
|
+
* from chia-blockchain@1.5.1
|
|
18
|
+
*/
|
|
11
19
|
export declare type SpendBundleConditions = {
|
|
12
20
|
spends: Spend[];
|
|
13
21
|
reserve_fee: uint64;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { bool, bytes, Optional, str, uint16, uint32, uint64 } from "../../types/_python_types_";
|
|
2
|
+
import { bytes32 } from "../../types/blockchain_format/sized_bytes";
|
|
3
|
+
export declare type NFTInfo = {
|
|
4
|
+
launcher_id: bytes32;
|
|
5
|
+
nft_coin_id: bytes32;
|
|
6
|
+
owner_did: Optional<bytes32>;
|
|
7
|
+
royalty_percentage: Optional<uint16>;
|
|
8
|
+
royalty_puzzle_hash: Optional<bytes32>;
|
|
9
|
+
data_uris: str[];
|
|
10
|
+
data_hash: bytes;
|
|
11
|
+
metadata_uris: str[];
|
|
12
|
+
metadata_hash: bytes;
|
|
13
|
+
license_uris: str[];
|
|
14
|
+
license_hash: bytes;
|
|
15
|
+
edition_total: uint64;
|
|
16
|
+
edition_number: uint64;
|
|
17
|
+
updater_puzhash: bytes32;
|
|
18
|
+
chain_info: str;
|
|
19
|
+
mint_height: uint32;
|
|
20
|
+
supports_did: bool;
|
|
21
|
+
pending_transaction: bool;
|
|
22
|
+
launcher_puzhash: bytes32;
|
|
23
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { bool, bytes, int, Optional, str, uint32, uint64, uint8 } from "../types/_python_types_";
|
|
2
2
|
import { Coin } from "../types/blockchain_format/coin";
|
|
3
3
|
import { bytes32 } from "../types/blockchain_format/sized_bytes";
|
|
4
|
+
import { TDriverDict } from "./puzzle_drivers";
|
|
4
5
|
export declare type TradeRecord = {
|
|
5
6
|
confirmed_at_index: uint32;
|
|
6
7
|
accepted_at_time: Optional<uint64>;
|
|
@@ -18,6 +19,7 @@ export declare type TradeRecordConvenience = {
|
|
|
18
19
|
summary: {
|
|
19
20
|
offered: Record<str, int>;
|
|
20
21
|
requested: Record<str, int>;
|
|
22
|
+
infos: TDriverDict;
|
|
21
23
|
fees: int;
|
|
22
24
|
};
|
|
23
25
|
pending: Record<str, int>;
|
|
@@ -38,3 +38,9 @@ export declare type TGetRoutesResponse = {
|
|
|
38
38
|
routes: str[];
|
|
39
39
|
};
|
|
40
40
|
export declare function get_routes(agent: TRPCAgent): Promise<TGetRoutesResponse>;
|
|
41
|
+
export declare const healthz_command = "healthz";
|
|
42
|
+
export declare type healthz_command = typeof healthz_command;
|
|
43
|
+
export declare type THealthzResponse = {
|
|
44
|
+
success: "true";
|
|
45
|
+
};
|
|
46
|
+
export declare function healthz(agent: TRPCAgent): Promise<THealthzResponse>;
|
package/api/rpc/common/index.js
CHANGED
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.get_routes = exports.get_routes_command = exports.stop_node = exports.stop_node_command = exports.close_connection = exports.close_connection_command = exports.open_connection = exports.open_connection_command = exports.get_connections = exports.get_connections_command = exports.chia_common_service = void 0;
|
|
12
|
+
exports.healthz = exports.healthz_command = exports.get_routes = exports.get_routes_command = exports.stop_node = exports.stop_node_command = exports.close_connection = exports.close_connection_command = exports.open_connection = exports.open_connection_command = exports.get_connections = exports.get_connections_command = exports.chia_common_service = void 0;
|
|
13
13
|
exports.chia_common_service = "";
|
|
14
14
|
exports.get_connections_command = "get_connections";
|
|
15
15
|
function get_connections(agent, params) {
|
|
@@ -46,3 +46,10 @@ function get_routes(agent) {
|
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
exports.get_routes = get_routes;
|
|
49
|
+
exports.healthz_command = "healthz";
|
|
50
|
+
function healthz(agent) {
|
|
51
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
52
|
+
return agent.sendMessage(exports.chia_common_service, exports.healthz_command);
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
exports.healthz = healthz;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ProofOfSpace } from "../../chia/types/blockchain_format/proof_of_space";
|
|
2
|
-
import { bool, int, Optional, str, uint64, uint8 } from "../../chia/types/_python_types_";
|
|
2
|
+
import { bool, int, Optional, str, uint32, uint64, uint8 } from "../../chia/types/_python_types_";
|
|
3
3
|
import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
|
|
4
4
|
import { TRPCAgent } from "../../../rpc/index";
|
|
5
5
|
import { PoolState } from "../../chia/farmer/farmer";
|
|
@@ -35,6 +35,7 @@ export declare const get_reward_targets_command = "get_reward_targets";
|
|
|
35
35
|
export declare type get_reward_targets_command = typeof get_reward_targets_command;
|
|
36
36
|
export declare type TGetRewardTargetRequest = {
|
|
37
37
|
search_for_private_key: bool;
|
|
38
|
+
max_ph_to_search?: int;
|
|
38
39
|
};
|
|
39
40
|
export declare type TGetRewardTargetResponse = {
|
|
40
41
|
farmer_target: str;
|
|
@@ -86,8 +87,8 @@ export declare const get_harvester_plots_valid_command = "get_harvester_plots_va
|
|
|
86
87
|
export declare type get_harvester_plots_valid_command = typeof get_harvester_plots_valid_command;
|
|
87
88
|
export declare type TGetHarvesterPlotsValidRequest = {
|
|
88
89
|
node_id: bytes32;
|
|
89
|
-
page:
|
|
90
|
-
page_size:
|
|
90
|
+
page: uint32;
|
|
91
|
+
page_size: uint32;
|
|
91
92
|
filter: Array<{
|
|
92
93
|
key: str;
|
|
93
94
|
value: Optional<str>;
|
|
@@ -97,8 +98,8 @@ export declare type TGetHarvesterPlotsValidRequest = {
|
|
|
97
98
|
};
|
|
98
99
|
export declare type TGetHarvesterPlotsValidResponse = {
|
|
99
100
|
node_id: str;
|
|
100
|
-
page:
|
|
101
|
-
page_count:
|
|
101
|
+
page: uint32;
|
|
102
|
+
page_count: uint32;
|
|
102
103
|
total_count: int;
|
|
103
104
|
plots: Plot[];
|
|
104
105
|
};
|
|
@@ -107,15 +108,15 @@ export declare const get_harvester_plots_invalid_command = "get_harvester_plots_
|
|
|
107
108
|
export declare type get_harvester_plots_invalid_command = typeof get_harvester_plots_invalid_command;
|
|
108
109
|
export declare type TGetHarvesterPlotsInvalidRequest = {
|
|
109
110
|
node_id: bytes32;
|
|
110
|
-
page:
|
|
111
|
-
|
|
111
|
+
page: uint32;
|
|
112
|
+
page_count: uint32;
|
|
112
113
|
filter: str[];
|
|
113
114
|
reverse: bool;
|
|
114
115
|
};
|
|
115
116
|
export declare type TGetHarvesterPlotsInvalidResponse = {
|
|
116
117
|
node_id: str;
|
|
117
|
-
page:
|
|
118
|
-
page_count:
|
|
118
|
+
page: uint32;
|
|
119
|
+
page_count: uint32;
|
|
119
120
|
total_count: int;
|
|
120
121
|
plots: str[];
|
|
121
122
|
};
|
|
@@ -124,15 +125,15 @@ export declare const get_harvester_plots_keys_missing_command = "get_harvester_p
|
|
|
124
125
|
export declare type get_harvester_plots_keys_missing_command = typeof get_harvester_plots_keys_missing_command;
|
|
125
126
|
export declare type TGetHarvesterPlotsKeysMissingRequest = {
|
|
126
127
|
node_id: bytes32;
|
|
127
|
-
page:
|
|
128
|
-
|
|
128
|
+
page: uint32;
|
|
129
|
+
page_count: uint32;
|
|
129
130
|
filter: str[];
|
|
130
131
|
reverse: bool;
|
|
131
132
|
};
|
|
132
133
|
export declare type TGetHarvesterPlotsKeysMissingResponse = {
|
|
133
134
|
node_id: str;
|
|
134
|
-
page:
|
|
135
|
-
page_count:
|
|
135
|
+
page: uint32;
|
|
136
|
+
page_count: uint32;
|
|
136
137
|
total_count: int;
|
|
137
138
|
plots: str[];
|
|
138
139
|
};
|
|
@@ -141,15 +142,15 @@ export declare const get_harvester_plots_duplicates_command = "get_harvester_plo
|
|
|
141
142
|
export declare type get_harvester_plots_duplicates_command = typeof get_harvester_plots_duplicates_command;
|
|
142
143
|
export declare type TGetHarvesterPlotsDuplicatesRequest = {
|
|
143
144
|
node_id: bytes32;
|
|
144
|
-
page:
|
|
145
|
-
|
|
145
|
+
page: uint32;
|
|
146
|
+
page_count: uint32;
|
|
146
147
|
filter: str[];
|
|
147
148
|
reverse: bool;
|
|
148
149
|
};
|
|
149
150
|
export declare type TGetHarvesterPlotsDuplicatesResponse = {
|
|
150
151
|
node_id: str;
|
|
151
|
-
page:
|
|
152
|
-
page_count:
|
|
152
|
+
page: uint32;
|
|
153
|
+
page_count: uint32;
|
|
153
154
|
total_count: int;
|
|
154
155
|
plots: str[];
|
|
155
156
|
};
|
|
@@ -100,6 +100,15 @@ export declare type TGetBlockRecordsResponse = {
|
|
|
100
100
|
block_records: BlockRecord[];
|
|
101
101
|
};
|
|
102
102
|
export declare function get_block_records(agent: TRPCAgent, data: TGetBlockRecordsRequest): Promise<TGetBlockRecordsResponse>;
|
|
103
|
+
export declare const get_block_spends_command = "get_block_spends";
|
|
104
|
+
export declare type get_block_spends_command = typeof get_block_spends_command;
|
|
105
|
+
export declare type TGetBlockSpendsRequest = {
|
|
106
|
+
header_hash: str;
|
|
107
|
+
};
|
|
108
|
+
export declare type TGetBlockSpendsResponse = {
|
|
109
|
+
block_spends: CoinSpend[];
|
|
110
|
+
};
|
|
111
|
+
export declare function get_block_spends(agent: TRPCAgent, data: TGetBlockSpendsRequest): Promise<TGetBlockSpendsResponse>;
|
|
103
112
|
export declare const get_unfinished_block_headers_command = "get_unfinished_block_headers";
|
|
104
113
|
export declare type get_unfinished_block_headers_command = typeof get_unfinished_block_headers_command;
|
|
105
114
|
export declare type TGetUnfinishedBlockHeadersRequest = {};
|
|
@@ -9,7 +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.
|
|
12
|
+
exports.get_mempool_item_by_tx_id_command = exports.get_all_mempool_items = exports.get_all_mempool_items_command = exports.get_all_mempool_tx_ids = exports.get_all_mempool_tx_ids_command = exports.get_puzzle_and_solution = exports.get_puzzle_and_solution_command = exports.push_tx = exports.push_tx_command = exports.get_coin_records_by_hint = exports.get_coin_records_by_hint_command = exports.get_coin_records_by_parent_ids = exports.get_coin_records_by_parent_ids_command = exports.get_coin_records_by_names = exports.get_coin_records_by_names_command = exports.get_coin_record_by_name = exports.get_coin_record_by_name_command = exports.get_coin_records_by_puzzle_hashes = exports.get_coin_records_by_puzzle_hashes_command = exports.get_coin_records_by_puzzle_hash = exports.get_coin_records_by_puzzle_hash_command = exports.get_recent_signage_point_or_eos = exports.get_recent_signage_point_or_eos_command = exports.get_network_info_of_full_node = exports.get_network_info_command_of_full_node = exports.get_initial_freeze_period_of_full_node = exports.get_initial_freeze_period_command_of_full_node = exports.get_additions_and_removals = exports.get_additions_and_removals_command = exports.get_network_space = exports.get_network_space_command = exports.get_unfinished_block_headers = exports.get_unfinished_block_headers_command = exports.get_block_spends = exports.get_block_spends_command = exports.get_block_records = exports.get_block_records_command = exports.get_block_record = exports.get_block_record_command = exports.get_block_record_by_height = exports.get_block_record_by_height_command = exports.get_block_count_metrics = exports.get_block_count_metrics_command = exports.get_blocks = exports.get_blocks_command = exports.get_block = exports.get_block_command = exports.get_blockchain_state = exports.get_blockchain_state_command = exports.chia_full_node_service = void 0;
|
|
13
|
+
exports.get_mempool_item_by_tx_id = void 0;
|
|
13
14
|
exports.chia_full_node_service = "chia_full_node";
|
|
14
15
|
exports.get_blockchain_state_command = "get_blockchain_state";
|
|
15
16
|
function get_blockchain_state(agent) {
|
|
@@ -60,6 +61,13 @@ function get_block_records(agent, data) {
|
|
|
60
61
|
});
|
|
61
62
|
}
|
|
62
63
|
exports.get_block_records = get_block_records;
|
|
64
|
+
exports.get_block_spends_command = "get_block_spends";
|
|
65
|
+
function get_block_spends(agent, data) {
|
|
66
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
67
|
+
return agent.sendMessage(exports.chia_full_node_service, exports.get_block_spends_command, data);
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
exports.get_block_spends = get_block_spends;
|
|
63
71
|
exports.get_unfinished_block_headers_command = "get_unfinished_block_headers";
|
|
64
72
|
function get_unfinished_block_headers(agent) {
|
|
65
73
|
return __awaiter(this, void 0, void 0, function* () {
|
package/api/rpc/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type { TGetRewardTargetResponse, TGetSignagePointResponse, TGetSignagePointsResponse, TSetRewardTargetResponse, TGetHarvestersResponse, TGetHarvestersSummaryResponse, TGetHarvesterPlotsValidResponse, TGetHarvesterPlotsInvalidResponse, TGetHarvesterPlotsKeysMissingResponse, TGetHarvesterPlotsDuplicatesResponse, TSetPayoutInstructionsResponse, TGetPoolStateResponse, TGetPoolLinkResponse } from "./farmer/index";
|
|
2
2
|
export { chia_farmer_service, TGetRewardTargetRequest, TGetRewardTargetResponse, TGetSignagePointRequest, TGetSignagePointResponse, TGetSignagePointsRequest, TGetSignagePointsResponse, TSetRewardTargetRequest, TSetRewardTargetResponse, TGetHarvestersRequest, TGetHarvestersResponse, TGetHarvestersSummaryResponse, TGetHarvesterPlotsValidRequest, TGetHarvesterPlotsValidResponse, TGetHarvesterPlotsInvalidRequest, TGetHarvesterPlotsInvalidResponse, TGetHarvesterPlotsKeysMissingRequest, TGetHarvesterPlotsKeysMissingResponse, TGetHarvesterPlotsDuplicatesRequest, TGetHarvesterPlotsDuplicatesResponse, TSetPayoutInstructionsRequest, TSetPayoutInstructionsResponse, TGetPoolStateRequest, TGetPoolStateResponse, TGetPoolLinkRequest, TGetPoolLinkResponse, get_reward_targets, get_signage_point, get_signage_points, set_reward_targets, get_harvesters, get_harvesters_summary, get_harvester_plots_valid, get_harvester_plots_invalid, get_harvester_plots_keys_missing, get_harvester_plots_duplicates, get_pool_login_link, set_pool_payout_instructions, get_pool_state, } from "./farmer/index";
|
|
3
|
-
import type { TGetAdditionsAndRemovalsResponse, TGetAllMempoolItemsResponse, TGetAllMempoolTxIdsResponse, TGetBlockRecordByHeightResponse, TGetBlockRecordResponse, TGetBlockRecordsResponse, TGetBlockResponse, TGetBlockchainStateResponse, TGetBlocksResponse, TGetBlockCountMetricsResponse, TGetRecentSignagePointOrEOSCommandResponse, TGetCoinRecordByNameResponse, TGetCoinRecordsByNamesResponse, TGetCoinRecordsByPuzzleHashResponse, TGetCoinRecordsByPuzzleHashesResponse, TGetCoinRecordsByParentIdsResponse, TGetCoinRecordsByHintResponse, TGetInitialFreezePeriodResponseOfFullNode, TGetMempoolItemByTxIdResponse, TGetNetworkInfoResponseOfFullNode, TGetNetworkSpaceResponse, TGetUnfinishedBlockHeadersResponse, TPushTxResponse } from "./full_node/index";
|
|
4
|
-
export { chia_full_node_service, TGetAdditionsAndRemovalsRequest, TGetAdditionsAndRemovalsResponse, TGetAllMempoolItemsRequest, TGetAllMempoolItemsResponse, TGetAllMempoolTxIdsRequest, TGetAllMempoolTxIdsResponse, TGetBlockRecordByHeightRequest, TGetBlockRecordByHeightResponse, TGetBlockRecordRequest, TGetBlockRecordResponse, TGetBlockRecordsRequest, TGetBlockRecordsResponse, TGetBlockRequest, TGetBlockResponse, TGetBlockchainStateRequest, TGetBlockchainStateResponse, TGetBlocksRequest, TGetBlocksResponse, TGetBlockCountMetricsResponse, TGetRecentSignagePointOrEOSCommandRequest, TGetRecentSignagePointOrEOSCommandResponse, TGetCoinRecordsByNamesRequest, TGetCoinRecordsByNamesResponse, TGetCoinRecordByNameRequest, TGetCoinRecordByNameResponse, TGetCoinRecordsByPuzzleHashRequest, TGetCoinRecordsByPuzzleHashResponse, TGetCoinRecordsByPuzzleHashesRequest, TGetCoinRecordsByPuzzleHashesResponse, TGetCoinRecordsByParentIdsRequest, TGetCoinRecordsByParentIdsResponse, TGetCoinRecordsByHintRequest, TGetCoinRecordsByHintResponse, TGetInitialFreezePeriodRequestOfFullNode, TGetInitialFreezePeriodResponseOfFullNode, TGetMempoolItemByTxIdRequest, TGetMempoolItemByTxIdResponse, TGetNetworkInfoRequestOfFullNode, TGetNetworkInfoResponseOfFullNode, TGetNetworkSpaceRequest, TGetNetworkSpaceResponse, TGetUnfinishedBlockHeadersRequest, TGetUnfinishedBlockHeadersResponse, TPushTxRequest, TPushTxResponse, get_additions_and_removals, get_all_mempool_items, get_all_mempool_tx_ids, get_block, get_block_record, get_block_record_by_height, get_block_records, get_blockchain_state, get_blocks, get_block_count_metrics, get_recent_signage_point_or_eos, get_coin_record_by_name, get_coin_records_by_names, get_coin_records_by_puzzle_hash, get_coin_records_by_puzzle_hashes, get_coin_records_by_parent_ids, get_coin_records_by_hint, get_initial_freeze_period_of_full_node, get_mempool_item_by_tx_id, get_network_info_of_full_node, get_network_space, get_unfinished_block_headers, push_tx, } from "./full_node/index";
|
|
3
|
+
import type { TGetAdditionsAndRemovalsResponse, TGetAllMempoolItemsResponse, TGetAllMempoolTxIdsResponse, TGetBlockRecordByHeightResponse, TGetBlockRecordResponse, TGetBlockRecordsResponse, TGetBlockSpendsResponse, TGetBlockResponse, TGetBlockchainStateResponse, TGetBlocksResponse, TGetBlockCountMetricsResponse, TGetRecentSignagePointOrEOSCommandResponse, TGetCoinRecordByNameResponse, TGetCoinRecordsByNamesResponse, TGetCoinRecordsByPuzzleHashResponse, TGetCoinRecordsByPuzzleHashesResponse, TGetCoinRecordsByParentIdsResponse, TGetCoinRecordsByHintResponse, TGetInitialFreezePeriodResponseOfFullNode, TGetMempoolItemByTxIdResponse, TGetNetworkInfoResponseOfFullNode, TGetNetworkSpaceResponse, TGetUnfinishedBlockHeadersResponse, TPushTxResponse, TGetPuzzleAndSolutionResponse } from "./full_node/index";
|
|
4
|
+
export { chia_full_node_service, TGetAdditionsAndRemovalsRequest, TGetAdditionsAndRemovalsResponse, TGetAllMempoolItemsRequest, TGetAllMempoolItemsResponse, TGetAllMempoolTxIdsRequest, TGetAllMempoolTxIdsResponse, TGetBlockRecordByHeightRequest, TGetBlockRecordByHeightResponse, TGetBlockRecordRequest, TGetBlockRecordResponse, TGetBlockRecordsRequest, TGetBlockRecordsResponse, TGetBlockSpendsRequest, TGetBlockSpendsResponse, TGetBlockRequest, TGetBlockResponse, TGetBlockchainStateRequest, TGetBlockchainStateResponse, TGetBlocksRequest, TGetBlocksResponse, TGetBlockCountMetricsResponse, TGetRecentSignagePointOrEOSCommandRequest, TGetRecentSignagePointOrEOSCommandResponse, TGetCoinRecordsByNamesRequest, TGetCoinRecordsByNamesResponse, TGetCoinRecordByNameRequest, TGetCoinRecordByNameResponse, TGetCoinRecordsByPuzzleHashRequest, TGetCoinRecordsByPuzzleHashResponse, TGetCoinRecordsByPuzzleHashesRequest, TGetCoinRecordsByPuzzleHashesResponse, TGetCoinRecordsByParentIdsRequest, TGetCoinRecordsByParentIdsResponse, TGetCoinRecordsByHintRequest, TGetCoinRecordsByHintResponse, TGetInitialFreezePeriodRequestOfFullNode, TGetInitialFreezePeriodResponseOfFullNode, TGetMempoolItemByTxIdRequest, TGetMempoolItemByTxIdResponse, TGetNetworkInfoRequestOfFullNode, TGetNetworkInfoResponseOfFullNode, TGetNetworkSpaceRequest, TGetNetworkSpaceResponse, TGetUnfinishedBlockHeadersRequest, TGetUnfinishedBlockHeadersResponse, TPushTxRequest, TPushTxResponse, TGetPuzzleAndSolutionRequest, TGetPuzzleAndSolutionResponse, get_additions_and_removals, get_all_mempool_items, get_all_mempool_tx_ids, get_block, get_block_record, get_block_record_by_height, get_block_records, get_block_spends, get_blockchain_state, get_blocks, get_block_count_metrics, get_recent_signage_point_or_eos, get_coin_record_by_name, get_coin_records_by_names, get_coin_records_by_puzzle_hash, get_coin_records_by_puzzle_hashes, get_coin_records_by_parent_ids, get_coin_records_by_hint, get_initial_freeze_period_of_full_node, get_mempool_item_by_tx_id, get_network_info_of_full_node, get_network_space, get_unfinished_block_headers, push_tx, get_puzzle_and_solution, } from "./full_node/index";
|
|
5
5
|
import type { TAddPlotDirectoryResponse, TDeletePlotResponse, TGetPlotDirectoriesResponse, TGetPlotsResponse, TRefreshPlotsResponse, TRemovePlotDirectoryResponse } from "./harvester/index";
|
|
6
6
|
export { chia_harvester_service, TAddPlotDirectoryRequest, TAddPlotDirectoryResponse, TDeletePlotRequest, TDeletePlotResponse, TGetPlotDirectoriesRequest, TGetPlotDirectoriesResponse, TGetPlotsRequest, TGetPlotsResponse, TRefreshPlotsRequest, TRefreshPlotsResponse, TRemovePlotDirectoryRequest, TRemovePlotDirectoryResponse, add_plot_directory, delete_plot, get_plot_directories, get_plots, refresh_plots, remove_plot_directory, } from "./harvester/index";
|
|
7
|
-
import type { TAddKeyResponse, TAddRateLimitedFundsResponse, TCancelOfferResponse, TCatGetAssetIdResponse, TCatGetNameResponse, TGetStrayCatsResponse, TCatAssetIdToNameResponse, TCatSetNameResponse, TCatSpendResponse, TCheckOfferValidityResponse, TCreateNewWalletResponse, TCreateOfferForIdsResponse, TCreateSignedTransactionResponse, TDeleteUnconfirmedTransactionsResponse, TSelectCoinsResponse, TDeleteAllKeysResponse, TDeleteKeyResponse, TDidCreateAttestResponse, TDidCreateBackupFileResponse, TDidGetDidResponse, TDidGetInformationNeededForRecoveryResponse, TDidGetPubkeyResponse, TDidGetRecoveryListResponse, TDidRecoverySpendResponse, TDidSpendResponse, TDidUpdateRecoveryIdsResponse, TFarmBlockResponse, TGenerateMnemonicResponse, TGetAllOffersResponse, TGetCatListResponse, TGetFarmedAmountResponse, TGetHeightInfoResponse, TGetInitialFreezePeriodResponseOfWallet, TGetLoggedInFingerprintResponse, TGetNetworkInfoResponseOfWallet, TGetNextAddressResponse, TGetOfferResponse, TGetOffersCountResponse, TGetOfferSummaryResponse, TGetPrivateKeyResponse, TGetPublicKeysResponse, TGetSyncStatusResponse, TGetTransactionCountResponse, TGetTransactionResponse, TGetTransactionsResponse, TGetWalletBalanceResponse, TGetWalletsResponse, TLoginResponse, TPushTxResponse as TPushTxResponseOfWallet, TPwAbsorbRewardsResponse, TPwStatusResponse, TRlSetUserInfoResponse, TSendClawbackTransactionResponse, TSendTransactionResponse, TSendTransactionMultiResponse, TTakeOfferResponse, TPwJoinPoolResponse, TPwSelfPoolResponse } from "./wallet/index";
|
|
8
|
-
export { chia_wallet_service, TAddKeyRequest, TAddKeyResponse, TAddRateLimitedFundsRequest, TAddRateLimitedFundsResponse, TAdditions, TCancelOfferRequest, TCancelOfferResponse, TCatGetAssetIdRequest, TCatGetAssetIdResponse, TCatGetNameRequest, TCatGetNameResponse, TGetStrayCatsResponse, TCatAssetIdToNameRequest, TCatAssetIdToNameResponse, TCatSetNameRequest, TCatSetNameResponse, TCatSpendRequest, TCatSpendResponse, TCheckOfferValidityRequest, TCheckOfferValidityResponse, TCreateNewWalletRequest, TCreateNewWalletResponse, TCreateOfferForIdsRequest, TCreateOfferForIdsResponse, TCreateSignedTransactionRequest, TCreateSignedTransactionResponse, TDeleteUnconfirmedTransactionsRequest, TDeleteUnconfirmedTransactionsResponse, TSelectCoinsRequest, TSelectCoinsResponse, TCreate_New_CAT_WalletRequest, TCreate_New_CAT_WalletResponse, TCreate_New_DID_WalletRequest, TCreate_New_DID_WalletResponse, TCreate_New_RL_WalletRequest, TCreate_New_RL_WalletResponse, TDeleteAllKeysRequest, TDeleteAllKeysResponse, TDeleteKeyRequest, TDeleteKeyResponse, TDidCreateAttestRequest, TDidCreateAttestResponse, TDidCreateBackupFileRequest, TDidCreateBackupFileResponse, TDidGetDidRequest, TDidGetDidResponse, TDidGetInformationNeededForRecoveryRequest, TDidGetInformationNeededForRecoveryResponse, TDidGetPubkeyRequest, TDidGetPubkeyResponse, TDidGetRecoveryListRequest, TDidGetRecoveryListResponse, TDidRecoverySpendRequest, TDidRecoverySpendResponse, TDidSpendRequest, TDidSpendResponse, TDidUpdateRecoveryIdsRequest, TDidUpdateRecoveryIdsResponse, TFarmBlockRequest, TFarmBlockResponse, TGenerateMnemonicRequest, TGenerateMnemonicResponse, TGetAllOffersRequest, TGetAllOffersResponse, TGetCatListResponse, TGetFarmedAmountRequest, TGetFarmedAmountResponse, TGetHeightInfoRequest, TGetHeightInfoResponse, TGetInitialFreezePeriodRequestOfWallet, TGetInitialFreezePeriodResponseOfWallet, TGetLoggedInFingerprintResponse, TGetOfferRequest, TGetOfferResponse, TGetOffersCountResponse, TGetOfferSummaryRequest, TGetOfferSummaryResponse, TGetNetworkInfoRequestOfWallet, TGetNetworkInfoResponseOfWallet, TGetNextAddressRequest, TGetNextAddressResponse, TGetPrivateKeyRequest, TGetPrivateKeyResponse, TGetPublicKeysRequest, TGetPublicKeysResponse, TGetSyncStatusRequest, TGetSyncStatusResponse, TGetTransactionCountRequest, TGetTransactionCountResponse, TGetTransactionRequest, TGetTransactionResponse, TGetTransactionsRequest, TGetTransactionsResponse, TGetWalletBalanceRequest, TGetWalletBalanceResponse, TGetWalletsRequest, TGetWalletsResponse, TLoginRequest, TLoginResponse, TPushTxRequest as TPushTxRequestOfWallet, TPushTxResponse as TPushTxResponseOfWallet, TPwJoinPoolRequest, TPwJoinPoolResponse, TPwSelfPoolRequest, TPwSelfPoolResponse, TPwAbsorbRewardsRequest, TPwAbsorbRewardsResponse, TPwStatusRequest, TPwStatusResponse, TRlSetUserInfoRequest, TRlSetUserInfoResponse, TSendClawbackTransactionRequest, TSendClawbackTransactionResponse, TSendTransactionRequest, TSendTransactionResponse, TSendTransactionMultiRequest, TSendTransactionMultiResponse, TTakeOfferRequest, TTakeOfferResponse, add_key, add_rate_limited_funds, cancel_offer, cat_get_asset_id, cat_get_name, get_stray_cats, cat_asset_id_to_name, cat_set_name, cat_spend, check_offer_validity, create_new_wallet, create_offer_for_ids, create_signed_transaction, delete_unconfirmed_transactions, select_coins, delete_all_keys, delete_key, did_create_attest, did_create_backup_file, did_get_did, did_get_information_needed_for_recovery, did_get_pubkey, did_get_recovery_list, did_recovery_spend, did_spend, did_update_recovery_ids, farm_block, generate_mnemonic, get_all_offers, get_cat_list, get_farmed_amount, get_height_info, get_initial_freeze_period_of_wallet, get_logged_in_fingerprint, get_offer, get_offers_count, get_offer_summary, get_network_info_of_wallet, get_next_address, get_private_key, get_public_keys, get_sync_status, get_transaction, get_transaction_count, get_transactions, get_wallet_balance, get_wallets, log_in, push_tx as push_tx_wallet, pw_join_pool, pw_self_pool, pw_absorb_rewards, pw_status, rl_set_user_info, send_clawback_transaction, send_transaction, send_transaction_multi, take_offer, } from "./wallet/index";
|
|
7
|
+
import type { TAddKeyResponse, TAddRateLimitedFundsResponse, TCancelOfferResponse, TCancelOffersResponse, TCatGetAssetIdResponse, TCatGetNameResponse, TGetStrayCatsResponse, TCatAssetIdToNameResponse, TCatSetNameResponse, TCatSpendResponse, TCheckOfferValidityResponse, TCreateNewWalletResponse, TCreateOfferForIdsResponse, TCreateSignedTransactionResponse, TDeleteUnconfirmedTransactionsResponse, TSelectCoinsResponse, TGetCurrentDerivationIndexResponse, TExtendDerivationIndexResponse, TDeleteAllKeysResponse, TDeleteKeyResponse, TDidSetWalletNameResponse, TDidGetWalletNameResponse, TDidCreateAttestResponse, TDidCreateBackupFileResponse, TDidTransferDidResponse, TDidGetDidResponse, TDidGetInformationNeededForRecoveryResponse, TDidGetPubkeyResponse, TDidGetRecoveryListResponse, TDidGetCurrentCoinInfoResponse, TDidGetMetadataResponse, TDidRecoverySpendResponse, TDidSpendResponse, TDidUpdateRecoveryIdsResponse, TDidUpdateMetadataResponse, TNftMintNftResponse, TNftGetNftsResponse, TNftSetNftDidResponse, TNftGetByDidResponse, TNftGetWalletDidResponse, TNftGetWalletsWithDidsResponse, TNftSetNftStatusResponse, TNftTransferNftResponse, TNftGetInfoResponse, TNftAddUriResponse, TFarmBlockResponse, TGenerateMnemonicResponse, TGetAllOffersResponse, TGetCatListResponse, TGetFarmedAmountResponse, TGetHeightInfoResponse, TGetInitialFreezePeriodResponseOfWallet, TGetLoggedInFingerprintResponse, TGetNetworkInfoResponseOfWallet, TGetNextAddressResponse, TGetOfferResponse, TGetOffersCountResponse, TGetOfferSummaryResponse, TGetPrivateKeyResponse, TGetPublicKeysResponse, TGetSyncStatusResponse, TGetTransactionCountResponse, TGetTransactionResponse, TGetTransactionsResponse, TGetWalletBalanceResponse, TGetWalletsResponse, TLoginResponse, TPushTxResponse as TPushTxResponseOfWallet, TPwAbsorbRewardsResponse, TPwStatusResponse, TRlSetUserInfoResponse, TSendClawbackTransactionResponse, TSendTransactionResponse, TSendTransactionMultiResponse, TTakeOfferResponse, TPwJoinPoolResponse, TPwSelfPoolResponse } from "./wallet/index";
|
|
8
|
+
export { chia_wallet_service, TAddKeyRequest, TAddKeyResponse, TAddRateLimitedFundsRequest, TAddRateLimitedFundsResponse, TAdditions, TCancelOfferRequest, TCancelOfferResponse, TCancelOffersRequest, TCancelOffersResponse, TCatGetAssetIdRequest, TCatGetAssetIdResponse, TCatGetNameRequest, TCatGetNameResponse, TGetStrayCatsResponse, TCatAssetIdToNameRequest, TCatAssetIdToNameResponse, TCatSetNameRequest, TCatSetNameResponse, TCatSpendRequest, TCatSpendResponse, TCheckOfferValidityRequest, TCheckOfferValidityResponse, TCreateNewWalletRequest, TCreateNewWalletResponse, TCreateOfferForIdsRequest, TCreateOfferForIdsResponse, TCreateSignedTransactionRequest, TCreateSignedTransactionResponse, TDeleteUnconfirmedTransactionsRequest, TDeleteUnconfirmedTransactionsResponse, TSelectCoinsRequest, TSelectCoinsResponse, TGetCurrentDerivationIndexResponse, TExtendDerivationIndexRequest, TExtendDerivationIndexResponse, TCreate_New_CAT_WalletRequest, TCreate_New_CAT_WalletResponse, TCreate_New_DID_WalletRequest, TCreate_New_DID_WalletResponse, TCreate_New_RL_WalletRequest, TCreate_New_RL_WalletResponse, TDeleteAllKeysRequest, TDeleteAllKeysResponse, TDeleteKeyRequest, TDeleteKeyResponse, TDidSetWalletNameRequest, TDidSetWalletNameResponse, TDidGetWalletNameRequest, TDidGetWalletNameResponse, TDidCreateAttestRequest, TDidCreateAttestResponse, TDidCreateBackupFileRequest, TDidCreateBackupFileResponse, TDidTransferDidRequest, TDidTransferDidResponse, TDidGetDidRequest, TDidGetDidResponse, TDidGetInformationNeededForRecoveryRequest, TDidGetInformationNeededForRecoveryResponse, TDidGetCurrentCoinInfoRequest, TDidGetCurrentCoinInfoResponse, TDidGetPubkeyRequest, TDidGetPubkeyResponse, TDidGetRecoveryListRequest, TDidGetRecoveryListResponse, TDidGetMetadataRequest, TDidGetMetadataResponse, TDidRecoverySpendRequest, TDidRecoverySpendResponse, TDidSpendRequest, TDidSpendResponse, TDidUpdateRecoveryIdsRequest, TDidUpdateRecoveryIdsResponse, TDidUpdateMetadataRequest, TDidUpdateMetadataResponse, TNftMintNftRequest, TNftMintNftResponse, TNftGetNftsRequest, TNftGetNftsResponse, TNftSetNftDidRequest, TNftSetNftDidResponse, TNftGetByDidRequest, TNftGetByDidResponse, TNftGetWalletDidRequest, TNftGetWalletDidResponse, TNftGetWalletsWithDidsResponse, TNftSetNftStatusRequest, TNftSetNftStatusResponse, TNftTransferNftRequest, TNftTransferNftResponse, TNftGetInfoRequest, TNftGetInfoResponse, TNftAddUriRequest, TNftAddUriResponse, TFarmBlockRequest, TFarmBlockResponse, TGenerateMnemonicRequest, TGenerateMnemonicResponse, TGetAllOffersRequest, TGetAllOffersResponse, TGetCatListResponse, TGetFarmedAmountRequest, TGetFarmedAmountResponse, TGetHeightInfoRequest, TGetHeightInfoResponse, TGetInitialFreezePeriodRequestOfWallet, TGetInitialFreezePeriodResponseOfWallet, TGetLoggedInFingerprintResponse, TGetOfferRequest, TGetOfferResponse, TGetOffersCountResponse, TGetOfferSummaryRequest, TGetOfferSummaryResponse, TGetNetworkInfoRequestOfWallet, TGetNetworkInfoResponseOfWallet, TGetNextAddressRequest, TGetNextAddressResponse, TGetPrivateKeyRequest, TGetPrivateKeyResponse, TGetPublicKeysRequest, TGetPublicKeysResponse, TGetSyncStatusRequest, TGetSyncStatusResponse, TGetTransactionCountRequest, TGetTransactionCountResponse, TGetTransactionRequest, TGetTransactionResponse, TGetTransactionsRequest, TGetTransactionsResponse, TGetWalletBalanceRequest, TGetWalletBalanceResponse, TGetWalletsRequest, TGetWalletsResponse, TLoginRequest, TLoginResponse, TPushTxRequest as TPushTxRequestOfWallet, TPushTxResponse as TPushTxResponseOfWallet, TPwJoinPoolRequest, TPwJoinPoolResponse, TPwSelfPoolRequest, TPwSelfPoolResponse, TPwAbsorbRewardsRequest, TPwAbsorbRewardsResponse, TPwStatusRequest, TPwStatusResponse, TRlSetUserInfoRequest, TRlSetUserInfoResponse, TSendClawbackTransactionRequest, TSendClawbackTransactionResponse, TSendTransactionRequest, TSendTransactionResponse, TSendTransactionMultiRequest, TSendTransactionMultiResponse, TTakeOfferRequest, TTakeOfferResponse, add_key, add_rate_limited_funds, cancel_offer, cancel_offers, cat_get_asset_id, cat_get_name, get_stray_cats, cat_asset_id_to_name, cat_set_name, cat_spend, check_offer_validity, create_new_wallet, create_offer_for_ids, create_signed_transaction, delete_unconfirmed_transactions, select_coins, get_current_derivation_index, extend_derivation_index, delete_all_keys, delete_key, did_set_wallet_name, did_get_wallet_name, did_create_attest, did_create_backup_file, did_transfer_did, did_get_did, did_get_information_needed_for_recovery, did_get_current_coin_info, did_get_pubkey, did_get_recovery_list, did_get_metadata, did_recovery_spend, did_spend, did_update_recovery_ids, did_update_metadata, nft_mint_nft, nft_get_nfts, nft_set_nft_did, nft_get_by_did, nft_get_wallet_did, nft_get_wallets_with_dids, nft_set_nft_status, nft_transfer_nft, nft_get_info, nft_add_uri, farm_block, generate_mnemonic, get_all_offers, get_cat_list, get_farmed_amount, get_height_info, get_initial_freeze_period_of_wallet, get_logged_in_fingerprint, get_offer, get_offers_count, get_offer_summary, get_network_info_of_wallet, get_next_address, get_private_key, get_public_keys, get_sync_status, get_transaction, get_transaction_count, get_transactions, get_wallet_balance, get_wallets, log_in, push_tx as push_tx_wallet, pw_join_pool, pw_self_pool, pw_absorb_rewards, pw_status, rl_set_user_info, send_clawback_transaction, send_transaction, send_transaction_multi, take_offer, } from "./wallet/index";
|
|
9
9
|
import type { TGetIpsAfterTimestampResponse, TGetPeerCountsResponse } from "./crawler/index";
|
|
10
10
|
export { chia_crawler_service, TGetIpsAfterTimestampRequest, TGetIpsAfterTimestampResponse, TGetPeerCountsResponse, get_ips_after_timestamp, get_peer_counts, } from "./crawler/index";
|
|
11
|
-
import type { TGetConnectionsResponse, TOpenConnectionResponse, TCloseConnectionResponse, TStopNodeResponse, TGetRoutesResponse } from "./common/index";
|
|
12
|
-
export { chia_common_service, TGetConnectionsRequest, TGetConnectionsResponse, TOpenConnectionRequest, TOpenConnectionResponse, TCloseConnectionRequest, TCloseConnectionResponse, TStopNodeResponse, TGetRoutesResponse, get_connections, open_connection, close_connection, stop_node, get_routes, } from "./common/index";
|
|
11
|
+
import type { TGetConnectionsResponse, TOpenConnectionResponse, TCloseConnectionResponse, TStopNodeResponse, TGetRoutesResponse, THealthzResponse } from "./common/index";
|
|
12
|
+
export { chia_common_service, TGetConnectionsRequest, TGetConnectionsResponse, TOpenConnectionRequest, TOpenConnectionResponse, TCloseConnectionRequest, TCloseConnectionResponse, TStopNodeResponse, TGetRoutesResponse, THealthzResponse, get_connections, open_connection, close_connection, stop_node, get_routes, healthz, } from "./common/index";
|
|
13
13
|
export declare type RpcFarmerMessage = TGetRewardTargetResponse | TGetSignagePointResponse | TGetSignagePointsResponse | TSetRewardTargetResponse | TGetHarvestersResponse | TGetHarvestersSummaryResponse | TGetHarvesterPlotsValidResponse | TGetHarvesterPlotsInvalidResponse | TGetHarvesterPlotsKeysMissingResponse | TGetHarvesterPlotsDuplicatesResponse | TSetPayoutInstructionsResponse | TGetPoolStateResponse | TGetPoolLinkResponse;
|
|
14
|
-
export declare type RpcFullNodeMessage = TGetAdditionsAndRemovalsResponse | TGetAllMempoolItemsResponse | TGetAllMempoolTxIdsResponse | TGetBlockResponse | TGetBlockRecordByHeightResponse | TGetBlockRecordResponse | TGetBlockRecordsResponse | TGetBlockchainStateResponse | TGetBlocksResponse | TGetBlockCountMetricsResponse | TGetRecentSignagePointOrEOSCommandResponse | TGetCoinRecordByNameResponse | TGetCoinRecordsByNamesResponse | TGetCoinRecordsByPuzzleHashResponse | TGetCoinRecordsByPuzzleHashesResponse | TGetCoinRecordsByParentIdsResponse | TGetCoinRecordsByHintResponse | TGetInitialFreezePeriodResponseOfFullNode | TGetMempoolItemByTxIdResponse | TGetNetworkInfoResponseOfFullNode | TGetNetworkSpaceResponse | TGetUnfinishedBlockHeadersResponse | TPushTxResponse;
|
|
14
|
+
export declare type RpcFullNodeMessage = TGetAdditionsAndRemovalsResponse | TGetAllMempoolItemsResponse | TGetAllMempoolTxIdsResponse | TGetBlockResponse | TGetBlockRecordByHeightResponse | TGetBlockRecordResponse | TGetBlockRecordsResponse | TGetBlockSpendsResponse | TGetBlockchainStateResponse | TGetBlocksResponse | TGetBlockCountMetricsResponse | TGetRecentSignagePointOrEOSCommandResponse | TGetCoinRecordByNameResponse | TGetCoinRecordsByNamesResponse | TGetCoinRecordsByPuzzleHashResponse | TGetCoinRecordsByPuzzleHashesResponse | TGetCoinRecordsByParentIdsResponse | TGetCoinRecordsByHintResponse | TGetInitialFreezePeriodResponseOfFullNode | TGetMempoolItemByTxIdResponse | TGetNetworkInfoResponseOfFullNode | TGetNetworkSpaceResponse | TGetUnfinishedBlockHeadersResponse | TPushTxResponse | TGetPuzzleAndSolutionResponse;
|
|
15
15
|
export declare type RpcHarvesterMessage = TAddPlotDirectoryResponse | TDeletePlotResponse | TGetPlotDirectoriesResponse | TGetPlotsResponse | TRefreshPlotsResponse | TRemovePlotDirectoryResponse;
|
|
16
|
-
export declare type RpcWalletMessage = TAddKeyResponse | TAddRateLimitedFundsResponse | TCancelOfferResponse | TCatGetAssetIdResponse | TCatGetNameResponse | TGetStrayCatsResponse | TCatAssetIdToNameResponse | TCatSetNameResponse | TCatSpendResponse | TCheckOfferValidityResponse | TCreateNewWalletResponse | TCreateOfferForIdsResponse | TCreateSignedTransactionResponse | TDeleteUnconfirmedTransactionsResponse | TSelectCoinsResponse | TDeleteAllKeysResponse | TDeleteKeyResponse | TDidCreateAttestResponse | TDidCreateBackupFileResponse | TDidGetDidResponse | TDidGetInformationNeededForRecoveryResponse | TDidGetPubkeyResponse | TDidGetRecoveryListResponse | TDidRecoverySpendResponse | TDidSpendResponse | TDidUpdateRecoveryIdsResponse | TFarmBlockResponse | TGenerateMnemonicResponse | TGetAllOffersResponse | TGetCatListResponse | TGetFarmedAmountResponse | TGetHeightInfoResponse | TGetInitialFreezePeriodResponseOfWallet | TGetLoggedInFingerprintResponse | TGetOfferResponse | TGetOffersCountResponse | TGetOfferSummaryResponse | TGetNetworkInfoResponseOfWallet | TGetNextAddressResponse | TGetPrivateKeyResponse | TGetPublicKeysResponse | TGetSyncStatusResponse | TGetTransactionResponse | TGetTransactionCountResponse | TGetTransactionsResponse | TGetWalletBalanceResponse | TGetWalletsResponse | TLoginResponse | TPushTxResponseOfWallet | TPwJoinPoolResponse | TPwSelfPoolResponse | TPwAbsorbRewardsResponse | TPwStatusResponse | TRlSetUserInfoResponse | TSendClawbackTransactionResponse | TSendTransactionResponse | TSendTransactionMultiResponse | TTakeOfferResponse;
|
|
16
|
+
export declare type RpcWalletMessage = TAddKeyResponse | TAddRateLimitedFundsResponse | TCancelOfferResponse | TCancelOffersResponse | TCatGetAssetIdResponse | TCatGetNameResponse | TGetStrayCatsResponse | TCatAssetIdToNameResponse | TCatSetNameResponse | TCatSpendResponse | TCheckOfferValidityResponse | TCreateNewWalletResponse | TCreateOfferForIdsResponse | TCreateSignedTransactionResponse | TDeleteUnconfirmedTransactionsResponse | TSelectCoinsResponse | TGetCurrentDerivationIndexResponse | TExtendDerivationIndexResponse | TDeleteAllKeysResponse | TDeleteKeyResponse | TDidSetWalletNameResponse | TDidGetWalletNameResponse | TDidCreateAttestResponse | TDidCreateBackupFileResponse | TDidTransferDidResponse | TDidGetDidResponse | TDidGetInformationNeededForRecoveryResponse | TDidGetCurrentCoinInfoResponse | TDidGetPubkeyResponse | TDidGetRecoveryListResponse | TDidGetMetadataResponse | TDidRecoverySpendResponse | TDidSpendResponse | TDidUpdateRecoveryIdsResponse | TDidUpdateMetadataResponse | TNftMintNftResponse | TNftGetNftsResponse | TNftSetNftDidResponse | TNftGetByDidResponse | TNftGetWalletDidResponse | TNftGetWalletsWithDidsResponse | TNftSetNftStatusResponse | TNftTransferNftResponse | TNftGetInfoResponse | TNftAddUriResponse | TFarmBlockResponse | TGenerateMnemonicResponse | TGetAllOffersResponse | TGetCatListResponse | TGetFarmedAmountResponse | TGetHeightInfoResponse | TGetInitialFreezePeriodResponseOfWallet | TGetLoggedInFingerprintResponse | TGetOfferResponse | TGetOffersCountResponse | TGetOfferSummaryResponse | TGetNetworkInfoResponseOfWallet | TGetNextAddressResponse | TGetPrivateKeyResponse | TGetPublicKeysResponse | TGetSyncStatusResponse | TGetTransactionResponse | TGetTransactionCountResponse | TGetTransactionsResponse | TGetWalletBalanceResponse | TGetWalletsResponse | TLoginResponse | TPushTxResponseOfWallet | TPwJoinPoolResponse | TPwSelfPoolResponse | TPwAbsorbRewardsResponse | TPwStatusResponse | TRlSetUserInfoResponse | TSendClawbackTransactionResponse | TSendTransactionResponse | TSendTransactionMultiResponse | TTakeOfferResponse;
|
|
17
17
|
export declare type RpcCrawlerMessage = TGetIpsAfterTimestampResponse | TGetPeerCountsResponse;
|
|
18
|
-
export declare type RpcCommonMessage = TGetConnectionsResponse | TOpenConnectionResponse | TCloseConnectionResponse | TStopNodeResponse | TGetRoutesResponse;
|
|
18
|
+
export declare type RpcCommonMessage = TGetConnectionsResponse | TOpenConnectionResponse | TCloseConnectionResponse | TStopNodeResponse | TGetRoutesResponse | THealthzResponse;
|
|
19
19
|
export declare type RpcMessage = RpcFarmerMessage | RpcFullNodeMessage | RpcHarvesterMessage | RpcWalletMessage | RpcCrawlerMessage | RpcCommonMessage;
|