chia-agent 13.2.0-beta.3 → 14.0.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 CHANGED
@@ -1,15 +1,52 @@
1
1
  # Changelog
2
2
 
3
+ ## [14.0.0]
4
+ ### Breaking change
5
+ - When RPC API responds with `success: false`, its `Promise` now does `reject`. (Previously it does `resolve`)
6
+
3
7
  ## [13.2.0]
4
8
  ### Added
5
9
  - [FullNode RPC API](./src/api/rpc/full_node)
6
10
  - [`get_block_spends_with_conditions`](./src/api/rpc/full_node/README.md#get_block_spends_with_conditionsagent-params)
11
+ - [Wallet RPC API](./src/api/rpc/wallet)
12
+ - [`dao_adjust_filter_level`](./src/api/rpc/wallet/README.md#dao_adjust_filter_levelagent-params)
13
+ - [`dao_add_funds_to_treasury`](./src/api/rpc/wallet/README.md#dao_add_funds_to_treasuryagent-params)
14
+ - [`dao_get_treasury_balance`](./src/api/rpc/wallet/README.md#dao_get_treasury_balanceagent-params)
15
+ - [`dao_get_treasury_id`](./src/api/rpc/wallet/README.md#dao_get_treasury_idagent-params)
16
+ - [`dao_get_rules`](./src/api/rpc/wallet/README.md#dao_get_rulesagent-params)
17
+ - [`dao_send_to_lockup`](./src/api/rpc/wallet/README.md#dao_send_to_lockupagent-params)
18
+ - [`dao_get_proposals`](./src/api/rpc/wallet/README.md#dao_get_proposalsagent-params)
19
+ - [`dao_get_proposal_state`](./src/api/rpc/wallet/README.md#dao_get_proposal_stateagent-params)
20
+ - [`dao_exit_lockup`](./src/api/rpc/wallet/README.md#dao_exit_lockupagent-params)
21
+ - [`dao_create_proposal`](./src/api/rpc/wallet/README.md#dao_create_proposalagent-params)
22
+ - [`dao_vote_on_proposal`](./src/api/rpc/wallet/README.md#dao_vote_on_proposalagent-params)
23
+ - [`dao_parse_proposal`](./src/api/rpc/wallet/README.md#dao_parse_proposalagent-params)
24
+ - [`dao_close_proposal`](./src/api/rpc/wallet/README.md#dao_close_proposalagent-params)
25
+ - [`dao_free_coins_from_finished_proposals`](./src/api/rpc/wallet/README.md#dao_free_coins_from_finished_proposalsagent-params)
26
+ - [SigningMode](./src/api/chia/types/full_block.ts)
27
+ - Added `CHIP_0002_HEX_INPUT` as `SigningMode`
28
+ - [WalletType](./src/api/chia/wallet/util/wallet_types.ts)
29
+ - Added `DAO` and `DAO_CAT` to `WalletType`
7
30
  ### Changed
8
31
  - [RPC Agent](./src/rpc)
9
32
  - Allow to specify `host` / `port` on instantiating `RPCAgent` when `protocol` is not specified.
10
33
  ```typescript
11
34
  const agent = new RPCAgent({host: 'example.com', port: 8444, service: 'full_node', configPath: '...'});
12
35
  ```
36
+ - [Farmer RPC API](./src/api/rpc/farmer)
37
+ - [`get_pool_state`](./src/api/rpc/farmer/README.md#get_pool_stateagent)
38
+ - Added new properties
39
+ - `insufficient_partials_since_start`
40
+ - `insufficient_partials_24h`
41
+ - [Wallet RPC API](./src/api/rpc/wallet)
42
+ - [`select_coins`](./src/api/rpc/wallet/README.md#select_coinsagent-params)
43
+ - The types of both `excluded_coins` and `exclude_coins` were changed to `Coin[]` from `str[]`.
44
+ - Please note that both of the above properties are just kept for compatibility so don't use them unless you have
45
+ strong reasons. Use `excluded_coin_ids: str[]` instead.
46
+ - [`sign_message_by_address`](./src/api/rpc/wallet/README.md#sign_message_by_addressagent-params)
47
+ - Added `safe_mode` to request parameter
48
+ - [`sign_message_by_id`](./src/api/rpc/wallet/README.md#sign_message_by_idagent-params)
49
+ - Added `safe_mode` to request parameter
13
50
  ### Fixed
14
51
  - Typo in SpendBundle: `cons_spends` renamed to `coin_spends`
15
52
  - Fixed an issue where sometimes error logs were not reported due to circular dependencies.
@@ -1252,6 +1289,8 @@ daemon.sendMessage(destination, get_block_record_by_height_command, data);
1252
1289
  Initial release.
1253
1290
 
1254
1291
  <!-- [Unreleased]: https://github.com/Chia-Mine/chia-agent/compare/v0.0.1...v0.0.2 -->
1292
+
1293
+ [14.0.0]: https://github.com/Chia-Mine/chia-agent/compare/v13.2.0...v14.0.0
1255
1294
  [13.2.0]: https://github.com/Chia-Mine/chia-agent/compare/v13.1.0...v13.2.0
1256
1295
  [13.1.0]: https://github.com/Chia-Mine/chia-agent/compare/v13.0.1...v13.1.0
1257
1296
  [13.0.1]: https://github.com/Chia-Mine/chia-agent/compare/v13.0.0...v13.0.1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
  [![npm version](https://badge.fury.io/js/chia-agent.svg)](https://badge.fury.io/js/chia-agent) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
3
3
 
4
4
  chia rpc/websocket client library for NodeJS.
5
- Supports all RPC/Websocket API available at `chia 2.1.?`.
5
+ Supports all RPC/Websocket API available at `chia 2.1.2/2.1.3/2.1.4`.
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
- - [`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)
25
+ - [`b5fe5020ec75b29e91a399b6648ff0a1a683ca04`](https://github.com/Chia-Network/chia-blockchain/tree/b5fe5020ec75b29e91a399b6648ff0a1a683ca04) of [chia-blockchain 2.1.4](https://github.com/Chia-Network/chia-blockchain)
26
+ - [Diff to the main branch of chia-blockchain](https://github.com/Chia-Network/chia-blockchain/compare/b5fe5020ec75b29e91a399b6648ff0a1a683ca04...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
 
@@ -10,6 +10,8 @@ export declare type PoolState = {
10
10
  valid_partials_24h: Array<[uint32, uint64]>;
11
11
  invalid_partials_since_start: int;
12
12
  invalid_partials_24h: Array<[uint32, uint64]>;
13
+ insufficient_partials_since_start: int;
14
+ insufficient_partials_24h: Array<[uint32, uint64]>;
13
15
  stale_partials_since_start: int;
14
16
  stale_partials_24h: Array<[uint32, uint64]>;
15
17
  missing_partials_since_start: int;
@@ -1,7 +1,12 @@
1
1
  import { Coin } from "./blockchain_format/coin";
2
2
  import { SerializedProgram } from "./blockchain_format/serialized_program";
3
+ import { ConditionWithArgs } from "./condition_with_args";
3
4
  export declare type CoinSpend = {
4
5
  coin: Coin;
5
6
  puzzle_reveal: SerializedProgram;
6
7
  solution: SerializedProgram;
7
8
  };
9
+ export declare type CoinSpendWithConditions = {
10
+ coin_spend: CoinSpend;
11
+ conditions: ConditionWithArgs[];
12
+ };
@@ -1,4 +1,5 @@
1
1
  export declare type CHIP_0002 = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:CHIP-0002_";
2
+ export declare type CHIP_0002_HEX_INPUT = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:CHIP-0002_HEX";
2
3
  export declare type BLS_MESSAGE_AUGMENTATION_UTF8_INPUT = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:utf8input_";
3
4
  export declare type BLS_MESSAGE_AUGMENTATION_HEX_INPUT = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:hexinput_";
4
- export declare type SigningMode = CHIP_0002 | BLS_MESSAGE_AUGMENTATION_UTF8_INPUT | BLS_MESSAGE_AUGMENTATION_HEX_INPUT;
5
+ export declare type SigningMode = CHIP_0002 | CHIP_0002_HEX_INPUT | BLS_MESSAGE_AUGMENTATION_UTF8_INPUT | BLS_MESSAGE_AUGMENTATION_HEX_INPUT;
@@ -0,0 +1,39 @@
1
+ import { bool, Optional, uint32, uint64 } from "../../types/_python_types_";
2
+ import { bytes32 } from "../../types/blockchain_format/sized_bytes";
3
+ import { Program } from "../../types/blockchain_format/program";
4
+ import { Coin } from "../../types/blockchain_format/coin";
5
+ import { LineageProof } from "../lineage_proof";
6
+ export declare type ProposalInfo = {
7
+ proposal_id: bytes32;
8
+ inner_puzzle: Program;
9
+ amount_voted: uint64;
10
+ yes_votes: uint64;
11
+ current_coin: Coin;
12
+ current_innerpuz: Optional<Program>;
13
+ timer_coin: Optional<Coin>;
14
+ singleton_block_height: uint32;
15
+ passed: Optional<bool>;
16
+ closed: Optional<bool>;
17
+ };
18
+ export declare type DAOInfo = {
19
+ treasury_id: bytes32;
20
+ cat_wallet_id: uint32;
21
+ dao_cat_wallet_id: uint32;
22
+ proposals_list: ProposalInfo[];
23
+ parent_info: Array<[bytes32, Optional<LineageProof>]>;
24
+ current_treasury_coin: Optional<Coin>;
25
+ current_treasury_innerpuz: Optional<Program>;
26
+ singleton_block_height: uint32;
27
+ filter_below_vote_amount: uint64;
28
+ assets: Array<Optional<bytes32>>;
29
+ current_height: uint64;
30
+ };
31
+ export declare type DAORules = {
32
+ proposal_timelock: uint64;
33
+ soft_close_length: uint64;
34
+ attendance_required: uint64;
35
+ pass_percentage: uint64;
36
+ self_destruct_length: uint64;
37
+ oracle_spend_delay: uint64;
38
+ proposal_minimum_amount: uint64;
39
+ };
@@ -0,0 +1,31 @@
1
+ import { bool, bytes, int, None } from "../../types/_python_types_";
2
+ import { Program } from "../../types/blockchain_format/program";
3
+ export declare type ProposalState = {
4
+ total_votes_needed: int;
5
+ yes_votes_needed: int;
6
+ blocks_needed: int;
7
+ passed: bool;
8
+ closable: bool;
9
+ closed: bool | None;
10
+ };
11
+ export declare type ParsedProposalSpend = {
12
+ state: ProposalState;
13
+ proposal_type: "s";
14
+ proposed_puzzle_reveal: Program;
15
+ xch_conditions: Array<{
16
+ puzzle_hash: bytes;
17
+ amount: int;
18
+ }>;
19
+ asset_conditions: Array<{
20
+ asset_id: bytes;
21
+ condition: Array<{
22
+ puzzle_hash: bytes;
23
+ amount: int;
24
+ }>;
25
+ }>;
26
+ };
27
+ export declare type ParsedProposalUpdate = {
28
+ state: ProposalState;
29
+ proposal_type: "u";
30
+ dao_rules: unknown;
31
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -13,6 +13,8 @@ export declare const WalletType: {
13
13
  readonly DATA_LAYER: 11;
14
14
  readonly DATA_LAYER_OFFER: 12;
15
15
  readonly VC: 13;
16
+ readonly DAO: 14;
17
+ readonly DAO_CAT: 15;
16
18
  readonly CRCAT: 57;
17
19
  };
18
20
  export declare const CoinType: {
@@ -17,6 +17,8 @@ exports.WalletType = {
17
17
  DATA_LAYER: 11,
18
18
  DATA_LAYER_OFFER: 12,
19
19
  VC: 13,
20
+ DAO: 14,
21
+ DAO_CAT: 15,
20
22
  CRCAT: 57,
21
23
  };
22
24
  exports.CoinType = {
@@ -14,7 +14,7 @@ export declare type TGetConnectionsResponse = {
14
14
  connections: TConnectionGeneral[] | TConnectionFullNode[];
15
15
  };
16
16
  export declare type WsGetConnectionsMessage = GetMessageType<chia_common_service, get_connections_command, TGetConnectionsResponse>;
17
- export declare function get_connections<T extends TRPCAgent | TDaemon>(agent: T, params: TGetConnectionsRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetConnectionsResponse, WsGetConnectionsMessage>>;
17
+ export declare function get_connections<T extends TRPCAgent | TDaemon>(agent: T, params: TGetConnectionsRequest): Promise<ResType<T, TGetConnectionsResponse, WsGetConnectionsMessage>>;
18
18
  export declare const open_connection_command = "open_connection";
19
19
  export declare type open_connection_command = typeof open_connection_command;
20
20
  export declare type TOpenConnectionRequest = {
@@ -28,7 +28,7 @@ export declare type TOpenConnectionResponse = {
28
28
  success: True;
29
29
  };
30
30
  export declare type WsOpenConnectionMessage = GetMessageType<chia_common_service, open_connection_command, TOpenConnectionResponse>;
31
- export declare function open_connection<T extends TRPCAgent | TDaemon>(agent: T, params: TOpenConnectionRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TOpenConnectionResponse, WsOpenConnectionMessage>>;
31
+ export declare function open_connection<T extends TRPCAgent | TDaemon>(agent: T, params: TOpenConnectionRequest): Promise<ResType<T, TOpenConnectionResponse, WsOpenConnectionMessage>>;
32
32
  export declare const close_connection_command = "close_connection";
33
33
  export declare type close_connection_command = typeof close_connection_command;
34
34
  export declare type TCloseConnectionRequest = {
@@ -36,12 +36,12 @@ export declare type TCloseConnectionRequest = {
36
36
  };
37
37
  export declare type TCloseConnectionResponse = {};
38
38
  export declare type WsCloseConnectionMessage = GetMessageType<chia_common_service, close_connection_command, TCloseConnectionResponse>;
39
- export declare function close_connection<T extends TRPCAgent | TDaemon>(agent: T, params: TCloseConnectionRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TCloseConnectionResponse, WsCloseConnectionMessage>>;
39
+ export declare function close_connection<T extends TRPCAgent | TDaemon>(agent: T, params: TCloseConnectionRequest): Promise<ResType<T, TCloseConnectionResponse, WsCloseConnectionMessage>>;
40
40
  export declare const stop_node_command = "stop_node";
41
41
  export declare type stop_node_command = typeof stop_node_command;
42
42
  export declare type TStopNodeResponse = {};
43
43
  export declare type WsStopNodeMessage = GetMessageType<chia_common_service, stop_node_command, TStopNodeResponse>;
44
- export declare function stop_node<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TStopNodeResponse, WsStopNodeMessage>>;
44
+ export declare function stop_node<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TStopNodeResponse, WsStopNodeMessage>>;
45
45
  export declare const get_routes_command = "get_routes";
46
46
  export declare type get_routes_command = typeof get_routes_command;
47
47
  export declare type TGetRoutesResponse = {
@@ -49,13 +49,13 @@ export declare type TGetRoutesResponse = {
49
49
  routes: str[];
50
50
  };
51
51
  export declare type WsGetRoutesMessage = GetMessageType<chia_common_service, get_routes_command, TGetRoutesResponse>;
52
- export declare function get_routes<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetRoutesResponse, WsGetRoutesMessage>>;
52
+ export declare function get_routes<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetRoutesResponse, WsGetRoutesMessage>>;
53
53
  export declare const healthz_command = "healthz";
54
54
  export declare type healthz_command = typeof healthz_command;
55
55
  export declare type THealthzResponse = {
56
56
  success: True;
57
57
  };
58
58
  export declare type WsHealthzMessage = GetMessageType<chia_common_service, healthz_command, THealthzResponse>;
59
- export declare function healthz<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, THealthzResponse, WsHealthzMessage>>;
59
+ export declare function healthz<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, THealthzResponse, WsHealthzMessage>>;
60
60
  export declare type RpcCommonMessage = TGetConnectionsResponse | TOpenConnectionResponse | TCloseConnectionResponse | TStopNodeResponse | TGetRoutesResponse | THealthzResponse;
61
61
  export declare type RpcCommonMessageOnWs = WsGetConnectionsMessage | WsOpenConnectionMessage | WsCloseConnectionMessage | WsStopNodeMessage | WsGetRoutesMessage | WsHealthzMessage;
@@ -17,7 +17,7 @@ export declare type TGetPeerCountsResponse = {
17
17
  };
18
18
  };
19
19
  export declare type WsGetPeerCountsMessage = GetMessageType<chia_crawler_service, get_peer_counts_command, TGetPeerCountsResponse>;
20
- export declare function get_peer_counts<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetPeerCountsResponse, WsGetPeerCountsMessage>>;
20
+ export declare function get_peer_counts<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetPeerCountsResponse, WsGetPeerCountsMessage>>;
21
21
  export declare const get_ips_after_timestamp_command = "get_ips_after_timestamp";
22
22
  export declare type get_ips_after_timestamp_command = typeof get_ips_after_timestamp_command;
23
23
  export declare type TGetIpsAfterTimestampRequest = {
@@ -30,6 +30,6 @@ export declare type TGetIpsAfterTimestampResponse = {
30
30
  total: int;
31
31
  };
32
32
  export declare type WsGetIpsAfterTimestampMessage = GetMessageType<chia_crawler_service, get_ips_after_timestamp_command, TGetIpsAfterTimestampResponse>;
33
- export declare function get_ips_after_timestamp<T extends TRPCAgent | TDaemon>(agent: T, params: TGetIpsAfterTimestampRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetIpsAfterTimestampResponse, WsGetIpsAfterTimestampMessage>>;
33
+ export declare function get_ips_after_timestamp<T extends TRPCAgent | TDaemon>(agent: T, params: TGetIpsAfterTimestampRequest): Promise<ResType<T, TGetIpsAfterTimestampResponse, WsGetIpsAfterTimestampMessage>>;
34
34
  export declare type RpcCrawlerMessage = TGetIpsAfterTimestampResponse | TGetPeerCountsResponse;
35
35
  export declare type RpcCrawlerMessageOnWs = WsGetIpsAfterTimestampMessage | WsGetPeerCountsMessage;
@@ -14,7 +14,7 @@ export declare type TWalletLogInRequest = {
14
14
  };
15
15
  export declare type TWalletLogInResponse = {};
16
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>>;
17
+ export declare function wallet_log_in<T extends TRPCAgent | TDaemon>(agent: T, params: TWalletLogInRequest): Promise<ResType<T, TWalletLogInResponse, WsWalletLogInMessage>>;
18
18
  export declare const create_data_store_command = "create_data_store";
19
19
  export declare type create_data_store_command = typeof create_data_store_command;
20
20
  export declare type TCreateDataStoreRequest = {
@@ -26,14 +26,14 @@ export declare type TCreateDataStoreResponse = {
26
26
  id: str;
27
27
  };
28
28
  export declare type WsCreateDataStoreMessage = GetMessageType<chia_data_layer_service, create_data_store_command, TCreateDataStoreResponse>;
29
- export declare function create_data_store<T extends TRPCAgent | TDaemon>(agent: T, params: TCreateDataStoreRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TCreateDataStoreResponse, WsCreateDataStoreMessage>>;
29
+ export declare function create_data_store<T extends TRPCAgent | TDaemon>(agent: T, params: TCreateDataStoreRequest): Promise<ResType<T, TCreateDataStoreResponse, WsCreateDataStoreMessage>>;
30
30
  export declare const get_owned_stores_command = "get_owned_stores";
31
31
  export declare type get_owned_stores_command = typeof get_owned_stores_command;
32
32
  export declare type TGetOwnedStoresResponse = {
33
33
  store_ids: str[];
34
34
  };
35
35
  export declare type WsGetOwnedStoresMessage = GetMessageType<chia_data_layer_service, get_owned_stores_command, TGetOwnedStoresResponse>;
36
- export declare function get_owned_stores<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetOwnedStoresResponse, WsGetOwnedStoresMessage>>;
36
+ export declare function get_owned_stores<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetOwnedStoresResponse, WsGetOwnedStoresMessage>>;
37
37
  export declare const batch_update_command = "batch_update";
38
38
  export declare type batch_update_command = typeof batch_update_command;
39
39
  export declare type TBatchUpdateRequest = {
@@ -50,7 +50,7 @@ export declare type TBatchUpdateResponse = {
50
50
  tx_id: bytes32;
51
51
  };
52
52
  export declare type WsBatchUpdateMessage = GetMessageType<chia_data_layer_service, batch_update_command, TBatchUpdateResponse>;
53
- export declare function batch_update<T extends TRPCAgent | TDaemon>(agent: T, params: TBatchUpdateRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TBatchUpdateResponse, WsBatchUpdateMessage>>;
53
+ export declare function batch_update<T extends TRPCAgent | TDaemon>(agent: T, params: TBatchUpdateRequest): Promise<ResType<T, TBatchUpdateResponse, WsBatchUpdateMessage>>;
54
54
  export declare const get_value_command = "get_value";
55
55
  export declare type get_value_command = typeof get_value_command;
56
56
  export declare type TGetValueRequest = {
@@ -62,7 +62,7 @@ export declare type TGetValueResponse = {
62
62
  value: str | None;
63
63
  };
64
64
  export declare type WsGetValueMessage = GetMessageType<chia_data_layer_service, get_value_command, TGetValueResponse>;
65
- export declare function get_value<T extends TRPCAgent | TDaemon>(agent: T, params: TGetValueRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetValueResponse, WsGetValueMessage>>;
65
+ export declare function get_value<T extends TRPCAgent | TDaemon>(agent: T, params: TGetValueRequest): Promise<ResType<T, TGetValueResponse, WsGetValueMessage>>;
66
66
  export declare const get_keys_command = "get_keys";
67
67
  export declare type get_keys_command = typeof get_keys_command;
68
68
  export declare type TGetKeysRequest = {
@@ -73,7 +73,7 @@ export declare type TGetKeysResponse = {
73
73
  keys: str[];
74
74
  };
75
75
  export declare type WsGetKeysMessage = GetMessageType<chia_data_layer_service, get_keys_command, TGetKeysResponse>;
76
- export declare function get_keys<T extends TRPCAgent | TDaemon>(agent: T, params: TGetKeysRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetKeysResponse, WsGetKeysMessage>>;
76
+ export declare function get_keys<T extends TRPCAgent | TDaemon>(agent: T, params: TGetKeysRequest): Promise<ResType<T, TGetKeysResponse, WsGetKeysMessage>>;
77
77
  export declare const get_keys_values_command = "get_keys_values";
78
78
  export declare type get_keys_values_command = typeof get_keys_values_command;
79
79
  export declare type TGetKeysValuesRequest = {
@@ -88,7 +88,7 @@ export declare type TGetKeysValuesResponse = {
88
88
  }>;
89
89
  };
90
90
  export declare type WsGetKeysValuesMessage = GetMessageType<chia_data_layer_service, get_keys_values_command, TGetKeysValuesResponse>;
91
- export declare function get_keys_values<T extends TRPCAgent | TDaemon>(agent: T, params: TGetKeysValuesRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetKeysValuesResponse, WsGetKeysValuesMessage>>;
91
+ export declare function get_keys_values<T extends TRPCAgent | TDaemon>(agent: T, params: TGetKeysValuesRequest): Promise<ResType<T, TGetKeysValuesResponse, WsGetKeysValuesMessage>>;
92
92
  export declare const get_ancestors_command = "get_ancestors";
93
93
  export declare type get_ancestors_command = typeof get_ancestors_command;
94
94
  export declare type TGetAncestorsRequest = {
@@ -103,7 +103,7 @@ export declare type TGetAncestorsResponse = {
103
103
  }>;
104
104
  };
105
105
  export declare type WsGetAncestorsMessage = GetMessageType<chia_data_layer_service, get_ancestors_command, TGetAncestorsResponse>;
106
- export declare function get_ancestors<T extends TRPCAgent | TDaemon>(agent: T, params: TGetAncestorsRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetAncestorsResponse, WsGetAncestorsMessage>>;
106
+ export declare function get_ancestors<T extends TRPCAgent | TDaemon>(agent: T, params: TGetAncestorsRequest): Promise<ResType<T, TGetAncestorsResponse, WsGetAncestorsMessage>>;
107
107
  export declare const get_root_command = "get_root";
108
108
  export declare type get_root_command = typeof get_root_command;
109
109
  export declare type TGetRootRequest = {
@@ -115,7 +115,7 @@ export declare type TGetRootResponse = {
115
115
  timestamp: uint64;
116
116
  };
117
117
  export declare type WsGetRootMessage = GetMessageType<chia_data_layer_service, get_root_command, TGetRootResponse>;
118
- export declare function get_root<T extends TRPCAgent | TDaemon>(agent: T, params: TGetRootRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetRootResponse, WsGetRootMessage>>;
118
+ export declare function get_root<T extends TRPCAgent | TDaemon>(agent: T, params: TGetRootRequest): Promise<ResType<T, TGetRootResponse, WsGetRootMessage>>;
119
119
  export declare const get_local_root_command = "get_local_root";
120
120
  export declare type get_local_root_command = typeof get_local_root_command;
121
121
  export declare type TGetLocalRootRequest = {
@@ -125,7 +125,7 @@ export declare type TGetLocalRootResponse = {
125
125
  hash: bytes32 | None;
126
126
  };
127
127
  export declare type WsGetLocalRootMessage = GetMessageType<chia_data_layer_service, get_local_root_command, TGetLocalRootResponse>;
128
- export declare function get_local_root<T extends TRPCAgent | TDaemon>(agent: T, params: TGetLocalRootRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetLocalRootResponse, WsGetLocalRootMessage>>;
128
+ export declare function get_local_root<T extends TRPCAgent | TDaemon>(agent: T, params: TGetLocalRootRequest): Promise<ResType<T, TGetLocalRootResponse, WsGetLocalRootMessage>>;
129
129
  export declare const get_roots_command = "get_roots";
130
130
  export declare type get_roots_command = typeof get_roots_command;
131
131
  export declare type TGetRootsRequest = {
@@ -140,7 +140,7 @@ export declare type TGetRootsResponse = {
140
140
  }>;
141
141
  };
142
142
  export declare type WsGetRootsMessage = GetMessageType<chia_data_layer_service, get_roots_command, TGetRootsResponse>;
143
- export declare function get_roots<T extends TRPCAgent | TDaemon>(agent: T, params: TGetRootsRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetRootsResponse, WsGetRootsMessage>>;
143
+ export declare function get_roots<T extends TRPCAgent | TDaemon>(agent: T, params: TGetRootsRequest): Promise<ResType<T, TGetRootsResponse, WsGetRootsMessage>>;
144
144
  export declare const delete_key_command = "delete_key";
145
145
  export declare type delete_key_command = typeof delete_key_command;
146
146
  export declare type TDeleteKeyRequest = {
@@ -152,7 +152,7 @@ export declare type TDeleteKeyResponse = {
152
152
  tx_id: bytes32;
153
153
  };
154
154
  export declare type WsDeleteKeyMessage = GetMessageType<chia_data_layer_service, delete_key_command, TDeleteKeyResponse>;
155
- export declare function delete_key<T extends TRPCAgent | TDaemon>(agent: T, params: TDeleteKeyRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TDeleteKeyResponse, WsDeleteKeyMessage>>;
155
+ export declare function delete_key<T extends TRPCAgent | TDaemon>(agent: T, params: TDeleteKeyRequest): Promise<ResType<T, TDeleteKeyResponse, WsDeleteKeyMessage>>;
156
156
  export declare const insert_command = "insert";
157
157
  export declare type insert_command = typeof insert_command;
158
158
  export declare type TInsertRequest = {
@@ -165,7 +165,7 @@ export declare type TInsertResponse = {
165
165
  tx_id: bytes32;
166
166
  };
167
167
  export declare type WsInsertMessage = GetMessageType<chia_data_layer_service, insert_command, TInsertResponse>;
168
- export declare function insert<T extends TRPCAgent | TDaemon>(agent: T, params: TInsertRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TInsertResponse, WsInsertMessage>>;
168
+ export declare function insert<T extends TRPCAgent | TDaemon>(agent: T, params: TInsertRequest): Promise<ResType<T, TInsertResponse, WsInsertMessage>>;
169
169
  export declare const subscribe_command = "subscribe";
170
170
  export declare type subscribe_command = typeof subscribe_command;
171
171
  export declare type TSubscribeRequest = {
@@ -174,7 +174,7 @@ export declare type TSubscribeRequest = {
174
174
  };
175
175
  export declare type TSubscribeResponse = {};
176
176
  export declare type WsSubscribeMessage = GetMessageType<chia_data_layer_service, subscribe_command, TSubscribeResponse>;
177
- export declare function subscribe<T extends TRPCAgent | TDaemon>(agent: T, params: TSubscribeRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TSubscribeResponse, WsSubscribeMessage>>;
177
+ export declare function subscribe<T extends TRPCAgent | TDaemon>(agent: T, params: TSubscribeRequest): Promise<ResType<T, TSubscribeResponse, WsSubscribeMessage>>;
178
178
  export declare const unsubscribe_command = "unsubscribe";
179
179
  export declare type unsubscribe_command = typeof unsubscribe_command;
180
180
  export declare type TUnsubscribeRequest = {
@@ -183,7 +183,7 @@ export declare type TUnsubscribeRequest = {
183
183
  };
184
184
  export declare type TUnsubscribeResponse = {};
185
185
  export declare type WsUnsubscribeMessage = GetMessageType<chia_data_layer_service, unsubscribe_command, TUnsubscribeResponse>;
186
- export declare function unsubscribe<T extends TRPCAgent | TDaemon>(agent: T, params: TUnsubscribeRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TUnsubscribeResponse, WsUnsubscribeMessage>>;
186
+ export declare function unsubscribe<T extends TRPCAgent | TDaemon>(agent: T, params: TUnsubscribeRequest): Promise<ResType<T, TUnsubscribeResponse, WsUnsubscribeMessage>>;
187
187
  export declare const add_mirror_command = "add_mirror";
188
188
  export declare type add_mirror_command = typeof add_mirror_command;
189
189
  export declare type TAddMirrorRequest = {
@@ -194,7 +194,7 @@ export declare type TAddMirrorRequest = {
194
194
  };
195
195
  export declare type TAddMirrorResponse = {};
196
196
  export declare type WsAddMirrorMessage = GetMessageType<chia_data_layer_service, add_mirror_command, TAddMirrorResponse>;
197
- export declare function add_mirror<T extends TRPCAgent | TDaemon>(agent: T, params: TAddMirrorRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TAddMirrorResponse, WsAddMirrorMessage>>;
197
+ export declare function add_mirror<T extends TRPCAgent | TDaemon>(agent: T, params: TAddMirrorRequest): Promise<ResType<T, TAddMirrorResponse, WsAddMirrorMessage>>;
198
198
  export declare const delete_mirror_command = "delete_mirror";
199
199
  export declare type delete_mirror_command = typeof delete_mirror_command;
200
200
  export declare type TDeleteMirrorRequest = {
@@ -203,7 +203,7 @@ export declare type TDeleteMirrorRequest = {
203
203
  };
204
204
  export declare type TDeleteMirrorResponse = {};
205
205
  export declare type WsDeleteMirrorMessage = GetMessageType<chia_data_layer_service, delete_mirror_command, TDeleteMirrorResponse>;
206
- export declare function delete_mirror<T extends TRPCAgent | TDaemon>(agent: T, params: TDeleteMirrorRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TDeleteMirrorResponse, WsDeleteMirrorMessage>>;
206
+ export declare function delete_mirror<T extends TRPCAgent | TDaemon>(agent: T, params: TDeleteMirrorRequest): Promise<ResType<T, TDeleteMirrorResponse, WsDeleteMirrorMessage>>;
207
207
  export declare const get_mirrors_command = "get_mirrors";
208
208
  export declare type get_mirrors_command = typeof get_mirrors_command;
209
209
  export declare type TGetMirrorsRequest = {
@@ -219,7 +219,7 @@ export declare type TGetMirrorsResponse = {
219
219
  }>;
220
220
  };
221
221
  export declare type WsGetMirrorsMessage = GetMessageType<chia_data_layer_service, get_mirrors_command, TGetMirrorsResponse>;
222
- export declare function get_mirrors<T extends TRPCAgent | TDaemon>(agent: T, params: TGetMirrorsRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetMirrorsResponse, WsGetMirrorsMessage>>;
222
+ export declare function get_mirrors<T extends TRPCAgent | TDaemon>(agent: T, params: TGetMirrorsRequest): Promise<ResType<T, TGetMirrorsResponse, WsGetMirrorsMessage>>;
223
223
  export declare const remove_subscriptions_command = "remove_subscriptions";
224
224
  export declare type remove_subscriptions_command = typeof remove_subscriptions_command;
225
225
  export declare type TRemoveSubscriptionsRequest = {
@@ -228,14 +228,14 @@ export declare type TRemoveSubscriptionsRequest = {
228
228
  };
229
229
  export declare type TRemoveSubscriptionsResponse = {};
230
230
  export declare type WsRemoveSubscriptionsMessage = GetMessageType<chia_data_layer_service, remove_subscriptions_command, TRemoveSubscriptionsResponse>;
231
- export declare function remove_subscriptions<T extends TRPCAgent | TDaemon>(agent: T, params: TRemoveSubscriptionsRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TRemoveSubscriptionsResponse, WsRemoveSubscriptionsMessage>>;
231
+ export declare function remove_subscriptions<T extends TRPCAgent | TDaemon>(agent: T, params: TRemoveSubscriptionsRequest): Promise<ResType<T, TRemoveSubscriptionsResponse, WsRemoveSubscriptionsMessage>>;
232
232
  export declare const subscriptions_command = "subscriptions";
233
233
  export declare type subscriptions_command = typeof subscriptions_command;
234
234
  export declare type TSubscriptionsResponse = {
235
235
  store_ids: str[];
236
236
  };
237
237
  export declare type WsSubscriptionsMessage = GetMessageType<chia_data_layer_service, subscriptions_command, TSubscriptionsResponse>;
238
- export declare function subscriptions<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TSubscriptionsResponse, WsSubscriptionsMessage>>;
238
+ export declare function subscriptions<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TSubscriptionsResponse, WsSubscriptionsMessage>>;
239
239
  export declare const get_kv_diff_command = "get_kv_diff";
240
240
  export declare type get_kv_diff_command = typeof get_kv_diff_command;
241
241
  export declare type TGetKvDiffRequest = {
@@ -251,7 +251,7 @@ export declare type TGetKvDiffResponse = {
251
251
  }>;
252
252
  };
253
253
  export declare type WsGetKvDiffMessage = GetMessageType<chia_data_layer_service, get_kv_diff_command, TGetKvDiffResponse>;
254
- export declare function get_kv_diff<T extends TRPCAgent | TDaemon>(agent: T, params: TGetKvDiffRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetKvDiffResponse, WsGetKvDiffMessage>>;
254
+ export declare function get_kv_diff<T extends TRPCAgent | TDaemon>(agent: T, params: TGetKvDiffRequest): Promise<ResType<T, TGetKvDiffResponse, WsGetKvDiffMessage>>;
255
255
  export declare const get_root_history_command = "get_root_history";
256
256
  export declare type get_root_history_command = typeof get_root_history_command;
257
257
  export declare type TGetRootHistoryRequest = {
@@ -265,7 +265,7 @@ export declare type TGetRootHistoryResponse = {
265
265
  }>;
266
266
  };
267
267
  export declare type WsGetRootHistoryMessage = GetMessageType<chia_data_layer_service, get_root_history_command, TGetRootHistoryResponse>;
268
- export declare function get_root_history<T extends TRPCAgent | TDaemon>(agent: T, params: TGetRootHistoryRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetRootHistoryResponse, WsGetRootHistoryMessage>>;
268
+ export declare function get_root_history<T extends TRPCAgent | TDaemon>(agent: T, params: TGetRootHistoryRequest): Promise<ResType<T, TGetRootHistoryResponse, WsGetRootHistoryMessage>>;
269
269
  export declare const add_missing_files_command = "add_missing_files";
270
270
  export declare type add_missing_files_command = typeof add_missing_files_command;
271
271
  export declare type TAddMissingFilesRequest = {
@@ -275,7 +275,7 @@ export declare type TAddMissingFilesRequest = {
275
275
  };
276
276
  export declare type TAddMissingFilesResponse = {};
277
277
  export declare type WsAddMissingFilesMessage = GetMessageType<chia_data_layer_service, add_missing_files_command, TAddMissingFilesResponse>;
278
- export declare function add_missing_files<T extends TRPCAgent | TDaemon>(agent: T, params: TAddMissingFilesRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TAddMissingFilesResponse, WsAddMissingFilesMessage>>;
278
+ export declare function add_missing_files<T extends TRPCAgent | TDaemon>(agent: T, params: TAddMissingFilesRequest): Promise<ResType<T, TAddMissingFilesResponse, WsAddMissingFilesMessage>>;
279
279
  export declare const make_offer_command = "make_offer";
280
280
  export declare type make_offer_command = typeof make_offer_command;
281
281
  export declare type TMakeOfferRequest = {
@@ -288,7 +288,7 @@ export declare type TMakeOfferResponse = {
288
288
  offer: OfferMarshalled;
289
289
  };
290
290
  export declare type WsMakeOfferMessage = GetMessageType<chia_data_layer_service, make_offer_command, TMakeOfferResponse>;
291
- export declare function make_offer<T extends TRPCAgent | TDaemon>(agent: T, params: TMakeOfferRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TMakeOfferResponse, WsMakeOfferMessage>>;
291
+ export declare function make_offer<T extends TRPCAgent | TDaemon>(agent: T, params: TMakeOfferRequest): Promise<ResType<T, TMakeOfferResponse, WsMakeOfferMessage>>;
292
292
  export declare const take_offer_command = "take_offer";
293
293
  export declare type take_offer_command = typeof take_offer_command;
294
294
  export declare type TTakeOfferRequest = {
@@ -300,7 +300,7 @@ export declare type TTakeOfferResponse = {
300
300
  trade_id: str;
301
301
  };
302
302
  export declare type WsTakeOfferMessage = GetMessageType<chia_data_layer_service, take_offer_command, TTakeOfferResponse>;
303
- export declare function take_offer<T extends TRPCAgent | TDaemon>(agent: T, params: TTakeOfferRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TTakeOfferResponse, WsTakeOfferMessage>>;
303
+ export declare function take_offer<T extends TRPCAgent | TDaemon>(agent: T, params: TTakeOfferRequest): Promise<ResType<T, TTakeOfferResponse, WsTakeOfferMessage>>;
304
304
  export declare const verify_offer_command = "verify_offer";
305
305
  export declare type verify_offer_command = typeof verify_offer_command;
306
306
  export declare type TVerifyOfferRequest = {
@@ -314,7 +314,7 @@ export declare type TVerifyOfferResponse = {
314
314
  fee: Optional<uint64>;
315
315
  };
316
316
  export declare type WsVerifyOfferMessage = GetMessageType<chia_data_layer_service, verify_offer_command, TVerifyOfferResponse>;
317
- export declare function verify_offer<T extends TRPCAgent | TDaemon>(agent: T, params: TVerifyOfferRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TVerifyOfferResponse, WsVerifyOfferMessage>>;
317
+ export declare function verify_offer<T extends TRPCAgent | TDaemon>(agent: T, params: TVerifyOfferRequest): Promise<ResType<T, TVerifyOfferResponse, WsVerifyOfferMessage>>;
318
318
  export declare const cancel_offer_command = "cancel_offer";
319
319
  export declare type cancel_offer_command = typeof cancel_offer_command;
320
320
  export declare type TCancelOfferRequest = {
@@ -326,7 +326,7 @@ export declare type TCancelOfferResponse = {
326
326
  success: bool;
327
327
  };
328
328
  export declare type WsCancelOfferMessage = GetMessageType<chia_data_layer_service, cancel_offer_command, TCancelOfferResponse>;
329
- export declare function cancel_offer<T extends TRPCAgent | TDaemon>(agent: T, params: TCancelOfferRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TCancelOfferResponse, WsCancelOfferMessage>>;
329
+ export declare function cancel_offer<T extends TRPCAgent | TDaemon>(agent: T, params: TCancelOfferRequest): Promise<ResType<T, TCancelOfferResponse, WsCancelOfferMessage>>;
330
330
  export declare const get_sync_status_command = "get_sync_status";
331
331
  export declare type get_sync_status_command = typeof get_sync_status_command;
332
332
  export declare type TGetSyncStatusRequest = {
@@ -336,12 +336,12 @@ export declare type TGetSyncStatusResponse = {
336
336
  sync_status: SyncStatus;
337
337
  };
338
338
  export declare type WsGetSyncStatusMessage = GetMessageType<chia_data_layer_service, get_sync_status_command, TGetSyncStatusResponse>;
339
- export declare function get_sync_status<T extends TRPCAgent | TDaemon>(agent: T, params: TGetSyncStatusRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TGetSyncStatusResponse, WsGetSyncStatusMessage>>;
339
+ export declare function get_sync_status<T extends TRPCAgent | TDaemon>(agent: T, params: TGetSyncStatusRequest): Promise<ResType<T, TGetSyncStatusResponse, WsGetSyncStatusMessage>>;
340
340
  export declare const check_plugins_command = "check_plugins";
341
341
  export declare type check_plugins_command = typeof check_plugins_command;
342
342
  export declare type TCheckPluginsResponse = PluginStatusMarshalled;
343
343
  export declare type WsCheckPluginsMessage = GetMessageType<chia_data_layer_service, check_plugins_command, TCheckPluginsResponse>;
344
- export declare function check_plugins<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, PluginStatusMarshalled, WsCheckPluginsMessage>>;
344
+ export declare function check_plugins<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, PluginStatusMarshalled, WsCheckPluginsMessage>>;
345
345
  export declare const clear_pending_roots_command = "clear_pending_roots";
346
346
  export declare type clear_pending_roots_command = typeof clear_pending_roots_command;
347
347
  export declare type TClearPendingRootsRequest = {
@@ -352,6 +352,6 @@ export declare type TClearPendingRootsResponse = {
352
352
  root: Optional<RootMarshalled>;
353
353
  };
354
354
  export declare type WsClearPendingRootsMessage = GetMessageType<chia_data_layer_service, clear_pending_roots_command, TClearPendingRootsResponse>;
355
- export declare function clear_pending_roots<T extends TRPCAgent | TDaemon>(agent: T, params: TClearPendingRootsRequest): Promise<import("../../../rpc/index").ErrorResponse | ResType<T, TClearPendingRootsResponse, WsClearPendingRootsMessage>>;
355
+ export declare function clear_pending_roots<T extends TRPCAgent | TDaemon>(agent: T, params: TClearPendingRootsRequest): Promise<ResType<T, TClearPendingRootsResponse, WsClearPendingRootsMessage>>;
356
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
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;