chia-agent 13.0.1 → 13.2.0-beta.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 +112 -0
- package/README.md +3 -3
- package/api/chia/types/coin_spend_with_conditions.d.ts +6 -0
- package/api/chia/types/coin_spend_with_conditions.js +2 -0
- package/api/chia/types/condition_opcode.d.ts +2 -0
- package/api/chia/types/condition_opcode.js +2 -0
- package/api/chia/types/condition_with_args.d.ts +6 -0
- package/api/chia/types/condition_with_args.js +2 -0
- package/api/chia/wallet/conditions.d.ts +12 -0
- package/api/chia/wallet/conditions.js +2 -0
- package/api/chia/wallet/trade_record.d.ts +6 -1
- package/api/chia/wallet/transaction_record.d.ts +5 -1
- package/api/chia/wallet/util/tx_config.d.ts +24 -0
- package/api/chia/wallet/util/tx_config.js +2 -0
- package/api/chia/wallet/util/wallet_types.d.ts +3 -0
- package/api/chia/wallet/util/wallet_types.js +3 -0
- package/api/rpc/data_layer/index.d.ts +14 -4
- package/api/rpc/data_layer/index.js +9 -2
- package/api/rpc/full_node/index.d.ts +23 -2
- package/api/rpc/full_node/index.js +16 -2
- package/api/rpc/index.d.ts +3 -3
- package/api/rpc/index.js +9 -5
- package/api/rpc/wallet/index.d.ts +55 -72
- package/api/rpc/wallet/index.js +8 -1
- package/api/ws/daemon/index.d.ts +52 -1
- package/api/ws/daemon/index.js +16 -2
- package/api/ws/index.d.ts +1 -1
- package/api/ws/index.js +3 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,115 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [13.2.0]
|
|
4
|
+
### Added
|
|
5
|
+
- [FullNode RPC API](./src/api/rpc/full_node)
|
|
6
|
+
- [`get_block_spends_with_conditions`](./src/api/rpc/full_node/README.md#get_block_spends_with_conditionsagent-params)
|
|
7
|
+
|
|
8
|
+
## [13.1.0]
|
|
9
|
+
### Added
|
|
10
|
+
- [Daemon WebSocket API](./src/api/ws/daemon)
|
|
11
|
+
- [`get_public_key`](./src/api/ws/daemon/README.md#get_public_keydaemon-params)
|
|
12
|
+
- [`get_public_keys`](./src/api/ws/daemon/README.md#get_public_keysdaemon-params)
|
|
13
|
+
- [DataLayer RPC API](./src/api/rpc/data_layer)
|
|
14
|
+
- [`wallet_log_in`](./src/api/rpc/data_layer/README.md#wallet_loginagent-params)
|
|
15
|
+
- [FullNode RPC API](./src/api/rpc/full_node)
|
|
16
|
+
- [`get_mempool_items_by_coin_name`](./src/api/rpc/full_node/README.md#get_mempool_items_by_coin_nameagent-params)
|
|
17
|
+
- [Wallet RPC API](./src/api/rpc/wallet)
|
|
18
|
+
- [`crcat_approve_pending`](./src/api/rpc/wallet/README.md#crcat_approve_pendingagent-params)
|
|
19
|
+
### Changed
|
|
20
|
+
- [Daemon WebSocket API](./src/api/ws/daemon)
|
|
21
|
+
- [`start_plotting`](./src/api/ws/daemon/README.md#start_plottingdaemon-params)
|
|
22
|
+
- Added `disk_128`, `disk_16` to cudaplot request parameter.
|
|
23
|
+
- [DataLayer RPC API](./src/api/rpc/data_layer)
|
|
24
|
+
- [`create_data_store`](./src/api/rpc/data_layer/README.md#create_data_storeagent-params)
|
|
25
|
+
- Added `verbose` to request parameter
|
|
26
|
+
- Now `txs` is set only when `verbose` is `true`.
|
|
27
|
+
- [`unsubscribe`](./src/api/rpc/data_layer/README.md#unsubscribeagent-params)
|
|
28
|
+
- Added `retain` to request parameter
|
|
29
|
+
- [Wallet RPC API](./src/api/rpc/wallet)
|
|
30
|
+
- A collection of common optional request parameters([`TxEndpoint`](./src/api/chia/wallet/util/tx_config.ts)) is added to several wallet RPC API requests.
|
|
31
|
+
- [`create_new_wallet`](./src/api/rpc/wallet/README.md#create_new_walletagent-params)
|
|
32
|
+
- [`send_transaction`](./src/api/rpc/wallet/README.md#send_transactionagent-params)
|
|
33
|
+
- [`spend_clawback_coins`](./src/api/rpc/wallet/README.md#spend_clawback_coinsagent-params)
|
|
34
|
+
- [`select_coins`](./src/api/rpc/wallet/README.md#select_coinsagent-params)
|
|
35
|
+
- [`send_notification`](./src/api/rpc/wallet/README.md#send_notificationagent-params)
|
|
36
|
+
- [`cat_spend`](./src/api/rpc/wallet/README.md#cat_spendagent-params)
|
|
37
|
+
- [`create_offer_for_ids`](./src/api/rpc/wallet/README.md#create_offer_for_idsagent-params)
|
|
38
|
+
- [`take_offer`](./src/api/rpc/wallet/README.md#take_offeragent-params)
|
|
39
|
+
- [`cancel_offer`](./src/api/rpc/wallet/README.md#cancel_offeragent-params)
|
|
40
|
+
- [`cancel_offers`](./src/api/rpc/wallet/README.md#cancel_offersagent-params)
|
|
41
|
+
- [`did_update_recovery_ids`](./src/api/rpc/wallet/README.md#did_update_recovery_idsagent-params)
|
|
42
|
+
- [`did_message_spend`](./src/api/rpc/wallet/README.md#did_message_spendagent-params)
|
|
43
|
+
- [`did_update_metadata`](./src/api/rpc/wallet/README.md#did_update_metadataagent-params)
|
|
44
|
+
- [`did_create_attest`](./src/api/rpc/wallet/README.md#did_create_attestagent-params)
|
|
45
|
+
- [`did_transfer_did`](./src/api/rpc/wallet/README.md#did_transfer_didagent-params)
|
|
46
|
+
- [`nft_mint_nft`](./src/api/rpc/wallet/README.md#nft_mint_nftagent-params)
|
|
47
|
+
- [`nft_set_nft_did`](./src/api/rpc/wallet/README.md#nft_set_nft_didagent-params)
|
|
48
|
+
- [`nft_set_did_bulk`](./src/api/rpc/wallet/README.md#nft_set_did_bulkagent-params)
|
|
49
|
+
- [`nft_transfer_bulk`](./src/api/rpc/wallet/README.md#nft_transfer_bulkagent-params)
|
|
50
|
+
- [`nft_transfer_nft`](./src/api/rpc/wallet/README.md#nft_transfer_nftagent-params)
|
|
51
|
+
- [`nft_add_uri`](./src/api/rpc/wallet/README.md#nft_add_uriagent-params)
|
|
52
|
+
- [`nft_mint_bulk`](./src/api/rpc/wallet/README.md#nft_mint_bulkagent-params)
|
|
53
|
+
- [`create_signed_transaction`](./src/api/rpc/wallet/README.md#create_signed_transactionagent-params)
|
|
54
|
+
- [`pw_join_pool`](./src/api/rpc/wallet/README.md#pw_join_poolagent-params)
|
|
55
|
+
- [`pw_self_pool`](./src/api/rpc/wallet/README.md#pw_self_poolagent-params)
|
|
56
|
+
- [`pw_absorb_rewards`](./src/api/rpc/wallet/README.md#pw_absorb_rewardsagent-params)
|
|
57
|
+
- [`create_new_dl`](./src/api/rpc/wallet/README.md#create_new_dlagent-params)
|
|
58
|
+
- [`dl_update_root`](./src/api/rpc/wallet/README.md#dl_update_rootagent-params)
|
|
59
|
+
- [`dl_update_multiple`](./src/api/rpc/wallet/README.md#dl_update_multipleagent-params)
|
|
60
|
+
- [`dl_new_mirror`](./src/api/rpc/wallet/README.md#dl_new_mirroragent-params)
|
|
61
|
+
- [`dl_delete_mirror`](./src/api/rpc/wallet/README.md#dl_delete_mirroragent-params)
|
|
62
|
+
- [`vc_mint`](./src/api/rpc/wallet/README.md#vc_mintagent-params)
|
|
63
|
+
- [`vc_spend`](./src/api/rpc/wallet/README.md#vc_spendagent-params)
|
|
64
|
+
- [`vc_revoke`](./src/api/rpc/wallet/README.md#vc_revokeagent-params)
|
|
65
|
+
- [`create_new_wallet`](./src/api/rpc/wallet/README.md#create_new_walletagent-params)
|
|
66
|
+
- Added `test` request parameter for CAT wallet
|
|
67
|
+
- [`spend_clawback_coins`](./src/api/rpc/wallet/README.md#spend_clawback_coinsagent-params)
|
|
68
|
+
- Added `force` request parameter
|
|
69
|
+
- [`get_offer_summary`](./src/api/rpc/wallet/README.md#get_offer_summaryagent-params)
|
|
70
|
+
- Added `valid_times` to response
|
|
71
|
+
- `TradeRecord` now has `valid_times`.
|
|
72
|
+
As a result of this addition, the following Wallet RPC APIs are affected.
|
|
73
|
+
- [`create_offer_for_ids`](./src/api/rpc/wallet/README.md#create_offer_for_idsagent-params)
|
|
74
|
+
- [`get_all_offers`](./src/api/rpc/wallet/README.md#get_all_offersagent-params)
|
|
75
|
+
- [`get_offer`](./src/api/rpc/wallet/README.md#get_offeragent-params)
|
|
76
|
+
- [`take_offer`](./src/api/rpc/wallet/README.md#take_offeragent-params)
|
|
77
|
+
- `TransactionRecordConvenience` now has `valid_times`.
|
|
78
|
+
As a result of this addition, the following Wallet RPC APIs are affected
|
|
79
|
+
- [`cat_spend`](./src/api/rpc/wallet/README.md#cat_spendagent-params)
|
|
80
|
+
- [`crcat_approve_pending`](./src/api/rpc/wallet/README.md#crcat_approve_pendingagent-params)
|
|
81
|
+
- [`create_new_dl`](./src/api/rpc/wallet/README.md#create_new_dlagent-params)
|
|
82
|
+
- [`create_signed_transaction`](./src/api/rpc/wallet/README.md#create_signed_transactionagent-params)
|
|
83
|
+
- [`did_transfer_did`](./src/api/rpc/wallet/README.md#did_transfer_didagent-params)
|
|
84
|
+
- [`dl_delete_mirror`](./src/api/rpc/wallet/README.md#dl_delete_mirroragent-params)
|
|
85
|
+
- [`dl_new_mirror`](./src/api/rpc/wallet/README.md#dl_new_mirroragent-params)
|
|
86
|
+
- [`dl_update_multiple`](./src/api/rpc/wallet/README.md#dl_update_multipleagent-params)
|
|
87
|
+
- [`dl_update_root`](./src/api/rpc/wallet/README.md#dl_update_rootagent-params)
|
|
88
|
+
- [`get_transaction`](./src/api/rpc/wallet/README.md#get_transactionagent-params)
|
|
89
|
+
- [`get_transactions`](./src/api/rpc/wallet/README.md#get_transactionsagent-params)
|
|
90
|
+
- [`send_notification`](./src/api/rpc/wallet/README.md#send_notificationagent-params)
|
|
91
|
+
- [`send_transaction_multi`](./src/api/rpc/wallet/README.md#send_transaction_multiagent-params)
|
|
92
|
+
- [`send_transaction`](./src/api/rpc/wallet/README.md#send_transactionagent-params)
|
|
93
|
+
- [`vc_mint`](./src/api/rpc/wallet/README.md#vc_mintagent-params)
|
|
94
|
+
- [`vc_revoke`](./src/api/rpc/wallet/README.md#vc_revokeagent-params)
|
|
95
|
+
- [`vc_spend`](./src/api/rpc/wallet/README.md#vc_spendagent-params)
|
|
96
|
+
- `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).
|
|
97
|
+
As a result of this addition, the following Wallet RPC API is affected.
|
|
98
|
+
- [`get_coin_records`](./src/api/rpc/wallet/README.md#get_coin_recordsagent-params)
|
|
99
|
+
### Fixed
|
|
100
|
+
- [Daemon WebSocket API](./src/api/ws/daemon)
|
|
101
|
+
- Fixed an issue where `kc_user` and `kc_service` were missing from the request parameter of the following daemon Ws APIs.
|
|
102
|
+
- [`get_key`](./src/api/ws/daemon/README.md#get_keydaemon-params)
|
|
103
|
+
- [`get_keys`](./src/api/ws/daemon/README.md#get_keysdaemon-params)
|
|
104
|
+
- [`set_label`](./src/api/ws/daemon/README.md#set_labeldaemon-params)
|
|
105
|
+
- [`delete_label`](./src/api/ws/daemon/README.md#delete_labeldaemon-params)
|
|
106
|
+
- [Wallet RPC API](./src/api/rpc/wallet)
|
|
107
|
+
- [`create_new_wallet`](./src/api/rpc/wallet/README.md#create_new_walletagent-params)
|
|
108
|
+
- Added missing `name` request parameter for CAT wallet
|
|
109
|
+
- [`get_offer_summary`](./src/api/rpc/wallet/README.md#get_offer_summaryagent-params)
|
|
110
|
+
- Fixed wrong response param name: `driver_dict` -> `infos`
|
|
111
|
+
- Fixed an issue where the type of `status` property in `TradeRecordConvenience` was `uint32` (`str` is correct).
|
|
112
|
+
|
|
3
113
|
## [13.0.1]
|
|
4
114
|
### Changed
|
|
5
115
|
- [Daemon WebSocket API](./src/api/ws/daemon)
|
|
@@ -1133,6 +1243,8 @@ daemon.sendMessage(destination, get_block_record_by_height_command, data);
|
|
|
1133
1243
|
Initial release.
|
|
1134
1244
|
|
|
1135
1245
|
<!-- [Unreleased]: https://github.com/Chia-Mine/chia-agent/compare/v0.0.1...v0.0.2 -->
|
|
1246
|
+
[13.2.0]: https://github.com/Chia-Mine/chia-agent/compare/v13.1.0...v13.2.0
|
|
1247
|
+
[13.1.0]: https://github.com/Chia-Mine/chia-agent/compare/v13.0.1...v13.1.0
|
|
1136
1248
|
[13.0.1]: https://github.com/Chia-Mine/chia-agent/compare/v13.0.0...v13.0.1
|
|
1137
1249
|
[13.0.0]: https://github.com/Chia-Mine/chia-agent/compare/v12.1.0...v13.0.0
|
|
1138
1250
|
[12.1.0]: https://github.com/Chia-Mine/chia-agent/compare/v12.0.1...v12.1.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 2.
|
|
5
|
+
Supports all RPC/Websocket API available at `chia 2.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,8 +22,8 @@ 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/
|
|
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
|
+
};
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
+
};
|
|
@@ -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;
|
|
@@ -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
|
|
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.
|
|
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* () {
|
|
@@ -10,6 +10,7 @@ import { TRPCAgent } from "../../../rpc";
|
|
|
10
10
|
import { EndOfSubSlotBundle } from "../../chia/types/end_of_slot_bundle";
|
|
11
11
|
import { SignagePoint } from "../../chia/full_node/signage_point";
|
|
12
12
|
import { CoinSpend } from "../../chia/types/coin_spend";
|
|
13
|
+
import { CoinSpendWithConditions } from "../../chia/types/coin_spend_with_conditions";
|
|
13
14
|
import { CLVMCost } from "../../chia/types/clvm_cost";
|
|
14
15
|
import { GetMessageType, ResType } from "../../types";
|
|
15
16
|
import { TDaemon } from "../../../daemon/index";
|
|
@@ -122,6 +123,16 @@ export declare type TGetBlockSpendsResponse = {
|
|
|
122
123
|
};
|
|
123
124
|
export declare type WsGetBlockSpendsMessage = GetMessageType<chia_full_node_service, get_block_spends_command, TGetBlockSpendsResponse>;
|
|
124
125
|
export declare function get_block_spends<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlockSpendsRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetBlockSpendsResponse, WsGetBlockSpendsMessage>>;
|
|
126
|
+
export declare const get_block_spends_with_conditions_command = "get_block_spends_with_conditions";
|
|
127
|
+
export declare type get_block_spends_with_conditions_command = typeof get_block_spends_with_conditions_command;
|
|
128
|
+
export declare type TGetBlockSpendsWithConditionsRequest = {
|
|
129
|
+
header_hash: str;
|
|
130
|
+
};
|
|
131
|
+
export declare type TGetBlockSpendsWithConditionsResponse = {
|
|
132
|
+
block_spends_with_conditions: CoinSpendWithConditions[];
|
|
133
|
+
};
|
|
134
|
+
export declare type WsGetBlockSpendsWithConditionsMessage = GetMessageType<chia_full_node_service, get_block_spends_with_conditions_command, TGetBlockSpendsWithConditionsResponse>;
|
|
135
|
+
export declare function get_block_spends_with_conditions<T extends TRPCAgent | TDaemon>(agent: T, data: TGetBlockSpendsWithConditionsRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetBlockSpendsWithConditionsResponse, WsGetBlockSpendsWithConditionsMessage>>;
|
|
125
136
|
export declare const get_unfinished_block_headers_command = "get_unfinished_block_headers";
|
|
126
137
|
export declare type get_unfinished_block_headers_command = typeof get_unfinished_block_headers_command;
|
|
127
138
|
export declare type TGetUnfinishedBlockHeadersRequest = {};
|
|
@@ -310,6 +321,16 @@ export declare type TGetMempoolItemByTxIdResponse = {
|
|
|
310
321
|
};
|
|
311
322
|
export declare type WsGetMempoolItemByTxIdMessage = GetMessageType<chia_full_node_service, get_mempool_item_by_tx_id_command, TGetMempoolItemByTxIdResponse>;
|
|
312
323
|
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>>;
|
|
324
|
+
export declare const get_mempool_items_by_coin_name_command = "get_mempool_items_by_coin_name";
|
|
325
|
+
export declare type get_mempool_items_by_coin_name_command = typeof get_mempool_items_by_coin_name_command;
|
|
326
|
+
export declare type TGetMempoolItemsByCoinNameRequest = {
|
|
327
|
+
coin_name: str;
|
|
328
|
+
};
|
|
329
|
+
export declare type TGetMempoolItemsByCoinNameResponse = {
|
|
330
|
+
mempool_items: MempoolItemInJsonDict[];
|
|
331
|
+
};
|
|
332
|
+
export declare type WsGetMempoolItemsByCoinNameMessage = GetMessageType<chia_full_node_service, get_mempool_items_by_coin_name_command, TGetMempoolItemsByCoinNameResponse>;
|
|
333
|
+
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
334
|
export declare const get_fee_estimate_command = "get_fee_estimate";
|
|
314
335
|
export declare type get_fee_estimate_command = typeof get_fee_estimate_command;
|
|
315
336
|
export declare type TGetFeeEstimateRequest = {
|
|
@@ -431,5 +452,5 @@ export declare type TReorgBlocksResponse = {
|
|
|
431
452
|
};
|
|
432
453
|
export declare type WsReorgBlocksMessage = GetMessageType<chia_full_node_service, reorg_blocks_command, TReorgBlocksResponse>;
|
|
433
454
|
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;
|
|
455
|
+
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;
|
|
456
|
+
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;
|
|
@@ -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.
|
|
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;
|
|
12
|
+
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_with_conditions = exports.get_block_spends_with_conditions_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_items_by_coin_name = exports.get_mempool_items_by_coin_name_command = exports.get_mempool_item_by_tx_id = exports.get_mempool_item_by_tx_id_command = exports.get_all_mempool_items = 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) {
|
|
@@ -68,6 +68,13 @@ function get_block_spends(agent, data) {
|
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
exports.get_block_spends = get_block_spends;
|
|
71
|
+
exports.get_block_spends_with_conditions_command = "get_block_spends_with_conditions";
|
|
72
|
+
function get_block_spends_with_conditions(agent, data) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
return agent.sendMessage(exports.chia_full_node_service, exports.get_block_spends_with_conditions_command, data);
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
exports.get_block_spends_with_conditions = get_block_spends_with_conditions;
|
|
71
78
|
exports.get_unfinished_block_headers_command = "get_unfinished_block_headers";
|
|
72
79
|
function get_unfinished_block_headers(agent) {
|
|
73
80
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -187,6 +194,13 @@ function get_mempool_item_by_tx_id(agent, data) {
|
|
|
187
194
|
});
|
|
188
195
|
}
|
|
189
196
|
exports.get_mempool_item_by_tx_id = get_mempool_item_by_tx_id;
|
|
197
|
+
exports.get_mempool_items_by_coin_name_command = "get_mempool_items_by_coin_name";
|
|
198
|
+
function get_mempool_items_by_coin_name(agent, data) {
|
|
199
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
200
|
+
return agent.sendMessage(exports.chia_full_node_service, exports.get_mempool_items_by_coin_name_command, data);
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
exports.get_mempool_items_by_coin_name = get_mempool_items_by_coin_name;
|
|
190
204
|
exports.get_fee_estimate_command = "get_fee_estimate";
|
|
191
205
|
function get_fee_estimate(agent, data) {
|
|
192
206
|
return __awaiter(this, void 0, void 0, function* () {
|
package/api/rpc/index.d.ts
CHANGED
|
@@ -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, TGetBlockSpendsWithConditionsRequest, TGetBlockSpendsWithConditionsResponse, get_block_spends_with_conditions, 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";
|