chia-agent 12.0.1 → 13.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 +112 -0
- package/README.md +3 -3
- package/api/chia/data_layer/data_layer_util.d.ts +7 -1
- package/api/chia/farmer/farmer.d.ts +12 -4
- package/api/chia/harvester/harvester.d.ts +1 -0
- package/api/chia/plot-sync/receiver.d.ts +3 -0
- package/api/chia/plotters/bladebit.d.ts +1 -0
- package/api/chia/plotting/util.d.ts +3 -0
- package/api/chia/plotting/util.js +2 -0
- package/api/chia/protocols/farmer_protocol.d.ts +1 -0
- package/api/chia/types/mempool_item.d.ts +9 -1
- package/api/chia/util/misc.d.ts +5 -0
- package/api/chia/util/misc.js +2 -0
- package/api/chia/wallet/puzzles/clawback/metadata.d.ts +13 -0
- package/api/chia/wallet/puzzles/clawback/metadata.js +2 -0
- package/api/chia/wallet/transaction_record.d.ts +7 -0
- package/api/chia/wallet/util/quality_filter.d.ts +22 -0
- package/api/chia/wallet/util/quality_filter.js +2 -0
- package/api/chia/wallet/util/wallet_types.d.ts +22 -12
- package/api/chia/wallet/util/wallet_types.js +6 -1
- package/api/chia/wallet/vc_wallet/vc_drivers.d.ts +16 -0
- package/api/chia/wallet/vc_wallet/vc_drivers.js +2 -0
- package/api/chia/wallet/vc_wallet/vc_store.d.ts +6 -0
- package/api/chia/wallet/vc_wallet/vc_store.js +2 -0
- package/api/chia/wallet/wallet_coin_record.d.ts +25 -0
- package/api/chia/wallet/wallet_coin_record.js +2 -0
- package/api/chia/wallet/wallet_coin_store.d.ts +19 -0
- package/api/chia/wallet/wallet_coin_store.js +2 -0
- package/api/rpc/data_layer/index.d.ts +18 -8
- package/api/rpc/data_layer/index.js +8 -1
- package/api/rpc/full_node/index.d.ts +1 -0
- package/api/rpc/harvester/index.d.ts +33 -3
- package/api/rpc/harvester/index.js +15 -1
- package/api/rpc/index.d.ts +3 -3
- package/api/rpc/index.js +19 -4
- package/api/rpc/wallet/index.d.ts +169 -16
- package/api/rpc/wallet/index.js +89 -6
- package/api/ws/daemon/index.d.ts +62 -3
- package/api/ws/daemon/index.js +22 -1
- package/api/ws/farmer/index.d.ts +12 -2
- package/api/ws/farmer/index.js +14 -1
- package/api/ws/index.d.ts +2 -2
- package/api/ws/index.js +6 -2
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.remove_plot_directory = exports.remove_plot_directory_command = exports.get_plot_directories = exports.get_plot_directories_command = exports.add_plot_directory = exports.add_plot_directory_command = exports.delete_plot = exports.delete_plot_command = exports.refresh_plots = exports.refresh_plots_command = exports.get_plots = exports.get_plots_command = exports.chia_harvester_service = void 0;
|
|
12
|
+
exports.update_harvester_config = exports.update_harvester_config_command = exports.get_harvester_config = exports.get_harvester_config_command = exports.remove_plot_directory = exports.remove_plot_directory_command = exports.get_plot_directories = exports.get_plot_directories_command = exports.add_plot_directory = exports.add_plot_directory_command = exports.delete_plot = exports.delete_plot_command = exports.refresh_plots = exports.refresh_plots_command = exports.get_plots = exports.get_plots_command = exports.chia_harvester_service = void 0;
|
|
13
13
|
exports.chia_harvester_service = "chia_harvester";
|
|
14
14
|
exports.get_plots_command = "get_plots";
|
|
15
15
|
function get_plots(agent) {
|
|
@@ -53,3 +53,17 @@ function remove_plot_directory(agent, data) {
|
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
exports.remove_plot_directory = remove_plot_directory;
|
|
56
|
+
exports.get_harvester_config_command = "get_harvester_config";
|
|
57
|
+
function get_harvester_config(agent) {
|
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
return agent.sendMessage(exports.chia_harvester_service, exports.get_harvester_config_command);
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
exports.get_harvester_config = get_harvester_config;
|
|
63
|
+
exports.update_harvester_config_command = "update_harvester_config";
|
|
64
|
+
function update_harvester_config(agent, data) {
|
|
65
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
66
|
+
return agent.sendMessage(exports.chia_harvester_service, exports.update_harvester_config_command, data);
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
exports.update_harvester_config = update_harvester_config;
|
package/api/rpc/index.d.ts
CHANGED
|
@@ -3,11 +3,11 @@ export { chia_farmer_service, RpcFarmerMessage, TGetRewardTargetRequest, TGetRew
|
|
|
3
3
|
import type { RpcFullNodeMessage } from "./full_node/index";
|
|
4
4
|
export { chia_full_node_service, TGetAdditionsAndRemovalsRequest, TGetAdditionsAndRemovalsResponse, get_additions_and_removals, TGetAllMempoolItemsRequest, TGetAllMempoolItemsResponse, get_all_mempool_items, TGetAllMempoolTxIdsRequest, TGetAllMempoolTxIdsResponse, get_all_mempool_tx_ids, TGetBlockRecordByHeightRequest, TGetBlockRecordByHeightResponse, get_block_record_by_height, TGetBlockRecordRequest, TGetBlockRecordResponse, get_block_record, TGetBlockRecordsRequest, TGetBlockRecordsResponse, get_block_records, TGetBlockSpendsRequest, TGetBlockSpendsResponse, get_block_spends, TGetBlockRequest, TGetBlockResponse, get_block, TGetBlockchainStateRequest, TGetBlockchainStateResponse, get_blockchain_state, TGetBlocksRequest, TGetBlocksResponse, get_blocks, TGetBlockCountMetricsResponse, get_block_count_metrics, TGetRecentSignagePointOrEOSCommandRequest, TGetRecentSignagePointOrEOSCommandResponse, get_recent_signage_point_or_eos, TGetCoinRecordsByNamesRequest, TGetCoinRecordsByNamesResponse, get_coin_records_by_names, TGetCoinRecordByNameRequest, TGetCoinRecordByNameResponse, get_coin_record_by_name, TGetCoinRecordsByPuzzleHashRequest, TGetCoinRecordsByPuzzleHashResponse, get_coin_records_by_puzzle_hash, TGetCoinRecordsByPuzzleHashesRequest, TGetCoinRecordsByPuzzleHashesResponse, get_coin_records_by_puzzle_hashes, TGetCoinRecordsByParentIdsRequest, TGetCoinRecordsByParentIdsResponse, get_coin_records_by_parent_ids, TGetCoinRecordsByHintRequest, TGetCoinRecordsByHintResponse, get_coin_records_by_hint, TGetInitialFreezePeriodRequestOfFullNode, TGetInitialFreezePeriodResponseOfFullNode, get_initial_freeze_period_of_full_node, TGetMempoolItemByTxIdRequest, TGetMempoolItemByTxIdResponse, get_mempool_item_by_tx_id, TGetNetworkInfoRequestOfFullNode, TGetNetworkInfoResponseOfFullNode, get_network_info_of_full_node, TGetNetworkSpaceRequest, TGetNetworkSpaceResponse, get_network_space, TGetUnfinishedBlockHeadersRequest, TGetUnfinishedBlockHeadersResponse, get_unfinished_block_headers, TPushTxRequest, TPushTxResponse, push_tx, TGetPuzzleAndSolutionRequest, TGetPuzzleAndSolutionResponse, get_puzzle_and_solution, TGetFeeEstimateRequest, TGetFeeEstimateResponse, get_fee_estimate, TGetAllBlocksResponse, get_all_blocks, TFarmBlockRequest as TFarmBlockFullNodeRequest, TFarmBlockResponse as TFarmBlockFullNodeResponse, farm_block as farm_block_fullnode, TSetAutoFarmingRequest, TSetAutoFarmingResponse, set_auto_farming, TGetAutoFarmingResponse, get_auto_farming, TGetFarmingPhResponse, get_farming_ph, TGetAllCoinsRequest, TGetAllCoinsResponse, get_all_coins, TGetAllPuzzleHashesResponse, get_all_puzzle_hashes, TRevertBlocksRequest, TRevertBlocksResponse, revert_blocks, TReorgBlocksRequest, TReorgBlocksResponse, reorg_blocks } from "./full_node/index";
|
|
5
5
|
import type { RpcHarvesterMessage } from "./harvester/index";
|
|
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, } from "./harvester/index";
|
|
6
|
+
export { chia_harvester_service, TAddPlotDirectoryRequest, TAddPlotDirectoryResponse, add_plot_directory, TDeletePlotRequest, TDeletePlotResponse, delete_plot, TGetPlotDirectoriesRequest, TGetPlotDirectoriesResponse, get_plot_directories, TGetPlotsRequest, TGetPlotsResponse, get_plots, TRefreshPlotsRequest, TRefreshPlotsResponse, refresh_plots, TRemovePlotDirectoryRequest, TRemovePlotDirectoryResponse, remove_plot_directory, TGetHarvesterConfigResponse, get_harvester_config, TUpdateHarvesterConfigRequest, TUpdateHarvesterConfigResponse, update_harvester_config, } from "./harvester/index";
|
|
7
7
|
import type { RpcWalletMessage } from "./wallet/index";
|
|
8
|
-
export { chia_wallet_service, TAddKeyRequest, TAddKeyResponse, add_key, TAddRateLimitedFundsRequest, TAddRateLimitedFundsResponse, add_rate_limited_funds, TAdditions, TCancelOfferRequest, TCancelOfferResponse, cancel_offer, TCancelOffersRequest, TCancelOffersResponse, cancel_offers, TCatGetAssetIdRequest, TCatGetAssetIdResponse, cat_get_asset_id, TCatGetNameRequest, TCatGetNameResponse, cat_get_name, TGetStrayCatsResponse, get_stray_cats, TCatAssetIdToNameRequest, TCatAssetIdToNameResponse, cat_asset_id_to_name, TCatSetNameRequest, TCatSetNameResponse, cat_set_name, TCatSpendRequest, TCatSpendResponse, cat_spend, TCheckOfferValidityRequest, TCheckOfferValidityResponse, check_offer_validity, TCreateNewWalletRequest, TCreateNewWalletResponse, create_new_wallet, TCreateOfferForIdsRequest, TCreateOfferForIdsResponse, create_offer_for_ids, TCreateSignedTransactionRequest, TCreateSignedTransactionResponse, create_signed_transaction, TDeleteUnconfirmedTransactionsRequest, TDeleteUnconfirmedTransactionsResponse, delete_unconfirmed_transactions, TSelectCoinsRequest, TSelectCoinsResponse, select_coins, TGetCurrentDerivationIndexResponse, get_current_derivation_index, TExtendDerivationIndexRequest, TExtendDerivationIndexResponse, extend_derivation_index, TGetNotificationsRequest, TGetNotificationsResponse, get_notifications, TDeleteNotificationsRequest, TDeleteNotificationsResponse, delete_notifications, TSendNotificationRequest, TSendNotificationResponse, send_notification, TSignMessageByAddressRequest, TSignMessageByAddressResponse, sign_message_by_address, TSignMessageByIdRequest, TSignMessageByIdResponse, sign_message_by_id, TVerifySignatureRequest, TVerifySignatureResponse, verify_signature, TGetTransactionMemoRequest, TGetTransactionMemoResponse, get_transaction_memo, TNftCalculateRoyaltiesRequest, TNftCalculateRoyaltiesResponse, nft_calculate_royalties, TNftMintBulkRequest, TNftMintBulkResponse, nft_mint_bulk, TNftSetDidBulkRequest, TNftSetDidBulkResponse, nft_set_did_bulk, TNftTransferBulkRequest, TNftTransferBulkResponse, nft_transfer_bulk, TCreate_New_CAT_WalletRequest, TCreate_New_CAT_WalletResponse, TCreate_New_DID_WalletRequest, TCreate_New_DID_WalletResponse, TCreate_New_RL_WalletRequest, TCreate_New_RL_WalletResponse, TDeleteAllKeysRequest, TDeleteAllKeysResponse, delete_all_keys, TSetWalletResyncOnStartupRequest, TSetWalletResyncOnStartupResponse, set_wallet_resync_on_startup, TDeleteKeyRequest, TDeleteKeyResponse, delete_key, TDidSetWalletNameRequest, TDidSetWalletNameResponse, did_set_wallet_name, TDidGetWalletNameRequest, TDidGetWalletNameResponse, did_get_wallet_name, TDidCreateAttestRequest, TDidCreateAttestResponse, did_create_attest, TDidCreateBackupFileRequest, TDidCreateBackupFileResponse, did_create_backup_file, TDidTransferDidRequest, TDidTransferDidResponse, did_transfer_did, TDidGetDidRequest, TDidGetDidResponse, did_get_did, TDidGetInformationNeededForRecoveryRequest, TDidGetInformationNeededForRecoveryResponse, did_get_information_needed_for_recovery, TDidGetCurrentCoinInfoRequest, TDidGetCurrentCoinInfoResponse, did_get_current_coin_info, TDidGetPubkeyRequest, TDidGetPubkeyResponse, did_get_pubkey, TDidGetRecoveryListRequest, TDidGetRecoveryListResponse, did_get_recovery_list, TDidGetMetadataRequest, TDidGetMetadataResponse, did_get_metadata, TDidRecoverySpendRequest, TDidRecoverySpendResponse, did_recovery_spend, TDidSpendRequest, TDidSpendResponse, did_spend, TDidUpdateRecoveryIdsRequest, TDidUpdateRecoveryIdsResponse, did_update_recovery_ids, TDidUpdateMetadataRequest, TDidUpdateMetadataResponse, did_update_metadata, TNftMintNftRequest, TNftMintNftResponse, nft_mint_nft, TNftCountNftsRequest, TNftCountNftsResponse, nft_count_nfts, TNftGetNftsRequest, TNftGetNftsResponse, nft_get_nfts, TNftSetNftDidRequest, TNftSetNftDidResponse, nft_set_nft_did, TNftGetByDidRequest, TNftGetByDidResponse, nft_get_by_did, TNftGetWalletDidRequest, TNftGetWalletDidResponse, nft_get_wallet_did, TNftGetWalletsWithDidsResponse, nft_get_wallets_with_dids, TNftSetNftStatusRequest, TNftSetNftStatusResponse, nft_set_nft_status, TNftTransferNftRequest, TNftTransferNftResponse, nft_transfer_nft, TNftGetInfoRequest, TNftGetInfoResponse, nft_get_info, TNftAddUriRequest, TNftAddUriResponse, nft_add_uri, TFarmBlockRequest, TFarmBlockResponse, farm_block, TGetTimestampForHeightResponse, get_timestamp_for_height, 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, 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, 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, } from "./wallet/index";
|
|
8
|
+
export { chia_wallet_service, TAddKeyRequest, TAddKeyResponse, add_key, TAddRateLimitedFundsRequest, TAddRateLimitedFundsResponse, add_rate_limited_funds, TAdditions, TCancelOfferRequest, TCancelOfferResponse, cancel_offer, TCancelOffersRequest, TCancelOffersResponse, cancel_offers, TCatGetAssetIdRequest, TCatGetAssetIdResponse, cat_get_asset_id, TCatGetNameRequest, TCatGetNameResponse, cat_get_name, TGetStrayCatsResponse, get_stray_cats, TCatAssetIdToNameRequest, TCatAssetIdToNameResponse, cat_asset_id_to_name, TCatSetNameRequest, TCatSetNameResponse, cat_set_name, TCatSpendRequest, TCatSpendResponse, cat_spend, TCheckOfferValidityRequest, TCheckOfferValidityResponse, check_offer_validity, TCreateNewWalletRequest, TCreateNewWalletResponse, create_new_wallet, TCreateOfferForIdsRequest, TCreateOfferForIdsResponse, create_offer_for_ids, TCreateSignedTransactionRequest, TCreateSignedTransactionResponse, create_signed_transaction, TDeleteUnconfirmedTransactionsRequest, TDeleteUnconfirmedTransactionsResponse, delete_unconfirmed_transactions, TSelectCoinsRequest, TSelectCoinsResponse, select_coins, TGetCurrentDerivationIndexResponse, get_current_derivation_index, TExtendDerivationIndexRequest, TExtendDerivationIndexResponse, extend_derivation_index, TGetNotificationsRequest, TGetNotificationsResponse, get_notifications, TDeleteNotificationsRequest, TDeleteNotificationsResponse, delete_notifications, TSendNotificationRequest, TSendNotificationResponse, send_notification, TSignMessageByAddressRequest, TSignMessageByAddressResponse, sign_message_by_address, TSignMessageByIdRequest, TSignMessageByIdResponse, sign_message_by_id, TVerifySignatureRequest, TVerifySignatureResponse, verify_signature, TGetTransactionMemoRequest, TGetTransactionMemoResponse, get_transaction_memo, TNftCalculateRoyaltiesRequest, TNftCalculateRoyaltiesResponse, nft_calculate_royalties, TNftMintBulkRequest, TNftMintBulkResponse, nft_mint_bulk, TNftSetDidBulkRequest, TNftSetDidBulkResponse, nft_set_did_bulk, TNftTransferBulkRequest, TNftTransferBulkResponse, nft_transfer_bulk, TCreate_New_CAT_WalletRequest, TCreate_New_CAT_WalletResponse, TCreate_New_DID_WalletRequest, TCreate_New_DID_WalletResponse, TCreate_New_RL_WalletRequest, TCreate_New_RL_WalletResponse, TDeleteAllKeysRequest, TDeleteAllKeysResponse, delete_all_keys, TSetWalletResyncOnStartupRequest, TSetWalletResyncOnStartupResponse, set_wallet_resync_on_startup, TDeleteKeyRequest, TDeleteKeyResponse, delete_key, TDidSetWalletNameRequest, TDidSetWalletNameResponse, did_set_wallet_name, TDidGetWalletNameRequest, TDidGetWalletNameResponse, did_get_wallet_name, TDidCreateAttestRequest, TDidCreateAttestResponse, did_create_attest, TDidCreateBackupFileRequest, TDidCreateBackupFileResponse, did_create_backup_file, TDidTransferDidRequest, TDidTransferDidResponse, did_transfer_did, TDidGetDidRequest, TDidGetDidResponse, did_get_did, TDidGetInformationNeededForRecoveryRequest, TDidGetInformationNeededForRecoveryResponse, did_get_information_needed_for_recovery, TDidGetCurrentCoinInfoRequest, TDidGetCurrentCoinInfoResponse, did_get_current_coin_info, TDidGetPubkeyRequest, TDidGetPubkeyResponse, did_get_pubkey, TDidGetRecoveryListRequest, TDidGetRecoveryListResponse, did_get_recovery_list, TDidGetMetadataRequest, TDidGetMetadataResponse, did_get_metadata, TDidRecoverySpendRequest, TDidRecoverySpendResponse, did_recovery_spend, TDidSpendRequest, TDidSpendResponse, did_spend, TDidUpdateRecoveryIdsRequest, TDidUpdateRecoveryIdsResponse, did_update_recovery_ids, TDidUpdateMetadataRequest, TDidUpdateMetadataResponse, did_update_metadata, TNftMintNftRequest, TNftMintNftResponse, nft_mint_nft, TNftCountNftsRequest, TNftCountNftsResponse, nft_count_nfts, TNftGetNftsRequest, TNftGetNftsResponse, nft_get_nfts, TNftSetNftDidRequest, TNftSetNftDidResponse, nft_set_nft_did, TNftGetByDidRequest, TNftGetByDidResponse, nft_get_by_did, TNftGetWalletDidRequest, TNftGetWalletDidResponse, nft_get_wallet_did, TNftGetWalletsWithDidsResponse, nft_get_wallets_with_dids, TNftSetNftStatusRequest, TNftSetNftStatusResponse, nft_set_nft_status, TNftTransferNftRequest, TNftTransferNftResponse, nft_transfer_nft, TNftGetInfoRequest, TNftGetInfoResponse, nft_get_info, TNftAddUriRequest, TNftAddUriResponse, nft_add_uri, TFarmBlockRequest, TFarmBlockResponse, farm_block, TGetTimestampForHeightResponse, get_timestamp_for_height, TSetAutoClaimRequest, TSetAutoClaimResponse, set_auto_claim, TGetAutoClaimResponse, get_auto_claim, TGenerateMnemonicRequest, TGenerateMnemonicResponse, generate_mnemonic, TGetAllOffersRequest, TGetAllOffersResponse, get_all_offers, TGetCatListResponse, get_cat_list, TGetFarmedAmountRequest, TGetFarmedAmountResponse, get_farmed_amount, TGetHeightInfoRequest, TGetHeightInfoResponse, get_height_info, TGetInitialFreezePeriodRequestOfWallet, TGetInitialFreezePeriodResponseOfWallet, get_initial_freeze_period_of_wallet, TGetLoggedInFingerprintResponse, get_logged_in_fingerprint, TGetOfferRequest, TGetOfferResponse, get_offer, TGetOffersCountResponse, get_offers_count, TGetOfferSummaryRequest, TGetOfferSummaryResponse, get_offer_summary, TGetNetworkInfoRequestOfWallet, TGetNetworkInfoResponseOfWallet, get_network_info_of_wallet, TGetNextAddressRequest, TGetNextAddressResponse, get_next_address, TGetPrivateKeyRequest, TGetPrivateKeyResponse, get_private_key, TGetPublicKeysRequest, TGetPublicKeysResponse, get_public_keys, TGetSyncStatusRequest, TGetSyncStatusResponse, get_sync_status, TGetTransactionCountRequest, TGetTransactionCountResponse, get_transaction_count, TGetTransactionRequest, TGetTransactionResponse, get_transaction, TGetTransactionsRequest, TGetTransactionsResponse, get_transactions, TGetWalletBalanceRequest, TGetWalletBalanceResponse, get_wallet_balance, TGetWalletBalancesRequest, TGetWalletBalancesResponse, get_wallet_balances, TGetWalletsRequest, TGetWalletsResponse, get_wallets, TLoginRequest, TLoginResponse, log_in, TPushTxRequest as TPushTxRequestOfWallet, TPushTxResponse as TPushTxResponseOfWallet, push_tx as push_tx_wallet, TPushTransactionsRequest, TPushTransactionsResponse, push_transactions, TPwJoinPoolRequest, TPwJoinPoolResponse, pw_join_pool, TPwSelfPoolRequest, TPwSelfPoolResponse, pw_self_pool, TPwAbsorbRewardsRequest, TPwAbsorbRewardsResponse, pw_absorb_rewards, TPwStatusRequest, TPwStatusResponse, pw_status, TRlSetUserInfoRequest, TRlSetUserInfoResponse, rl_set_user_info, TSendClawbackTransactionRequest, TSendClawbackTransactionResponse, send_clawback_transaction, TSendTransactionRequest, TSendTransactionResponse, send_transaction, TSendTransactionMultiRequest, TSendTransactionMultiResponse, send_transaction_multi, TSpendClawbackCoinsRequest, TSpendClawbackCoinsResponse, spend_clawback_coins, TGetCoinRecordsRequest, TGetCoinRecordsResponse, get_coin_records, TTakeOfferRequest, TTakeOfferResponse, take_offer, TCreateNewDlRequest, TCreateNewDlResponse, create_new_dl, TDlTrackNewRequest, TDlTrackNewResponse, dl_track_new, TDlStopTrackingRequest, TDlStopTrackingResponse, dl_stop_tracking, TDlLatestSingletonRequest, TDlLatestSingletonResponse, dl_latest_singleton, TDlSingletonsByRootRequest, TDlSingletonsByRootResponse, dl_singletons_by_root, TDlUpdateRootRequest, TDlUpdateRootResponse, dl_update_root, TDlUpdateMultipleRequest, TDlUpdateMultipleResponse, dl_update_multiple, TDlHistoryRequest, TDlHistoryResponse, dl_history, TDlOwnedSingletonsResponse, dl_owned_singletons, TDlGetMirrorsRequest, TDlGetMirrorsResponse, dl_get_mirrors, TDlNewMirrorRequest, TDlNewMirrorResponse, dl_new_mirror, TDlDeleteMirrorRequest, TDlDeleteMirrorResponse, dl_delete_mirror, TVcMintRequest, TVcMintResponse, vc_mint, TVcGetRequest, TVcGetResponse, vc_get, TVcGetListRequest, TVcGetListResponse, vc_get_list, TVcSpendRequest, TVcSpendResponse, vc_spend, TVcAddProofsRequest, TVcAddProofsResponse, vc_add_proofs, TVcGetProofsForRootRequest, TVcGetProofsForRootResponse, vc_get_proofs_for_root, TVcRevokeRequest, TVcRevokeResponse, vc_revoke, } from "./wallet/index";
|
|
9
9
|
import type { RpcDataLayerMessage } from "./data_layer/index";
|
|
10
|
-
export { chia_data_layer_service, TCreateDataStoreRequest, TCreateDataStoreResponse, create_data_store, TGetOwnedStoresResponse, get_owned_stores, TBatchUpdateRequest, TBatchUpdateResponse, batch_update, TGetValueRequest, TGetValueResponse, get_value, TGetKeysRequest, TGetKeysResponse, get_keys, TGetKeysValuesRequest, TGetKeysValuesResponse, get_keys_values, TGetAncestorsRequest, TGetAncestorsResponse, get_ancestors, TGetRootRequest, TGetRootResponse, get_root, TGetLocalRootRequest, TGetLocalRootResponse, get_local_root, TGetRootsRequest, TGetRootsResponse, get_roots, TDeleteKeyRequest as TDeleteKeyDLRequest, TDeleteKeyResponse as TDeleteKeyDLResponse, delete_key as delete_key_dl, TInsertRequest, TInsertResponse, insert, TSubscribeRequest, TSubscribeResponse, subscribe, TUnsubscribeRequest, TUnsubscribeResponse, unsubscribe, TAddMirrorRequest, TAddMirrorResponse, add_mirror, TDeleteMirrorRequest, TDeleteMirrorResponse, delete_mirror, TGetMirrorsRequest, TGetMirrorsResponse, get_mirrors, TRemoveSubscriptionsRequest, TRemoveSubscriptionsResponse, remove_subscriptions, TSubscriptionsResponse, subscriptions, TGetKvDiffRequest, TGetKvDiffResponse, get_kv_diff, TGetRootHistoryRequest, TGetRootHistoryResponse, get_root_history, TAddMissingFilesRequest, TAddMissingFilesResponse, add_missing_files, TMakeOfferRequest, TMakeOfferResponse, make_offer, TTakeOfferRequest as TTakeOfferRequestDL, TTakeOfferResponse as TTakeOfferResponseDL, take_offer as take_offer_dl, TVerifyOfferRequest, TVerifyOfferResponse, verify_offer, TCancelOfferRequest as TCancelOfferRequestDL, TCancelOfferResponse as TCancelOfferResponseDL, cancel_offer as cancel_offer_dl, TGetSyncStatusRequest as TGetSyncStatusRequestDL, TGetSyncStatusResponse as TGetSyncStatusResponseDL, get_sync_status as get_sync_status_dl, TCheckPluginsResponse, check_plugins, } from "./data_layer/index";
|
|
10
|
+
export { chia_data_layer_service, TCreateDataStoreRequest, TCreateDataStoreResponse, create_data_store, TGetOwnedStoresResponse, get_owned_stores, TBatchUpdateRequest, TBatchUpdateResponse, batch_update, TGetValueRequest, TGetValueResponse, get_value, TGetKeysRequest, TGetKeysResponse, get_keys, TGetKeysValuesRequest, TGetKeysValuesResponse, get_keys_values, TGetAncestorsRequest, TGetAncestorsResponse, get_ancestors, TGetRootRequest, TGetRootResponse, get_root, TGetLocalRootRequest, TGetLocalRootResponse, get_local_root, TGetRootsRequest, TGetRootsResponse, get_roots, TDeleteKeyRequest as TDeleteKeyDLRequest, TDeleteKeyResponse as TDeleteKeyDLResponse, delete_key as delete_key_dl, TInsertRequest, TInsertResponse, insert, TSubscribeRequest, TSubscribeResponse, subscribe, TUnsubscribeRequest, TUnsubscribeResponse, unsubscribe, TAddMirrorRequest, TAddMirrorResponse, add_mirror, TDeleteMirrorRequest, TDeleteMirrorResponse, delete_mirror, TGetMirrorsRequest, TGetMirrorsResponse, get_mirrors, TRemoveSubscriptionsRequest, TRemoveSubscriptionsResponse, remove_subscriptions, TSubscriptionsResponse, subscriptions, TGetKvDiffRequest, TGetKvDiffResponse, get_kv_diff, TGetRootHistoryRequest, TGetRootHistoryResponse, get_root_history, TAddMissingFilesRequest, TAddMissingFilesResponse, add_missing_files, TMakeOfferRequest, TMakeOfferResponse, make_offer, TTakeOfferRequest as TTakeOfferRequestDL, TTakeOfferResponse as TTakeOfferResponseDL, take_offer as take_offer_dl, TVerifyOfferRequest, TVerifyOfferResponse, verify_offer, TCancelOfferRequest as TCancelOfferRequestDL, TCancelOfferResponse as TCancelOfferResponseDL, cancel_offer as cancel_offer_dl, TGetSyncStatusRequest as TGetSyncStatusRequestDL, TGetSyncStatusResponse as TGetSyncStatusResponseDL, get_sync_status as get_sync_status_dl, TCheckPluginsResponse, check_plugins, TClearPendingRootsRequest, TClearPendingRootsResponse, clear_pending_roots, } from "./data_layer/index";
|
|
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
3
|
exports.reorg_blocks = exports.revert_blocks = exports.get_all_puzzle_hashes = 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 = exports.get_block_records = exports.get_block_record = exports.get_block_record_by_height = exports.get_all_mempool_tx_ids = exports.get_all_mempool_items = 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.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.healthz = void 0;
|
|
4
|
+
exports.did_get_current_coin_info = exports.did_get_information_needed_for_recovery = exports.did_get_did = 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 = void 0;
|
|
5
|
+
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 = 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.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 = void 0;
|
|
6
|
+
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 = exports.batch_update = exports.get_owned_stores = exports.create_data_store = exports.chia_data_layer_service = 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_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 = 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.clear_pending_roots = exports.check_plugins = exports.get_sync_status_dl = exports.cancel_offer_dl = exports.verify_offer = exports.take_offer_dl = 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; } });
|
|
@@ -65,6 +65,8 @@ Object.defineProperty(exports, "get_plot_directories", { enumerable: true, get:
|
|
|
65
65
|
Object.defineProperty(exports, "get_plots", { enumerable: true, get: function () { return index_3.get_plots; } });
|
|
66
66
|
Object.defineProperty(exports, "refresh_plots", { enumerable: true, get: function () { return index_3.refresh_plots; } });
|
|
67
67
|
Object.defineProperty(exports, "remove_plot_directory", { enumerable: true, get: function () { return index_3.remove_plot_directory; } });
|
|
68
|
+
Object.defineProperty(exports, "get_harvester_config", { enumerable: true, get: function () { return index_3.get_harvester_config; } });
|
|
69
|
+
Object.defineProperty(exports, "update_harvester_config", { enumerable: true, get: function () { return index_3.update_harvester_config; } });
|
|
68
70
|
var index_4 = require("./wallet/index");
|
|
69
71
|
Object.defineProperty(exports, "chia_wallet_service", { enumerable: true, get: function () { return index_4.chia_wallet_service; } });
|
|
70
72
|
Object.defineProperty(exports, "add_key", { enumerable: true, get: function () { return index_4.add_key; } });
|
|
@@ -127,6 +129,8 @@ Object.defineProperty(exports, "nft_get_info", { enumerable: true, get: function
|
|
|
127
129
|
Object.defineProperty(exports, "nft_add_uri", { enumerable: true, get: function () { return index_4.nft_add_uri; } });
|
|
128
130
|
Object.defineProperty(exports, "farm_block", { enumerable: true, get: function () { return index_4.farm_block; } });
|
|
129
131
|
Object.defineProperty(exports, "get_timestamp_for_height", { enumerable: true, get: function () { return index_4.get_timestamp_for_height; } });
|
|
132
|
+
Object.defineProperty(exports, "set_auto_claim", { enumerable: true, get: function () { return index_4.set_auto_claim; } });
|
|
133
|
+
Object.defineProperty(exports, "get_auto_claim", { enumerable: true, get: function () { return index_4.get_auto_claim; } });
|
|
130
134
|
Object.defineProperty(exports, "generate_mnemonic", { enumerable: true, get: function () { return index_4.generate_mnemonic; } });
|
|
131
135
|
Object.defineProperty(exports, "get_all_offers", { enumerable: true, get: function () { return index_4.get_all_offers; } });
|
|
132
136
|
Object.defineProperty(exports, "get_cat_list", { enumerable: true, get: function () { return index_4.get_cat_list; } });
|
|
@@ -146,6 +150,7 @@ Object.defineProperty(exports, "get_transaction_count", { enumerable: true, get:
|
|
|
146
150
|
Object.defineProperty(exports, "get_transaction", { enumerable: true, get: function () { return index_4.get_transaction; } });
|
|
147
151
|
Object.defineProperty(exports, "get_transactions", { enumerable: true, get: function () { return index_4.get_transactions; } });
|
|
148
152
|
Object.defineProperty(exports, "get_wallet_balance", { enumerable: true, get: function () { return index_4.get_wallet_balance; } });
|
|
153
|
+
Object.defineProperty(exports, "get_wallet_balances", { enumerable: true, get: function () { return index_4.get_wallet_balances; } });
|
|
149
154
|
Object.defineProperty(exports, "get_wallets", { enumerable: true, get: function () { return index_4.get_wallets; } });
|
|
150
155
|
Object.defineProperty(exports, "log_in", { enumerable: true, get: function () { return index_4.log_in; } });
|
|
151
156
|
Object.defineProperty(exports, "push_tx_wallet", { enumerable: true, get: function () { return index_4.push_tx; } });
|
|
@@ -158,6 +163,8 @@ Object.defineProperty(exports, "rl_set_user_info", { enumerable: true, get: func
|
|
|
158
163
|
Object.defineProperty(exports, "send_clawback_transaction", { enumerable: true, get: function () { return index_4.send_clawback_transaction; } });
|
|
159
164
|
Object.defineProperty(exports, "send_transaction", { enumerable: true, get: function () { return index_4.send_transaction; } });
|
|
160
165
|
Object.defineProperty(exports, "send_transaction_multi", { enumerable: true, get: function () { return index_4.send_transaction_multi; } });
|
|
166
|
+
Object.defineProperty(exports, "spend_clawback_coins", { enumerable: true, get: function () { return index_4.spend_clawback_coins; } });
|
|
167
|
+
Object.defineProperty(exports, "get_coin_records", { enumerable: true, get: function () { return index_4.get_coin_records; } });
|
|
161
168
|
Object.defineProperty(exports, "take_offer", { enumerable: true, get: function () { return index_4.take_offer; } });
|
|
162
169
|
Object.defineProperty(exports, "create_new_dl", { enumerable: true, get: function () { return index_4.create_new_dl; } });
|
|
163
170
|
Object.defineProperty(exports, "dl_track_new", { enumerable: true, get: function () { return index_4.dl_track_new; } });
|
|
@@ -171,6 +178,13 @@ Object.defineProperty(exports, "dl_owned_singletons", { enumerable: true, get: f
|
|
|
171
178
|
Object.defineProperty(exports, "dl_get_mirrors", { enumerable: true, get: function () { return index_4.dl_get_mirrors; } });
|
|
172
179
|
Object.defineProperty(exports, "dl_new_mirror", { enumerable: true, get: function () { return index_4.dl_new_mirror; } });
|
|
173
180
|
Object.defineProperty(exports, "dl_delete_mirror", { enumerable: true, get: function () { return index_4.dl_delete_mirror; } });
|
|
181
|
+
Object.defineProperty(exports, "vc_mint", { enumerable: true, get: function () { return index_4.vc_mint; } });
|
|
182
|
+
Object.defineProperty(exports, "vc_get", { enumerable: true, get: function () { return index_4.vc_get; } });
|
|
183
|
+
Object.defineProperty(exports, "vc_get_list", { enumerable: true, get: function () { return index_4.vc_get_list; } });
|
|
184
|
+
Object.defineProperty(exports, "vc_spend", { enumerable: true, get: function () { return index_4.vc_spend; } });
|
|
185
|
+
Object.defineProperty(exports, "vc_add_proofs", { enumerable: true, get: function () { return index_4.vc_add_proofs; } });
|
|
186
|
+
Object.defineProperty(exports, "vc_get_proofs_for_root", { enumerable: true, get: function () { return index_4.vc_get_proofs_for_root; } });
|
|
187
|
+
Object.defineProperty(exports, "vc_revoke", { enumerable: true, get: function () { return index_4.vc_revoke; } });
|
|
174
188
|
var index_5 = require("./data_layer/index");
|
|
175
189
|
Object.defineProperty(exports, "chia_data_layer_service", { enumerable: true, get: function () { return index_5.chia_data_layer_service; } });
|
|
176
190
|
Object.defineProperty(exports, "create_data_store", { enumerable: true, get: function () { return index_5.create_data_store; } });
|
|
@@ -201,6 +215,7 @@ Object.defineProperty(exports, "verify_offer", { enumerable: true, get: function
|
|
|
201
215
|
Object.defineProperty(exports, "cancel_offer_dl", { enumerable: true, get: function () { return index_5.cancel_offer; } });
|
|
202
216
|
Object.defineProperty(exports, "get_sync_status_dl", { enumerable: true, get: function () { return index_5.get_sync_status; } });
|
|
203
217
|
Object.defineProperty(exports, "check_plugins", { enumerable: true, get: function () { return index_5.check_plugins; } });
|
|
218
|
+
Object.defineProperty(exports, "clear_pending_roots", { enumerable: true, get: function () { return index_5.clear_pending_roots; } });
|
|
204
219
|
var index_6 = require("./crawler/index");
|
|
205
220
|
Object.defineProperty(exports, "chia_crawler_service", { enumerable: true, get: function () { return index_6.chia_crawler_service; } });
|
|
206
221
|
Object.defineProperty(exports, "get_ips_after_timestamp", { enumerable: true, get: function () { return index_6.get_ips_after_timestamp; } });
|
|
@@ -2,7 +2,7 @@ import { WalletInfo } from "../../chia/wallet/wallet_info";
|
|
|
2
2
|
import { Coin } from "../../chia/types/blockchain_format/coin";
|
|
3
3
|
import { bool, bytes, False, int, None, Optional, str, True, uint16, uint32, uint64, uint8 } from "../../chia/types/_python_types_";
|
|
4
4
|
import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
|
|
5
|
-
import { TransactionRecord, TransactionRecordConvenience } from "../../chia/wallet/transaction_record";
|
|
5
|
+
import { TransactionRecord, TransactionRecordConvenience, TransactionRecordConvenienceWithMetadata } from "../../chia/wallet/transaction_record";
|
|
6
6
|
import { SpendBundle } from "../../chia/types/spend_bundle";
|
|
7
7
|
import { TRPCAgent } from "../../../rpc";
|
|
8
8
|
import { PoolWalletInfo } from "../../chia/pools/pool_wallet_info";
|
|
@@ -17,6 +17,11 @@ import { TDaemon } from "../../../daemon/index";
|
|
|
17
17
|
import { CoinRecord } from "../../chia/types/coin_record";
|
|
18
18
|
import { SigningMode } from "../../chia/types/signing_mode";
|
|
19
19
|
import { Balance } from "../../chia/wallet/wallet_node";
|
|
20
|
+
import { AutoClaimSettings } from "../../chia/wallet/puzzles/clawback/metadata";
|
|
21
|
+
import { GetCoinRecords } from "../../chia/wallet/wallet_coin_store";
|
|
22
|
+
import { WalletCoinRecordWithMetadata } from "../../chia/wallet/wallet_coin_record";
|
|
23
|
+
import { VCRecord } from "../../chia/wallet/vc_wallet/vc_store";
|
|
24
|
+
import { TransactionTypeFilter } from "../../chia/wallet/util/quality_filter";
|
|
20
25
|
export declare const chia_wallet_service = "chia_wallet";
|
|
21
26
|
export declare type chia_wallet_service = typeof chia_wallet_service;
|
|
22
27
|
export declare const log_in_command = "log_in";
|
|
@@ -183,6 +188,17 @@ export declare type TGetTimestampForHeightResponse = {
|
|
|
183
188
|
};
|
|
184
189
|
export declare type WsGetTimestampForHeightMessage = GetMessageType<chia_wallet_service, get_timestamp_for_height_command, TGetTimestampForHeightResponse>;
|
|
185
190
|
export declare function get_timestamp_for_height<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetTimestampForHeightResponse, WsGetTimestampForHeightMessage>>;
|
|
191
|
+
export declare const set_auto_claim_command = "set_auto_claim";
|
|
192
|
+
export declare type set_auto_claim_command = typeof set_auto_claim_command;
|
|
193
|
+
export declare type TSetAutoClaimRequest = AutoClaimSettings;
|
|
194
|
+
export declare type TSetAutoClaimResponse = AutoClaimSettings;
|
|
195
|
+
export declare type WsSetAutoClaimMessage = GetMessageType<chia_wallet_service, set_auto_claim_command, TSetAutoClaimResponse>;
|
|
196
|
+
export declare function set_auto_claim<T extends TRPCAgent | TDaemon>(agent: T, data: TSetAutoClaimRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, AutoClaimSettings, WsSetAutoClaimMessage>>;
|
|
197
|
+
export declare const get_auto_claim_command = "get_auto_claim";
|
|
198
|
+
export declare type get_auto_claim_command = typeof get_auto_claim_command;
|
|
199
|
+
export declare type TGetAutoClaimResponse = AutoClaimSettings;
|
|
200
|
+
export declare type WsGetAutoClaimMessage = GetMessageType<chia_wallet_service, get_auto_claim_command, TGetAutoClaimResponse>;
|
|
201
|
+
export declare function get_auto_claim<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, AutoClaimSettings, WsGetAutoClaimMessage>>;
|
|
186
202
|
export declare const get_initial_freeze_period_command_of_wallet = "get_initial_freeze_period";
|
|
187
203
|
export declare type get_initial_freeze_period_command_of_wallet = typeof get_initial_freeze_period_command_of_wallet;
|
|
188
204
|
export declare type TGetInitialFreezePeriodRequestOfWallet = {};
|
|
@@ -330,21 +346,32 @@ export declare type TCreateNewWalletRequest = TCreate_New_CAT_WalletRequest | TC
|
|
|
330
346
|
export declare type TCreateNewWalletResponse = TCreate_New_CAT_WalletResponse | TCreate_New_RL_WalletResponse | TCreate_New_DID_WalletResponse | TCreate_New_NFT_WalletResponse | TCreate_New_Pool_WalletResponse | TCreateWalletErrorResponse;
|
|
331
347
|
export declare type WsCreateNewWalletMessage = GetMessageType<chia_wallet_service, create_new_wallet_command, TCreateNewWalletResponse>;
|
|
332
348
|
export declare function create_new_wallet<T extends TRPCAgent | TDaemon>(agent: T, data: TCreateNewWalletRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TCreateNewWalletResponse, WsCreateNewWalletMessage>>;
|
|
349
|
+
export declare type WalletBalance = Balance & {
|
|
350
|
+
wallet_id: uint32;
|
|
351
|
+
wallet_type: int;
|
|
352
|
+
fingerprint?: int;
|
|
353
|
+
asset_id?: str;
|
|
354
|
+
};
|
|
333
355
|
export declare const get_wallet_balance_command = "get_wallet_balance";
|
|
334
356
|
export declare type get_wallet_balance_command = typeof get_wallet_balance_command;
|
|
335
357
|
export declare type TGetWalletBalanceRequest = {
|
|
336
358
|
wallet_id: int;
|
|
337
359
|
};
|
|
338
360
|
export declare type TGetWalletBalanceResponse = {
|
|
339
|
-
wallet_balance:
|
|
340
|
-
wallet_id: uint32;
|
|
341
|
-
wallet_type: int;
|
|
342
|
-
fingerprint?: int;
|
|
343
|
-
asset_id?: str;
|
|
344
|
-
};
|
|
361
|
+
wallet_balance: WalletBalance;
|
|
345
362
|
};
|
|
346
363
|
export declare type WsGetWalletBalanceMessage = GetMessageType<chia_wallet_service, get_wallet_balance_command, TGetWalletBalanceResponse>;
|
|
347
364
|
export declare function get_wallet_balance<T extends TRPCAgent | TDaemon>(agent: T, data: TGetWalletBalanceRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetWalletBalanceResponse, WsGetWalletBalanceMessage>>;
|
|
365
|
+
export declare const get_wallet_balances_command = "get_wallet_balances";
|
|
366
|
+
export declare type get_wallet_balances_command = typeof get_wallet_balances_command;
|
|
367
|
+
export declare type TGetWalletBalancesRequest = {
|
|
368
|
+
wallet_ids: int[];
|
|
369
|
+
};
|
|
370
|
+
export declare type TGetWalletBalancesResponse = {
|
|
371
|
+
wallet_balances: Record<uint32, WalletBalance>;
|
|
372
|
+
};
|
|
373
|
+
export declare type WsGetWalletBalancesMessage = GetMessageType<chia_wallet_service, get_wallet_balances_command, TGetWalletBalancesResponse>;
|
|
374
|
+
export declare function get_wallet_balances<T extends TRPCAgent | TDaemon>(agent: T, data: TGetWalletBalancesRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetWalletBalancesResponse, WsGetWalletBalancesMessage>>;
|
|
348
375
|
export declare const get_transaction_command = "get_transaction";
|
|
349
376
|
export declare type get_transaction_command = typeof get_transaction_command;
|
|
350
377
|
export declare type TGetTransactionRequest = {
|
|
@@ -365,9 +392,11 @@ export declare type TGetTransactionsRequest = {
|
|
|
365
392
|
sort_key?: str;
|
|
366
393
|
reverse?: bool;
|
|
367
394
|
to_address?: str;
|
|
395
|
+
type_filter?: TransactionTypeFilter;
|
|
396
|
+
confirmed?: bool;
|
|
368
397
|
};
|
|
369
398
|
export declare type TGetTransactionsResponse = {
|
|
370
|
-
transactions:
|
|
399
|
+
transactions: TransactionRecordConvenienceWithMetadata[];
|
|
371
400
|
wallet_id: int;
|
|
372
401
|
};
|
|
373
402
|
export declare type WsGetTransactionsMessage = GetMessageType<chia_wallet_service, get_transactions_command, TGetTransactionsResponse>;
|
|
@@ -394,8 +423,12 @@ export declare type TSendTransactionRequest = {
|
|
|
394
423
|
memos?: str[];
|
|
395
424
|
min_coin_amount?: uint64;
|
|
396
425
|
max_coin_amount?: uint64;
|
|
397
|
-
|
|
398
|
-
|
|
426
|
+
excluded_coin_amounts?: uint64[];
|
|
427
|
+
excluded_coin_ids?: str[];
|
|
428
|
+
puzzle_decorator?: Array<{
|
|
429
|
+
decorator: str;
|
|
430
|
+
clawback_timelock?: uint64;
|
|
431
|
+
}>;
|
|
399
432
|
reuse_puzhash?: bool;
|
|
400
433
|
};
|
|
401
434
|
export declare type TSendTransactionResponse = {
|
|
@@ -435,10 +468,34 @@ export declare type TSendTransactionMultiResponse = {
|
|
|
435
468
|
};
|
|
436
469
|
export declare type WsSendTransactionMultiMessage = GetMessageType<chia_wallet_service, send_transaction_multi_command, TSendTransactionMultiResponse>;
|
|
437
470
|
export declare function send_transaction_multi<T extends TRPCAgent | TDaemon>(agent: T, data: TSendTransactionMultiRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TSendTransactionMultiResponse, WsSendTransactionMultiMessage>>;
|
|
471
|
+
export declare const spend_clawback_coins_command = "spend_clawback_coins";
|
|
472
|
+
export declare type spend_clawback_coins_command = typeof spend_clawback_coins_command;
|
|
473
|
+
export declare type TSpendClawbackCoinsRequest = {
|
|
474
|
+
coin_ids: str[];
|
|
475
|
+
fee?: uint64;
|
|
476
|
+
batch_size: int;
|
|
477
|
+
};
|
|
478
|
+
export declare type TSpendClawbackCoinsResponse = {
|
|
479
|
+
success: True;
|
|
480
|
+
transaction_ids: str[];
|
|
481
|
+
};
|
|
482
|
+
export declare type WsSpendClawbackCoinsMessage = GetMessageType<chia_wallet_service, spend_clawback_coins_command, TSpendClawbackCoinsResponse>;
|
|
483
|
+
export declare function spend_clawback_coins<T extends TRPCAgent | TDaemon>(agent: T, data: TSpendClawbackCoinsRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TSpendClawbackCoinsResponse, WsSpendClawbackCoinsMessage>>;
|
|
484
|
+
export declare const get_coin_records_command = "get_coin_records";
|
|
485
|
+
export declare type get_coin_records_command = typeof get_coin_records_command;
|
|
486
|
+
export declare type TGetCoinRecordsRequest = GetCoinRecords;
|
|
487
|
+
export declare type TGetCoinRecordsResponse = {
|
|
488
|
+
coin_records: WalletCoinRecordWithMetadata[];
|
|
489
|
+
total_count: uint32 | None;
|
|
490
|
+
};
|
|
491
|
+
export declare type WsGetCoinRecordsMessage = GetMessageType<chia_wallet_service, get_coin_records_command, TGetCoinRecordsResponse>;
|
|
492
|
+
export declare function get_coin_records<T extends TRPCAgent | TDaemon>(agent: T, data: TGetCoinRecordsRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetCoinRecordsResponse, WsGetCoinRecordsMessage>>;
|
|
438
493
|
export declare const get_transaction_count_command = "get_transaction_count";
|
|
439
494
|
export declare type get_transaction_count_command = typeof get_transaction_count_command;
|
|
440
495
|
export declare type TGetTransactionCountRequest = {
|
|
441
496
|
wallet_id: int;
|
|
497
|
+
type_filter?: TransactionTypeFilter;
|
|
498
|
+
confirmed?: bool;
|
|
442
499
|
};
|
|
443
500
|
export declare type TGetTransactionCountResponse = {
|
|
444
501
|
count: int;
|
|
@@ -455,6 +512,8 @@ export declare type TGetFarmedAmountResponse = {
|
|
|
455
512
|
farmer_reward_amount: int;
|
|
456
513
|
fee_amount: int;
|
|
457
514
|
last_height_farmed: int;
|
|
515
|
+
last_time_farmed: uint32;
|
|
516
|
+
blocks_won: uint32;
|
|
458
517
|
};
|
|
459
518
|
export declare type WsGetFarmedAmountMessage = GetMessageType<chia_wallet_service, get_farmed_amount_command, TGetFarmedAmountResponse>;
|
|
460
519
|
export declare function get_farmed_amount<T extends TRPCAgent | TDaemon>(agent: T): Promise<import("../../../rpc").ErrorResponse | ResType<T, TGetFarmedAmountResponse, WsGetFarmedAmountMessage>>;
|
|
@@ -481,9 +540,9 @@ export declare type TCreateSignedTransactionRequest = {
|
|
|
481
540
|
fee?: uint64;
|
|
482
541
|
min_coin_amount?: uint64;
|
|
483
542
|
max_coin_amount?: uint64;
|
|
484
|
-
|
|
543
|
+
excluded_coin_amounts?: uint64[];
|
|
485
544
|
coins?: Coin[];
|
|
486
|
-
|
|
545
|
+
excluded_coins?: Coin[];
|
|
487
546
|
coin_announcements?: TCoinAnnouncement[];
|
|
488
547
|
puzzle_announcements?: TPuzzleAnnouncement[];
|
|
489
548
|
};
|
|
@@ -730,8 +789,8 @@ export declare type TCatSpendRequest = {
|
|
|
730
789
|
coins?: Coin[];
|
|
731
790
|
min_coin_amount?: uint64;
|
|
732
791
|
max_coin_amount?: uint64;
|
|
733
|
-
|
|
734
|
-
|
|
792
|
+
excluded_coin_amounts?: uint64[];
|
|
793
|
+
excluded_coin_ids?: str[];
|
|
735
794
|
reuse_puzhash?: bool;
|
|
736
795
|
extra_delta?: int;
|
|
737
796
|
tail_reveal?: str;
|
|
@@ -1096,6 +1155,7 @@ export declare type TDidGetInfoResponse = {
|
|
|
1096
1155
|
error: str;
|
|
1097
1156
|
} | {
|
|
1098
1157
|
success: True;
|
|
1158
|
+
did_id: str;
|
|
1099
1159
|
latest_coin: str;
|
|
1100
1160
|
p2_address: str;
|
|
1101
1161
|
public_key: str;
|
|
@@ -1113,6 +1173,9 @@ export declare const did_find_lost_did_command = "did_find_lost_did";
|
|
|
1113
1173
|
export declare type did_find_lost_did_command = typeof did_find_lost_did_command;
|
|
1114
1174
|
export declare type TDidFindLostDidRequest = {
|
|
1115
1175
|
coin_id: str;
|
|
1176
|
+
recovery_list_hash?: str;
|
|
1177
|
+
num_verification?: int;
|
|
1178
|
+
metadata?: Record<str, any>;
|
|
1116
1179
|
};
|
|
1117
1180
|
export declare type TDidFindLostDidResponse = {
|
|
1118
1181
|
success: False;
|
|
@@ -1648,5 +1711,95 @@ export declare type TDlDeleteMirrorResponse = {
|
|
|
1648
1711
|
};
|
|
1649
1712
|
export declare type WsDlDeleteMirrorMessage = GetMessageType<chia_wallet_service, dl_delete_mirror_command, TDlDeleteMirrorResponse>;
|
|
1650
1713
|
export declare function dl_delete_mirror<T extends TRPCAgent | TDaemon>(agent: T, data: TDlDeleteMirrorRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TDlDeleteMirrorResponse, WsDlDeleteMirrorMessage>>;
|
|
1651
|
-
export declare type
|
|
1652
|
-
|
|
1714
|
+
export declare type VCMint = {
|
|
1715
|
+
did_id: str;
|
|
1716
|
+
target_address: Optional<str>;
|
|
1717
|
+
fee: uint64;
|
|
1718
|
+
};
|
|
1719
|
+
export declare const vc_mint_command = "vc_mint";
|
|
1720
|
+
export declare type vc_mint_command = typeof vc_mint_command;
|
|
1721
|
+
export declare type TVcMintRequest = VCMint;
|
|
1722
|
+
export declare type TVcMintResponse = {
|
|
1723
|
+
vc_record: VCRecord;
|
|
1724
|
+
transactions: TransactionRecordConvenience[];
|
|
1725
|
+
};
|
|
1726
|
+
export declare type WsVcMintMessage = GetMessageType<chia_wallet_service, vc_mint_command, TVcMintResponse>;
|
|
1727
|
+
export declare function vc_mint<T extends TRPCAgent | TDaemon>(agent: T, data: TVcMintRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TVcMintResponse, WsVcMintMessage>>;
|
|
1728
|
+
export declare type VCGet = {
|
|
1729
|
+
vc_id: bytes32;
|
|
1730
|
+
};
|
|
1731
|
+
export declare const vc_get_command = "vc_get";
|
|
1732
|
+
export declare type vc_get_command = typeof vc_get_command;
|
|
1733
|
+
export declare type TVcGetRequest = VCGet;
|
|
1734
|
+
export declare type TVcGetResponse = {
|
|
1735
|
+
vc_record: VCRecord | None;
|
|
1736
|
+
};
|
|
1737
|
+
export declare type WsVcGetMessage = GetMessageType<chia_wallet_service, vc_get_command, TVcGetResponse>;
|
|
1738
|
+
export declare function vc_get<T extends TRPCAgent | TDaemon>(agent: T, data: TVcGetRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TVcGetResponse, WsVcGetMessage>>;
|
|
1739
|
+
export declare type VcGetList = {
|
|
1740
|
+
start: uint32;
|
|
1741
|
+
end: uint32;
|
|
1742
|
+
};
|
|
1743
|
+
export declare const vc_get_list_command = "vc_get_list";
|
|
1744
|
+
export declare type vc_get_list_command = typeof vc_get_list_command;
|
|
1745
|
+
export declare type TVcGetListRequest = VcGetList;
|
|
1746
|
+
export declare type TVcGetListResponse = {
|
|
1747
|
+
vc_records: Array<VCRecord & {
|
|
1748
|
+
coin_id: str;
|
|
1749
|
+
}>;
|
|
1750
|
+
proofs: Record<str, Record<str, str> | None>;
|
|
1751
|
+
};
|
|
1752
|
+
export declare type WsVcGetListMessage = GetMessageType<chia_wallet_service, vc_get_list_command, TVcGetListResponse>;
|
|
1753
|
+
export declare function vc_get_list<T extends TRPCAgent | TDaemon>(agent: T, data: TVcGetListRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TVcGetListResponse, WsVcGetListMessage>>;
|
|
1754
|
+
export declare type VcSpend = {
|
|
1755
|
+
vc_id: bytes32;
|
|
1756
|
+
new_puzhash: Optional<bytes32>;
|
|
1757
|
+
new_proof_hash: Optional<bytes32>;
|
|
1758
|
+
provider_inner_puzhash: Optional<bytes32>;
|
|
1759
|
+
fee: uint64;
|
|
1760
|
+
reuse_puzhash: Optional<bool>;
|
|
1761
|
+
};
|
|
1762
|
+
export declare const vc_spend_command = "vc_spend";
|
|
1763
|
+
export declare type vc_spend_command = typeof vc_spend_command;
|
|
1764
|
+
export declare type TVcSpendRequest = VcSpend;
|
|
1765
|
+
export declare type TVcSpendResponse = {
|
|
1766
|
+
transactions: TransactionRecordConvenience[];
|
|
1767
|
+
};
|
|
1768
|
+
export declare type WsVcSpendMessage = GetMessageType<chia_wallet_service, vc_spend_command, TVcSpendResponse>;
|
|
1769
|
+
export declare function vc_spend<T extends TRPCAgent | TDaemon>(agent: T, data: TVcSpendRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TVcSpendResponse, WsVcSpendMessage>>;
|
|
1770
|
+
export declare const vc_add_proofs_command = "vc_add_proofs";
|
|
1771
|
+
export declare type vc_add_proofs_command = typeof vc_add_proofs_command;
|
|
1772
|
+
export declare type TVcAddProofsRequest = {
|
|
1773
|
+
proofs: {
|
|
1774
|
+
key_value_pairs: Record<str, str>;
|
|
1775
|
+
};
|
|
1776
|
+
};
|
|
1777
|
+
export declare type TVcAddProofsResponse = {};
|
|
1778
|
+
export declare type WsVcAddProofsMessage = GetMessageType<chia_wallet_service, vc_add_proofs_command, TVcAddProofsResponse>;
|
|
1779
|
+
export declare function vc_add_proofs<T extends TRPCAgent | TDaemon>(agent: T, data: TVcAddProofsRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TVcAddProofsResponse, WsVcAddProofsMessage>>;
|
|
1780
|
+
export declare type VCGetProofsForRoot = {
|
|
1781
|
+
root: bytes32;
|
|
1782
|
+
};
|
|
1783
|
+
export declare const vc_get_proofs_for_root_command = "vc_get_proofs_for_root";
|
|
1784
|
+
export declare type vc_get_proofs_for_root_command = typeof vc_get_proofs_for_root_command;
|
|
1785
|
+
export declare type TVcGetProofsForRootRequest = VCGetProofsForRoot;
|
|
1786
|
+
export declare type TVcGetProofsForRootResponse = {
|
|
1787
|
+
proofs: Record<str, str>;
|
|
1788
|
+
};
|
|
1789
|
+
export declare type WsVcGetProofsForRootMessage = GetMessageType<chia_wallet_service, vc_get_proofs_for_root_command, TVcGetProofsForRootResponse>;
|
|
1790
|
+
export declare function vc_get_proofs_for_root<T extends TRPCAgent | TDaemon>(agent: T, data: TVcGetProofsForRootRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TVcGetProofsForRootResponse, WsVcGetProofsForRootMessage>>;
|
|
1791
|
+
export declare type VcRevoke = {
|
|
1792
|
+
vc_parent_id: bytes32;
|
|
1793
|
+
fee: uint64;
|
|
1794
|
+
reuse_puzhash: Optional<bool>;
|
|
1795
|
+
};
|
|
1796
|
+
export declare const vc_revoke_command = "vc_revoke";
|
|
1797
|
+
export declare type vc_revoke_command = typeof vc_revoke_command;
|
|
1798
|
+
export declare type TVcRevokeRequest = VcRevoke;
|
|
1799
|
+
export declare type TVcRevokeResponse = {
|
|
1800
|
+
transactions: TransactionRecordConvenience[];
|
|
1801
|
+
};
|
|
1802
|
+
export declare type WsVcRevokeMessage = GetMessageType<chia_wallet_service, vc_revoke_command, TVcRevokeResponse>;
|
|
1803
|
+
export declare function vc_revoke<T extends TRPCAgent | TDaemon>(agent: T, data: TVcRevokeRequest): Promise<import("../../../rpc").ErrorResponse | ResType<T, TVcRevokeResponse, WsVcRevokeMessage>>;
|
|
1804
|
+
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 | 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;
|
|
1805
|
+
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 | 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;
|