chia-agent 14.1.0 → 14.2.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 +121 -1
- package/README.md +7 -5
- package/api/chia/consensus/block_record.d.ts +1 -32
- package/api/chia/data_layer/data_layer_wallet.d.ts +2 -1
- package/api/chia/pools/pool_wallet_info.d.ts +0 -2
- package/api/chia/rpc/util.d.ts +2 -0
- package/api/chia/rpc/wallet_request_types.d.ts +44 -1
- package/api/chia/types/blockchain_format/classgroup.d.ts +1 -4
- package/api/chia/types/blockchain_format/coin.d.ts +1 -11
- package/api/chia/types/blockchain_format/foliage.d.ts +1 -35
- package/api/chia/types/blockchain_format/pool_target.d.ts +1 -6
- package/api/chia/types/blockchain_format/proof_of_space.d.ts +1 -10
- package/api/chia/types/blockchain_format/reward_chain_block.d.ts +1 -30
- package/api/chia/types/blockchain_format/slots.d.ts +1 -24
- package/api/chia/types/blockchain_format/sub_epoch_summary.d.ts +1 -9
- package/api/chia/types/blockchain_format/vdf.d.ts +1 -13
- package/api/chia/types/coin_spend.d.ts +2 -7
- package/api/chia/types/end_of_slot_bundle.d.ts +1 -8
- package/api/chia/types/full_block.d.ts +1 -24
- package/api/chia/types/spend_bundle_condition.d.ts +1 -26
- package/api/chia/types/unfinished_block.d.ts +1 -0
- package/api/chia/wallet/signer_protocol.d.ts +54 -0
- package/api/chia_rs/chia-bls/public_key.d.ts +2 -0
- package/api/chia_rs/chia-bls/public_key.js +2 -0
- package/api/chia_rs/chia-consensus/gen/owned_conditions.d.ts +36 -0
- package/api/chia_rs/chia-consensus/gen/owned_conditions.js +2 -0
- package/api/chia_rs/chia-protocol/block_record.d.ts +32 -0
- package/api/chia_rs/chia-protocol/block_record.js +2 -0
- package/api/chia_rs/chia-protocol/classgroup.d.ts +4 -0
- package/api/chia_rs/chia-protocol/classgroup.js +2 -0
- package/api/chia_rs/chia-protocol/coin.d.ts +7 -0
- package/api/chia_rs/chia-protocol/coin.js +2 -0
- package/api/chia_rs/chia-protocol/coin_spend.d.ts +7 -0
- package/api/chia_rs/chia-protocol/coin_spend.js +2 -0
- package/api/chia_rs/chia-protocol/end_of_sub_slot_bundle.d.ts +8 -0
- package/api/chia_rs/chia-protocol/end_of_sub_slot_bundle.js +2 -0
- package/api/chia_rs/chia-protocol/foliage.d.ts +35 -0
- package/api/chia_rs/chia-protocol/foliage.js +2 -0
- package/api/chia_rs/chia-protocol/fullblock.d.ts +20 -0
- package/api/chia_rs/chia-protocol/fullblock.js +2 -0
- package/api/chia_rs/chia-protocol/pool_target.d.ts +6 -0
- package/api/chia_rs/chia-protocol/pool_target.js +2 -0
- package/api/chia_rs/chia-protocol/program.d.ts +2 -0
- package/api/chia_rs/chia-protocol/program.js +2 -0
- package/api/chia_rs/chia-protocol/proof_of_space.d.ts +10 -0
- package/api/chia_rs/chia-protocol/proof_of_space.js +2 -0
- package/api/chia_rs/chia-protocol/reward_chain_block.d.ts +30 -0
- package/api/chia_rs/chia-protocol/reward_chain_block.js +2 -0
- package/api/chia_rs/chia-protocol/slots.d.ts +24 -0
- package/api/chia_rs/chia-protocol/slots.js +2 -0
- package/api/chia_rs/chia-protocol/sub_epoch_summary.d.ts +9 -0
- package/api/chia_rs/chia-protocol/sub_epoch_summary.js +2 -0
- package/api/chia_rs/chia-protocol/unfinished_block.d.ts +17 -0
- package/api/chia_rs/chia-protocol/unfinished_block.js +2 -0
- package/api/chia_rs/chia-protocol/vdf.d.ts +13 -0
- package/api/chia_rs/chia-protocol/vdf.js +2 -0
- package/api/{chia → pool-reference}/pool/record.d.ts +4 -4
- package/api/pool-reference/pool/record.js +2 -0
- package/api/rpc/common/index.d.ts +2 -0
- package/api/rpc/data_layer/index.d.ts +42 -8
- package/api/rpc/data_layer/index.js +16 -2
- package/api/rpc/index.d.ts +3 -3
- package/api/rpc/index.js +10 -6
- package/api/rpc/pool/index.d.ts +1 -1
- package/api/rpc/wallet/index.d.ts +111 -12
- package/api/rpc/wallet/index.js +27 -13
- package/api/types.d.ts +1 -0
- package/api/types.js +2 -1
- package/api/ws/daemon/index.d.ts +40 -13
- package/api/ws/daemon/index.js +9 -2
- package/api/ws/full_node/index.d.ts +14 -3
- package/api/ws/full_node/index.js +14 -1
- package/api/ws/index.d.ts +2 -2
- package/api/ws/index.js +4 -2
- package/package.json +1 -1
- package/api/chia/types/blockchain_format/serialized_program.d.ts +0 -2
- /package/api/chia/{pool/record.js → types/unfinished_block.js} +0 -0
- /package/api/chia/{types/blockchain_format/serialized_program.js → wallet/signer_protocol.js} +0 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { bytes, Optional, uint128, uint32, uint64 } from "../../../chia/types/_python_types_";
|
|
2
|
+
import { bytes32 } from "../../../chia/types/blockchain_format/sized_bytes";
|
|
3
|
+
import { PublicKey } from "../../chia-bls/public_key";
|
|
4
|
+
export type Spend = {
|
|
5
|
+
coin_id: bytes32;
|
|
6
|
+
parent_id: bytes32;
|
|
7
|
+
puzzle_hash: bytes32;
|
|
8
|
+
coin_amount: uint64;
|
|
9
|
+
height_relative: Optional<uint32>;
|
|
10
|
+
seconds_relative: Optional<uint64>;
|
|
11
|
+
before_height_relative: Optional<uint32>;
|
|
12
|
+
before_seconds_relative: Optional<uint64>;
|
|
13
|
+
birth_height: Optional<uint32>;
|
|
14
|
+
birth_seconds: Optional<uint64>;
|
|
15
|
+
create_coin: Array<[bytes32, uint64, Optional<bytes>]>;
|
|
16
|
+
agg_sig_me: Array<[PublicKey, bytes]>;
|
|
17
|
+
agg_sig_parent: Array<[PublicKey, bytes]>;
|
|
18
|
+
agg_sig_puzzle: Array<[PublicKey, bytes]>;
|
|
19
|
+
agg_sig_amount: Array<[PublicKey, bytes]>;
|
|
20
|
+
agg_sig_puzzle_amount: Array<[PublicKey, bytes]>;
|
|
21
|
+
agg_sig_parent_amount: Array<[PublicKey, bytes]>;
|
|
22
|
+
agg_sig_parent_puzzle: Array<[PublicKey, bytes]>;
|
|
23
|
+
flags: uint32;
|
|
24
|
+
};
|
|
25
|
+
export type SpendBundleConditions = {
|
|
26
|
+
spends: Spend[];
|
|
27
|
+
reserve_fee: uint64;
|
|
28
|
+
height_absolute: uint32;
|
|
29
|
+
seconds_absolute: uint64;
|
|
30
|
+
before_height_absolute: Optional<uint32>;
|
|
31
|
+
before_seconds_absolute: Optional<uint64>;
|
|
32
|
+
agg_sig_unsafe: Array<[PublicKey, bytes]>;
|
|
33
|
+
cost: uint64;
|
|
34
|
+
removal_amount: uint128;
|
|
35
|
+
addition_amount: uint128;
|
|
36
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
|
|
2
|
+
import { bool, Optional, uint128, uint32, uint64, uint8 } from "../../chia/types/_python_types_";
|
|
3
|
+
import { ClassgroupElement } from "./classgroup";
|
|
4
|
+
import { Coin } from "./coin";
|
|
5
|
+
import { SubEpochSummary } from "./sub_epoch_summary";
|
|
6
|
+
export type BlockRecord = {
|
|
7
|
+
header_hash: bytes32;
|
|
8
|
+
prev_hash: bytes32;
|
|
9
|
+
height: uint32;
|
|
10
|
+
weight: uint128;
|
|
11
|
+
total_iters: uint128;
|
|
12
|
+
signage_point_index: uint8;
|
|
13
|
+
challenge_vdf_output: ClassgroupElement;
|
|
14
|
+
infused_challenge_vdf_output: Optional<ClassgroupElement>;
|
|
15
|
+
reward_infusion_new_challenge: bytes32;
|
|
16
|
+
challenge_block_info_hash: bytes32;
|
|
17
|
+
sub_slot_iters: uint64;
|
|
18
|
+
pool_puzzle_hash: bytes32;
|
|
19
|
+
farmer_puzzle_hash: bytes32;
|
|
20
|
+
required_iters: uint64;
|
|
21
|
+
deficit: uint8;
|
|
22
|
+
overflow: bool;
|
|
23
|
+
prev_transaction_block_height: uint32;
|
|
24
|
+
timestamp: Optional<uint64>;
|
|
25
|
+
prev_transaction_block_hash: Optional<bytes32>;
|
|
26
|
+
fees: Optional<uint64>;
|
|
27
|
+
reward_claims_incorporated: Optional<Coin[]>;
|
|
28
|
+
finished_challenge_slot_hashes: Optional<bytes32[]>;
|
|
29
|
+
finished_infused_challenge_slot_hashes: Optional<bytes32[]>;
|
|
30
|
+
finished_reward_slot_hashes: Optional<bytes32[]>;
|
|
31
|
+
sub_epoch_summary_included: Optional<SubEpochSummary>;
|
|
32
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Optional } from "../../chia/types/_python_types_";
|
|
2
|
+
import { ChallengeChainSubSlot, InfusedChallengeChainSubSlot, RewardChainSubSlot, SubSlotProofs } from "./slots";
|
|
3
|
+
export type EndOfSubSlotBundle = {
|
|
4
|
+
challenge_chain: ChallengeChainSubSlot;
|
|
5
|
+
infused_challenge_chain: Optional<InfusedChallengeChainSubSlot>;
|
|
6
|
+
reward_chain: RewardChainSubSlot;
|
|
7
|
+
proofs: SubSlotProofs;
|
|
8
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
|
|
2
|
+
import { G2Element, Optional, uint64 } from "../../chia/types/_python_types_";
|
|
3
|
+
import { PoolTarget } from "./pool_target";
|
|
4
|
+
import { Coin } from "./coin";
|
|
5
|
+
export type Foliage = {
|
|
6
|
+
prev_block_hash: bytes32;
|
|
7
|
+
reward_block_hash: bytes32;
|
|
8
|
+
foliage_block_data: FoliageBlockData;
|
|
9
|
+
foliage_block_data_signature: G2Element;
|
|
10
|
+
foliage_transaction_block_hash: Optional<bytes32>;
|
|
11
|
+
foliage_transaction_block_signature: Optional<G2Element>;
|
|
12
|
+
};
|
|
13
|
+
export type FoliageBlockData = {
|
|
14
|
+
unfinished_reward_block_hash: bytes32;
|
|
15
|
+
pool_target: PoolTarget;
|
|
16
|
+
pool_signature: Optional<G2Element>;
|
|
17
|
+
farmer_reward_puzzle_hash: bytes32;
|
|
18
|
+
extension_data: bytes32;
|
|
19
|
+
};
|
|
20
|
+
export type FoliageTransactionBlock = {
|
|
21
|
+
prev_transaction_block_hash: bytes32;
|
|
22
|
+
timestamp: uint64;
|
|
23
|
+
filter_hash: bytes32;
|
|
24
|
+
additions_root: bytes32;
|
|
25
|
+
removals_root: bytes32;
|
|
26
|
+
transactions_info_hash: bytes32;
|
|
27
|
+
};
|
|
28
|
+
export type TransactionsInfo = {
|
|
29
|
+
generator_root: bytes32;
|
|
30
|
+
generator_refs_root: bytes32;
|
|
31
|
+
aggregated_signature: G2Element;
|
|
32
|
+
fees: uint64;
|
|
33
|
+
cost: uint64;
|
|
34
|
+
reward_claims_incorporated: Coin[];
|
|
35
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Optional, uint32 } from "../../chia/types/_python_types_";
|
|
2
|
+
import { EndOfSubSlotBundle } from "./end_of_sub_slot_bundle";
|
|
3
|
+
import { RewardChainBlock } from "./reward_chain_block";
|
|
4
|
+
import { VDFProof } from "./vdf";
|
|
5
|
+
import { Foliage, FoliageTransactionBlock, TransactionsInfo } from "./foliage";
|
|
6
|
+
import { Program } from "./program";
|
|
7
|
+
export type FullBlock = {
|
|
8
|
+
finished_sub_slots: EndOfSubSlotBundle[];
|
|
9
|
+
reward_chain_block: RewardChainBlock;
|
|
10
|
+
challenge_chain_sp_proof: Optional<VDFProof>;
|
|
11
|
+
challenge_chain_ip_proof: VDFProof;
|
|
12
|
+
reward_chain_sp_proof: Optional<VDFProof>;
|
|
13
|
+
reward_chain_ip_proof: VDFProof;
|
|
14
|
+
infused_challenge_chain_ip_proof: Optional<VDFProof>;
|
|
15
|
+
foliage: Foliage;
|
|
16
|
+
foliage_transaction_block: Optional<FoliageTransactionBlock>;
|
|
17
|
+
transactions_info: Optional<TransactionsInfo>;
|
|
18
|
+
transactions_generator: Optional<Program>;
|
|
19
|
+
transactions_generator_ref_list: uint32[];
|
|
20
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
|
|
2
|
+
import { bytes, G1Element, Optional, uint8 } from "../../chia/types/_python_types_";
|
|
3
|
+
export type ProofOfSpace = {
|
|
4
|
+
challenge: bytes32;
|
|
5
|
+
pool_public_key: Optional<G1Element>;
|
|
6
|
+
pool_contract_puzzle_hash: Optional<bytes32>;
|
|
7
|
+
plot_public_key: G1Element;
|
|
8
|
+
size: uint8;
|
|
9
|
+
proof: bytes;
|
|
10
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { bool, G2Element, Optional, uint128, uint32, uint8 } from "../../chia/types/_python_types_";
|
|
2
|
+
import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
|
|
3
|
+
import { ProofOfSpace } from "./proof_of_space";
|
|
4
|
+
import { VDFInfo } from "./vdf";
|
|
5
|
+
export type RewardChainBlockUnfinished = {
|
|
6
|
+
total_iters: uint128;
|
|
7
|
+
signage_point_index: uint8;
|
|
8
|
+
pos_ss_cc_challenge_hash: bytes32;
|
|
9
|
+
proof_of_space: ProofOfSpace;
|
|
10
|
+
challenge_chain_sp_vdf: Optional<VDFInfo>;
|
|
11
|
+
challenge_chain_sp_signature: G2Element;
|
|
12
|
+
reward_chain_sp_vdf: Optional<VDFInfo>;
|
|
13
|
+
reward_chain_sp_signature: G2Element;
|
|
14
|
+
};
|
|
15
|
+
export type RewardChainBlock = {
|
|
16
|
+
weight: uint128;
|
|
17
|
+
height: uint32;
|
|
18
|
+
total_iters: uint128;
|
|
19
|
+
signage_point_index: uint8;
|
|
20
|
+
pos_ss_cc_challenge_hash: bytes32;
|
|
21
|
+
proof_of_space: ProofOfSpace;
|
|
22
|
+
challenge_chain_sp_vdf: Optional<VDFInfo>;
|
|
23
|
+
challenge_chain_sp_signature: G2Element;
|
|
24
|
+
challenge_chain_ip_vdf: VDFInfo;
|
|
25
|
+
reward_chain_sp_vdf: Optional<VDFInfo>;
|
|
26
|
+
reward_chain_sp_signature: G2Element;
|
|
27
|
+
reward_chain_ip_vdf: VDFInfo;
|
|
28
|
+
infused_challenge_chain_ip_vdf: Optional<VDFInfo>;
|
|
29
|
+
is_transaction_block: bool;
|
|
30
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Optional, uint64, uint8 } from "../../chia/types/_python_types_";
|
|
2
|
+
import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
|
|
3
|
+
import { VDFInfo, VDFProof } from "./vdf";
|
|
4
|
+
export type ChallengeChainSubSlot = {
|
|
5
|
+
challenge_chain_end_of_slot_vdf: VDFInfo;
|
|
6
|
+
infused_challenge_chain_sub_slot_hash: Optional<bytes32>;
|
|
7
|
+
subepoch_summary_hash: Optional<bytes32>;
|
|
8
|
+
new_sub_slot_iters: Optional<uint64>;
|
|
9
|
+
new_difficulty: Optional<uint64>;
|
|
10
|
+
};
|
|
11
|
+
export type InfusedChallengeChainSubSlot = {
|
|
12
|
+
infused_challenge_chain_end_of_slot_vdf: VDFInfo;
|
|
13
|
+
};
|
|
14
|
+
export type RewardChainSubSlot = {
|
|
15
|
+
end_of_slot_vdf: VDFInfo;
|
|
16
|
+
challenge_chain_sub_slot_hash: bytes32;
|
|
17
|
+
infused_challenge_chain_sub_slot_hash: Optional<bytes32>;
|
|
18
|
+
deficit: uint8;
|
|
19
|
+
};
|
|
20
|
+
export type SubSlotProofs = {
|
|
21
|
+
challenge_chain_slot_proof: VDFProof;
|
|
22
|
+
infused_challenge_chain_slot_proof: Optional<VDFProof>;
|
|
23
|
+
reward_chain_slot_proof: VDFProof;
|
|
24
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
|
|
2
|
+
import { Optional, uint64, uint8 } from "../../chia/types/_python_types_";
|
|
3
|
+
export type SubEpochSummary = {
|
|
4
|
+
prev_subepoch_summary_hash: bytes32;
|
|
5
|
+
reward_chain_hash: bytes32;
|
|
6
|
+
num_blocks_overflow: uint8;
|
|
7
|
+
new_difficulty: Optional<uint64>;
|
|
8
|
+
new_sub_slot_iters: Optional<uint64>;
|
|
9
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Optional, uint32 } from "../../chia/types/_python_types_";
|
|
2
|
+
import { VDFProof } from "./vdf";
|
|
3
|
+
import { Foliage, FoliageTransactionBlock, TransactionsInfo } from "./foliage";
|
|
4
|
+
import { RewardChainBlockUnfinished } from "./reward_chain_block";
|
|
5
|
+
import { EndOfSubSlotBundle } from "./end_of_sub_slot_bundle";
|
|
6
|
+
import { Program } from "./program";
|
|
7
|
+
export type UnfinishedBlock = {
|
|
8
|
+
finished_sub_slots: EndOfSubSlotBundle[];
|
|
9
|
+
reward_chain_block: RewardChainBlockUnfinished;
|
|
10
|
+
challenge_chain_sp_proof: Optional<VDFProof>;
|
|
11
|
+
reward_chain_sp_proof: Optional<VDFProof>;
|
|
12
|
+
foliage: Foliage;
|
|
13
|
+
foliage_transaction_block: Optional<FoliageTransactionBlock>;
|
|
14
|
+
transactions_info: Optional<TransactionsInfo>;
|
|
15
|
+
transactions_generator: Optional<Program>;
|
|
16
|
+
transactions_generator_ref_list: uint32[];
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
|
|
2
|
+
import { bool, bytes, uint64, uint8 } from "../../chia/types/_python_types_";
|
|
3
|
+
import { ClassgroupElement } from "./classgroup";
|
|
4
|
+
export type VDFInfo = {
|
|
5
|
+
challenge: bytes32;
|
|
6
|
+
number_of_iterations: uint64;
|
|
7
|
+
output: ClassgroupElement;
|
|
8
|
+
};
|
|
9
|
+
export type VDFProof = {
|
|
10
|
+
witness_type: uint8;
|
|
11
|
+
witness: bytes;
|
|
12
|
+
normalized_to_identity: bool;
|
|
13
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { bytes32 } from "
|
|
2
|
-
import { bool, G1Element, str, uint64 } from "
|
|
3
|
-
import { CoinSpend } from "
|
|
4
|
-
import { PoolState } from "
|
|
1
|
+
import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
|
|
2
|
+
import { bool, G1Element, str, uint64 } from "../../chia/types/_python_types_";
|
|
3
|
+
import { CoinSpend } from "../../chia/types/coin_spend";
|
|
4
|
+
import { PoolState } from "../../chia/pools/pool_wallet_info";
|
|
5
5
|
export type FarmerRecord = {
|
|
6
6
|
launcher_id: bytes32;
|
|
7
7
|
p2_singleton_puzzle_hash: bytes32;
|
|
@@ -8,8 +8,10 @@ export type chia_common_service = typeof chia_common_service;
|
|
|
8
8
|
export declare const get_network_info_command = "get_network_info";
|
|
9
9
|
export type get_network_info_command = typeof get_network_info_command;
|
|
10
10
|
export type TGetNetworkInfoResponse = {
|
|
11
|
+
success: True;
|
|
11
12
|
network_name: str;
|
|
12
13
|
network_prefix: str;
|
|
14
|
+
genesis_challenge: str;
|
|
13
15
|
};
|
|
14
16
|
export type WsGetNetworkInfoMessage = GetMessageType<chia_common_service, get_network_info_command, TGetNetworkInfoResponse>;
|
|
15
17
|
export declare function get_network_info<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetNetworkInfoResponse, WsGetNetworkInfoMessage>>;
|
|
@@ -34,16 +34,25 @@ export type TGetOwnedStoresResponse = {
|
|
|
34
34
|
};
|
|
35
35
|
export type WsGetOwnedStoresMessage = GetMessageType<chia_data_layer_service, get_owned_stores_command, TGetOwnedStoresResponse>;
|
|
36
36
|
export declare function get_owned_stores<T extends TRPCAgent | TDaemon>(agent: T): Promise<ResType<T, TGetOwnedStoresResponse, WsGetOwnedStoresMessage>>;
|
|
37
|
+
export type BatchUpdateChange = {
|
|
38
|
+
action: "insert";
|
|
39
|
+
key: str;
|
|
40
|
+
value: str;
|
|
41
|
+
reference_node_hash?: str;
|
|
42
|
+
side?: 0 | 1;
|
|
43
|
+
} | {
|
|
44
|
+
action: "delete";
|
|
45
|
+
key: str;
|
|
46
|
+
} | {
|
|
47
|
+
action: "upsert";
|
|
48
|
+
key: str;
|
|
49
|
+
value: str;
|
|
50
|
+
};
|
|
37
51
|
export declare const batch_update_command = "batch_update";
|
|
38
52
|
export type batch_update_command = typeof batch_update_command;
|
|
39
53
|
export type TBatchUpdateRequest = {
|
|
40
54
|
fee?: uint64;
|
|
41
|
-
changelist:
|
|
42
|
-
key: str;
|
|
43
|
-
reference_node_hash?: str;
|
|
44
|
-
side?: 0 | 1;
|
|
45
|
-
value?: str;
|
|
46
|
-
}>;
|
|
55
|
+
changelist: BatchUpdateChange[];
|
|
47
56
|
id: str;
|
|
48
57
|
submit_on_chain?: bool;
|
|
49
58
|
};
|
|
@@ -52,6 +61,21 @@ export type TBatchUpdateResponse = {
|
|
|
52
61
|
};
|
|
53
62
|
export type WsBatchUpdateMessage = GetMessageType<chia_data_layer_service, batch_update_command, TBatchUpdateResponse>;
|
|
54
63
|
export declare function batch_update<T extends TRPCAgent | TDaemon>(agent: T, params: TBatchUpdateRequest): Promise<ResType<T, TBatchUpdateResponse, WsBatchUpdateMessage>>;
|
|
64
|
+
export declare const multistore_batch_update_command = "multistore_batch_update";
|
|
65
|
+
export type multistore_batch_update_command = typeof multistore_batch_update_command;
|
|
66
|
+
export type TMultistoreBatchUpdateRequest = {
|
|
67
|
+
fee?: uint64;
|
|
68
|
+
store_updates: Array<{
|
|
69
|
+
store_id: str;
|
|
70
|
+
changelist: BatchUpdateChange[];
|
|
71
|
+
}>;
|
|
72
|
+
submit_on_chain?: bool;
|
|
73
|
+
};
|
|
74
|
+
export type TMultistoreBatchUpdateResponse = {
|
|
75
|
+
tx_id?: bytes32[];
|
|
76
|
+
};
|
|
77
|
+
export type WsMultistoreBatchUpdateMessage = GetMessageType<chia_data_layer_service, multistore_batch_update_command, TMultistoreBatchUpdateResponse>;
|
|
78
|
+
export declare function multistore_batch_update<T extends TRPCAgent | TDaemon>(agent: T, params: TMultistoreBatchUpdateRequest): Promise<ResType<T, TMultistoreBatchUpdateResponse, WsMultistoreBatchUpdateMessage>>;
|
|
55
79
|
export declare const submit_pending_root_command = "submit_pending_root";
|
|
56
80
|
export type submit_pending_root_command = typeof submit_pending_root_command;
|
|
57
81
|
export type TSubmitPendingRootRequest = {
|
|
@@ -63,6 +87,16 @@ export type TSubmitPendingRootResponse = {
|
|
|
63
87
|
};
|
|
64
88
|
export type WsSubmitPendingRootMessage = GetMessageType<chia_data_layer_service, submit_pending_root_command, TSubmitPendingRootResponse>;
|
|
65
89
|
export declare function submit_pending_root<T extends TRPCAgent | TDaemon>(agent: T, params: TSubmitPendingRootRequest): Promise<ResType<T, TSubmitPendingRootResponse, WsSubmitPendingRootMessage>>;
|
|
90
|
+
export declare const submit_all_pending_roots_command = "submit_all_pending_roots";
|
|
91
|
+
export type submit_all_pending_roots_command = typeof submit_all_pending_roots_command;
|
|
92
|
+
export type TSubmitAllPendingRootsRequest = {
|
|
93
|
+
fee?: uint64;
|
|
94
|
+
};
|
|
95
|
+
export type TSubmitAllPendingRootsResponse = {
|
|
96
|
+
tx_id: bytes32[];
|
|
97
|
+
};
|
|
98
|
+
export type WsSubmitAllPendingRootsMessage = GetMessageType<chia_data_layer_service, submit_all_pending_roots_command, TSubmitAllPendingRootsResponse>;
|
|
99
|
+
export declare function submit_all_pending_roots<T extends TRPCAgent | TDaemon>(agent: T, params: TSubmitAllPendingRootsRequest): Promise<ResType<T, TSubmitAllPendingRootsResponse, WsSubmitAllPendingRootsMessage>>;
|
|
66
100
|
export declare const get_value_command = "get_value";
|
|
67
101
|
export type get_value_command = typeof get_value_command;
|
|
68
102
|
export type TGetValueRequest = {
|
|
@@ -411,5 +445,5 @@ export type TVerifyProofRequest = DLProof;
|
|
|
411
445
|
export type TVerifyProofResponse = VerifyProofResponse;
|
|
412
446
|
export type WsVerifyProofMessage = GetMessageType<chia_data_layer_service, verify_proof_command, TVerifyProofResponse>;
|
|
413
447
|
export declare function verify_proof<T extends TRPCAgent | TDaemon>(agent: T, params: TVerifyProofRequest): Promise<ResType<T, VerifyProofResponse, WsVerifyProofMessage>>;
|
|
414
|
-
export type RpcDataLayerMessage = TWalletLogInResponse | TCreateDataStoreResponse | TGetOwnedStoresResponse | TBatchUpdateResponse | TSubmitPendingRootResponse | 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;
|
|
415
|
-
export type RpcDataLayerMessageOnWs = WsWalletLogInMessage | WsCreateDataStoreMessage | WsGetOwnedStoresMessage | WsBatchUpdateMessage | WsSubmitPendingRootMessage | 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;
|
|
448
|
+
export type RpcDataLayerMessage = TWalletLogInResponse | TCreateDataStoreResponse | TGetOwnedStoresResponse | TBatchUpdateResponse | TMultistoreBatchUpdateResponse | TSubmitPendingRootResponse | TSubmitAllPendingRootsRequest | 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;
|
|
449
|
+
export type RpcDataLayerMessageOnWs = WsWalletLogInMessage | WsCreateDataStoreMessage | WsGetOwnedStoresMessage | WsBatchUpdateMessage | WsMultistoreBatchUpdateMessage | WsSubmitPendingRootMessage | WsSubmitAllPendingRootsMessage | 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;
|
|
@@ -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.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 = exports.take_offer_command = exports.make_offer = void 0;
|
|
12
|
+
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.submit_all_pending_roots = exports.submit_all_pending_roots_command = exports.submit_pending_root = exports.submit_pending_root_command = exports.multistore_batch_update = exports.multistore_batch_update_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.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 = exports.take_offer_command = exports.make_offer = exports.make_offer_command = exports.add_missing_files = exports.add_missing_files_command = exports.get_root_history = 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) {
|
|
@@ -40,6 +40,13 @@ function batch_update(agent, params) {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
exports.batch_update = batch_update;
|
|
43
|
+
exports.multistore_batch_update_command = "multistore_batch_update";
|
|
44
|
+
function multistore_batch_update(agent, params) {
|
|
45
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
46
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.multistore_batch_update_command, params);
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
exports.multistore_batch_update = multistore_batch_update;
|
|
43
50
|
exports.submit_pending_root_command = "submit_pending_root";
|
|
44
51
|
function submit_pending_root(agent, params) {
|
|
45
52
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -47,6 +54,13 @@ function submit_pending_root(agent, params) {
|
|
|
47
54
|
});
|
|
48
55
|
}
|
|
49
56
|
exports.submit_pending_root = submit_pending_root;
|
|
57
|
+
exports.submit_all_pending_roots_command = "submit_all_pending_roots";
|
|
58
|
+
function submit_all_pending_roots(agent, params) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
return agent.sendMessage(exports.chia_data_layer_service, exports.submit_all_pending_roots_command, params);
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
exports.submit_all_pending_roots = submit_all_pending_roots;
|
|
50
64
|
exports.get_value_command = "get_value";
|
|
51
65
|
function get_value(agent, params) {
|
|
52
66
|
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, TGetSignagePointsResponse, get_signage_points, TSetRewardTargetRequest, TSetRewardTargetResponse, set_reward_targets, 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, 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, TGetAggsigAdditionalDataResponse, get_aggsig_additional_data, TGetAllMempoolItemsResponse, get_all_mempool_items, 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, 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, TGetInitialFreezePeriodResponseOfFullNode, get_initial_freeze_period_of_full_node, TGetMempoolItemByTxIdRequest, TGetMempoolItemByTxIdResponse, get_mempool_item_by_tx_id, TGetNetworkSpaceRequest, TGetNetworkSpaceResponse, get_network_space, 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
|
|
4
|
+
export { chia_full_node_service, TGetAdditionsAndRemovalsRequest, TGetAdditionsAndRemovalsResponse, get_additions_and_removals, TGetAggsigAdditionalDataResponse, get_aggsig_additional_data, TGetAllMempoolItemsResponse, get_all_mempool_items, 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, 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, TGetInitialFreezePeriodResponseOfFullNode, get_initial_freeze_period_of_full_node, TGetMempoolItemByTxIdRequest, TGetMempoolItemByTxIdResponse, get_mempool_item_by_tx_id, TGetNetworkSpaceRequest, TGetNetworkSpaceResponse, get_network_space, 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, TFarmBlockResponse, farm_block, 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, TGetPlotDirectoriesResponse, get_plot_directories, TGetPlotsResponse, get_plots, 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,
|
|
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, TGetTimestampForHeightResponse, get_timestamp_for_height, TSetAutoClaimRequest, TSetAutoClaimResponse, set_auto_claim, TGetAutoClaimResponse, get_auto_claim, TGenerateMnemonicResponse, generate_mnemonic, TGetAllOffersRequest, TGetAllOffersResponse, get_all_offers, TGetCatListResponse, get_cat_list, TGetFarmedAmountResponse, get_farmed_amount, TGetHeightInfoResponse, get_height_info, 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, TGetNextAddressRequest, TGetNextAddressResponse, get_next_address, TGetPrivateKeyRequest, TGetPrivateKeyResponse, get_private_key, TGetPublicKeysResponse, get_public_keys, 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, TGatherSigningInfoRequest, TGatherSigningInfoResponse, gather_signing_info, TApplySignaturesRequest, TApplySignaturesResponse, apply_signatures, TSubmitTransactionsRequest, TSubmitTransactionsResponse, submit_transactions, } 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, TSubmitPendingRootResponse, TSubmitPendingRootRequest, submit_pending_root, 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";
|
|
10
|
+
export { chia_data_layer_service, TWalletLogInRequest, TWalletLogInResponse, wallet_log_in, TCreateDataStoreRequest, TCreateDataStoreResponse, create_data_store, TGetOwnedStoresResponse, get_owned_stores, TBatchUpdateRequest, TBatchUpdateResponse, batch_update, TMultistoreBatchUpdateRequest, TMultistoreBatchUpdateResponse, multistore_batch_update, TSubmitPendingRootResponse, TSubmitPendingRootRequest, submit_pending_root, TSubmitAllPendingRootsRequest, TSubmitAllPendingRootsResponse, submit_all_pending_roots, 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";
|