chia-agent 14.0.0-beta.2 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -1
- package/README.md +5 -5
- package/api/chia/consensus/cost_calculator.d.ts +1 -2
- package/api/chia/data_layer/data_layer_util.d.ts +34 -1
- package/api/chia/protocols/farmer_protocol.d.ts +23 -1
- package/api/chia/rpc/wallet_request_types.d.ts +11 -0
- package/api/chia/rpc/wallet_request_types.js +2 -0
- package/api/chia/types/mempool_item.d.ts +1 -0
- package/api/chia/types/signing_mode.d.ts +2 -1
- package/api/chia/wallet/notification_store.d.ts +8 -0
- package/api/chia/wallet/notification_store.js +2 -0
- package/api/rpc/data_layer/index.d.ts +22 -4
- package/api/rpc/data_layer/index.js +15 -1
- package/api/rpc/full_node/index.d.ts +9 -2
- package/api/rpc/full_node/index.js +9 -2
- package/api/rpc/index.d.ts +3 -3
- package/api/rpc/index.js +9 -5
- package/api/rpc/wallet/index.d.ts +16 -18
- package/api/rpc/wallet/index.js +8 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
## [14.0.0]
|
|
4
4
|
### Breaking change
|
|
5
5
|
- When RPC API responds with `success: false`, its `Promise` now does `reject`. (Previously it does `resolve`)
|
|
6
|
+
- At chia-blockchain@2.2.1, in `chia/consensus/cost_calculator.py`,
|
|
7
|
+
`NPCResult.cost` was removed.
|
|
8
|
+
As a result, the RPC APIs below might be incompatible between `2.1.4` and `2.2.1`.
|
|
9
|
+
- `get_all_mempool_items` Of FullNode RPC API
|
|
10
|
+
- `get_mempool_item_by_tx_id` Of FullNode RPC API
|
|
6
11
|
### Changed
|
|
7
12
|
- Loosened a type of `agent` to call RPC APIs. RPC APIs can be invoked with `agent` which just implements
|
|
8
13
|
`sendMessage` method depicted as below.
|
|
@@ -15,6 +20,36 @@ export interface APIAgent {
|
|
|
15
20
|
): Promise<M>;
|
|
16
21
|
}
|
|
17
22
|
```
|
|
23
|
+
- `sp_source_data` was added to [`NewSignagePoint`](./src/api/chia/protocols/farmer_protocol.ts)
|
|
24
|
+
As a result the following API responses were affected
|
|
25
|
+
- [`on_signage_point`](./src/api/ws/full_node/README.md#on_signage_point)
|
|
26
|
+
- [`on_new_signage_point`](./src/api/ws/farmer/README.md#on_new_signage_point)
|
|
27
|
+
- `include_signature_source_data` was added to [`DeclareProofOfSpace`](./src/api/chia/protocols/farmer_protocol.ts)
|
|
28
|
+
As a result the following API responses were affected
|
|
29
|
+
- [`on_proof`](./src/api/ws/farmer/README.md#on_proof)
|
|
30
|
+
- `foliage_block_data`, `foliage_transaction_block_data` and `rc_block_unfinished` were added to [`RequestSignedValues`](./src/api/chia/protocols/farmer_protocol.ts)
|
|
31
|
+
- `eligible_for_fast_forward` was added to [`BundleCoinSpend`](./src/api/chia/types/mempool_item.ts)
|
|
32
|
+
- `CHIP_0002_P2_DELEGATED_CONDITIONS` was added to [`SigningMode`](./src/api/chia/types/signing_mode.ts)
|
|
33
|
+
As a result the following API responses were affected
|
|
34
|
+
- [`verify_signature`](./src/api/rpc/wallet/README.md#verify_signatureagent-params)
|
|
35
|
+
- [`sign_message_by_address`](./src/api/rpc/wallet/README.md#sign_message_by_addressagent-params)
|
|
36
|
+
- [`sign_message_by_id`](./src/api/rpc/wallet/README.md#sign_message_by_idagent-params)
|
|
37
|
+
- [Wallet RPC API](./src/api/rpc/wallet)
|
|
38
|
+
- [`get_notifications`](./src/api/rpc/wallet/README.md#get_notificationsagent-params)
|
|
39
|
+
- The types of request parameters were slightly changed
|
|
40
|
+
- `ids` are now `bytes32[]` (previously `str[]`)
|
|
41
|
+
- `start` are now `uint32` (previously `int[]`)
|
|
42
|
+
- `end` are now `uint32` (previously `int[]`)
|
|
43
|
+
- The types of response parameters were slightly changed
|
|
44
|
+
- `id` are now `bytes32` (previously `str`)
|
|
45
|
+
- `message` are now `bytes` (previously `str`)
|
|
46
|
+
- [`get_offer_summary`](./src/api/rpc/wallet/README.md#get_offer_summaryagent-params)
|
|
47
|
+
- The following properties were added to the response parameters
|
|
48
|
+
- `additions: str[]`
|
|
49
|
+
- `removals: str[]`
|
|
50
|
+
- [`nft_get_info`](./src/api/rpc/wallet/README.md#nft_get_infoagent-params)
|
|
51
|
+
- The following properties were removed from the response parameters
|
|
52
|
+
- `ignore_size_limit`
|
|
18
53
|
### Added
|
|
19
54
|
- Added connectivity options for `RPCAgent`.
|
|
20
55
|
- `keepAlive` (default: `true`)
|
|
@@ -54,9 +89,16 @@ const httpsAgent = new HttpsAgent({
|
|
|
54
89
|
const agent = new RPCAgent({httpsAgent: httpsAgent}); // `new RPCAgent({httpAgent: httpAgent});` is also allowed.
|
|
55
90
|
const res = await get_plots(agent);
|
|
56
91
|
```
|
|
57
|
-
|
|
92
|
+
- [DataLayer RPC API](./src/api/rpc/data_layer)
|
|
93
|
+
- [`get_proof`](./src/api/rpc/data_layer/README.md#get_proofagent-params)
|
|
94
|
+
- [`verify_proof`](./src/api/rpc/data_layer/README.md#verify_proofagent-params)
|
|
95
|
+
- [FullNode RPC API](./src/api/rpc/full_node)
|
|
96
|
+
- [`get_aggsig_additional_data`](./src/api/rpc/full_node/README.md#get_aggsig_additional_dataagent)
|
|
97
|
+
- [Wallet RPC API](./src/api/rpc/wallet)
|
|
98
|
+
- [`dl_verify_proof`](./src/api/rpc/wallet/README.md#dl_verify_proofagent-params)
|
|
58
99
|
### Fixed
|
|
59
100
|
- Fixed an issue where some of the RPC Pool APIs did not handle request parameters correctly.
|
|
101
|
+
- Added missing attribute `peak_height` to [`NewSignagePoint`](./src/api/chia/protocols/farmer_protocol.ts)
|
|
60
102
|
|
|
61
103
|
## [13.2.0]
|
|
62
104
|
### Added
|
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.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,10 +22,10 @@ yarn add chia-agent
|
|
|
22
22
|
|
|
23
23
|
## Compatibility
|
|
24
24
|
This code is compatible with:
|
|
25
|
-
- [`
|
|
26
|
-
- [Diff to the main branch of chia-blockchain](https://github.com/Chia-Network/chia-blockchain/compare/
|
|
27
|
-
- [`
|
|
28
|
-
- [Diff to the main branch of pool-reference](https://github.com/Chia-Network/pool-reference/compare/
|
|
25
|
+
- [`b98219687331fc6c8121d0c0243a49d2427ccd60`](https://github.com/Chia-Network/chia-blockchain/tree/b98219687331fc6c8121d0c0243a49d2427ccd60) of [chia-blockchain 2.2.1](https://github.com/Chia-Network/chia-blockchain)
|
|
26
|
+
- [Diff to the main branch of chia-blockchain](https://github.com/Chia-Network/chia-blockchain/compare/b98219687331fc6c8121d0c0243a49d2427ccd60...main)
|
|
27
|
+
- [`fc641b915d95ca00f33c268f820cee196c61ca65`](https://github.com/Chia-Network/pool-reference/tree/fc641b915d95ca00f33c268f820cee196c61ca65) of [pool-reference](https://github.com/Chia-Network/pool-reference)
|
|
28
|
+
- [Diff to the main branch of pool-reference](https://github.com/Chia-Network/pool-reference/compare/fc641b915d95ca00f33c268f820cee196c61ca65...main)
|
|
29
29
|
|
|
30
30
|
## API
|
|
31
31
|
There are 2 kinds of APIs in chia.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SpendBundleConditions } from "../types/spend_bundle_condition";
|
|
2
|
-
import { Optional, uint16
|
|
2
|
+
import { Optional, uint16 } from "../types/_python_types_";
|
|
3
3
|
export declare type NPCResult = {
|
|
4
4
|
error: Optional<uint16>;
|
|
5
5
|
conds: Optional<SpendBundleConditions>;
|
|
6
|
-
cost: uint64;
|
|
7
6
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { int, Optional, str } from "../types/_python_types_";
|
|
1
|
+
import { bool, int, Optional, str, uint8 } from "../types/_python_types_";
|
|
2
2
|
import { bytes32 } from "../types/blockchain_format/sized_bytes";
|
|
3
3
|
export declare type KeyValueMarshalled = {
|
|
4
4
|
key: str;
|
|
@@ -47,3 +47,36 @@ export declare type RootMarshalled = {
|
|
|
47
47
|
generation: int;
|
|
48
48
|
status: int;
|
|
49
49
|
};
|
|
50
|
+
export declare type ProofLayer = {
|
|
51
|
+
other_hash_side: uint8;
|
|
52
|
+
other_hash: bytes32;
|
|
53
|
+
combined_hash: bytes32;
|
|
54
|
+
};
|
|
55
|
+
export declare type HashOnlyProof = {
|
|
56
|
+
key_clvm_hash: bytes32;
|
|
57
|
+
value_clvm_hash: bytes32;
|
|
58
|
+
node_hash: bytes32;
|
|
59
|
+
layers: ProofLayer[];
|
|
60
|
+
};
|
|
61
|
+
export declare type KeyValueHashes = {
|
|
62
|
+
key_clvm_hash: bytes32;
|
|
63
|
+
value_clvm_hash: bytes32;
|
|
64
|
+
};
|
|
65
|
+
export declare type ProofResultInclusions = {
|
|
66
|
+
store_id: bytes32;
|
|
67
|
+
inclusions: KeyValueHashes[];
|
|
68
|
+
};
|
|
69
|
+
export declare type StoreProofsHashes = {
|
|
70
|
+
store_id: bytes32;
|
|
71
|
+
proofs: HashOnlyProof[];
|
|
72
|
+
};
|
|
73
|
+
export declare type DLProof = {
|
|
74
|
+
store_proofs: StoreProofsHashes;
|
|
75
|
+
coin_id: bytes32;
|
|
76
|
+
inner_puzzle_hash: bytes32;
|
|
77
|
+
};
|
|
78
|
+
export declare type VerifyProofResponse = {
|
|
79
|
+
verified_clvm_hashes: ProofResultInclusions;
|
|
80
|
+
current_root: bool;
|
|
81
|
+
success: bool;
|
|
82
|
+
};
|
|
@@ -1,7 +1,23 @@
|
|
|
1
|
-
import { G2Element, Optional, uint32, uint64, uint8 } from "../types/_python_types_";
|
|
1
|
+
import { bool, G2Element, Optional, uint32, uint64, uint8 } from "../types/_python_types_";
|
|
2
2
|
import { bytes32 } from "../types/blockchain_format/sized_bytes";
|
|
3
3
|
import { ProofOfSpace } from "../types/blockchain_format/proof_of_space";
|
|
4
4
|
import { PoolTarget } from "../types/blockchain_format/pool_target";
|
|
5
|
+
import { ClassgroupElement } from "../types/blockchain_format/classgroup";
|
|
6
|
+
import { ChallengeChainSubSlot, RewardChainSubSlot } from "../types/blockchain_format/slots";
|
|
7
|
+
import { FoliageBlockData, FoliageTransactionBlock } from "../types/blockchain_format/foliage";
|
|
8
|
+
import { RewardChainBlockUnfinished } from "../types/blockchain_format/reward_chain_block";
|
|
9
|
+
export declare type SPSubSlotSourceData = {
|
|
10
|
+
cc_sub_slot: ChallengeChainSubSlot;
|
|
11
|
+
rc_sub_slot: RewardChainSubSlot;
|
|
12
|
+
};
|
|
13
|
+
export declare type SPVDFSourceData = {
|
|
14
|
+
cc_vdf: ClassgroupElement;
|
|
15
|
+
rc_vdf: ClassgroupElement;
|
|
16
|
+
};
|
|
17
|
+
export declare type SignagePointSourceData = {
|
|
18
|
+
sub_slot_data: Optional<SPSubSlotSourceData>;
|
|
19
|
+
vdf_data: Optional<SPVDFSourceData>;
|
|
20
|
+
};
|
|
5
21
|
export declare type NewSignagePoint = {
|
|
6
22
|
challenge_hash: bytes32;
|
|
7
23
|
challenge_chain_sp: bytes32;
|
|
@@ -9,6 +25,8 @@ export declare type NewSignagePoint = {
|
|
|
9
25
|
difficulty: uint64;
|
|
10
26
|
sub_slot_iters: uint64;
|
|
11
27
|
signage_point_index: uint8;
|
|
28
|
+
peak_height: uint32;
|
|
29
|
+
sp_source_data: Optional<SignagePointSourceData>;
|
|
12
30
|
};
|
|
13
31
|
export declare type DeclareProofOfSpace = {
|
|
14
32
|
challenge_hash: bytes32;
|
|
@@ -21,11 +39,15 @@ export declare type DeclareProofOfSpace = {
|
|
|
21
39
|
farmer_puzzle_hash: bytes32;
|
|
22
40
|
pool_target: Optional<PoolTarget>;
|
|
23
41
|
pool_signature: Optional<G2Element>;
|
|
42
|
+
include_signature_source_data: bool;
|
|
24
43
|
};
|
|
25
44
|
export declare type RequestSignedValues = {
|
|
26
45
|
quality_string: bytes32;
|
|
27
46
|
foliage_block_data_hash: bytes32;
|
|
28
47
|
foliage_transaction_block_hash: bytes32;
|
|
48
|
+
foliage_block_data: Optional<FoliageBlockData>;
|
|
49
|
+
foliage_transaction_block_data: Optional<FoliageTransactionBlock>;
|
|
50
|
+
rc_block_unfinished: Optional<RewardChainBlockUnfinished>;
|
|
29
51
|
};
|
|
30
52
|
export declare type FarmingInfo = {
|
|
31
53
|
challenge_hash: bytes32;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { uint32 } from "../types/_python_types_";
|
|
2
|
+
import { bytes32 } from "../types/blockchain_format/sized_bytes";
|
|
3
|
+
import { Notification } from "../wallet/notification_store";
|
|
4
|
+
export declare type GetNotifications = {
|
|
5
|
+
ids?: bytes32[];
|
|
6
|
+
start?: uint32;
|
|
7
|
+
end?: uint32;
|
|
8
|
+
};
|
|
9
|
+
export declare type GetNotificationsResponse = {
|
|
10
|
+
notifications: Notification[];
|
|
11
|
+
};
|
|
@@ -2,4 +2,5 @@ export declare type CHIP_0002 = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:CHIP
|
|
|
2
2
|
export declare type CHIP_0002_HEX_INPUT = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:CHIP-0002_HEX";
|
|
3
3
|
export declare type BLS_MESSAGE_AUGMENTATION_UTF8_INPUT = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:utf8input_";
|
|
4
4
|
export declare type BLS_MESSAGE_AUGMENTATION_HEX_INPUT = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:hexinput_";
|
|
5
|
-
export declare type
|
|
5
|
+
export declare type CHIP_0002_P2_DELEGATED_CONDITIONS = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:CHIP-0002_P2_DELEGATED_PUZZLE";
|
|
6
|
+
export declare type SigningMode = CHIP_0002 | CHIP_0002_HEX_INPUT | BLS_MESSAGE_AUGMENTATION_UTF8_INPUT | BLS_MESSAGE_AUGMENTATION_HEX_INPUT | CHIP_0002_P2_DELEGATED_CONDITIONS;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { TRPCAgent } from "../../../rpc/index";
|
|
2
|
-
import { bool, int, None, Optional, str, uint64 } from "../../chia/types/_python_types_";
|
|
2
|
+
import { bool, bytes, 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
|
-
import { OfferMarshalled, OfferStoreMarshalled, PluginStatusMarshalled, RootMarshalled, SyncStatus } from "../../chia/data_layer/data_layer_util";
|
|
5
|
+
import { DLProof, OfferMarshalled, OfferStoreMarshalled, PluginStatusMarshalled, RootMarshalled, SyncStatus, VerifyProofResponse } from "../../chia/data_layer/data_layer_util";
|
|
6
6
|
import { GetMessageType, ResType } from "../../types";
|
|
7
7
|
import { TDaemon } from "../../../daemon/index";
|
|
8
8
|
export declare const chia_data_layer_service = "chia_data_layer";
|
|
@@ -353,5 +353,23 @@ export declare type TClearPendingRootsResponse = {
|
|
|
353
353
|
};
|
|
354
354
|
export declare type WsClearPendingRootsMessage = GetMessageType<chia_data_layer_service, clear_pending_roots_command, TClearPendingRootsResponse>;
|
|
355
355
|
export declare function clear_pending_roots<T extends TRPCAgent | TDaemon>(agent: T, params: TClearPendingRootsRequest): Promise<ResType<T, TClearPendingRootsResponse, WsClearPendingRootsMessage>>;
|
|
356
|
-
export declare
|
|
357
|
-
export declare type
|
|
356
|
+
export declare const get_proof_command = "get_proof";
|
|
357
|
+
export declare type get_proof_command = typeof get_proof_command;
|
|
358
|
+
export declare type TGetProofRequest = {
|
|
359
|
+
store_id: bytes32;
|
|
360
|
+
keys: bytes[];
|
|
361
|
+
};
|
|
362
|
+
export declare type TGetProofResponse = {
|
|
363
|
+
proof: DLProof;
|
|
364
|
+
success: bool;
|
|
365
|
+
};
|
|
366
|
+
export declare type WsGetProofMessage = GetMessageType<chia_data_layer_service, get_proof_command, TGetProofResponse>;
|
|
367
|
+
export declare function get_proof<T extends TRPCAgent | TDaemon>(agent: T, params: TGetProofRequest): Promise<ResType<T, TGetProofResponse, WsGetProofMessage>>;
|
|
368
|
+
export declare const verify_proof_command = "verify_proof";
|
|
369
|
+
export declare type verify_proof_command = typeof verify_proof_command;
|
|
370
|
+
export declare type TVerifyProofRequest = DLProof;
|
|
371
|
+
export declare type TVerifyProofResponse = VerifyProofResponse;
|
|
372
|
+
export declare type WsVerifyProofMessage = GetMessageType<chia_data_layer_service, verify_proof_command, TVerifyProofResponse>;
|
|
373
|
+
export declare function verify_proof<T extends TRPCAgent | TDaemon>(agent: T, params: TVerifyProofRequest): Promise<ResType<T, VerifyProofResponse, WsVerifyProofMessage>>;
|
|
374
|
+
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 | TGetProofResponse | TVerifyProofResponse;
|
|
375
|
+
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 | WsGetProofMessage | WsVerifyProofMessage;
|
|
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.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;
|
|
13
|
+
exports.verify_proof = exports.verify_proof_command = exports.get_proof = exports.get_proof_command = 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
15
|
exports.wallet_log_in_command = "wallet_log_in";
|
|
16
16
|
function wallet_log_in(agent, params) {
|
|
@@ -222,3 +222,17 @@ function clear_pending_roots(agent, params) {
|
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
224
|
exports.clear_pending_roots = clear_pending_roots;
|
|
225
|
+
exports.get_proof_command = "get_proof";
|
|
226
|
+
function get_proof(agent, params) {
|
|
227
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
228
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.get_proof_command, params);
|
|
229
|
+
});
|
|
230
|
+
}
|
|
231
|
+
exports.get_proof = get_proof;
|
|
232
|
+
exports.verify_proof_command = "verify_proof";
|
|
233
|
+
function verify_proof(agent, params) {
|
|
234
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
235
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.verify_proof_command, params);
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
exports.verify_proof = verify_proof;
|
|
@@ -162,6 +162,13 @@ export declare type TGetAdditionsAndRemovalsResponse = {
|
|
|
162
162
|
};
|
|
163
163
|
export declare type WsGetAdditionsAndRemovalsMessage = GetMessageType<chia_full_node_service, get_additions_and_removals_command, TGetAdditionsAndRemovalsResponse>;
|
|
164
164
|
export declare function get_additions_and_removals<T extends TRPCAgent | TDaemon>(agent: T, data: TGetAdditionsAndRemovalsRequest): Promise<ResType<T, TGetAdditionsAndRemovalsResponse, WsGetAdditionsAndRemovalsMessage>>;
|
|
165
|
+
export declare const get_aggsig_additional_data_command = "get_aggsig_additional_data";
|
|
166
|
+
export declare type get_aggsig_additional_data_command = typeof get_aggsig_additional_data_command;
|
|
167
|
+
export declare type TGetAggsigAdditionalDataResponse = {
|
|
168
|
+
additional_data: str;
|
|
169
|
+
};
|
|
170
|
+
export declare type WsGetAggsigAdditionalDataMessage = GetMessageType<chia_full_node_service, get_aggsig_additional_data_command, TGetAggsigAdditionalDataResponse>;
|
|
171
|
+
export declare function get_aggsig_additional_data<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetAggsigAdditionalDataResponse, WsGetAggsigAdditionalDataMessage>>;
|
|
165
172
|
export declare const get_initial_freeze_period_command_of_full_node = "get_initial_freeze_period";
|
|
166
173
|
export declare type get_initial_freeze_period_command_of_full_node = typeof get_initial_freeze_period_command_of_full_node;
|
|
167
174
|
export declare type TGetInitialFreezePeriodRequestOfFullNode = {};
|
|
@@ -451,5 +458,5 @@ export declare type TReorgBlocksResponse = {
|
|
|
451
458
|
};
|
|
452
459
|
export declare type WsReorgBlocksMessage = GetMessageType<chia_full_node_service, reorg_blocks_command, TReorgBlocksResponse>;
|
|
453
460
|
export declare function reorg_blocks<T extends TRPCAgent | TDaemon>(agent: T, data: TReorgBlocksRequest): Promise<ResType<T, TReorgBlocksResponse, WsReorgBlocksMessage>>;
|
|
454
|
-
export declare type RpcFullNodeMessage = TGetAdditionsAndRemovalsResponse | TGetAllMempoolItemsResponse | TGetAllMempoolTxIdsResponse | TGetBlockResponse | TGetBlockRecordByHeightResponse | TGetBlockRecordResponse | TGetBlockRecordsResponse | TGetBlockSpendsResponse | TGetBlockSpendsWithConditionsResponse | 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;
|
|
455
|
-
export declare type RpcFullNodeMessageOnWs = WsGetAdditionsAndRemovalsMessage | WsGetAllMempoolItemsMessage | WsGetAllMempoolTxIdsMessage | WsGetBlockMessage | WsGetBlockRecordByHeightMessage | WsGetBlockRecordMessage | WsGetBlockRecordsMessage | WsGetBlockSpendsMessage | WsGetBlockSpendsWithConditionsMessage | 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;
|
|
461
|
+
export declare type RpcFullNodeMessage = TGetAdditionsAndRemovalsResponse | TGetAggsigAdditionalDataResponse | TGetAllMempoolItemsResponse | TGetAllMempoolTxIdsResponse | TGetBlockResponse | TGetBlockRecordByHeightResponse | TGetBlockRecordResponse | TGetBlockRecordsResponse | TGetBlockSpendsResponse | TGetBlockSpendsWithConditionsResponse | 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;
|
|
462
|
+
export declare type RpcFullNodeMessageOnWs = WsGetAdditionsAndRemovalsMessage | WsGetAggsigAdditionalDataMessage | WsGetAllMempoolItemsMessage | WsGetAllMempoolTxIdsMessage | WsGetBlockMessage | WsGetBlockRecordByHeightMessage | WsGetBlockRecordMessage | WsGetBlockRecordsMessage | WsGetBlockSpendsMessage | WsGetBlockSpendsWithConditionsMessage | 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_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;
|
|
12
|
+
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_aggsig_additional_data = exports.get_aggsig_additional_data_command = 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 = exports.get_all_mempool_items_command = exports.get_all_mempool_tx_ids = 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) {
|
|
@@ -96,6 +96,13 @@ function get_additions_and_removals(agent, data) {
|
|
|
96
96
|
});
|
|
97
97
|
}
|
|
98
98
|
exports.get_additions_and_removals = get_additions_and_removals;
|
|
99
|
+
exports.get_aggsig_additional_data_command = "get_aggsig_additional_data";
|
|
100
|
+
function get_aggsig_additional_data(agent) {
|
|
101
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
102
|
+
return agent.sendMessage(exports.chia_full_node_service, exports.get_aggsig_additional_data_command);
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
exports.get_aggsig_additional_data = get_aggsig_additional_data;
|
|
99
106
|
exports.get_initial_freeze_period_command_of_full_node = "get_initial_freeze_period";
|
|
100
107
|
function get_initial_freeze_period_of_full_node(agent) {
|
|
101
108
|
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, 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";
|
|
4
|
+
export { chia_full_node_service, TGetAdditionsAndRemovalsRequest, TGetAdditionsAndRemovalsResponse, get_additions_and_removals, TGetAggsigAdditionalDataResponse, get_aggsig_additional_data, 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_DAO_WalletRequest, TCreate_New_DAO_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, TDaoAdjustFilterLevelRequest, TDaoAdjustFilterLevelResponse, dao_adjust_filter_level, TDaoAddFundsToTreasuryRequest, TDaoAddFundsToTreasuryResponse, dao_add_funds_to_treasury, TDaoGetTreasuryBalanceRequest, TDaoGetTreasuryBalanceResponse, dao_get_treasury_balance, TDaoGetTreasuryIdRequest, TDaoGetTreasuryIdResponse, dao_get_treasury_id, TDaoGetRulesRequest, TDaoGetRulesResponse, dao_get_rules, TDaoSendToLockupRequest, TDaoSendToLockupResponse, dao_send_to_lockup, TDaoGetProposalsRequest, TDaoGetProposalsResponse, dao_get_proposals, TDaoGetProposalStateRequest, TDaoGetProposalStateResponse, dao_get_proposal_state, TDaoExitLockupRequest, TDaoExitLockupResponse, dao_exit_lockup, TDaoCreateProposalRequest, TDaoCreateProposalResponse, dao_create_proposal, TDaoVoteOnProposalRequest, TDaoVoteOnProposalResponse, dao_vote_on_proposal, TDaoParseProposalRequest, TDaoParseProposalResponse, dao_parse_proposal, TDaoCloseProposalRequest, TDaoCloseProposalResponse, dao_close_proposal, TDaoFreeCoinsFromFinishedProposalsRequest, TDaoFreeCoinsFromFinishedProposalsResponse, dao_free_coins_from_finished_proposals, 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";
|
|
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_DAO_WalletRequest, TCreate_New_DAO_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, TDaoAdjustFilterLevelRequest, TDaoAdjustFilterLevelResponse, dao_adjust_filter_level, TDaoAddFundsToTreasuryRequest, TDaoAddFundsToTreasuryResponse, dao_add_funds_to_treasury, TDaoGetTreasuryBalanceRequest, TDaoGetTreasuryBalanceResponse, dao_get_treasury_balance, TDaoGetTreasuryIdRequest, TDaoGetTreasuryIdResponse, dao_get_treasury_id, TDaoGetRulesRequest, TDaoGetRulesResponse, dao_get_rules, TDaoSendToLockupRequest, TDaoSendToLockupResponse, dao_send_to_lockup, TDaoGetProposalsRequest, TDaoGetProposalsResponse, dao_get_proposals, TDaoGetProposalStateRequest, TDaoGetProposalStateResponse, dao_get_proposal_state, TDaoExitLockupRequest, TDaoExitLockupResponse, dao_exit_lockup, TDaoCreateProposalRequest, TDaoCreateProposalResponse, dao_create_proposal, TDaoVoteOnProposalRequest, TDaoVoteOnProposalResponse, dao_vote_on_proposal, TDaoParseProposalRequest, TDaoParseProposalResponse, dao_parse_proposal, TDaoCloseProposalRequest, TDaoCloseProposalResponse, dao_close_proposal, TDaoFreeCoinsFromFinishedProposalsRequest, TDaoFreeCoinsFromFinishedProposalsResponse, dao_free_coins_from_finished_proposals, 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, TDlVerifyProofRequest, TDlVerifyProofResponse, dl_verify_proof, 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, 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";
|
|
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, TGetProofRequest, TGetProofResponse, get_proof, TVerifyProofRequest, TVerifyProofResponse, verify_proof, } from "./data_layer/index";
|
|
11
11
|
import type { RpcCrawlerMessage } from "./crawler/index";
|
|
12
12
|
export { chia_crawler_service, TGetIpsAfterTimestampRequest, TGetIpsAfterTimestampResponse, TGetPeerCountsResponse, get_ips_after_timestamp, get_peer_counts, } from "./crawler/index";
|
|
13
13
|
import type { RpcCommonMessage } from "./common/index";
|
package/api/rpc/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.healthz = exports.get_routes = exports.stop_node = exports.close_connection = exports.open_connection = exports.get_connections = exports.chia_common_service = exports.get_peer_counts = exports.get_ips_after_timestamp = exports.chia_crawler_service = exports.clear_pending_roots = exports.check_plugins = exports.get_sync_status_dl = exports.cancel_offer_dl = exports.verify_offer = exports.take_offer_dl = exports.make_offer = exports.add_missing_files = exports.get_root_history = exports.get_kv_diff = exports.subscriptions = exports.remove_subscriptions = exports.get_mirrors = exports.delete_mirror = exports.add_mirror = exports.unsubscribe = exports.subscribe = exports.insert = exports.delete_key_dl = exports.get_roots = exports.get_local_root = exports.get_root = exports.get_ancestors = exports.get_keys_values = void 0;
|
|
3
|
+
exports.get_all_coins = exports.get_farming_ph = exports.get_auto_farming = exports.set_auto_farming = exports.farm_block_fullnode = exports.get_all_blocks = exports.get_fee_estimate = exports.get_puzzle_and_solution = exports.push_tx = exports.get_unfinished_block_headers = exports.get_network_space = exports.get_network_info_of_full_node = exports.get_mempool_item_by_tx_id = exports.get_initial_freeze_period_of_full_node = exports.get_coin_records_by_hint = exports.get_coin_records_by_parent_ids = exports.get_coin_records_by_puzzle_hashes = exports.get_coin_records_by_puzzle_hash = exports.get_coin_record_by_name = exports.get_coin_records_by_names = exports.get_recent_signage_point_or_eos = exports.get_block_count_metrics = exports.get_blocks = exports.get_blockchain_state = exports.get_block = exports.get_block_spends_with_conditions = exports.get_block_spends = exports.get_block_records = exports.get_block_record = exports.get_block_record_by_height = exports.get_mempool_items_by_coin_name = exports.get_all_mempool_tx_ids = exports.get_all_mempool_items = exports.get_aggsig_additional_data = exports.get_additions_and_removals = exports.chia_full_node_service = exports.get_pool_login_link = exports.get_pool_state = exports.set_pool_payout_instructions = exports.get_harvester_plots_duplicates = exports.get_harvester_plots_keys_missing = exports.get_harvester_plots_invalid = exports.get_harvester_plots_valid = exports.get_harvesters_summary = exports.get_harvesters = exports.set_reward_targets = exports.get_signage_points = exports.get_signage_point = exports.get_reward_targets = exports.chia_farmer_service = void 0;
|
|
4
|
+
exports.did_transfer_did = exports.did_create_backup_file = exports.did_create_attest = exports.did_get_wallet_name = exports.did_set_wallet_name = exports.delete_key = exports.set_wallet_resync_on_startup = exports.delete_all_keys = exports.nft_transfer_bulk = exports.nft_set_did_bulk = exports.nft_mint_bulk = exports.nft_calculate_royalties = exports.get_transaction_memo = exports.verify_signature = exports.sign_message_by_id = exports.sign_message_by_address = exports.send_notification = exports.delete_notifications = exports.get_notifications = exports.extend_derivation_index = exports.get_current_derivation_index = exports.select_coins = exports.delete_unconfirmed_transactions = exports.create_signed_transaction = exports.create_offer_for_ids = exports.create_new_wallet = exports.check_offer_validity = exports.cat_spend = exports.cat_set_name = exports.cat_asset_id_to_name = exports.get_stray_cats = exports.cat_get_name = exports.cat_get_asset_id = exports.cancel_offers = exports.cancel_offer = exports.add_rate_limited_funds = exports.add_key = exports.chia_wallet_service = exports.update_harvester_config = exports.get_harvester_config = exports.remove_plot_directory = exports.refresh_plots = exports.get_plots = exports.get_plot_directories = exports.delete_plot = exports.add_plot_directory = exports.chia_harvester_service = exports.reorg_blocks = exports.revert_blocks = exports.get_all_puzzle_hashes = void 0;
|
|
5
|
+
exports.get_network_info_of_wallet = exports.get_offer_summary = exports.get_offers_count = exports.get_offer = exports.get_logged_in_fingerprint = exports.get_initial_freeze_period_of_wallet = exports.get_height_info = exports.get_farmed_amount = exports.get_cat_list = exports.get_all_offers = exports.generate_mnemonic = exports.get_auto_claim = exports.set_auto_claim = exports.get_timestamp_for_height = exports.farm_block = exports.nft_add_uri = exports.nft_get_info = exports.nft_transfer_nft = exports.nft_set_nft_status = exports.nft_get_wallets_with_dids = exports.nft_get_wallet_did = exports.nft_get_by_did = exports.nft_set_nft_did = exports.nft_get_nfts = exports.nft_count_nfts = exports.nft_mint_nft = exports.dao_free_coins_from_finished_proposals = exports.dao_close_proposal = exports.dao_parse_proposal = exports.dao_vote_on_proposal = exports.dao_create_proposal = exports.dao_exit_lockup = exports.dao_get_proposal_state = exports.dao_get_proposals = exports.dao_send_to_lockup = exports.dao_get_rules = exports.dao_get_treasury_id = exports.dao_get_treasury_balance = exports.dao_add_funds_to_treasury = exports.dao_adjust_filter_level = exports.did_update_metadata = exports.did_update_recovery_ids = exports.did_spend = exports.did_recovery_spend = exports.did_get_metadata = exports.did_get_recovery_list = exports.did_get_pubkey = exports.did_get_current_coin_info = exports.did_get_information_needed_for_recovery = exports.did_get_did = void 0;
|
|
6
|
+
exports.batch_update = exports.get_owned_stores = exports.create_data_store = exports.wallet_log_in = exports.chia_data_layer_service = exports.crcat_approve_pending = exports.vc_revoke = exports.vc_get_proofs_for_root = exports.vc_add_proofs = exports.vc_spend = exports.vc_get_list = exports.vc_get = exports.vc_mint = exports.dl_verify_proof = exports.dl_delete_mirror = exports.dl_new_mirror = exports.dl_get_mirrors = exports.dl_owned_singletons = exports.dl_history = exports.dl_update_multiple = exports.dl_update_root = exports.dl_singletons_by_root = exports.dl_latest_singleton = exports.dl_stop_tracking = exports.dl_track_new = exports.create_new_dl = exports.take_offer = exports.get_coin_records = exports.spend_clawback_coins = exports.send_transaction_multi = exports.send_transaction = exports.send_clawback_transaction = exports.rl_set_user_info = exports.pw_status = exports.pw_absorb_rewards = exports.pw_self_pool = exports.pw_join_pool = exports.push_transactions = exports.push_tx_wallet = exports.log_in = exports.get_wallets = exports.get_wallet_balances = exports.get_wallet_balance = exports.get_transactions = exports.get_transaction = exports.get_transaction_count = exports.get_sync_status = exports.get_public_keys = exports.get_private_key = exports.get_next_address = void 0;
|
|
7
|
+
exports.healthz = exports.get_routes = exports.stop_node = exports.close_connection = exports.open_connection = exports.get_connections = exports.chia_common_service = exports.get_peer_counts = exports.get_ips_after_timestamp = exports.chia_crawler_service = exports.verify_proof = exports.get_proof = exports.clear_pending_roots = exports.check_plugins = exports.get_sync_status_dl = exports.cancel_offer_dl = exports.verify_offer = exports.take_offer_dl = exports.make_offer = exports.add_missing_files = exports.get_root_history = exports.get_kv_diff = exports.subscriptions = exports.remove_subscriptions = exports.get_mirrors = exports.delete_mirror = exports.add_mirror = exports.unsubscribe = exports.subscribe = exports.insert = exports.delete_key_dl = exports.get_roots = exports.get_local_root = exports.get_root = exports.get_ancestors = exports.get_keys_values = exports.get_keys = exports.get_value = void 0;
|
|
8
8
|
var index_1 = require("./farmer/index");
|
|
9
9
|
Object.defineProperty(exports, "chia_farmer_service", { enumerable: true, get: function () { return index_1.chia_farmer_service; } });
|
|
10
10
|
Object.defineProperty(exports, "get_reward_targets", { enumerable: true, get: function () { return index_1.get_reward_targets; } });
|
|
@@ -23,6 +23,7 @@ Object.defineProperty(exports, "get_pool_login_link", { enumerable: true, get: f
|
|
|
23
23
|
var index_2 = require("./full_node/index");
|
|
24
24
|
Object.defineProperty(exports, "chia_full_node_service", { enumerable: true, get: function () { return index_2.chia_full_node_service; } });
|
|
25
25
|
Object.defineProperty(exports, "get_additions_and_removals", { enumerable: true, get: function () { return index_2.get_additions_and_removals; } });
|
|
26
|
+
Object.defineProperty(exports, "get_aggsig_additional_data", { enumerable: true, get: function () { return index_2.get_aggsig_additional_data; } });
|
|
26
27
|
Object.defineProperty(exports, "get_all_mempool_items", { enumerable: true, get: function () { return index_2.get_all_mempool_items; } });
|
|
27
28
|
Object.defineProperty(exports, "get_all_mempool_tx_ids", { enumerable: true, get: function () { return index_2.get_all_mempool_tx_ids; } });
|
|
28
29
|
Object.defineProperty(exports, "get_mempool_items_by_coin_name", { enumerable: true, get: function () { return index_2.get_mempool_items_by_coin_name; } });
|
|
@@ -194,6 +195,7 @@ Object.defineProperty(exports, "dl_owned_singletons", { enumerable: true, get: f
|
|
|
194
195
|
Object.defineProperty(exports, "dl_get_mirrors", { enumerable: true, get: function () { return index_4.dl_get_mirrors; } });
|
|
195
196
|
Object.defineProperty(exports, "dl_new_mirror", { enumerable: true, get: function () { return index_4.dl_new_mirror; } });
|
|
196
197
|
Object.defineProperty(exports, "dl_delete_mirror", { enumerable: true, get: function () { return index_4.dl_delete_mirror; } });
|
|
198
|
+
Object.defineProperty(exports, "dl_verify_proof", { enumerable: true, get: function () { return index_4.dl_verify_proof; } });
|
|
197
199
|
Object.defineProperty(exports, "vc_mint", { enumerable: true, get: function () { return index_4.vc_mint; } });
|
|
198
200
|
Object.defineProperty(exports, "vc_get", { enumerable: true, get: function () { return index_4.vc_get; } });
|
|
199
201
|
Object.defineProperty(exports, "vc_get_list", { enumerable: true, get: function () { return index_4.vc_get_list; } });
|
|
@@ -234,6 +236,8 @@ Object.defineProperty(exports, "cancel_offer_dl", { enumerable: true, get: funct
|
|
|
234
236
|
Object.defineProperty(exports, "get_sync_status_dl", { enumerable: true, get: function () { return index_5.get_sync_status; } });
|
|
235
237
|
Object.defineProperty(exports, "check_plugins", { enumerable: true, get: function () { return index_5.check_plugins; } });
|
|
236
238
|
Object.defineProperty(exports, "clear_pending_roots", { enumerable: true, get: function () { return index_5.clear_pending_roots; } });
|
|
239
|
+
Object.defineProperty(exports, "get_proof", { enumerable: true, get: function () { return index_5.get_proof; } });
|
|
240
|
+
Object.defineProperty(exports, "verify_proof", { enumerable: true, get: function () { return index_5.verify_proof; } });
|
|
237
241
|
var index_6 = require("./crawler/index");
|
|
238
242
|
Object.defineProperty(exports, "chia_crawler_service", { enumerable: true, get: function () { return index_6.chia_crawler_service; } });
|
|
239
243
|
Object.defineProperty(exports, "get_ips_after_timestamp", { enumerable: true, get: function () { return index_6.get_ips_after_timestamp; } });
|
|
@@ -26,6 +26,8 @@ import { CoinSelectionConfigLoader, TxEndpoint } from "../../chia/wallet/util/tx
|
|
|
26
26
|
import { ConditionValidTimes } from "../../chia/wallet/conditions";
|
|
27
27
|
import { DAOInfo, DAORules, ProposalInfo } from "../../chia/wallet/dao_wallet/dao_info";
|
|
28
28
|
import { ParsedProposalSpend, ParsedProposalUpdate, ProposalState } from "../../chia/wallet/dao_wallet/dao_wallet";
|
|
29
|
+
import { DLProof, VerifyProofResponse } from "../../chia/data_layer/data_layer_util";
|
|
30
|
+
import { GetNotifications, GetNotificationsResponse } from "../../chia/rpc/wallet_request_types";
|
|
29
31
|
export declare const chia_wallet_service = "chia_wallet";
|
|
30
32
|
export declare type chia_wallet_service = typeof chia_wallet_service;
|
|
31
33
|
export declare const log_in_command = "log_in";
|
|
@@ -641,21 +643,10 @@ export declare type WsExtendDerivationIndexMessage = GetMessageType<chia_wallet_
|
|
|
641
643
|
export declare function extend_derivation_index<T extends TRPCAgent | TDaemon>(agent: T, data: TExtendDerivationIndexRequest): Promise<ResType<T, TExtendDerivationIndexResponse, WsExtendDerivationIndexMessage>>;
|
|
642
644
|
export declare const get_notifications_command = "get_notifications";
|
|
643
645
|
export declare type get_notifications_command = typeof get_notifications_command;
|
|
644
|
-
export declare type TGetNotificationsRequest =
|
|
645
|
-
|
|
646
|
-
start?: int;
|
|
647
|
-
end?: int;
|
|
648
|
-
};
|
|
649
|
-
export declare type TGetNotificationsResponse = {
|
|
650
|
-
notifications: Array<{
|
|
651
|
-
id: str;
|
|
652
|
-
message: str;
|
|
653
|
-
amount: uint64;
|
|
654
|
-
height: uint32;
|
|
655
|
-
}>;
|
|
656
|
-
};
|
|
646
|
+
export declare type TGetNotificationsRequest = GetNotifications;
|
|
647
|
+
export declare type TGetNotificationsResponse = GetNotificationsResponse;
|
|
657
648
|
export declare type WsGetNotificationsMessage = GetMessageType<chia_wallet_service, get_notifications_command, TGetNotificationsResponse>;
|
|
658
|
-
export declare function get_notifications<T extends TRPCAgent | TDaemon>(agent: T, data: TGetNotificationsRequest): Promise<ResType<T,
|
|
649
|
+
export declare function get_notifications<T extends TRPCAgent | TDaemon>(agent: T, data: TGetNotificationsRequest): Promise<ResType<T, GetNotificationsResponse, WsGetNotificationsMessage>>;
|
|
659
650
|
export declare const delete_notifications_command = "delete_notifications";
|
|
660
651
|
export declare type delete_notifications_command = typeof delete_notifications_command;
|
|
661
652
|
export declare type TDeleteNotificationsRequest = {
|
|
@@ -852,6 +843,8 @@ export declare type TGetOfferSummaryResponse = {
|
|
|
852
843
|
requested: Record<str, int>;
|
|
853
844
|
fees: int;
|
|
854
845
|
infos: TDriverDict;
|
|
846
|
+
additions: str[];
|
|
847
|
+
removals: str[];
|
|
855
848
|
valid_times: Omit<ConditionValidTimes, "max_secs_after_created" | "min_secs_since_created" | "max_blocks_after_created" | "min_blocks_since_created">;
|
|
856
849
|
};
|
|
857
850
|
id: bytes32;
|
|
@@ -1610,7 +1603,6 @@ export declare type nft_get_info_command = typeof nft_get_info_command;
|
|
|
1610
1603
|
export declare type TNftGetInfoRequest = {
|
|
1611
1604
|
coin_id: str;
|
|
1612
1605
|
latest?: bool;
|
|
1613
|
-
ignore_size_limit?: bool;
|
|
1614
1606
|
};
|
|
1615
1607
|
export declare type TNftGetInfoResponse = {
|
|
1616
1608
|
success: True;
|
|
@@ -1924,6 +1916,12 @@ export declare type TDlDeleteMirrorResponse = {
|
|
|
1924
1916
|
};
|
|
1925
1917
|
export declare type WsDlDeleteMirrorMessage = GetMessageType<chia_wallet_service, dl_delete_mirror_command, TDlDeleteMirrorResponse>;
|
|
1926
1918
|
export declare function dl_delete_mirror<T extends TRPCAgent | TDaemon>(agent: T, data: TDlDeleteMirrorRequest): Promise<ResType<T, TDlDeleteMirrorResponse, WsDlDeleteMirrorMessage>>;
|
|
1919
|
+
export declare const dl_verify_proof_command = "dl_verify_proof";
|
|
1920
|
+
export declare type dl_verify_proof_command = typeof dl_verify_proof_command;
|
|
1921
|
+
export declare type TDlVerifyProofRequest = DLProof;
|
|
1922
|
+
export declare type TDlVerifyProofResponse = VerifyProofResponse;
|
|
1923
|
+
export declare type WsDlVerifyProofMessage = GetMessageType<chia_wallet_service, dl_verify_proof_command, TDlVerifyProofResponse>;
|
|
1924
|
+
export declare function dl_verify_proof<T extends TRPCAgent | TDaemon>(agent: T, data: TDlVerifyProofRequest): Promise<ResType<T, VerifyProofResponse, WsDlVerifyProofMessage>>;
|
|
1927
1925
|
export declare type VCMint = {
|
|
1928
1926
|
did_id: str;
|
|
1929
1927
|
target_address: Optional<str>;
|
|
@@ -1986,7 +1984,7 @@ export declare type TVcAddProofsRequest = {
|
|
|
1986
1984
|
key_value_pairs: Record<str, str>;
|
|
1987
1985
|
};
|
|
1988
1986
|
};
|
|
1989
|
-
export declare type TVcAddProofsResponse =
|
|
1987
|
+
export declare type TVcAddProofsResponse = Record<string, never>;
|
|
1990
1988
|
export declare type WsVcAddProofsMessage = GetMessageType<chia_wallet_service, vc_add_proofs_command, TVcAddProofsResponse>;
|
|
1991
1989
|
export declare function vc_add_proofs<T extends TRPCAgent | TDaemon>(agent: T, data: TVcAddProofsRequest): Promise<ResType<T, TVcAddProofsResponse, WsVcAddProofsMessage>>;
|
|
1992
1990
|
export declare type VCGetProofsForRoot = {
|
|
@@ -2025,5 +2023,5 @@ export declare type TCrcatApprovePendingResponse = {
|
|
|
2025
2023
|
};
|
|
2026
2024
|
export declare type WsCrcatApprovePendingMessage = GetMessageType<chia_wallet_service, crcat_approve_pending_command, TCrcatApprovePendingResponse>;
|
|
2027
2025
|
export declare function crcat_approve_pending<T extends TRPCAgent | TDaemon>(agent: T, data: TCrcatApprovePendingRequest): Promise<ResType<T, TCrcatApprovePendingResponse, WsCrcatApprovePendingMessage>>;
|
|
2028
|
-
export declare type RpcWalletMessage = TAddKeyResponse | TAddRateLimitedFundsResponse | TCancelOfferResponse | TCancelOffersResponse | TCatGetAssetIdResponse | TCatGetNameResponse | TGetStrayCatsResponse | TCatAssetIdToNameResponse | TCatSetNameResponse | TCatSpendResponse | TCheckOfferValidityResponse | TCreateNewWalletResponse | TCreateOfferForIdsResponse | TCreateSignedTransactionResponse | TDeleteUnconfirmedTransactionsResponse | TSelectCoinsResponse | TGetSpendableCoinsResponse | TGetCoinRecordsByNamesResponse | TGetCurrentDerivationIndexResponse | TExtendDerivationIndexResponse | TGetNotificationsResponse | TDeleteNotificationsResponse | TSendNotificationResponse | TSignMessageByAddressResponse | TSignMessageByIdResponse | TVerifySignatureResponse | TGetTransactionMemoResponse | TNftCalculateRoyaltiesResponse | TNftMintBulkResponse | TNftSetDidBulkResponse | TNftTransferBulkResponse | TDeleteAllKeysResponse | TSetWalletResyncOnStartupResponse | TDeleteKeyResponse | TCheckDeleteKeyResponse | TDidSetWalletNameResponse | TDidGetWalletNameResponse | TDidCreateAttestResponse | TDidCreateBackupFileResponse | TDidTransferDidResponse | TDidMessageSpendResponse | TDidGetInfoResponse | TDidFindLostDidResponse | TDidGetDidResponse | TDidGetInformationNeededForRecoveryResponse | TDidGetCurrentCoinInfoResponse | TDidGetPubkeyResponse | TDidGetRecoveryListResponse | TDidGetMetadataResponse | TDidRecoverySpendResponse | TDidSpendResponse | TDidUpdateRecoveryIdsResponse | TDidUpdateMetadataResponse | TDaoAdjustFilterLevelResponse | TDaoAddFundsToTreasuryResponse | TDaoGetTreasuryBalanceResponse | TDaoGetTreasuryIdResponse | TDaoGetRulesResponse | TDaoSendToLockupResponse | TDaoGetProposalsResponse | TDaoGetProposalStateResponse | TDaoExitLockupResponse | TDaoCreateProposalResponse | TDaoVoteOnProposalResponse | TDaoParseProposalResponse | TDaoCloseProposalResponse | TDaoFreeCoinsFromFinishedProposalsResponse | TNftMintNftResponse | TNftCountNftsResponse | TNftGetNftsResponse | TNftSetNftDidResponse | TNftGetByDidResponse | TNftGetWalletDidResponse | TNftGetWalletsWithDidsResponse | TNftSetNftStatusResponse | TNftTransferNftResponse | TNftGetInfoResponse | TNftAddUriResponse | TFarmBlockResponse | TGetTimestampForHeightResponse | TSetAutoClaimResponse | TGetAutoClaimResponse | TGenerateMnemonicResponse | TGetAllOffersResponse | TGetCatListResponse | TGetFarmedAmountResponse | TGetHeightInfoResponse | TGetInitialFreezePeriodResponseOfWallet | TGetLoggedInFingerprintResponse | TGetOfferResponse | TGetOffersCountResponse | TGetOfferSummaryResponse | TGetNetworkInfoResponseOfWallet | TGetNextAddressResponse | TGetPrivateKeyResponse | TGetPublicKeysResponse | TGetSyncStatusResponse | TGetTransactionResponse | TGetTransactionCountResponse | TGetTransactionsResponse | TGetWalletBalanceResponse | TGetWalletBalancesResponse | TGetWalletsResponse | TLoginResponse | TPushTxResponseOfWallet | TPushTransactionsResponse | TPwJoinPoolResponse | TPwSelfPoolResponse | TPwAbsorbRewardsResponse | TPwStatusResponse | TRlSetUserInfoResponse | TSendClawbackTransactionResponse | TSendTransactionResponse | TSendTransactionMultiResponse | TSpendClawbackCoinsResponse | TGetCoinRecordsResponse | TTakeOfferResponse | TCreateNewDlResponse | TDlTrackNewResponse | TDlStopTrackingResponse | TDlLatestSingletonResponse | TDlSingletonsByRootResponse | TDlUpdateRootResponse | TDlUpdateMultipleResponse | TDlHistoryResponse | TDlOwnedSingletonsResponse | TDlGetMirrorsResponse | TDlNewMirrorResponse | TDlDeleteMirrorResponse | TVcMintResponse | TVcGetResponse | TVcGetListResponse | TVcSpendResponse | TVcAddProofsResponse | TVcGetProofsForRootResponse | TVcRevokeResponse | TCrcatApprovePendingResponse;
|
|
2029
|
-
export declare type RpcWalletMessageOnWs = WsAddKeyMessage | WsAddRateLimitedFundsMessage | WsCancelOfferMessage | WsCancelOffersMessage | WsCatGetAssetIdMessage | WsCatGetNameMessage | WsGetStrayCatsMessage | WsCatAssetIdToNameMessage | WsCatSetNameMessage | WsCatSpendMessage | WsCheckOfferValidityMessage | WsCreateNewWalletMessage | WsCreateOfferForIdsMessage | WsCreateSignedTransactionMessage | WsDeleteUnconfirmedTransactionsMessage | WsSelectCoinsMessage | WsGetSpendableCoinsMessage | WsGetCoinRecordsByNamesMessage | WsGetCurrentDerivationIndexMessage | WsExtendDerivationIndexMessage | WsGetNotificationsMessage | WsDeleteNotificationsMessage | WsSendNotificationMessage | WsSignMessageByAddressMessage | WsSignMessageByIdMessage | WsVerifySignatureMessage | WsGetTransactionMemoMessage | WsNftCalculateRoyaltiesMessage | WsNftMintBulkMessage | WsNftSetDidBulkMessage | WsNftTransferBulkMessage | WsDeleteAllKeysMessage | WsSetWalletResyncOnStartupMessage | WsDeleteKeyMessage | WsCheckDeleteKeyMessage | WsDidSetWalletNameMessage | WsDidGetWalletNameMessage | WsDidCreateAttestMessage | WsDidCreateBackupFileMessage | WsDidTransferDidMessage | WsDidMessageSpendMessage | WsDidGetInfoMessage | WsDidFindLostDidMessage | WsDidGetDidMessage | WsDidGetInformationNeededForRecoveryMessage | WsDidGetCurrentCoinInfoMessage | WsDidGetPubkeyMessage | WsDidGetRecoveryListMessage | WsDidGetMetadataMessage | WsDidRecoverySpendMessage | WsDidSpendMessage | WsDidUpdateRecoveryIdsMessage | WsDidUpdateMetadataMessage | WsDaoAdjustFilterLevelMessage | WsDaoAddFundsToTreasuryMessage | WsDaoGetTreasuryBalanceMessage | WsDaoGetTreasuryIdMessage | WsDaoGetRulesMessage | WsDaoSendToLockupMessage | WsDaoGetProposalsMessage | WsDaoGetProposalStateMessage | WsDaoExitLockupMessage | WsDaoCreateProposalMessage | WsDaoVoteOnProposalMessage | WsDaoParseProposalMessage | WsDaoCloseProposalMessage | WsDaoFreeCoinsFromFinishedProposalsMessage | WsNftMintNftMessage | WsNftCountNftsMessage | WsNftGetNftsMessage | WsNftSetNftDidMessage | WsNftGetByDidMessage | WsNftGetWalletDidMessage | WsNftGetWalletsWithDidsMessage | WsNftSetNftStatusMessage | WsNftTransferNftMessage | WsNftGetInfoMessage | WsNftAddUriMessage | WsFarmBlockMessage | WsGetTimestampForHeightMessage | WsSetAutoClaimMessage | WsGetAutoClaimMessage | WsGenerateMnemonicMessage | WsGetAllOffersMessage | WsGetCatListMessage | WsGetFarmedAmountMessage | WsGetHeightInfoMessage | WsGetInitialFreezePeriodMessageOfWallet | WsGetLoggedInFingerprintMessage | WsGetOfferMessage | WsGetOffersCountMessage | WsGetOfferSummaryMessage | WsGetNetworkInfoMessageOfWallet | WsGetNextAddressMessage | WsGetPrivateKeyMessage | WsGetPublicKeysMessage | WsGetSyncStatusMessage | WsGetTransactionMessage | WsGetTransactionCountMessage | WsGetTransactionsMessage | WsGetWalletBalanceMessage | WsGetWalletBalancesMessage | WsGetWalletsMessage | WsLoginMessage | WsPushTxMessageOfWallet | WsPushTransactionsMessage | WsPwJoinPoolMessage | WsPwSelfPoolMessage | WsPwAbsorbRewardsMessage | WsPwStatusMessage | WsRlSetUserInfoMessage | WsSendClawbackTransactionMessage | WsSendTransactionMessage | WsSendTransactionMultiMessage | WsSpendClawbackCoinsMessage | WsGetCoinRecordsMessage | WsTakeOfferMessage | WsCreateNewDlMessage | WsDlTrackNewMessage | WsDlStopTrackingMessage | WsDlLatestSingletonMessage | WsDlSingletonsByRootMessage | WsDlUpdateRootMessage | WsDlUpdateMultipleMessage | WsDlHistoryMessage | WsDlOwnedSingletonsMessage | WsDlGetMirrorsMessage | WsDlNewMirrorMessage | WsDlDeleteMirrorMessage | WsVcMintMessage | WsVcGetMessage | WsVcGetListMessage | WsVcSpendMessage | WsVcAddProofsMessage | WsVcGetProofsForRootMessage | WsVcRevokeMessage | WsCrcatApprovePendingMessage;
|
|
2026
|
+
export declare type RpcWalletMessage = TAddKeyResponse | TAddRateLimitedFundsResponse | TCancelOfferResponse | TCancelOffersResponse | TCatGetAssetIdResponse | TCatGetNameResponse | TGetStrayCatsResponse | TCatAssetIdToNameResponse | TCatSetNameResponse | TCatSpendResponse | TCheckOfferValidityResponse | TCreateNewWalletResponse | TCreateOfferForIdsResponse | TCreateSignedTransactionResponse | TDeleteUnconfirmedTransactionsResponse | TSelectCoinsResponse | TGetSpendableCoinsResponse | TGetCoinRecordsByNamesResponse | TGetCurrentDerivationIndexResponse | TExtendDerivationIndexResponse | TGetNotificationsResponse | TDeleteNotificationsResponse | TSendNotificationResponse | TSignMessageByAddressResponse | TSignMessageByIdResponse | TVerifySignatureResponse | TGetTransactionMemoResponse | TNftCalculateRoyaltiesResponse | TNftMintBulkResponse | TNftSetDidBulkResponse | TNftTransferBulkResponse | TDeleteAllKeysResponse | TSetWalletResyncOnStartupResponse | TDeleteKeyResponse | TCheckDeleteKeyResponse | TDidSetWalletNameResponse | TDidGetWalletNameResponse | TDidCreateAttestResponse | TDidCreateBackupFileResponse | TDidTransferDidResponse | TDidMessageSpendResponse | TDidGetInfoResponse | TDidFindLostDidResponse | TDidGetDidResponse | TDidGetInformationNeededForRecoveryResponse | TDidGetCurrentCoinInfoResponse | TDidGetPubkeyResponse | TDidGetRecoveryListResponse | TDidGetMetadataResponse | TDidRecoverySpendResponse | TDidSpendResponse | TDidUpdateRecoveryIdsResponse | TDidUpdateMetadataResponse | TDaoAdjustFilterLevelResponse | TDaoAddFundsToTreasuryResponse | TDaoGetTreasuryBalanceResponse | TDaoGetTreasuryIdResponse | TDaoGetRulesResponse | TDaoSendToLockupResponse | TDaoGetProposalsResponse | TDaoGetProposalStateResponse | TDaoExitLockupResponse | TDaoCreateProposalResponse | TDaoVoteOnProposalResponse | TDaoParseProposalResponse | TDaoCloseProposalResponse | TDaoFreeCoinsFromFinishedProposalsResponse | TNftMintNftResponse | TNftCountNftsResponse | TNftGetNftsResponse | TNftSetNftDidResponse | TNftGetByDidResponse | TNftGetWalletDidResponse | TNftGetWalletsWithDidsResponse | TNftSetNftStatusResponse | TNftTransferNftResponse | TNftGetInfoResponse | TNftAddUriResponse | TFarmBlockResponse | TGetTimestampForHeightResponse | TSetAutoClaimResponse | TGetAutoClaimResponse | TGenerateMnemonicResponse | TGetAllOffersResponse | TGetCatListResponse | TGetFarmedAmountResponse | TGetHeightInfoResponse | TGetInitialFreezePeriodResponseOfWallet | TGetLoggedInFingerprintResponse | TGetOfferResponse | TGetOffersCountResponse | TGetOfferSummaryResponse | TGetNetworkInfoResponseOfWallet | TGetNextAddressResponse | TGetPrivateKeyResponse | TGetPublicKeysResponse | TGetSyncStatusResponse | TGetTransactionResponse | TGetTransactionCountResponse | TGetTransactionsResponse | TGetWalletBalanceResponse | TGetWalletBalancesResponse | TGetWalletsResponse | TLoginResponse | TPushTxResponseOfWallet | TPushTransactionsResponse | TPwJoinPoolResponse | TPwSelfPoolResponse | TPwAbsorbRewardsResponse | TPwStatusResponse | TRlSetUserInfoResponse | TSendClawbackTransactionResponse | TSendTransactionResponse | TSendTransactionMultiResponse | TSpendClawbackCoinsResponse | TGetCoinRecordsResponse | TTakeOfferResponse | TCreateNewDlResponse | TDlTrackNewResponse | TDlStopTrackingResponse | TDlLatestSingletonResponse | TDlSingletonsByRootResponse | TDlUpdateRootResponse | TDlUpdateMultipleResponse | TDlHistoryResponse | TDlOwnedSingletonsResponse | TDlGetMirrorsResponse | TDlNewMirrorResponse | TDlDeleteMirrorResponse | TDlVerifyProofResponse | TVcMintResponse | TVcGetResponse | TVcGetListResponse | TVcSpendResponse | TVcAddProofsResponse | TVcGetProofsForRootResponse | TVcRevokeResponse | TCrcatApprovePendingResponse;
|
|
2027
|
+
export declare type RpcWalletMessageOnWs = WsAddKeyMessage | WsAddRateLimitedFundsMessage | WsCancelOfferMessage | WsCancelOffersMessage | WsCatGetAssetIdMessage | WsCatGetNameMessage | WsGetStrayCatsMessage | WsCatAssetIdToNameMessage | WsCatSetNameMessage | WsCatSpendMessage | WsCheckOfferValidityMessage | WsCreateNewWalletMessage | WsCreateOfferForIdsMessage | WsCreateSignedTransactionMessage | WsDeleteUnconfirmedTransactionsMessage | WsSelectCoinsMessage | WsGetSpendableCoinsMessage | WsGetCoinRecordsByNamesMessage | WsGetCurrentDerivationIndexMessage | WsExtendDerivationIndexMessage | WsGetNotificationsMessage | WsDeleteNotificationsMessage | WsSendNotificationMessage | WsSignMessageByAddressMessage | WsSignMessageByIdMessage | WsVerifySignatureMessage | WsGetTransactionMemoMessage | WsNftCalculateRoyaltiesMessage | WsNftMintBulkMessage | WsNftSetDidBulkMessage | WsNftTransferBulkMessage | WsDeleteAllKeysMessage | WsSetWalletResyncOnStartupMessage | WsDeleteKeyMessage | WsCheckDeleteKeyMessage | WsDidSetWalletNameMessage | WsDidGetWalletNameMessage | WsDidCreateAttestMessage | WsDidCreateBackupFileMessage | WsDidTransferDidMessage | WsDidMessageSpendMessage | WsDidGetInfoMessage | WsDidFindLostDidMessage | WsDidGetDidMessage | WsDidGetInformationNeededForRecoveryMessage | WsDidGetCurrentCoinInfoMessage | WsDidGetPubkeyMessage | WsDidGetRecoveryListMessage | WsDidGetMetadataMessage | WsDidRecoverySpendMessage | WsDidSpendMessage | WsDidUpdateRecoveryIdsMessage | WsDidUpdateMetadataMessage | WsDaoAdjustFilterLevelMessage | WsDaoAddFundsToTreasuryMessage | WsDaoGetTreasuryBalanceMessage | WsDaoGetTreasuryIdMessage | WsDaoGetRulesMessage | WsDaoSendToLockupMessage | WsDaoGetProposalsMessage | WsDaoGetProposalStateMessage | WsDaoExitLockupMessage | WsDaoCreateProposalMessage | WsDaoVoteOnProposalMessage | WsDaoParseProposalMessage | WsDaoCloseProposalMessage | WsDaoFreeCoinsFromFinishedProposalsMessage | WsNftMintNftMessage | WsNftCountNftsMessage | WsNftGetNftsMessage | WsNftSetNftDidMessage | WsNftGetByDidMessage | WsNftGetWalletDidMessage | WsNftGetWalletsWithDidsMessage | WsNftSetNftStatusMessage | WsNftTransferNftMessage | WsNftGetInfoMessage | WsNftAddUriMessage | WsFarmBlockMessage | WsGetTimestampForHeightMessage | WsSetAutoClaimMessage | WsGetAutoClaimMessage | WsGenerateMnemonicMessage | WsGetAllOffersMessage | WsGetCatListMessage | WsGetFarmedAmountMessage | WsGetHeightInfoMessage | WsGetInitialFreezePeriodMessageOfWallet | WsGetLoggedInFingerprintMessage | WsGetOfferMessage | WsGetOffersCountMessage | WsGetOfferSummaryMessage | WsGetNetworkInfoMessageOfWallet | WsGetNextAddressMessage | WsGetPrivateKeyMessage | WsGetPublicKeysMessage | WsGetSyncStatusMessage | WsGetTransactionMessage | WsGetTransactionCountMessage | WsGetTransactionsMessage | WsGetWalletBalanceMessage | WsGetWalletBalancesMessage | WsGetWalletsMessage | WsLoginMessage | WsPushTxMessageOfWallet | WsPushTransactionsMessage | WsPwJoinPoolMessage | WsPwSelfPoolMessage | WsPwAbsorbRewardsMessage | WsPwStatusMessage | WsRlSetUserInfoMessage | WsSendClawbackTransactionMessage | WsSendTransactionMessage | WsSendTransactionMultiMessage | WsSpendClawbackCoinsMessage | WsGetCoinRecordsMessage | WsTakeOfferMessage | WsCreateNewDlMessage | WsDlTrackNewMessage | WsDlStopTrackingMessage | WsDlLatestSingletonMessage | WsDlSingletonsByRootMessage | WsDlUpdateRootMessage | WsDlUpdateMultipleMessage | WsDlHistoryMessage | WsDlOwnedSingletonsMessage | WsDlGetMirrorsMessage | WsDlNewMirrorMessage | WsDlDeleteMirrorMessage | WsDlVerifyProofMessage | WsVcMintMessage | WsVcGetMessage | WsVcGetListMessage | WsVcSpendMessage | WsVcAddProofsMessage | WsVcGetProofsForRootMessage | WsVcRevokeMessage | WsCrcatApprovePendingMessage;
|
package/api/rpc/wallet/index.js
CHANGED
|
@@ -14,7 +14,7 @@ exports.cat_asset_id_to_name_command = exports.cat_set_name = exports.cat_set_na
|
|
|
14
14
|
exports.did_get_information_needed_for_recovery_command = exports.did_create_attest = exports.did_create_attest_command = exports.did_get_metadata = exports.did_get_metadata_command = exports.did_get_recovery_list = exports.did_get_recovery_list_command = exports.did_recovery_spend = exports.did_recovery_spend_command = exports.did_get_did = exports.did_get_did_command = exports.did_get_pubkey = exports.did_get_pubkey_command = exports.did_spend = exports.did_spend_command = exports.did_update_metadata = exports.did_update_metadata_command = exports.did_update_recovery_ids = exports.did_update_recovery_ids_command = exports.did_get_wallet_name = exports.did_get_wallet_name_command = exports.did_set_wallet_name = exports.did_set_wallet_name_command = exports.cancel_offers = exports.cancel_offers_command = exports.cancel_offer = exports.cancel_offer_command = exports.get_offers_count = exports.get_offers_count_command = exports.get_all_offers = exports.get_all_offers_command = exports.get_offer = exports.get_offer_command = exports.take_offer = exports.take_offer_command = exports.check_offer_validity = exports.check_offer_validity_command = exports.get_offer_summary = exports.get_offer_summary_command = exports.create_offer_for_ids = exports.create_offer_for_ids_command = exports.cat_get_asset_id = exports.cat_get_asset_id_command = exports.cat_spend = exports.cat_spend_command = exports.get_stray_cats = exports.get_stray_cats_command = exports.cat_get_name = exports.cat_get_name_command = exports.cat_asset_id_to_name = void 0;
|
|
15
15
|
exports.nft_set_did_bulk_command = exports.nft_set_nft_did = exports.nft_set_nft_did_command = exports.nft_get_nfts = exports.nft_get_nfts_command = exports.nft_count_nfts = exports.nft_count_nfts_command = exports.nft_mint_nft = exports.nft_mint_nft_command = exports.dao_free_coins_from_finished_proposals = exports.dao_free_coins_from_finished_proposals_command = exports.dao_close_proposal = exports.dao_close_proposal_command = exports.dao_parse_proposal = exports.dao_parse_proposal_command = exports.dao_vote_on_proposal = exports.dao_vote_on_proposal_command = exports.dao_create_proposal = exports.dao_create_proposal_command = exports.dao_exit_lockup = exports.dao_exit_lockup_command = exports.dao_get_proposal_state = exports.dao_get_proposal_state_command = exports.dao_get_proposals = exports.dao_get_proposals_command = exports.dao_send_to_lockup = exports.dao_send_to_lockup_command = exports.dao_get_rules = exports.dao_get_rules_command = exports.dao_get_treasury_id = exports.dao_get_treasury_id_command = exports.dao_get_treasury_balance = exports.dao_get_treasury_balance_command = exports.dao_add_funds_to_treasury = exports.dao_add_funds_to_treasury_command = exports.dao_adjust_filter_level = exports.dao_adjust_filter_level_command = exports.did_transfer_did = exports.did_transfer_did_command = exports.did_find_lost_did = exports.did_find_lost_did_command = exports.did_get_info = exports.did_get_info_command = exports.did_message_spend = exports.did_message_spend_command = exports.did_create_backup_file = exports.did_create_backup_file_command = exports.did_get_current_coin_info = exports.did_get_current_coin_info_command = exports.did_get_information_needed_for_recovery = void 0;
|
|
16
16
|
exports.dl_history_command = exports.dl_update_multiple = exports.dl_update_multiple_command = exports.dl_update_root = exports.dl_update_root_command = exports.dl_singletons_by_root = exports.dl_singletons_by_root_command = exports.dl_latest_singleton = exports.dl_latest_singleton_command = exports.dl_stop_tracking = exports.dl_stop_tracking_command = exports.dl_track_new = exports.dl_track_new_command = exports.create_new_dl = exports.create_new_dl_command = exports.pw_status = exports.pw_status_command = exports.pw_absorb_rewards = exports.pw_absorb_rewards_command = exports.pw_self_pool = exports.pw_self_pool_command = exports.pw_join_pool = exports.pw_join_pool_command = exports.add_rate_limited_funds = exports.add_rate_limited_funds_command = exports.send_clawback_transaction = exports.send_clawback_transaction_command = exports.rl_set_user_info = exports.rl_set_user_info_command = exports.nft_mint_bulk = exports.nft_mint_bulk_command = exports.nft_calculate_royalties = exports.nft_calculate_royalties_command = exports.nft_add_uri = exports.nft_add_uri_command = exports.nft_get_info = exports.nft_get_info_command = exports.nft_transfer_nft = exports.nft_transfer_nft_command = exports.nft_set_nft_status = exports.nft_set_nft_status_command = exports.nft_get_wallets_with_dids = exports.nft_get_wallets_with_dids_command = exports.nft_get_wallet_did = exports.nft_get_wallet_did_command = exports.nft_get_by_did = exports.nft_get_by_did_command = exports.nft_transfer_bulk = exports.nft_transfer_bulk_command = exports.nft_set_did_bulk = void 0;
|
|
17
|
-
exports.crcat_approve_pending = exports.crcat_approve_pending_command = exports.vc_revoke = exports.vc_revoke_command = exports.vc_get_proofs_for_root = exports.vc_get_proofs_for_root_command = exports.vc_add_proofs = exports.vc_add_proofs_command = exports.vc_spend = exports.vc_spend_command = exports.vc_get_list = exports.vc_get_list_command = exports.vc_get = exports.vc_get_command = exports.vc_mint = exports.vc_mint_command = exports.dl_delete_mirror = exports.dl_delete_mirror_command = exports.dl_new_mirror = exports.dl_new_mirror_command = exports.dl_get_mirrors = exports.dl_get_mirrors_command = exports.dl_owned_singletons = exports.dl_owned_singletons_command = exports.dl_history = void 0;
|
|
17
|
+
exports.crcat_approve_pending = exports.crcat_approve_pending_command = exports.vc_revoke = exports.vc_revoke_command = exports.vc_get_proofs_for_root = exports.vc_get_proofs_for_root_command = exports.vc_add_proofs = exports.vc_add_proofs_command = exports.vc_spend = exports.vc_spend_command = exports.vc_get_list = exports.vc_get_list_command = exports.vc_get = exports.vc_get_command = exports.vc_mint = exports.vc_mint_command = exports.dl_verify_proof = exports.dl_verify_proof_command = exports.dl_delete_mirror = exports.dl_delete_mirror_command = exports.dl_new_mirror = exports.dl_new_mirror_command = exports.dl_get_mirrors = exports.dl_get_mirrors_command = exports.dl_owned_singletons = exports.dl_owned_singletons_command = exports.dl_history = void 0;
|
|
18
18
|
exports.chia_wallet_service = "chia_wallet";
|
|
19
19
|
// # Key management
|
|
20
20
|
exports.log_in_command = "log_in";
|
|
@@ -928,6 +928,13 @@ function dl_delete_mirror(agent, data) {
|
|
|
928
928
|
});
|
|
929
929
|
}
|
|
930
930
|
exports.dl_delete_mirror = dl_delete_mirror;
|
|
931
|
+
exports.dl_verify_proof_command = "dl_verify_proof";
|
|
932
|
+
function dl_verify_proof(agent, data) {
|
|
933
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
934
|
+
return agent.sendMessage(exports.chia_wallet_service, exports.dl_verify_proof_command, data);
|
|
935
|
+
});
|
|
936
|
+
}
|
|
937
|
+
exports.dl_verify_proof = dl_verify_proof;
|
|
931
938
|
exports.vc_mint_command = "vc_mint";
|
|
932
939
|
function vc_mint(agent, data) {
|
|
933
940
|
return __awaiter(this, void 0, void 0, function* () {
|