chia-agent 7.0.0 → 8.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 +25 -0
- package/README.md +3 -3
- package/api/rpc/index.d.ts +3 -3
- package/api/rpc/index.js +4 -2
- package/api/rpc/wallet/index.d.ts +24 -2
- package/api/rpc/wallet/index.js +17 -3
- package/index.d.ts +0 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [8.0.0]
|
|
4
|
+
### Breaking Change
|
|
5
|
+
- [`nft_mint_nft`](./src/api/rpc/wallet/README.md#nft_mint_nftagent-params)
|
|
6
|
+
- Renamed `series_number` to `edition_number`.
|
|
7
|
+
- Renamed `series_total` to `edition_total`.
|
|
8
|
+
### Added
|
|
9
|
+
- [New Wallet RPC API](./src/api/rpc/wallet)
|
|
10
|
+
- [`get_current_derivation_index`](./src/api/rpc/wallet/README.md#get_current_derivation_indexagent)
|
|
11
|
+
- [`extend_derivation_index`](./src/api/rpc/wallet/README.md#extend_derivation_indexagent-params)
|
|
12
|
+
### Changed
|
|
13
|
+
- [`send_transaction`](./src/api/rpc/wallet/README.md#send_transactionagent-params)
|
|
14
|
+
- Added `min_coin_amount` to request parameter
|
|
15
|
+
- [`cat_spend`](./src/api/rpc/wallet/README.md#cat_spendagent-params)
|
|
16
|
+
- Added `min_coin_amount` to request parameter
|
|
17
|
+
- [`create_offer_for_ids`](./src/api/rpc/wallet/README.md#create_offer_for_idsagent-params)
|
|
18
|
+
- Added `min_coin_amount` to request parameter
|
|
19
|
+
- [`take_offer`](./src/api/rpc/wallet/README.md#take_offeragent-params)
|
|
20
|
+
- Added `min_coin_amount` to request parameter
|
|
21
|
+
- [`nft_mint_nft`](./src/api/rpc/wallet/README.md#nft_mint_nftagent-params)
|
|
22
|
+
- Renamed `series_number` to `edition_number`.
|
|
23
|
+
- Renamed `series_total` to `edition_total`.
|
|
24
|
+
- [`create_signed_transaction`](./src/api/rpc/wallet/README.md#create_signed_transactionagent-params)
|
|
25
|
+
- Added `min_coin_amount` to request parameter
|
|
26
|
+
|
|
3
27
|
## [7.0.0]
|
|
4
28
|
### Breaking Change
|
|
5
29
|
- [`create_new_wallet`](./src/api/rpc/wallet/README.md#create_new_walletagent-params)
|
|
@@ -474,6 +498,7 @@ daemon.sendMessage(destination, get_block_record_by_height_command, data);
|
|
|
474
498
|
Initial release.
|
|
475
499
|
|
|
476
500
|
<!-- [Unreleased]: https://github.com/Chia-Mine/chia-agent/compare/v0.0.1...v0.0.2 -->
|
|
501
|
+
[8.0.0]: https://github.com/Chia-Mine/chia-agent/compare/v7.0.0...v8.0.0
|
|
477
502
|
[7.0.0]: https://github.com/Chia-Mine/chia-agent/compare/v6.0.0...v7.0.0
|
|
478
503
|
[6.0.0]: https://github.com/Chia-Mine/chia-agent/compare/v5.0.0...v6.0.0
|
|
479
504
|
[5.0.0]: https://github.com/Chia-Mine/chia-agent/compare/v4.0.0...v5.0.0
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
[](https://badge.fury.io/js/chia-agent) [](https://opensource.org/licenses/MIT)
|
|
3
3
|
|
|
4
4
|
chia rpc/websocket client library for NodeJS.
|
|
5
|
-
Supports all RPC/Websocket API available at `chia 1.
|
|
5
|
+
Supports all RPC/Websocket API available at `chia 1.5.0`.
|
|
6
6
|
\(If you need previous version, search for the corresponding release [here](https://github.com/Chia-Mine/chia-agent/releases)\)
|
|
7
7
|
|
|
8
8
|
you can develop your own nodejs script with `chia-agent` to:
|
|
@@ -22,8 +22,8 @@ yarn add chia-agent
|
|
|
22
22
|
|
|
23
23
|
## Compatibility
|
|
24
24
|
This code is compatible with:
|
|
25
|
-
- [`
|
|
26
|
-
- [Diff to the main branch of chia-blockchain](https://github.com/Chia-Network/chia-blockchain/compare/
|
|
25
|
+
- [`787e96b8edc6ed95ca7a6d6ade115a62e6bff672`](https://github.com/Chia-Network/chia-blockchain/tree/787e96b8edc6ed95ca7a6d6ade115a62e6bff672) of [chia-blockchain 1.5.0](https://github.com/Chia-Network/chia-blockchain)
|
|
26
|
+
- [Diff to the main branch of chia-blockchain](https://github.com/Chia-Network/chia-blockchain/compare/787e96b8edc6ed95ca7a6d6ade115a62e6bff672...main)
|
|
27
27
|
- [`495f71e3acc93b18f10cfa9aac6a5b68cc7064c2`](https://github.com/Chia-Network/pool-reference/tree/495f71e3acc93b18f10cfa9aac6a5b68cc7064c2) of [pool-reference](https://github.com/Chia-Network/pool-reference)
|
|
28
28
|
- [Diff to the main branch of pool-reference](https://github.com/Chia-Network/pool-reference/compare/495f71e3acc93b18f10cfa9aac6a5b68cc7064c2...main)
|
|
29
29
|
|
package/api/rpc/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import type { TGetAdditionsAndRemovalsResponse, TGetAllMempoolItemsResponse, TGe
|
|
|
4
4
|
export { chia_full_node_service, TGetAdditionsAndRemovalsRequest, TGetAdditionsAndRemovalsResponse, TGetAllMempoolItemsRequest, TGetAllMempoolItemsResponse, TGetAllMempoolTxIdsRequest, TGetAllMempoolTxIdsResponse, TGetBlockRecordByHeightRequest, TGetBlockRecordByHeightResponse, TGetBlockRecordRequest, TGetBlockRecordResponse, TGetBlockRecordsRequest, TGetBlockRecordsResponse, TGetBlockRequest, TGetBlockResponse, TGetBlockchainStateRequest, TGetBlockchainStateResponse, TGetBlocksRequest, TGetBlocksResponse, TGetBlockCountMetricsResponse, TGetRecentSignagePointOrEOSCommandRequest, TGetRecentSignagePointOrEOSCommandResponse, TGetCoinRecordsByNamesRequest, TGetCoinRecordsByNamesResponse, TGetCoinRecordByNameRequest, TGetCoinRecordByNameResponse, TGetCoinRecordsByPuzzleHashRequest, TGetCoinRecordsByPuzzleHashResponse, TGetCoinRecordsByPuzzleHashesRequest, TGetCoinRecordsByPuzzleHashesResponse, TGetCoinRecordsByParentIdsRequest, TGetCoinRecordsByParentIdsResponse, TGetCoinRecordsByHintRequest, TGetCoinRecordsByHintResponse, TGetInitialFreezePeriodRequestOfFullNode, TGetInitialFreezePeriodResponseOfFullNode, TGetMempoolItemByTxIdRequest, TGetMempoolItemByTxIdResponse, TGetNetworkInfoRequestOfFullNode, TGetNetworkInfoResponseOfFullNode, TGetNetworkSpaceRequest, TGetNetworkSpaceResponse, TGetUnfinishedBlockHeadersRequest, TGetUnfinishedBlockHeadersResponse, TPushTxRequest, TPushTxResponse, get_additions_and_removals, get_all_mempool_items, get_all_mempool_tx_ids, get_block, get_block_record, get_block_record_by_height, get_block_records, get_blockchain_state, get_blocks, get_block_count_metrics, get_recent_signage_point_or_eos, get_coin_record_by_name, get_coin_records_by_names, get_coin_records_by_puzzle_hash, get_coin_records_by_puzzle_hashes, get_coin_records_by_parent_ids, get_coin_records_by_hint, get_initial_freeze_period_of_full_node, get_mempool_item_by_tx_id, get_network_info_of_full_node, get_network_space, get_unfinished_block_headers, push_tx, } from "./full_node/index";
|
|
5
5
|
import type { TAddPlotDirectoryResponse, TDeletePlotResponse, TGetPlotDirectoriesResponse, TGetPlotsResponse, TRefreshPlotsResponse, TRemovePlotDirectoryResponse } from "./harvester/index";
|
|
6
6
|
export { chia_harvester_service, TAddPlotDirectoryRequest, TAddPlotDirectoryResponse, TDeletePlotRequest, TDeletePlotResponse, TGetPlotDirectoriesRequest, TGetPlotDirectoriesResponse, TGetPlotsRequest, TGetPlotsResponse, TRefreshPlotsRequest, TRefreshPlotsResponse, TRemovePlotDirectoryRequest, TRemovePlotDirectoryResponse, add_plot_directory, delete_plot, get_plot_directories, get_plots, refresh_plots, remove_plot_directory, } from "./harvester/index";
|
|
7
|
-
import type { TAddKeyResponse, TAddRateLimitedFundsResponse, TCancelOfferResponse, TCatGetAssetIdResponse, TCatGetNameResponse, TGetStrayCatsResponse, TCatAssetIdToNameResponse, TCatSetNameResponse, TCatSpendResponse, TCheckOfferValidityResponse, TCreateNewWalletResponse, TCreateOfferForIdsResponse, TCreateSignedTransactionResponse, TDeleteUnconfirmedTransactionsResponse, TSelectCoinsResponse, TDeleteAllKeysResponse, TDeleteKeyResponse, TDidSetWalletNameResponse, TDidGetWalletNameResponse, TDidCreateAttestResponse, TDidCreateBackupFileResponse, TDidTransferDidResponse, TDidGetDidResponse, TDidGetInformationNeededForRecoveryResponse, TDidGetPubkeyResponse, TDidGetRecoveryListResponse, TDidGetCurrentCoinInfoResponse, TDidGetMetadataResponse, TDidRecoverySpendResponse, TDidSpendResponse, TDidUpdateRecoveryIdsResponse, TDidUpdateMetadataResponse, TNftMintNftResponse, TNftGetNftsResponse, TNftSetNftDidResponse, TNftGetByDidResponse, TNftGetWalletDidResponse, TNftGetWalletsWithDidsResponse, TNftSetNftStatusResponse, TNftTransferNftResponse, TNftGetInfoResponse, TNftAddUriResponse, TFarmBlockResponse, TGenerateMnemonicResponse, TGetAllOffersResponse, TGetCatListResponse, TGetFarmedAmountResponse, TGetHeightInfoResponse, TGetInitialFreezePeriodResponseOfWallet, TGetLoggedInFingerprintResponse, TGetNetworkInfoResponseOfWallet, TGetNextAddressResponse, TGetOfferResponse, TGetOffersCountResponse, TGetOfferSummaryResponse, TGetPrivateKeyResponse, TGetPublicKeysResponse, TGetSyncStatusResponse, TGetTransactionCountResponse, TGetTransactionResponse, TGetTransactionsResponse, TGetWalletBalanceResponse, TGetWalletsResponse, TLoginResponse, TPushTxResponse as TPushTxResponseOfWallet, TPwAbsorbRewardsResponse, TPwStatusResponse, TRlSetUserInfoResponse, TSendClawbackTransactionResponse, TSendTransactionResponse, TSendTransactionMultiResponse, TTakeOfferResponse, TPwJoinPoolResponse, TPwSelfPoolResponse } from "./wallet/index";
|
|
8
|
-
export { chia_wallet_service, TAddKeyRequest, TAddKeyResponse, TAddRateLimitedFundsRequest, TAddRateLimitedFundsResponse, TAdditions, TCancelOfferRequest, TCancelOfferResponse, TCatGetAssetIdRequest, TCatGetAssetIdResponse, TCatGetNameRequest, TCatGetNameResponse, TGetStrayCatsResponse, TCatAssetIdToNameRequest, TCatAssetIdToNameResponse, TCatSetNameRequest, TCatSetNameResponse, TCatSpendRequest, TCatSpendResponse, TCheckOfferValidityRequest, TCheckOfferValidityResponse, TCreateNewWalletRequest, TCreateNewWalletResponse, TCreateOfferForIdsRequest, TCreateOfferForIdsResponse, TCreateSignedTransactionRequest, TCreateSignedTransactionResponse, TDeleteUnconfirmedTransactionsRequest, TDeleteUnconfirmedTransactionsResponse, TSelectCoinsRequest, TSelectCoinsResponse, 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, TDeleteKeyRequest, TDeleteKeyResponse, TDidSetWalletNameRequest, TDidSetWalletNameResponse, TDidGetWalletNameRequest, TDidGetWalletNameResponse, TDidCreateAttestRequest, TDidCreateAttestResponse, TDidCreateBackupFileRequest, TDidCreateBackupFileResponse, TDidTransferDidRequest, TDidTransferDidResponse, TDidGetDidRequest, TDidGetDidResponse, TDidGetInformationNeededForRecoveryRequest, TDidGetInformationNeededForRecoveryResponse, TDidGetCurrentCoinInfoRequest, TDidGetCurrentCoinInfoResponse, TDidGetPubkeyRequest, TDidGetPubkeyResponse, TDidGetRecoveryListRequest, TDidGetRecoveryListResponse, TDidGetMetadataRequest, TDidGetMetadataResponse, TDidRecoverySpendRequest, TDidRecoverySpendResponse, TDidSpendRequest, TDidSpendResponse, TDidUpdateRecoveryIdsRequest, TDidUpdateRecoveryIdsResponse, TDidUpdateMetadataRequest, TDidUpdateMetadataResponse, TNftMintNftRequest, TNftMintNftResponse, TNftGetNftsRequest, TNftGetNftsResponse, TNftSetNftDidRequest, TNftSetNftDidResponse, TNftGetByDidRequest, TNftGetByDidResponse, TNftGetWalletDidRequest, TNftGetWalletDidResponse, TNftGetWalletsWithDidsResponse, TNftSetNftStatusRequest, TNftSetNftStatusResponse, TNftTransferNftRequest, TNftTransferNftResponse, TNftGetInfoRequest, TNftGetInfoResponse, TNftAddUriRequest, TNftAddUriResponse, TFarmBlockRequest, TFarmBlockResponse, TGenerateMnemonicRequest, TGenerateMnemonicResponse, TGetAllOffersRequest, TGetAllOffersResponse, TGetCatListResponse, TGetFarmedAmountRequest, TGetFarmedAmountResponse, TGetHeightInfoRequest, TGetHeightInfoResponse, TGetInitialFreezePeriodRequestOfWallet, TGetInitialFreezePeriodResponseOfWallet, TGetLoggedInFingerprintResponse, TGetOfferRequest, TGetOfferResponse, TGetOffersCountResponse, TGetOfferSummaryRequest, TGetOfferSummaryResponse, TGetNetworkInfoRequestOfWallet, TGetNetworkInfoResponseOfWallet, TGetNextAddressRequest, TGetNextAddressResponse, TGetPrivateKeyRequest, TGetPrivateKeyResponse, TGetPublicKeysRequest, TGetPublicKeysResponse, TGetSyncStatusRequest, TGetSyncStatusResponse, TGetTransactionCountRequest, TGetTransactionCountResponse, TGetTransactionRequest, TGetTransactionResponse, TGetTransactionsRequest, TGetTransactionsResponse, TGetWalletBalanceRequest, TGetWalletBalanceResponse, TGetWalletsRequest, TGetWalletsResponse, TLoginRequest, TLoginResponse, TPushTxRequest as TPushTxRequestOfWallet, TPushTxResponse as TPushTxResponseOfWallet, TPwJoinPoolRequest, TPwJoinPoolResponse, TPwSelfPoolRequest, TPwSelfPoolResponse, TPwAbsorbRewardsRequest, TPwAbsorbRewardsResponse, TPwStatusRequest, TPwStatusResponse, TRlSetUserInfoRequest, TRlSetUserInfoResponse, TSendClawbackTransactionRequest, TSendClawbackTransactionResponse, TSendTransactionRequest, TSendTransactionResponse, TSendTransactionMultiRequest, TSendTransactionMultiResponse, TTakeOfferRequest, TTakeOfferResponse, add_key, add_rate_limited_funds, cancel_offer, cat_get_asset_id, cat_get_name, get_stray_cats, cat_asset_id_to_name, cat_set_name, cat_spend, check_offer_validity, create_new_wallet, create_offer_for_ids, create_signed_transaction, delete_unconfirmed_transactions, select_coins, delete_all_keys, delete_key, did_set_wallet_name, did_get_wallet_name, did_create_attest, did_create_backup_file, did_transfer_did, did_get_did, did_get_information_needed_for_recovery, did_get_current_coin_info, did_get_pubkey, did_get_recovery_list, did_get_metadata, did_recovery_spend, did_spend, did_update_recovery_ids, did_update_metadata, nft_mint_nft, nft_get_nfts, nft_set_nft_did, nft_get_by_did, nft_get_wallet_did, nft_get_wallets_with_dids, nft_set_nft_status, nft_transfer_nft, nft_get_info, nft_add_uri, farm_block, generate_mnemonic, get_all_offers, get_cat_list, get_farmed_amount, get_height_info, get_initial_freeze_period_of_wallet, get_logged_in_fingerprint, get_offer, get_offers_count, get_offer_summary, get_network_info_of_wallet, get_next_address, get_private_key, get_public_keys, get_sync_status, get_transaction, get_transaction_count, get_transactions, get_wallet_balance, get_wallets, log_in, push_tx as push_tx_wallet, pw_join_pool, pw_self_pool, pw_absorb_rewards, pw_status, rl_set_user_info, send_clawback_transaction, send_transaction, send_transaction_multi, take_offer, } from "./wallet/index";
|
|
7
|
+
import type { TAddKeyResponse, TAddRateLimitedFundsResponse, TCancelOfferResponse, TCatGetAssetIdResponse, TCatGetNameResponse, TGetStrayCatsResponse, TCatAssetIdToNameResponse, TCatSetNameResponse, TCatSpendResponse, TCheckOfferValidityResponse, TCreateNewWalletResponse, TCreateOfferForIdsResponse, TCreateSignedTransactionResponse, TDeleteUnconfirmedTransactionsResponse, TSelectCoinsResponse, TGetCurrentDerivationIndexResponse, TExtendDerivationIndexResponse, TDeleteAllKeysResponse, TDeleteKeyResponse, TDidSetWalletNameResponse, TDidGetWalletNameResponse, TDidCreateAttestResponse, TDidCreateBackupFileResponse, TDidTransferDidResponse, TDidGetDidResponse, TDidGetInformationNeededForRecoveryResponse, TDidGetPubkeyResponse, TDidGetRecoveryListResponse, TDidGetCurrentCoinInfoResponse, TDidGetMetadataResponse, TDidRecoverySpendResponse, TDidSpendResponse, TDidUpdateRecoveryIdsResponse, TDidUpdateMetadataResponse, TNftMintNftResponse, TNftGetNftsResponse, TNftSetNftDidResponse, TNftGetByDidResponse, TNftGetWalletDidResponse, TNftGetWalletsWithDidsResponse, TNftSetNftStatusResponse, TNftTransferNftResponse, TNftGetInfoResponse, TNftAddUriResponse, TFarmBlockResponse, TGenerateMnemonicResponse, TGetAllOffersResponse, TGetCatListResponse, TGetFarmedAmountResponse, TGetHeightInfoResponse, TGetInitialFreezePeriodResponseOfWallet, TGetLoggedInFingerprintResponse, TGetNetworkInfoResponseOfWallet, TGetNextAddressResponse, TGetOfferResponse, TGetOffersCountResponse, TGetOfferSummaryResponse, TGetPrivateKeyResponse, TGetPublicKeysResponse, TGetSyncStatusResponse, TGetTransactionCountResponse, TGetTransactionResponse, TGetTransactionsResponse, TGetWalletBalanceResponse, TGetWalletsResponse, TLoginResponse, TPushTxResponse as TPushTxResponseOfWallet, TPwAbsorbRewardsResponse, TPwStatusResponse, TRlSetUserInfoResponse, TSendClawbackTransactionResponse, TSendTransactionResponse, TSendTransactionMultiResponse, TTakeOfferResponse, TPwJoinPoolResponse, TPwSelfPoolResponse } from "./wallet/index";
|
|
8
|
+
export { chia_wallet_service, TAddKeyRequest, TAddKeyResponse, TAddRateLimitedFundsRequest, TAddRateLimitedFundsResponse, TAdditions, TCancelOfferRequest, TCancelOfferResponse, TCatGetAssetIdRequest, TCatGetAssetIdResponse, TCatGetNameRequest, TCatGetNameResponse, TGetStrayCatsResponse, TCatAssetIdToNameRequest, TCatAssetIdToNameResponse, TCatSetNameRequest, TCatSetNameResponse, TCatSpendRequest, TCatSpendResponse, TCheckOfferValidityRequest, TCheckOfferValidityResponse, TCreateNewWalletRequest, TCreateNewWalletResponse, TCreateOfferForIdsRequest, TCreateOfferForIdsResponse, TCreateSignedTransactionRequest, TCreateSignedTransactionResponse, TDeleteUnconfirmedTransactionsRequest, TDeleteUnconfirmedTransactionsResponse, TSelectCoinsRequest, TSelectCoinsResponse, TGetCurrentDerivationIndexResponse, TExtendDerivationIndexRequest, TExtendDerivationIndexResponse, 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, TDeleteKeyRequest, TDeleteKeyResponse, TDidSetWalletNameRequest, TDidSetWalletNameResponse, TDidGetWalletNameRequest, TDidGetWalletNameResponse, TDidCreateAttestRequest, TDidCreateAttestResponse, TDidCreateBackupFileRequest, TDidCreateBackupFileResponse, TDidTransferDidRequest, TDidTransferDidResponse, TDidGetDidRequest, TDidGetDidResponse, TDidGetInformationNeededForRecoveryRequest, TDidGetInformationNeededForRecoveryResponse, TDidGetCurrentCoinInfoRequest, TDidGetCurrentCoinInfoResponse, TDidGetPubkeyRequest, TDidGetPubkeyResponse, TDidGetRecoveryListRequest, TDidGetRecoveryListResponse, TDidGetMetadataRequest, TDidGetMetadataResponse, TDidRecoverySpendRequest, TDidRecoverySpendResponse, TDidSpendRequest, TDidSpendResponse, TDidUpdateRecoveryIdsRequest, TDidUpdateRecoveryIdsResponse, TDidUpdateMetadataRequest, TDidUpdateMetadataResponse, TNftMintNftRequest, TNftMintNftResponse, TNftGetNftsRequest, TNftGetNftsResponse, TNftSetNftDidRequest, TNftSetNftDidResponse, TNftGetByDidRequest, TNftGetByDidResponse, TNftGetWalletDidRequest, TNftGetWalletDidResponse, TNftGetWalletsWithDidsResponse, TNftSetNftStatusRequest, TNftSetNftStatusResponse, TNftTransferNftRequest, TNftTransferNftResponse, TNftGetInfoRequest, TNftGetInfoResponse, TNftAddUriRequest, TNftAddUriResponse, TFarmBlockRequest, TFarmBlockResponse, TGenerateMnemonicRequest, TGenerateMnemonicResponse, TGetAllOffersRequest, TGetAllOffersResponse, TGetCatListResponse, TGetFarmedAmountRequest, TGetFarmedAmountResponse, TGetHeightInfoRequest, TGetHeightInfoResponse, TGetInitialFreezePeriodRequestOfWallet, TGetInitialFreezePeriodResponseOfWallet, TGetLoggedInFingerprintResponse, TGetOfferRequest, TGetOfferResponse, TGetOffersCountResponse, TGetOfferSummaryRequest, TGetOfferSummaryResponse, TGetNetworkInfoRequestOfWallet, TGetNetworkInfoResponseOfWallet, TGetNextAddressRequest, TGetNextAddressResponse, TGetPrivateKeyRequest, TGetPrivateKeyResponse, TGetPublicKeysRequest, TGetPublicKeysResponse, TGetSyncStatusRequest, TGetSyncStatusResponse, TGetTransactionCountRequest, TGetTransactionCountResponse, TGetTransactionRequest, TGetTransactionResponse, TGetTransactionsRequest, TGetTransactionsResponse, TGetWalletBalanceRequest, TGetWalletBalanceResponse, TGetWalletsRequest, TGetWalletsResponse, TLoginRequest, TLoginResponse, TPushTxRequest as TPushTxRequestOfWallet, TPushTxResponse as TPushTxResponseOfWallet, TPwJoinPoolRequest, TPwJoinPoolResponse, TPwSelfPoolRequest, TPwSelfPoolResponse, TPwAbsorbRewardsRequest, TPwAbsorbRewardsResponse, TPwStatusRequest, TPwStatusResponse, TRlSetUserInfoRequest, TRlSetUserInfoResponse, TSendClawbackTransactionRequest, TSendClawbackTransactionResponse, TSendTransactionRequest, TSendTransactionResponse, TSendTransactionMultiRequest, TSendTransactionMultiResponse, TTakeOfferRequest, TTakeOfferResponse, add_key, add_rate_limited_funds, cancel_offer, cat_get_asset_id, cat_get_name, get_stray_cats, cat_asset_id_to_name, cat_set_name, cat_spend, check_offer_validity, create_new_wallet, create_offer_for_ids, create_signed_transaction, delete_unconfirmed_transactions, select_coins, get_current_derivation_index, extend_derivation_index, delete_all_keys, delete_key, did_set_wallet_name, did_get_wallet_name, did_create_attest, did_create_backup_file, did_transfer_did, did_get_did, did_get_information_needed_for_recovery, did_get_current_coin_info, did_get_pubkey, did_get_recovery_list, did_get_metadata, did_recovery_spend, did_spend, did_update_recovery_ids, did_update_metadata, nft_mint_nft, nft_get_nfts, nft_set_nft_did, nft_get_by_did, nft_get_wallet_did, nft_get_wallets_with_dids, nft_set_nft_status, nft_transfer_nft, nft_get_info, nft_add_uri, farm_block, generate_mnemonic, get_all_offers, get_cat_list, get_farmed_amount, get_height_info, get_initial_freeze_period_of_wallet, get_logged_in_fingerprint, get_offer, get_offers_count, get_offer_summary, get_network_info_of_wallet, get_next_address, get_private_key, get_public_keys, get_sync_status, get_transaction, get_transaction_count, get_transactions, get_wallet_balance, get_wallets, log_in, push_tx as push_tx_wallet, pw_join_pool, pw_self_pool, pw_absorb_rewards, pw_status, rl_set_user_info, send_clawback_transaction, send_transaction, send_transaction_multi, take_offer, } from "./wallet/index";
|
|
9
9
|
import type { TGetIpsAfterTimestampResponse, TGetPeerCountsResponse } from "./crawler/index";
|
|
10
10
|
export { chia_crawler_service, TGetIpsAfterTimestampRequest, TGetIpsAfterTimestampResponse, TGetPeerCountsResponse, get_ips_after_timestamp, get_peer_counts, } from "./crawler/index";
|
|
11
11
|
import type { TGetConnectionsResponse, TOpenConnectionResponse, TCloseConnectionResponse, TStopNodeResponse, TGetRoutesResponse } from "./common/index";
|
|
@@ -13,7 +13,7 @@ export { chia_common_service, TGetConnectionsRequest, TGetConnectionsResponse, T
|
|
|
13
13
|
export declare type RpcFarmerMessage = TGetRewardTargetResponse | TGetSignagePointResponse | TGetSignagePointsResponse | TSetRewardTargetResponse | TGetHarvestersResponse | TGetHarvestersSummaryResponse | TGetHarvesterPlotsValidResponse | TGetHarvesterPlotsInvalidResponse | TGetHarvesterPlotsKeysMissingResponse | TGetHarvesterPlotsDuplicatesResponse | TSetPayoutInstructionsResponse | TGetPoolStateResponse | TGetPoolLinkResponse;
|
|
14
14
|
export declare type RpcFullNodeMessage = TGetAdditionsAndRemovalsResponse | TGetAllMempoolItemsResponse | TGetAllMempoolTxIdsResponse | TGetBlockResponse | TGetBlockRecordByHeightResponse | TGetBlockRecordResponse | TGetBlockRecordsResponse | TGetBlockchainStateResponse | TGetBlocksResponse | TGetBlockCountMetricsResponse | TGetRecentSignagePointOrEOSCommandResponse | TGetCoinRecordByNameResponse | TGetCoinRecordsByNamesResponse | TGetCoinRecordsByPuzzleHashResponse | TGetCoinRecordsByPuzzleHashesResponse | TGetCoinRecordsByParentIdsResponse | TGetCoinRecordsByHintResponse | TGetInitialFreezePeriodResponseOfFullNode | TGetMempoolItemByTxIdResponse | TGetNetworkInfoResponseOfFullNode | TGetNetworkSpaceResponse | TGetUnfinishedBlockHeadersResponse | TPushTxResponse;
|
|
15
15
|
export declare type RpcHarvesterMessage = TAddPlotDirectoryResponse | TDeletePlotResponse | TGetPlotDirectoriesResponse | TGetPlotsResponse | TRefreshPlotsResponse | TRemovePlotDirectoryResponse;
|
|
16
|
-
export declare type RpcWalletMessage = TAddKeyResponse | TAddRateLimitedFundsResponse | TCancelOfferResponse | TCatGetAssetIdResponse | TCatGetNameResponse | TGetStrayCatsResponse | TCatAssetIdToNameResponse | TCatSetNameResponse | TCatSpendResponse | TCheckOfferValidityResponse | TCreateNewWalletResponse | TCreateOfferForIdsResponse | TCreateSignedTransactionResponse | TDeleteUnconfirmedTransactionsResponse | TSelectCoinsResponse | TDeleteAllKeysResponse | TDeleteKeyResponse | TDidSetWalletNameResponse | TDidGetWalletNameResponse | TDidCreateAttestResponse | TDidCreateBackupFileResponse | TDidTransferDidResponse | TDidGetDidResponse | TDidGetInformationNeededForRecoveryResponse | TDidGetCurrentCoinInfoResponse | TDidGetPubkeyResponse | TDidGetRecoveryListResponse | TDidGetMetadataResponse | TDidRecoverySpendResponse | TDidSpendResponse | TDidUpdateRecoveryIdsResponse | TDidUpdateMetadataResponse | TNftMintNftResponse | TNftGetNftsResponse | TNftSetNftDidResponse | TNftGetByDidResponse | TNftGetWalletDidResponse | TNftGetWalletsWithDidsResponse | TNftSetNftStatusResponse | TNftTransferNftResponse | TNftGetInfoResponse | TNftAddUriResponse | TFarmBlockResponse | TGenerateMnemonicResponse | TGetAllOffersResponse | TGetCatListResponse | TGetFarmedAmountResponse | TGetHeightInfoResponse | TGetInitialFreezePeriodResponseOfWallet | TGetLoggedInFingerprintResponse | TGetOfferResponse | TGetOffersCountResponse | TGetOfferSummaryResponse | TGetNetworkInfoResponseOfWallet | TGetNextAddressResponse | TGetPrivateKeyResponse | TGetPublicKeysResponse | TGetSyncStatusResponse | TGetTransactionResponse | TGetTransactionCountResponse | TGetTransactionsResponse | TGetWalletBalanceResponse | TGetWalletsResponse | TLoginResponse | TPushTxResponseOfWallet | TPwJoinPoolResponse | TPwSelfPoolResponse | TPwAbsorbRewardsResponse | TPwStatusResponse | TRlSetUserInfoResponse | TSendClawbackTransactionResponse | TSendTransactionResponse | TSendTransactionMultiResponse | TTakeOfferResponse;
|
|
16
|
+
export declare type RpcWalletMessage = TAddKeyResponse | TAddRateLimitedFundsResponse | TCancelOfferResponse | TCatGetAssetIdResponse | TCatGetNameResponse | TGetStrayCatsResponse | TCatAssetIdToNameResponse | TCatSetNameResponse | TCatSpendResponse | TCheckOfferValidityResponse | TCreateNewWalletResponse | TCreateOfferForIdsResponse | TCreateSignedTransactionResponse | TDeleteUnconfirmedTransactionsResponse | TSelectCoinsResponse | TGetCurrentDerivationIndexResponse | TExtendDerivationIndexResponse | TDeleteAllKeysResponse | TDeleteKeyResponse | TDidSetWalletNameResponse | TDidGetWalletNameResponse | TDidCreateAttestResponse | TDidCreateBackupFileResponse | TDidTransferDidResponse | TDidGetDidResponse | TDidGetInformationNeededForRecoveryResponse | TDidGetCurrentCoinInfoResponse | TDidGetPubkeyResponse | TDidGetRecoveryListResponse | TDidGetMetadataResponse | TDidRecoverySpendResponse | TDidSpendResponse | TDidUpdateRecoveryIdsResponse | TDidUpdateMetadataResponse | TNftMintNftResponse | TNftGetNftsResponse | TNftSetNftDidResponse | TNftGetByDidResponse | TNftGetWalletDidResponse | TNftGetWalletsWithDidsResponse | TNftSetNftStatusResponse | TNftTransferNftResponse | TNftGetInfoResponse | TNftAddUriResponse | TFarmBlockResponse | TGenerateMnemonicResponse | TGetAllOffersResponse | TGetCatListResponse | TGetFarmedAmountResponse | TGetHeightInfoResponse | TGetInitialFreezePeriodResponseOfWallet | TGetLoggedInFingerprintResponse | TGetOfferResponse | TGetOffersCountResponse | TGetOfferSummaryResponse | TGetNetworkInfoResponseOfWallet | TGetNextAddressResponse | TGetPrivateKeyResponse | TGetPublicKeysResponse | TGetSyncStatusResponse | TGetTransactionResponse | TGetTransactionCountResponse | TGetTransactionsResponse | TGetWalletBalanceResponse | TGetWalletsResponse | TLoginResponse | TPushTxResponseOfWallet | TPwJoinPoolResponse | TPwSelfPoolResponse | TPwAbsorbRewardsResponse | TPwStatusResponse | TRlSetUserInfoResponse | TSendClawbackTransactionResponse | TSendTransactionResponse | TSendTransactionMultiResponse | TTakeOfferResponse;
|
|
17
17
|
export declare type RpcCrawlerMessage = TGetIpsAfterTimestampResponse | TGetPeerCountsResponse;
|
|
18
18
|
export declare type RpcCommonMessage = TGetConnectionsResponse | TOpenConnectionResponse | TCloseConnectionResponse | TStopNodeResponse | TGetRoutesResponse;
|
|
19
19
|
export declare type RpcMessage = RpcFarmerMessage | RpcFullNodeMessage | RpcHarvesterMessage | RpcWalletMessage | RpcCrawlerMessage | RpcCommonMessage;
|
package/api/rpc/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.cat_get_asset_id = exports.cancel_offer = exports.add_rate_limited_funds = exports.add_key = exports.chia_wallet_service = exports.remove_plot_directory = exports.refresh_plots = exports.get_plots = exports.get_plot_directories = exports.delete_plot = exports.add_plot_directory = exports.chia_harvester_service = exports.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_records_by_names = exports.get_coin_record_by_name = exports.get_recent_signage_point_or_eos = exports.get_block_count_metrics = exports.get_blocks = exports.get_blockchain_state = exports.get_block_records = exports.get_block_record_by_height = exports.get_block_record = exports.get_block = exports.get_all_mempool_tx_ids = exports.get_all_mempool_items = exports.get_additions_and_removals = exports.chia_full_node_service = exports.get_pool_state = exports.set_pool_payout_instructions = exports.get_pool_login_link = 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.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.take_offer = exports.send_transaction_multi = exports.send_transaction = exports.send_clawback_transaction = exports.rl_set_user_info = exports.pw_status = exports.pw_absorb_rewards = exports.pw_self_pool = exports.pw_join_pool = exports.push_tx_wallet = exports.log_in = exports.get_wallets = exports.get_wallet_balance = exports.get_transactions = exports.get_transaction_count = exports.get_transaction = exports.get_sync_status = exports.get_public_keys = exports.get_private_key = exports.get_next_address = void 0;
|
|
4
|
+
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.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_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 = 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.delete_all_keys = 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 = void 0;
|
|
5
|
+
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.take_offer = exports.send_transaction_multi = exports.send_transaction = exports.send_clawback_transaction = exports.rl_set_user_info = exports.pw_status = exports.pw_absorb_rewards = exports.pw_self_pool = exports.pw_join_pool = exports.push_tx_wallet = exports.log_in = exports.get_wallets = exports.get_wallet_balance = exports.get_transactions = exports.get_transaction_count = exports.get_transaction = 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 = void 0;
|
|
6
6
|
var index_1 = require("./farmer/index");
|
|
7
7
|
Object.defineProperty(exports, "chia_farmer_service", { enumerable: true, get: function () { return index_1.chia_farmer_service; } });
|
|
8
8
|
Object.defineProperty(exports, "get_reward_targets", { enumerable: true, get: function () { return index_1.get_reward_targets; } });
|
|
@@ -68,6 +68,8 @@ Object.defineProperty(exports, "create_offer_for_ids", { enumerable: true, get:
|
|
|
68
68
|
Object.defineProperty(exports, "create_signed_transaction", { enumerable: true, get: function () { return index_4.create_signed_transaction; } });
|
|
69
69
|
Object.defineProperty(exports, "delete_unconfirmed_transactions", { enumerable: true, get: function () { return index_4.delete_unconfirmed_transactions; } });
|
|
70
70
|
Object.defineProperty(exports, "select_coins", { enumerable: true, get: function () { return index_4.select_coins; } });
|
|
71
|
+
Object.defineProperty(exports, "get_current_derivation_index", { enumerable: true, get: function () { return index_4.get_current_derivation_index; } });
|
|
72
|
+
Object.defineProperty(exports, "extend_derivation_index", { enumerable: true, get: function () { return index_4.extend_derivation_index; } });
|
|
71
73
|
Object.defineProperty(exports, "delete_all_keys", { enumerable: true, get: function () { return index_4.delete_all_keys; } });
|
|
72
74
|
Object.defineProperty(exports, "delete_key", { enumerable: true, get: function () { return index_4.delete_key; } });
|
|
73
75
|
Object.defineProperty(exports, "did_set_wallet_name", { enumerable: true, get: function () { return index_4.did_set_wallet_name; } });
|
|
@@ -339,6 +339,7 @@ export declare type TSendTransactionRequest = {
|
|
|
339
339
|
fee: int;
|
|
340
340
|
address: str;
|
|
341
341
|
memos?: str[];
|
|
342
|
+
min_coin_amount?: uint128;
|
|
342
343
|
};
|
|
343
344
|
export declare type TSendTransactionResponse = {
|
|
344
345
|
transaction: TransactionRecordConvenience;
|
|
@@ -401,6 +402,7 @@ export declare type create_signed_transaction_command = typeof create_signed_tra
|
|
|
401
402
|
export declare type TCreateSignedTransactionRequest = {
|
|
402
403
|
additions: TAdditions[];
|
|
403
404
|
fee?: uint64;
|
|
405
|
+
min_coin_amount?: uint128;
|
|
404
406
|
coins?: Coin[];
|
|
405
407
|
coin_announcements?: TCoinAnnouncement[];
|
|
406
408
|
puzzle_announcements?: TPuzzleAnnouncement[];
|
|
@@ -426,6 +428,23 @@ export declare type TSelectCoinsResponse = {
|
|
|
426
428
|
coins: Coin[];
|
|
427
429
|
};
|
|
428
430
|
export declare function select_coins(agent: TRPCAgent, data: TSelectCoinsRequest): Promise<TSelectCoinsResponse>;
|
|
431
|
+
export declare const get_current_derivation_index_command = "get_current_derivation_index";
|
|
432
|
+
export declare type get_current_derivation_index_command = typeof get_current_derivation_index_command;
|
|
433
|
+
export declare type TGetCurrentDerivationIndexResponse = {
|
|
434
|
+
success: True;
|
|
435
|
+
index: Optional<uint32>;
|
|
436
|
+
};
|
|
437
|
+
export declare function get_current_derivation_index(agent: TRPCAgent): Promise<TGetCurrentDerivationIndexResponse>;
|
|
438
|
+
export declare const extend_derivation_index_command = "extend_derivation_index";
|
|
439
|
+
export declare type extend_derivation_index_command = typeof extend_derivation_index_command;
|
|
440
|
+
export declare type TExtendDerivationIndexRequest = {
|
|
441
|
+
index: uint32;
|
|
442
|
+
};
|
|
443
|
+
export declare type TExtendDerivationIndexResponse = {
|
|
444
|
+
success: True;
|
|
445
|
+
index: Optional<uint32>;
|
|
446
|
+
};
|
|
447
|
+
export declare function extend_derivation_index(agent: TRPCAgent, data: TExtendDerivationIndexRequest): Promise<TExtendDerivationIndexResponse>;
|
|
429
448
|
export declare const get_cat_list_command = "get_cat_list";
|
|
430
449
|
export declare type get_cat_list_command = typeof get_cat_list_command;
|
|
431
450
|
export declare type TGetCatListResponse = {
|
|
@@ -481,6 +500,7 @@ export declare type TCatSpendRequest = {
|
|
|
481
500
|
memos?: str[];
|
|
482
501
|
amount: uint64;
|
|
483
502
|
fee: uint64;
|
|
503
|
+
min_coin_amount?: uint128;
|
|
484
504
|
};
|
|
485
505
|
export declare type TCatSpendResponse = {
|
|
486
506
|
transaction: TransactionRecordConvenience;
|
|
@@ -504,6 +524,7 @@ export declare type TCreateOfferForIdsRequest = {
|
|
|
504
524
|
fee?: uint64;
|
|
505
525
|
validate_only?: bool;
|
|
506
526
|
driver_dict?: TDriverDict;
|
|
527
|
+
min_coin_amount?: uint128;
|
|
507
528
|
};
|
|
508
529
|
export declare type TCreateOfferForIdsResponse = {
|
|
509
530
|
offer: str;
|
|
@@ -538,6 +559,7 @@ export declare type take_offer_command = typeof take_offer_command;
|
|
|
538
559
|
export declare type TTakeOfferRequest = {
|
|
539
560
|
offer: str;
|
|
540
561
|
fee?: uint64;
|
|
562
|
+
min_coin_amount?: uint128;
|
|
541
563
|
};
|
|
542
564
|
export declare type TTakeOfferResponse = {
|
|
543
565
|
trade_record: TradeRecordConvenience;
|
|
@@ -790,8 +812,8 @@ export declare type TNftMintNftRequest = {
|
|
|
790
812
|
meta_uris: str[];
|
|
791
813
|
license_uris: str[];
|
|
792
814
|
hash: str;
|
|
793
|
-
|
|
794
|
-
|
|
815
|
+
edition_number: uint64;
|
|
816
|
+
edition_total: uint64;
|
|
795
817
|
meta_hash?: str;
|
|
796
818
|
license_hash?: str;
|
|
797
819
|
fee?: uint64;
|
package/api/rpc/wallet/index.js
CHANGED
|
@@ -10,9 +10,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.get_farmed_amount_command = exports.get_transaction_count = exports.get_transaction_count_command = exports.send_transaction_multi = exports.send_transaction_multi_command = exports.send_transaction = exports.send_transaction_command = exports.get_next_address = exports.get_next_address_command = exports.get_transactions = exports.get_transactions_command = exports.get_transaction = exports.get_transaction_command = exports.get_wallet_balance = exports.get_wallet_balance_command = exports.create_new_wallet = exports.create_new_wallet_command = exports.get_wallets = exports.get_wallets_command = exports.get_network_info_of_wallet = exports.get_network_info_command_of_wallet = exports.get_initial_freeze_period_of_wallet = exports.get_initial_freeze_period_command_of_wallet = exports.farm_block = exports.farm_block_command = exports.push_tx = exports.push_tx_command = exports.get_height_info = exports.get_height_info_command = exports.get_sync_status = exports.get_sync_status_command = exports.delete_all_keys = exports.delete_all_keys_command = exports.check_delete_key = exports.check_delete_key_command = exports.delete_key = exports.delete_key_command = exports.add_key = exports.add_key_command = exports.generate_mnemonic = exports.generate_mnemonic_command = exports.get_private_key = exports.get_private_key_command = exports.get_public_keys = exports.get_public_keys_command = exports.get_logged_in_fingerprint = exports.get_logged_in_fingerprint_command = exports.log_in = exports.log_in_command = exports.chia_wallet_service = void 0;
|
|
13
|
-
exports.
|
|
14
|
-
exports.
|
|
15
|
-
exports.pw_status = void 0;
|
|
13
|
+
exports.did_spend_command = exports.did_update_metadata = exports.did_update_metadata_command = exports.did_update_recovery_ids = exports.did_update_recovery_ids_command = exports.did_get_wallet_name = exports.did_get_wallet_name_command = exports.did_set_wallet_name = exports.did_set_wallet_name_command = exports.cancel_offer = exports.cancel_offer_command = exports.get_offers_count = exports.get_offers_count_command = exports.get_all_offers = exports.get_all_offers_command = exports.get_offer = exports.get_offer_command = exports.take_offer = exports.take_offer_command = exports.check_offer_validity = exports.check_offer_validity_command = exports.get_offer_summary = exports.get_offer_summary_command = exports.create_offer_for_ids = exports.create_offer_for_ids_command = exports.cat_get_asset_id = exports.cat_get_asset_id_command = exports.cat_spend = exports.cat_spend_command = exports.get_stray_cats = exports.get_stray_cats_command = exports.cat_get_name = exports.cat_get_name_command = exports.cat_asset_id_to_name = exports.cat_asset_id_to_name_command = exports.cat_set_name = exports.cat_set_name_command = exports.get_cat_list = exports.get_cat_list_command = exports.extend_derivation_index = exports.extend_derivation_index_command = exports.get_current_derivation_index = exports.get_current_derivation_index_command = exports.select_coins = exports.select_coins_command = exports.delete_unconfirmed_transactions = exports.delete_unconfirmed_transactions_command = exports.create_signed_transaction = exports.create_signed_transaction_command = exports.get_farmed_amount = void 0;
|
|
14
|
+
exports.pw_self_pool_command = exports.pw_join_pool = exports.pw_join_pool_command = exports.add_rate_limited_funds = exports.add_rate_limited_funds_command = exports.send_clawback_transaction = exports.send_clawback_transaction_command = exports.rl_set_user_info = exports.rl_set_user_info_command = exports.nft_add_uri = exports.nft_add_uri_command = exports.nft_get_info = exports.nft_get_info_command = exports.nft_transfer_nft = exports.nft_transfer_nft_command = exports.nft_set_nft_status = exports.nft_set_nft_status_command = exports.nft_get_wallets_with_dids = exports.nft_get_wallets_with_dids_command = exports.nft_get_wallet_did = exports.nft_get_wallet_did_command = exports.nft_get_by_did = exports.nft_get_by_did_command = exports.nft_set_nft_did = exports.nft_set_nft_did_command = exports.nft_get_nfts = exports.nft_get_nfts_command = exports.nft_mint_nft = exports.nft_mint_nft_command = exports.did_transfer_did = exports.did_transfer_did_command = exports.did_create_backup_file = exports.did_create_backup_file_command = exports.did_get_current_coin_info = exports.did_get_current_coin_info_command = exports.did_get_information_needed_for_recovery = exports.did_get_information_needed_for_recovery_command = exports.did_create_attest = exports.did_create_attest_command = exports.did_get_metadata = exports.did_get_metadata_command = exports.did_get_recovery_list = exports.did_get_recovery_list_command = exports.did_recovery_spend = exports.did_recovery_spend_command = exports.did_get_did = exports.did_get_did_command = exports.did_get_pubkey = exports.did_get_pubkey_command = exports.did_spend = void 0;
|
|
15
|
+
exports.pw_status = exports.pw_status_command = exports.pw_absorb_rewards = exports.pw_absorb_rewards_command = exports.pw_self_pool = void 0;
|
|
16
16
|
exports.chia_wallet_service = "chia_wallet";
|
|
17
17
|
// # Key management
|
|
18
18
|
exports.log_in_command = "log_in";
|
|
@@ -214,6 +214,20 @@ function select_coins(agent, data) {
|
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
216
|
exports.select_coins = select_coins;
|
|
217
|
+
exports.get_current_derivation_index_command = "get_current_derivation_index";
|
|
218
|
+
function get_current_derivation_index(agent) {
|
|
219
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
220
|
+
return agent.sendMessage(exports.chia_wallet_service, exports.get_current_derivation_index_command);
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
exports.get_current_derivation_index = get_current_derivation_index;
|
|
224
|
+
exports.extend_derivation_index_command = "extend_derivation_index";
|
|
225
|
+
function extend_derivation_index(agent, data) {
|
|
226
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
227
|
+
return agent.sendMessage(exports.chia_wallet_service, exports.extend_derivation_index_command, data);
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
exports.extend_derivation_index = extend_derivation_index;
|
|
217
231
|
// # CATs and Trading
|
|
218
232
|
exports.get_cat_list_command = "get_cat_list";
|
|
219
233
|
function get_cat_list(agent) {
|
package/index.d.ts
CHANGED