import { WalletInfo } from "../../chia/wallet/wallet_info"; import { Coin } from "../../chia/types/blockchain_format/coin"; import { bool, bytes, False, None, Optional, str, True } from "../../chia/types/_python_types_"; import { int, uint16, uint32, uint64 } from "../../chia_rs/wheel/python/sized_ints"; import { bytes32 } from "../../chia_rs/wheel/python/sized_bytes"; import { TransactionRecord, TransactionRecordConvenience, TransactionRecordConvenienceWithMetadata } from "../../chia/wallet/transaction_record"; import { TRPCAgent } from "../../../rpc"; import { PoolWalletInfo } from "../../chia/pools/pool_wallet_info"; import { TradeRecordConvenience } from "../../chia/wallet/trade_record"; import { CAT } from "../../chia/wallet/cat_wallet/cat_constants"; import { TDriverDict } from "../../chia/wallet/puzzle_drivers"; import { NFTInfo } from "../../chia/wallet/nft_wallet/nft_info"; import { Mirror } from "../../chia/data_layer/data_layer_wallet"; import { SingletonRecord } from "../../chia/data_layer/singleton_record"; import { TPushTxResponseOfWallet } from "../index"; import { GetMessageType, ResType } from "../../types"; import { TDaemon } from "../../../daemon/index"; import { CoinRecord } from "../../chia_rs/chia-protocol/coin_record"; import { SigningMode } from "../../chia/types/signing_mode"; import { Balance } from "../../chia/wallet/wallet_node"; import { AutoClaimSettings, AutoClaimSettingsCHIP0029 } from "../../chia/wallet/puzzles/clawback/metadata"; import { GetCoinRecords } from "../../chia/wallet/wallet_coin_store"; import { WalletCoinRecordWithMetadata } from "../../chia/wallet/wallet_coin_record"; import { TransactionTypeFilter } from "../../chia/wallet/util/quality_filter"; import { TXConfigLoader } from "../../chia/wallet/util/tx_config"; import { ConditionValidTimes } from "../../chia/wallet/conditions"; import { DLProof, VerifyProofResponse } from "../../chia/data_layer/data_layer_util"; import { AddKeyRequest, AddKeyResponse, ApplySignatures, ApplySignaturesCHIP0029, ApplySignaturesResponse, ApplySignaturesResponseCHIP0029, CheckDeleteKeyRequest, CheckDeleteKeyResponse, CombineCoins, CombineCoinsCHIP0029, CombineCoinsResponse, CombineCoinsResponseCHIP0029, DeleteKeyRequest, ExecuteSigningInstructions, ExecuteSigningInstructionsCHIP0029, ExecuteSigningInstructionsResponse, ExecuteSigningInstructionsResponseCHIP0029, GatherSigningInfo, GatherSigningInfoCHIP0029, GatherSigningInfoResponse, GatherSigningInfoResponseCHIP0029, GenerateMnemonicResponse, GetHeightInfo, GetHeightInfoResponse, GetLoggedInFingerprintResponse, GetNotifications, GetNotificationsResponse, GetPrivateKeyRequest, GetPrivateKeyResponse, GetPublicKeysResponse, GetSyncStatus, GetSyncStatusResponse, GetTimestampForHeightRequest, GetTimestampForHeightRequestCHIP0029, GetTimestampForHeightResponse, LogIn, LogInResponse, PushTransactions, PushTransactionsCHIP0029, PushTransactionsResponse, PushTransactionsResponseCHIP0029, PushTX, PushTXCHIP0029, SetWalletResyncOnStartup, SetWalletResyncOnStartupCHIP0029, SplitCoins, SplitCoinsCHIP0029, SplitCoinsResponse, SplitCoinsResponseCHIP0029, SubmitTransactions, SubmitTransactionsCHIP0029, SubmitTransactionsResponse, SubmitTransactionsResponseCHIP0029, VcAddProofs, VcAddProofsCHIP0029, VCGet, VCGetCHIP0029, VcGetList, VcGetListCHIP0029, VcGetListResponse, VCGetProofsForRoot, VCGetProofsForRootCHIP0029, VCGetProofsForRootResponse, VcGetResponse, VCMint, VCMintCHIP0029, VcMintResponse, VcMintResponseCHIP0029, VcRevoke, VcRevokeCHIP0029, VcRevokeResponse, VcRevokeResponseCHIP0029, VcSpend, VcSpendCHIP0029, VcSpendResponse, VcSpendResponseCHIP0029 } from "../../chia/rpc/wallet_request_types"; import { SigningResponse, UnsignedTransaction } from "../../chia/wallet/signer_protocol"; import { WalletSpendBundle } from "../../chia/wallet/wallet_spend_bundle"; import { TXEndpointRequest, TxeResp } from "../../chia/rpc/wallet_rpc_api"; import { Marshall, MaybeMarshall } from "../../chia/rpc/util"; export declare const chia_wallet_service = "chia_wallet"; export type chia_wallet_service = typeof chia_wallet_service; export declare const log_in_command = "log_in"; export type log_in_command = typeof log_in_command; export type TLoginRequest = LogIn; export type TLoginResponse = LogInResponse; export type WsLoginMessage = GetMessageType; export declare function log_in(agent: T, data: TLoginRequest): Promise>; export declare const get_logged_in_fingerprint_command = "get_logged_in_fingerprint"; export type get_logged_in_fingerprint_command = typeof get_logged_in_fingerprint_command; export type TGetLoggedInFingerprintResponse = GetLoggedInFingerprintResponse; export type WsGetLoggedInFingerprintMessage = GetMessageType; export declare function get_logged_in_fingerprint(agent: T): Promise>; export declare const get_public_keys_command = "get_public_keys"; export type get_public_keys_command = typeof get_public_keys_command; export type TGetPublicKeysResponse = GetPublicKeysResponse; export type WsGetPublicKeysMessage = GetMessageType; export declare function get_public_keys(agent: T): Promise>; export declare const get_private_key_command = "get_private_key"; export type get_private_key_command = typeof get_private_key_command; export type TGetPrivateKeyRequest = GetPrivateKeyRequest; export type TGetPrivateKeyResponse = GetPrivateKeyResponse; export type WsGetPrivateKeyMessage = GetMessageType; export declare function get_private_key(agent: T, data: TGetPrivateKeyRequest): Promise>; export declare const generate_mnemonic_command = "generate_mnemonic"; export type generate_mnemonic_command = typeof generate_mnemonic_command; export type TGenerateMnemonicResponse = GenerateMnemonicResponse; export type WsGenerateMnemonicMessage = GetMessageType; export declare function generate_mnemonic(agent: T): Promise>; export declare const add_key_command = "add_key"; export type add_key_command = typeof add_key_command; export type TAddKeyRequest = AddKeyRequest; export type TAddKeyResponse = AddKeyResponse; export type WsAddKeyMessage = GetMessageType; export declare function add_key(agent: T, data: TAddKeyRequest): Promise>; export declare const delete_key_command = "delete_key"; export type delete_key_command = typeof delete_key_command; export type TDeleteKeyRequest = DeleteKeyRequest; export type TDeleteKeyResponse = Record; export type WsDeleteKeyMessage = GetMessageType; export declare function delete_key(agent: T, data: TDeleteKeyRequest): Promise>; export declare const check_delete_key_command = "check_delete_key"; export type check_delete_key_command = typeof check_delete_key_command; export type TCheckDeleteKeyRequest = CheckDeleteKeyRequest; export type TCheckDeleteKeyResponse = CheckDeleteKeyResponse; export type WsCheckDeleteKeyMessage = GetMessageType; export declare function check_delete_key(agent: T, data: TCheckDeleteKeyRequest): Promise>; export declare const delete_all_keys_command = "delete_all_keys"; export type delete_all_keys_command = typeof delete_all_keys_command; export type TDeleteAllKeysResponse = Record; export type WsDeleteAllKeysMessage = GetMessageType; export declare function delete_all_keys(agent: T): Promise>; export declare const set_wallet_resync_on_startup_command = "set_wallet_resync_on_startup"; export type set_wallet_resync_on_startup_command = typeof set_wallet_resync_on_startup_command; export type TSetWalletResyncOnStartupRequest = SetWalletResyncOnStartup | SetWalletResyncOnStartupCHIP0029; export type TSetWalletResyncOnStartupResponse = { success: True; }; export type WsSetWalletResyncOnStartupMessage = GetMessageType; export declare function set_wallet_resync_on_startup(agent: T): Promise>; export declare const get_sync_status_command = "get_sync_status"; export type get_sync_status_command = typeof get_sync_status_command; export type TGetSyncStatus = GetSyncStatus; export type TGetSyncStatusResponse = GetSyncStatusResponse; export type WsGetSyncStatusMessage = GetMessageType; export declare function get_sync_status(agent: T, data?: D): Promise>>; export declare const get_height_info_command = "get_height_info"; export type get_height_info_command = typeof get_height_info_command; export type TGetHeightInfoRequest = GetHeightInfo; export type TGetHeightInfoResponse = GetHeightInfoResponse; export type WsGetHeightInfoMessage = GetMessageType; export declare function get_height_info(agent: T, data?: D): Promise>>; export declare const push_tx_command = "push_tx"; export type push_tx_command = typeof push_tx_command; export type TPushTxRequest = PushTX | PushTXCHIP0029; export type TPushTxResponse = Record; export type WsPushTxMessageOfWallet = GetMessageType; export declare function push_tx(agent: T, data: TPushTxRequest): Promise>; export declare const push_transactions_command = "push_transactions"; export type push_transactions_command = typeof push_transactions_command; export type TPushTransactionsRequest = PushTransactions | PushTransactionsCHIP0029; export type TPushTransactionsResponse = PushTransactionsResponse | PushTransactionsResponseCHIP0029; export type WsPushTransactionsMessage = GetMessageType; export declare function push_transactions(agent: T, data: D): Promise, WsPushTransactionsMessage>>>; export declare const get_timestamp_for_height_command = "get_timestamp_for_height"; export type get_timestamp_for_height_command = typeof get_timestamp_for_height_command; export type TGetTimestampForHeightRequest = GetTimestampForHeightRequest | GetTimestampForHeightRequestCHIP0029; export type TGetTimestampForHeightResponse = GetTimestampForHeightResponse; export type WsGetTimestampForHeightMessage = GetMessageType; export declare function get_timestamp_for_height(agent: T, params: D): Promise>>; export declare const set_auto_claim_command = "set_auto_claim"; export type set_auto_claim_command = typeof set_auto_claim_command; export type TSetAutoClaimRequest = AutoClaimSettings | (AutoClaimSettingsCHIP0029 & Marshall); export type TSetAutoClaimResponse = AutoClaimSettings | AutoClaimSettingsCHIP0029; export type WsSetAutoClaimMessage = GetMessageType; export declare function set_auto_claim(agent: T, data: D): Promise, WsSetAutoClaimMessage>>>; export declare const get_auto_claim_command = "get_auto_claim"; export type get_auto_claim_command = typeof get_auto_claim_command; export type TGetAutoClaimRequest = Marshall; export type TGetAutoClaimResponse = AutoClaimSettings | AutoClaimSettingsCHIP0029; export type WsGetAutoClaimMessage = GetMessageType; export declare function get_auto_claim(agent: T, params?: D): Promise, WsGetAutoClaimMessage>>>; export declare const get_initial_freeze_period_command_of_wallet = "get_initial_freeze_period"; export type get_initial_freeze_period_command_of_wallet = typeof get_initial_freeze_period_command_of_wallet; export type TGetInitialFreezePeriodResponseOfWallet = { INITIAL_FREEZE_END_TIMESTAMP: 1620061200; }; export type WsGetInitialFreezePeriodMessageOfWallet = GetMessageType; export declare function get_initial_freeze_period_of_wallet(agent: T): Promise>; export declare const get_wallets_command = "get_wallets"; export type get_wallets_command = typeof get_wallets_command; export type TGetWalletsRequest = { type?: int; include_data?: bool; }; export type WalletInfoResponse = WalletInfo & { authorized_providers: bytes32[]; flags_needed: str[]; }; export type TGetWalletsResponse = { wallets: WalletInfoResponse[]; fingerprint: Optional; }; export type WsGetWalletsMessage = GetMessageType; export declare function get_wallets(agent: T, data: TGetWalletsRequest): Promise>; export type TCreate_New_CAT_WalletRequest = { fee?: uint64; wallet_type: "cat_wallet"; name?: str; mode: "new"; test?: bool; amount: uint64; } | { fee?: uint64; wallet_type: "cat_wallet"; mode: "existing"; asset_id: str; }; export type TCreate_New_CAT_WalletResponse = { type: "CAT"; asset_id: str; wallet_id: uint32; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type TCreateNewDidWalletRequestNew = { fee?: uint64; wallet_type: "did_wallet"; did_type: "new"; amount: uint64; metadata?: Record; wallet_name?: str; }; export type TCreateNewDidWalletRequestRecovery = { fee?: uint64; wallet_type: "did_wallet"; did_type: "recovery"; backup_data: str; }; export type TCreate_New_DID_WalletRequest = TCreateNewDidWalletRequestNew | TCreateNewDidWalletRequestRecovery; export type TCreateNewDidWalletResponseNew = { success: True; type: "DECENTRALIZED_ID"; my_did: str; wallet_id: uint32; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type TCreateNewDidWalletResponseRecovery = { success: True; type: "DECENTRALIZED_ID"; my_did: str; wallet_id: uint32; coin_name: str; coin_list: [bytes32, bytes32, uint64]; newpuzhash: str; pubkey: str; backup_dids: bytes[]; num_verifications_required: uint64; }; export type TCreate_New_DID_WalletResponse = TCreateNewDidWalletResponseNew | TCreateNewDidWalletResponseRecovery; export type TCreate_New_NFT_WalletRequest = { fee?: uint64; wallet_type: "nft_wallet"; did_id?: str; name?: str; }; export type TCreate_New_NFT_WalletResponse = { success: True; type: "NFT"; wallet_id: uint32; }; export type TCreate_New_Pool_WalletRequest = { fee?: uint64; wallet_type: "pool_wallet"; mode: "new"; initial_target_state: { state: "SELF_POOLING"; } | { state: "FARMING_TO_POOL"; target_puzzle_hash: str; pool_url: str; relative_lock_height: uint32; }; p2_singleton_delayed_ph?: str; p2_singleton_delay_time?: uint64; }; export type TCreate_New_Pool_WalletResponse = { type: "POOLING_WALLET"; total_fee: uint64; transaction: TransactionRecord; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; launcher_id: str; p2_singleton_puzzle_hash: str; }; export type TCreate_New_Remote_WalletRequest = { fee?: uint64; wallet_type: "remote_wallet"; name?: str; }; export type TCreate_New_Remote_WalletResponse = { success: True; type: "REMOTE"; wallet_id: uint32; transactions: TransactionRecordConvenience[]; }; export declare const create_new_wallet_command = "create_new_wallet"; export type create_new_wallet_command = typeof create_new_wallet_command; export type TCreateNewWalletRequestWithTx = TCreate_New_CAT_WalletRequest | TCreate_New_Pool_WalletRequest; export type TCreateNewWalletRequestWithoutTx = TCreate_New_DID_WalletRequest | TCreate_New_NFT_WalletRequest | TCreate_New_Remote_WalletRequest; export type TCreateNewWalletRequest = (TCreateNewWalletRequestWithTx | TCreateNewWalletRequestWithoutTx) & TXEndpointRequest; export type TCreateNewWalletResponse = TCreate_New_CAT_WalletResponse | TCreate_New_DID_WalletResponse | TCreate_New_NFT_WalletResponse | TCreate_New_Pool_WalletResponse | TCreate_New_Remote_WalletResponse; export type GetCreateNewWalletResponse = REQ extends TCreate_New_CAT_WalletRequest ? TCreate_New_CAT_WalletResponse : REQ extends TCreate_New_DID_WalletRequest ? REQ extends TCreateNewDidWalletRequestNew ? TCreateNewDidWalletResponseNew : TCreateNewDidWalletResponseRecovery : REQ extends TCreate_New_NFT_WalletRequest ? TCreate_New_NFT_WalletResponse : REQ extends TCreate_New_Remote_WalletRequest ? TCreate_New_Remote_WalletResponse : TCreate_New_Pool_WalletResponse; export type WsCreateNewWalletMessage = GetMessageType; export declare function create_new_wallet(agent: T, data: D): Promise> : GetCreateNewWalletResponse, WsCreateNewWalletMessage> : GetCreateNewWalletResponse>>>; export type WalletBalance = Balance & { wallet_id: uint32; wallet_type: int; fingerprint: Optional; asset_id: Optional; pending_approval_balance: Optional; }; export declare const get_wallet_balance_command = "get_wallet_balance"; export type get_wallet_balance_command = typeof get_wallet_balance_command; export type TGetWalletBalanceRequest = { wallet_id: int; }; export type TGetWalletBalanceResponse = { wallet_balance: WalletBalance; }; export type WsGetWalletBalanceMessage = GetMessageType; export declare function get_wallet_balance(agent: T, data: TGetWalletBalanceRequest): Promise>; export declare const get_wallet_balances_command = "get_wallet_balances"; export type get_wallet_balances_command = typeof get_wallet_balances_command; export type TGetWalletBalancesRequest = { wallet_ids: int[]; }; export type TGetWalletBalancesResponse = { wallet_balances: Record; }; export type WsGetWalletBalancesMessage = GetMessageType; export declare function get_wallet_balances(agent: T, data: TGetWalletBalancesRequest): Promise>; export declare const get_transaction_command = "get_transaction"; export type get_transaction_command = typeof get_transaction_command; export type TGetTransactionRequest = { transaction_id: str; }; export type TGetTransactionResponse = { transaction: TransactionRecordConvenience; transaction_id: TransactionRecord["name"]; }; export type WsGetTransactionMessage = GetMessageType; export declare function get_transaction(agent: T, data: TGetTransactionRequest): Promise>; export declare const get_transactions_command = "get_transactions"; export type get_transactions_command = typeof get_transactions_command; export type TGetTransactionsRequest = { wallet_id: int; start?: uint32; end?: uint32; sort_key?: str; reverse?: bool; to_address?: str; type_filter?: TransactionTypeFilter; confirmed?: bool; }; export type TGetTransactionsResponse = { transactions: TransactionRecordConvenienceWithMetadata[]; wallet_id: int; }; export type WsGetTransactionsMessage = GetMessageType; export declare function get_transactions(agent: T, data: TGetTransactionsRequest): Promise>; export declare const get_next_address_command = "get_next_address"; export type get_next_address_command = typeof get_next_address_command; export type TGetNextAddressRequest = { new_address?: bool; wallet_id: int; }; export type TGetNextAddressResponse = { wallet_id: uint32; address: str; }; export type WsGetNextAddressMessage = GetMessageType; export declare function get_next_address(agent: T, data: TGetNextAddressRequest): Promise>; export declare const send_transaction_command = "send_transaction"; export type send_transaction_command = typeof send_transaction_command; export type ClawbackPuzzleDecoratorOverride = { decorator: "CLAWBACK"; clawback_timelock: uint64; }; export type TSendTransactionRequest = { wallet_id: uint32; amount: uint64; fee?: uint64; address: str; memos?: str[]; puzzle_decorator?: ClawbackPuzzleDecoratorOverride[]; } & TXEndpointRequest; export type TSendTransactionResponse = { transaction: TransactionRecordConvenience; transactions: TransactionRecordConvenience[]; transaction_id: TransactionRecord["name"]; signing_responses?: str[]; }; export type WsSendTransactionMessage = GetMessageType; export declare function send_transaction(agent: T, data: D): Promise, WsSendTransactionMessage>>>; export declare const send_transaction_multi_command = "send_transaction_multi"; export type send_transaction_multi_command = typeof send_transaction_multi_command; export type TSendTransactionMultiRequest = { wallet_id: uint32; } & (TCatSpendRequest | TCreateSignedTransactionRequest); export type TSendTransactionMultiResponse = { transaction: TransactionRecordConvenience; transaction_id: TransactionRecordConvenience["name"]; transactions: TransactionRecordConvenience[]; }; export type WsSendTransactionMultiMessage = GetMessageType; export declare function send_transaction_multi(agent: T, data: D): Promise, WsSendTransactionMultiMessage>>>; export declare const spend_clawback_coins_command = "spend_clawback_coins"; export type spend_clawback_coins_command = typeof spend_clawback_coins_command; export type TSpendClawbackCoinsRequest = { coin_ids: str[]; fee?: uint64; batch_size?: uint16; force?: bool; } & TXEndpointRequest; export type TSpendClawbackCoinsResponse = { success: True; transaction_ids: str[]; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsSpendClawbackCoinsMessage = GetMessageType; export declare function spend_clawback_coins(agent: T, data: D): Promise, WsSpendClawbackCoinsMessage>>>; export declare const get_coin_records_command = "get_coin_records"; export type get_coin_records_command = typeof get_coin_records_command; export type TGetCoinRecordsRequest = GetCoinRecords; export type TGetCoinRecordsResponse = { coin_records: WalletCoinRecordWithMetadata[]; total_count: uint32 | None; }; export type WsGetCoinRecordsMessage = GetMessageType; export declare function get_coin_records(agent: T, data: TGetCoinRecordsRequest): Promise>; export declare const get_transaction_count_command = "get_transaction_count"; export type get_transaction_count_command = typeof get_transaction_count_command; export type TGetTransactionCountRequest = { wallet_id: int; type_filter?: TransactionTypeFilter; confirmed?: bool; }; export type TGetTransactionCountResponse = { count: uint32; wallet_id: int; }; export type WsGetTransactionCountMessage = GetMessageType; export declare function get_transaction_count(agent: T, data: TGetTransactionCountRequest): Promise>; export declare const get_farmed_amount_command = "get_farmed_amount"; export type get_farmed_amount_command = typeof get_farmed_amount_command; export type TGetFarmedAmountResponse = { farmed_amount: uint64; pool_reward_amount: uint64; farmer_reward_amount: uint64; fee_amount: uint64; last_height_farmed: int; last_time_farmed: uint32; blocks_won: uint32; }; export type WsGetFarmedAmountMessage = GetMessageType; export type TGetFarmedAmountRequest = { include_pool_rewards?: bool; }; export declare function get_farmed_amount(agent: T, data?: TGetFarmedAmountRequest): Promise>; export type TAdditions = { amount: uint64; puzzle_hash: str; memos?: str[]; }; export type TCoinAnnouncement = { coin_id: str; message: str; }; export type TPuzzleAnnouncement = { puzzle_hash: str; message: str; }; export declare const create_signed_transaction_command = "create_signed_transaction"; export type create_signed_transaction_command = typeof create_signed_transaction_command; export type TCreateSignedTransactionRequest = { wallet_id?: uint32; additions: TAdditions[]; fee?: uint64; coins?: Coin[]; coin_announcements?: TCoinAnnouncement[]; puzzle_announcements?: TPuzzleAnnouncement[]; morph_bytes?: str; extra_delta?: str; tail_reveal?: str; tail_solution?: str; puzzle_decorator?: ClawbackPuzzleDecoratorOverride[]; } & TXEndpointRequest; export type TCreateSignedTransactionResponse = { signed_txs: TransactionRecordConvenience[]; signed_tx: TransactionRecordConvenience; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsCreateSignedTransactionMessage = GetMessageType; export declare function create_signed_transaction(agent: T, data: D): Promise, WsCreateSignedTransactionMessage>>>; export declare const delete_unconfirmed_transactions_command = "delete_unconfirmed_transactions"; export type delete_unconfirmed_transactions_command = typeof delete_unconfirmed_transactions_command; export type TDeleteUnconfirmedTransactionsRequest = { wallet_id: uint32; }; export type TDeleteUnconfirmedTransactionsResponse = Record; export type WsDeleteUnconfirmedTransactionsMessage = GetMessageType; export declare function delete_unconfirmed_transactions(agent: T, data: TDeleteUnconfirmedTransactionsRequest): Promise>; export declare const select_coins_command = "select_coins"; export type select_coins_command = typeof select_coins_command; export type TSelectCoinsRequest = { amount: uint64; wallet_id: uint32; exclude_coins?: Optional; excluded_coins?: Optional; allow_unsynced?: bool; } & TXConfigLoader; export type TSelectCoinsResponse = { coins: Coin[]; }; export type WsSelectCoinsMessage = GetMessageType; export declare function select_coins(agent: T, data: TSelectCoinsRequest): Promise>; export declare const get_spendable_coins_command = "get_spendable_coins"; export type get_spendable_coins_command = typeof get_spendable_coins_command; export type TGetSpendableCoinsRequest = { wallet_id: uint32; min_coin_amount?: uint64; max_coin_amount?: uint64; excluded_coin_amounts?: Optional; excluded_coins?: Coin[]; excluded_coin_ids?: str[]; included_coin_ids?: str[]; primary_coin?: str; allow_unsynced?: bool; }; export type TGetSpendableCoinsResponse = { confirmed_records: CoinRecord[]; unconfirmed_removals: CoinRecord[]; unconfirmed_additions: Coin[]; }; export type WsGetSpendableCoinsMessage = GetMessageType; export declare function get_spendable_coins(agent: T, data: TGetSpendableCoinsRequest): Promise>; export declare const get_coin_records_by_names_command = "get_coin_records_by_names"; export type get_coin_records_by_names_command = typeof get_coin_records_by_names_command; export type TGetCoinRecordsByNamesRequest = { names: str[]; start_height?: uint32; end_height?: uint32; include_spent_coins?: bool; allow_unsynced?: bool; }; export type TGetCoinRecordsByNamesResponse = { coin_records: CoinRecord[]; }; export type WsGetCoinRecordsByNamesMessage = GetMessageType; export declare function get_coin_records_by_names(agent: T, data: TGetCoinRecordsByNamesRequest): Promise>; export declare const get_current_derivation_index_command = "get_current_derivation_index"; export type get_current_derivation_index_command = typeof get_current_derivation_index_command; export type TGetCurrentDerivationIndexResponse = { success: True; index: Optional; }; export type WsGetCurrentDerivationIndexMessage = GetMessageType; export declare function get_current_derivation_index(agent: T): Promise>; export declare const extend_derivation_index_command = "extend_derivation_index"; export type extend_derivation_index_command = typeof extend_derivation_index_command; export type TExtendDerivationIndexRequest = { index: uint32; }; export type TExtendDerivationIndexResponse = { success: True; index: Optional; }; export type WsExtendDerivationIndexMessage = GetMessageType; export declare function extend_derivation_index(agent: T, data: TExtendDerivationIndexRequest): Promise>; export declare const get_notifications_command = "get_notifications"; export type get_notifications_command = typeof get_notifications_command; export type TGetNotificationsRequest = GetNotifications; export type TGetNotificationsResponse = GetNotificationsResponse; export type WsGetNotificationsMessage = GetMessageType; export declare function get_notifications(agent: T, data: TGetNotificationsRequest): Promise>; export declare const delete_notifications_command = "delete_notifications"; export type delete_notifications_command = typeof delete_notifications_command; export type TDeleteNotificationsRequest = { ids?: str[]; }; export type TDeleteNotificationsResponse = Record; export type WsDeleteNotificationsMessage = GetMessageType; export declare function delete_notifications(agent: T, data: TDeleteNotificationsRequest): Promise>; export declare const send_notification_command = "send_notification"; export type send_notification_command = typeof send_notification_command; export type TSendNotificationRequest = { target: str; message: str; amount?: uint64; fee?: uint64; } & TXEndpointRequest; export type TSendNotificationResponse = { tx: TransactionRecordConvenience; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsSendNotificationMessage = GetMessageType; export declare function send_notification(agent: T, data: D): Promise, WsSendNotificationMessage>>>; export declare const verify_signature_command = "verify_signature"; export type verify_signature_command = typeof verify_signature_command; export type TVerifySignatureRequest = { message: str; signing_mode?: SigningMode; pubkey: str; signature: str; address?: str; }; export type TVerifySignatureResponse = { isValid: True; error: None; } | { isValid: False; error: str; }; export type WsVerifySignatureMessage = GetMessageType; export declare function verify_signature(agent: T, data: TVerifySignatureRequest): Promise>; export declare const get_transaction_memo_command = "get_transaction_memo"; export type get_transaction_memo_command = typeof get_transaction_memo_command; export type TGetTransactionMemoRequest = { transaction_id: str; }; export type TGetTransactionMemoResponse = { [transaction_id: string]: { [coin_id: string]: string[]; }; }; export type WsGetTransactionMemoMessage = GetMessageType; export declare function get_transaction_memo(agent: T, data: TGetTransactionMemoRequest): Promise>; export declare const split_coins_command = "split_coins"; export type split_coins_command = typeof split_coins_command; export type TSplitCoinsRequest = SplitCoins | SplitCoinsCHIP0029; export type TSplitCoinsResponse = SplitCoinsResponse | SplitCoinsResponseCHIP0029; export type WsSplitCoinsMessage = GetMessageType; export declare function split_coins(agent: T, data: D): Promise, WsSplitCoinsMessage>>>; export declare const combine_coins_command = "combine_coins"; export type combine_coins_command = typeof combine_coins_command; export type TCombineCoinsRequest = CombineCoins & CombineCoinsCHIP0029; export type TCombineCoinsResponse = CombineCoinsResponse | CombineCoinsResponseCHIP0029; export type WsCombineCoinsMessage = GetMessageType; export declare function combine_coins(agent: T, data: D): Promise, WsCombineCoinsMessage>>>; export declare const sign_message_by_address_command = "sign_message_by_address"; export type sign_message_by_address_command = typeof sign_message_by_address_command; export type TSignMessageByAddressRequest = { address: str; message: str; is_hex?: bool; safe_mode?: bool; }; export type TSignMessageByAddressResponse = { success: True; pubkey: str; signature: str; signing_mode: SigningMode; }; export type WsSignMessageByAddressMessage = GetMessageType; export declare function sign_message_by_address(agent: T, data: TSignMessageByAddressRequest): Promise>; export declare const sign_message_by_id_command = "sign_message_by_id"; export type sign_message_by_id_command = typeof sign_message_by_id_command; export type TSignMessageByIdRequest = { id: str; message: str; is_hex?: bool; safe_mode?: bool; }; export type TSignMessageByIdResponse = { success: False; error: str; } | { success: True; pubkey: str; signature: str; latest_coin_id: str | None; signing_mode: SigningMode; }; export type WsSignMessageByIdMessage = GetMessageType; export declare function sign_message_by_id(agent: T, data: TSignMessageByIdRequest): Promise>; export declare const get_cat_list_command = "get_cat_list"; export type get_cat_list_command = typeof get_cat_list_command; export type TGetCatListResponse = { cat_list: CAT[]; }; export type WsGetCatListMessage = GetMessageType; export declare function get_cat_list(agent: T): Promise>; export declare const cat_set_name_command = "cat_set_name"; export type cat_set_name_command = typeof cat_set_name_command; export type TCatSetNameRequest = { wallet_id: uint32; name: str; }; export type TCatSetNameResponse = { wallet_id: uint32; }; export type WsCatSetNameMessage = GetMessageType; export declare function cat_set_name(agent: T, data: TCatSetNameRequest): Promise>; export declare const cat_asset_id_to_name_command = "cat_asset_id_to_name"; export type cat_asset_id_to_name_command = typeof cat_asset_id_to_name_command; export type TCatAssetIdToNameRequest = { asset_id: str; }; export type TCatAssetIdToNameResponse = { wallet_id: Optional; name: Optional; }; export type WsCatAssetIdToNameMessage = GetMessageType; export declare function cat_asset_id_to_name(agent: T, data: TCatAssetIdToNameRequest): Promise>; export declare const cat_get_name_command = "cat_get_name"; export type cat_get_name_command = typeof cat_get_name_command; export type TCatGetNameRequest = { wallet_id: uint32; }; export type TCatGetNameResponse = { wallet_id: uint32; name: str; }; export type WsCatGetNameMessage = GetMessageType; export declare function cat_get_name(agent: T, data: TCatGetNameRequest): Promise>; export declare const get_stray_cats_command = "get_stray_cats"; export type get_stray_cats_command = typeof get_stray_cats_command; export type TGetStrayCatsResponse = { stray_cats: Array<{ asset_id: str; name: str; first_seen_height: int; sender_puzzle_hash: str; }>; }; export type WsGetStrayCatsMessage = GetMessageType; export declare function get_stray_cats(agent: T): Promise>; export declare const cat_spend_command = "cat_spend"; export type cat_spend_command = typeof cat_spend_command; export type TCatSpendRequest = { wallet_id: uint32; additions?: TAdditions[]; fee?: uint64; amount?: uint64; inner_address?: str; memos?: str[]; coins?: Coin[]; extra_delta?: str; tail_reveal?: str; tail_solution?: str; } & TXEndpointRequest; export type TCatSpendResponse = { transaction: TransactionRecordConvenience; transaction_id: TransactionRecord["name"]; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsCatSpendMessage = GetMessageType; export declare function cat_spend(agent: T, data: D): Promise, WsCatSpendMessage>>>; export declare const cat_get_asset_id_command = "cat_get_asset_id"; export type cat_get_asset_id_command = typeof cat_get_asset_id_command; export type TCatGetAssetIdRequest = { wallet_id: uint32; }; export type TCatGetAssetIdResponse = { asset_id: str; wallet_id: uint32; }; export type WsCatGetAssetIdMessage = GetMessageType; export declare function cat_get_asset_id(agent: T, data: TCatGetAssetIdRequest): Promise>; export declare const create_offer_for_ids_command = "create_offer_for_ids"; export type create_offer_for_ids_command = typeof create_offer_for_ids_command; export type TCreateOfferForIdsRequest = { offer: Record; fee?: uint64; validate_only?: bool; driver_dict?: TDriverDict; solver?: Record; } & TXEndpointRequest; export type TCreateOfferForIdsResponse = { offer: str; trade_record: TradeRecordConvenience; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsCreateOfferForIdsMessage = GetMessageType; export declare function create_offer_for_ids(agent: T, data: D): Promise, WsCreateOfferForIdsMessage>>>; export declare const get_offer_summary_command = "get_offer_summary"; export type get_offer_summary_command = typeof get_offer_summary_command; export type TGetOfferSummaryRequest = { offer: str; advanced?: bool; }; export type TOfferSummary = { offered: Record; requested: Record; fees: uint64; infos: TDriverDict; additions: str[]; removals: str[]; valid_times: Omit; }; export type TDataLayerOfferSummary = { offered: Array<{ launcher_id: str; new_root: str; dependencies: Array<{ launcher_id: str; values_to_prove: str[]; }>; }>; }; export type TGetOfferSummaryResponse = { summary: TOfferSummary | TDataLayerOfferSummary; id: bytes32; }; export type WsGetOfferSummaryMessage = GetMessageType; export declare function get_offer_summary(agent: T, data: TGetOfferSummaryRequest): Promise>; export declare const check_offer_validity_command = "check_offer_validity"; export type check_offer_validity_command = typeof check_offer_validity_command; export type TCheckOfferValidityRequest = { offer: str; }; export type TCheckOfferValidityResponse = { valid: bool; id: bytes32; }; export type WsCheckOfferValidityMessage = GetMessageType; export declare function check_offer_validity(agent: T, data: TCheckOfferValidityRequest): Promise>; export declare const take_offer_command = "take_offer"; export type take_offer_command = typeof take_offer_command; export type TTakeOfferRequest = { offer: str; fee?: uint64; solver?: Record; } & TXEndpointRequest; export type TTakeOfferResponse = { trade_record: TradeRecordConvenience; offer: str; transactions: TransactionRecordConvenience[]; signing_responses: SigningResponse[] | str[]; }; export type WsTakeOfferMessage = GetMessageType; export declare function take_offer(agent: T, data: D): Promise, WsTakeOfferMessage>>>; export declare const get_offer_command = "get_offer"; export type get_offer_command = typeof get_offer_command; export type TGetOfferRequest = { trade_id: str; file_contents?: bool; }; export type TGetOfferResponse = { trade_record: TradeRecordConvenience; offer: Optional; }; export type WsGetOfferMessage = GetMessageType; export declare function get_offer(agent: T, data: TGetOfferRequest): Promise>; export declare const get_all_offers_command = "get_all_offers"; export type get_all_offers_command = typeof get_all_offers_command; export type TGetAllOffersRequest = { start?: uint32; end?: uint32; exclude_my_offers?: bool; exclude_taken_offers?: bool; include_completed?: bool; sort_key?: str; reverse?: bool; file_contents?: bool; }; export type TGetAllOffersResponse = { trade_records: TradeRecordConvenience[]; offers: Optional; }; export type WsGetAllOffersMessage = GetMessageType; export declare function get_all_offers(agent: T, data: TGetAllOffersRequest): Promise>; export declare const get_offers_count_command = "get_offers_count"; export type get_offers_count_command = typeof get_offers_count_command; export type TGetOffersCountResponse = { total: uint32; my_offers_count: uint32; taken_offers_count: uint32; }; export type WsGetOffersCountMessage = GetMessageType; export declare function get_offers_count(agent: T): Promise>; export declare const cancel_offer_command = "cancel_offer"; export type cancel_offer_command = typeof cancel_offer_command; export type TCancelOfferRequest = { secure: bool; trade_id: str; fee?: uint64; } & TXEndpointRequest; export type TCancelOfferResponse = { transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsCancelOfferMessage = GetMessageType; export declare function cancel_offer(agent: T, data: D): Promise, WsCancelOfferMessage>>>; export declare const cancel_offers_command = "cancel_offers"; export type cancel_offers_command = typeof cancel_offers_command; export type TCancelOffersRequest = { secure: bool; batch_fee?: uint64; batch_size?: int; cancel_all?: bool; asset_id?: str; } & TXEndpointRequest; export type TCancelOffersResponse = { success: True; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsCancelOffersMessage = GetMessageType; export declare function cancel_offers(agent: T, data: D): Promise, WsCancelOffersMessage>>>; export declare const did_set_wallet_name_command = "did_set_wallet_name"; export type did_set_wallet_name_command = typeof did_set_wallet_name_command; export type TDidSetWalletNameRequest = { wallet_id: uint32; name: str; }; export type TDidSetWalletNameResponse = { success: True; wallet_id: uint32; } | { success: False; error: str; }; export type WsDidSetWalletNameMessage = GetMessageType; export declare function did_set_wallet_name(agent: T, data: TDidSetWalletNameRequest): Promise>; export declare const did_get_wallet_name_command = "did_get_wallet_name"; export type did_get_wallet_name_command = typeof did_get_wallet_name_command; export type TDidGetWalletNameRequest = { wallet_id: uint32; }; export type TDidGetWalletNameResponse = { success: True; wallet_id: uint32; name: str; }; export type WsDidGetWalletNameMessage = GetMessageType; export declare function did_get_wallet_name(agent: T, data: TDidGetWalletNameRequest): Promise>; export declare const did_update_metadata_command = "did_update_metadata"; export type did_update_metadata_command = typeof did_update_metadata_command; export type TDidUpdateMetadataRequest = { wallet_id: uint32; metadata?: Record; fee?: uint64; } & TXEndpointRequest; export type TDidUpdateMetadataResponse = { success: True; wallet_id: uint32; spend_bundle: WalletSpendBundle; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; } | { success: False; error: str; }; export type WsDidUpdateMetadataMessage = GetMessageType; export declare function did_update_metadata(agent: T, data: D): Promise, WsDidUpdateMetadataMessage>>>; export declare const did_spend_command = "did_spend"; export type did_spend_command = typeof did_spend_command; export type TDidSpendRequest = { wallet_id: int; puzzlehash: bytes32; }; export type TDidSpendResponse = { success: bool; }; export type WsDidSpendMessage = GetMessageType; export declare function did_spend(agent: T, data: TDidSpendRequest): Promise>; export declare const did_get_pubkey_command = "did_get_pubkey"; export type did_get_pubkey_command = typeof did_get_pubkey_command; export type TDidGetPubkeyRequest = { wallet_id: uint32; }; export type TDidGetPubkeyResponse = { success: bool; pubkey: str; }; export type WsDidGetPubkeyMessage = GetMessageType; export declare function did_get_pubkey(agent: T): Promise>; export declare const did_get_did_command = "did_get_did"; export type did_get_did_command = typeof did_get_did_command; export type TDidGetDidRequest = { wallet_id: uint32; }; export type TDidGetDidResponse = { success: bool; wallet_id: uint32; my_did: str; coin_id?: bytes32; }; export type WsDidGetDidMessage = GetMessageType; export declare function did_get_did(agent: T, data: TDidGetDidRequest): Promise>; export declare const did_get_metadata_command = "did_get_metadata"; export type did_get_metadata_command = typeof did_get_metadata_command; export type TDidGetMetadataRequest = { wallet_id: uint32; }; export type TDidGetMetadataResponse = { success: True; wallet_id: uint32; metadata: Record; }; export type WsDidGetMetadataMessage = GetMessageType; export declare function did_get_metadata(agent: T, data: TDidGetMetadataRequest): Promise>; export declare const did_get_current_coin_info_command = "did_get_current_coin_info"; export type did_get_current_coin_info_command = typeof did_get_current_coin_info_command; export type TDidGetCurrentCoinInfoRequest = { wallet_id: uint32; }; export type TDidGetCurrentCoinInfoResponse = { success: True; wallet_id: uint32; my_did: str; did_parent: bytes32; did_innerpuz: bytes32; did_amount: uint64; }; export type WsDidGetCurrentCoinInfoMessage = GetMessageType; export declare function did_get_current_coin_info(agent: T, data: TDidGetCurrentCoinInfoRequest): Promise>; export declare const did_create_backup_file_command = "did_create_backup_file"; export type did_create_backup_file_command = typeof did_create_backup_file_command; export type TDidCreateBackupFileRequest = { wallet_id: uint32; }; export type TDidCreateBackupFileResponse = { wallet_id: uint32; success: True; backup_data: str; }; export type WsDidCreateBackupFileMessage = GetMessageType; export declare function did_create_backup_file(agent: T, data: TDidCreateBackupFileRequest): Promise>; export declare const did_message_spend_command = "did_message_spend"; export type did_message_spend_command = typeof did_message_spend_command; export type TDidMessageSpendRequest = { wallet_id: uint32; coin_announcements: str[]; puzzle_announcements: str[]; } & TXEndpointRequest; export type TDidMessageSpendResponse = { success: True; spend_bundle: WalletSpendBundle; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsDidMessageSpendMessage = GetMessageType; export declare function did_message_spend(agent: T, data: D): Promise, WsDidMessageSpendMessage>>>; export declare const did_get_info_command = "did_get_info"; export type did_get_info_command = typeof did_get_info_command; export type TDidGetInfoRequest = { coin_id: str; latest?: bool; }; export type TDidGetInfoResponse = { success: False; error: str; } | { success: True; did_id: str; latest_coin: str; p2_address: str; public_key: str; recovery_list_hash: str; num_verification: int; metadata: Record; launcher_id: str; full_puzzle: str; solution: any; hints: str[]; }; export type WsDidGetInfoMessage = GetMessageType; export declare function did_get_info(agent: T, data: TDidGetInfoRequest): Promise>; export declare const did_find_lost_did_command = "did_find_lost_did"; export type did_find_lost_did_command = typeof did_find_lost_did_command; export type TDidFindLostDidRequest = { coin_id: str; recovery_list_hash?: str; num_verification?: int; metadata?: Record; }; export type TDidFindLostDidResponse = { success: False; error: str; } | { success: True; latest_coin_id: str; }; export type WsDidFindLostDidMessage = GetMessageType; export declare function did_find_lost_did(agent: T, data: TDidFindLostDidRequest): Promise>; export declare const did_transfer_did_command = "did_transfer_did"; export type did_transfer_did_command = typeof did_transfer_did_command; export type TDidTransferDidRequest = { wallet_id: uint32; inner_address: str; fee?: uint64; with_recovery_info?: bool; } & TXEndpointRequest; export type TDidTransferDidResponse = { success: True; transaction: TransactionRecordConvenience; transaction_id: bytes32; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsDidTransferDidMessage = GetMessageType; export declare function did_transfer_did(agent: T, data: D): Promise, WsDidTransferDidMessage>>>; export declare const nft_mint_nft_command = "nft_mint_nft"; export type nft_mint_nft_command = typeof nft_mint_nft_command; export type TNftMintNftRequest = { wallet_id: uint32; royalty_address?: str; target_address?: str; uris: str[]; meta_uris: str[]; license_uris: str[]; hash: str; edition_number: uint64; edition_total: uint64; meta_hash?: str; license_hash?: str; fee?: uint64; did_id?: str; royalty_percentage?: uint16; } & TXEndpointRequest; export type TNftMintNftResponse = { wallet_id: uint32; success: True; spend_bundle: WalletSpendBundle; nft_id: Optional; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsNftMintNftMessage = GetMessageType; export declare function nft_mint_nft(agent: T, data: D): Promise, WsNftMintNftMessage>>>; export declare const nft_count_nfts_command = "nft_count_nfts"; export type nft_count_nfts_command = typeof nft_count_nfts_command; export type TNftCountNftsRequest = { wallet_id: uint32; }; export type TNftCountNftsResponse = { success: False; error: str; } | { wallet_id: uint32; success: True; count: int; }; export type WsNftCountNftsMessage = GetMessageType; export declare function nft_count_nfts(agent: T, data: TNftCountNftsRequest): Promise>; export declare const nft_get_nfts_command = "nft_get_nfts"; export type nft_get_nfts_command = typeof nft_get_nfts_command; export type TNftGetNftsRequest = { wallet_id?: uint32; start_index?: int; num?: int; ignore_size_limit?: bool; }; export type TNftGetNftsResponse = { wallet_id: uint32; success: True; nft_list: NFTInfo[]; }; export type WsNftGetNftsMessage = GetMessageType; export declare function nft_get_nfts(agent: T, data: TNftGetNftsRequest): Promise>; export declare const nft_set_nft_did_command = "nft_set_nft_did"; export type nft_set_nft_did_command = typeof nft_set_nft_did_command; export type TNftSetNftDidRequest = { wallet_id: uint32; did_id?: str; nft_coin_id: str; fee?: uint64; } & TXEndpointRequest; export type TNftSetNftDidResponse = { wallet_id: uint32; success: True; spend_bundle: WalletSpendBundle; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; } | { success: False; error: str; }; export type WsNftSetNftDidMessage = GetMessageType; export declare function nft_set_nft_did(agent: T, data: D): Promise, WsNftSetNftDidMessage>>>; export declare const nft_set_did_bulk_command = "nft_set_did_bulk"; export type nft_set_did_bulk_command = typeof nft_set_did_bulk_command; export type TNftSetDidBulkRequest = { nft_coin_list: Array<{ nft_coin_id: str; wallet_id: uint32; }>; did_id?: str; fee?: uint64; } & TXEndpointRequest; export type TNftSetDidBulkResponse = { success: False; error: str; } | { success: True; wallet_id: uint32[]; spend_bundle: WalletSpendBundle; tx_num: uint32; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsNftSetDidBulkMessage = GetMessageType; export declare function nft_set_did_bulk(agent: T, data: D): Promise, WsNftSetDidBulkMessage>>>; export declare const nft_transfer_bulk_command = "nft_transfer_bulk"; export type nft_transfer_bulk_command = typeof nft_transfer_bulk_command; export type TNftTransferBulkRequest = { nft_coin_list: Array<{ nft_coin_id: str; wallet_id: uint32; }>; target_address: str; fee?: uint64; } & TXEndpointRequest; export type TNftTransferBulkResponse = { success: False; error: str; } | { success: True; wallet_id: uint32[]; spend_bundle: WalletSpendBundle; tx_num: uint32; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsNftTransferBulkMessage = GetMessageType; export declare function nft_transfer_bulk(agent: T, data: D): Promise, WsNftTransferBulkMessage>>>; export declare const nft_get_by_did_command = "nft_get_by_did"; export type nft_get_by_did_command = typeof nft_get_by_did_command; export type TNftGetByDidRequest = { did_id?: str; }; export type TNftGetByDidResponse = { wallet_id: uint32; success: True; } | { success: False; error: str; }; export type WsNftGetByDidMessage = GetMessageType; export declare function nft_get_by_did(agent: T, data: TNftGetByDidRequest): Promise>; export declare const nft_get_wallet_did_command = "nft_get_wallet_did"; export type nft_get_wallet_did_command = typeof nft_get_wallet_did_command; export type TNftGetWalletDidRequest = { wallet_id: uint32; }; export type TNftGetWalletDidResponse = { did_id: Optional; success: True; }; export type WsNftGetWalletDidMessage = GetMessageType; export declare function nft_get_wallet_did(agent: T, data: TNftGetWalletDidRequest): Promise>; export declare const nft_get_wallets_with_dids_command = "nft_get_wallets_with_dids"; export type nft_get_wallets_with_dids_command = typeof nft_get_wallets_with_dids_command; export type TNftGetWalletsWithDidsResponse = { success: True; nft_wallets: Array<{ wallet_id: uint32; did_id: str; did_wallet_id: uint32; }>; }; export type WsNftGetWalletsWithDidsMessage = GetMessageType; export declare function nft_get_wallets_with_dids(agent: T): Promise>; export declare const nft_set_nft_status_command = "nft_set_nft_status"; export type nft_set_nft_status_command = typeof nft_set_nft_status_command; export type TNftSetNftStatusRequest = { wallet_id: uint32; coin_id: str; in_transaction: bool; }; export type TNftSetNftStatusResponse = { success: True; }; export type WsNftSetNftStatusMessage = GetMessageType; export declare function nft_set_nft_status(agent: T, data: TNftSetNftStatusRequest): Promise>; export declare const nft_transfer_nft_command = "nft_transfer_nft"; export type nft_transfer_nft_command = typeof nft_transfer_nft_command; export type TNftTransferNftRequest = { wallet_id: uint32; target_address: str; nft_coin_id: str; fee?: uint64; } & TXEndpointRequest; export type TNftTransferNftResponse = { success: True; wallet_id: uint32; spend_bundle: WalletSpendBundle; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; } | { success: False; error: str; }; export type WsNftTransferNftMessage = GetMessageType; export declare function nft_transfer_nft(agent: T, data: D): Promise, WsNftTransferNftMessage>>>; export declare const nft_get_info_command = "nft_get_info"; export type nft_get_info_command = typeof nft_get_info_command; export type TNftGetInfoRequest = { coin_id: str; latest?: bool; }; export type TNftGetInfoResponse = { success: True; nft_info: NFTInfo; } | { success: False; error: str; }; export type WsNftGetInfoMessage = GetMessageType; export declare function nft_get_info(agent: T, data: TNftGetInfoRequest): Promise>; export declare const nft_add_uri_command = "nft_add_uri"; export type nft_add_uri_command = typeof nft_add_uri_command; export type TNftAddUriRequest = { wallet_id: uint32; uri: str; key: str; nft_coin_id: str; fee?: uint64; } & TXEndpointRequest; export type TNftAddUriResponse = { success: True; wallet_id: uint32; spend_bundle: WalletSpendBundle; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsNftAddUriMessage = GetMessageType; export declare function nft_add_uri(agent: T, data: D): Promise, WsNftAddUriMessage>>>; export declare const nft_calculate_royalties_command = "nft_calculate_royalties"; export type nft_calculate_royalties_command = typeof nft_calculate_royalties_command; export type TNftCalculateRoyaltiesRequest = { royalty_assets?: Array<{ asset: str; royalty_address: str; royalty_percentage: uint16; }>; fungible_assets?: Array<{ asset: str; amount: uint64; }>; }; export type TNftCalculateRoyaltiesResponse = Record>; export type WsNftCalculateRoyaltiesMessage = GetMessageType; export declare function nft_calculate_royalties(agent: T, data: TNftCalculateRoyaltiesRequest): Promise>; export declare const nft_mint_bulk_command = "nft_mint_bulk"; export type nft_mint_bulk_command = typeof nft_mint_bulk_command; export type TNftMintBulkRequest = { wallet_id: uint32; royalty_address?: str; royalty_percentage?: uint16; metadata_list: Array<{ uris: str[]; meta_uris: str[]; license_uris: str[]; hash: str; edition_number?: uint64; edition_total?: uint64; meta_hash?: str; license_hash?: str; }>; target_list?: str[]; mint_number_start?: uint32; mint_total?: uint32; xch_coins?: Coin[]; xch_change_target?: str; new_innerpuzhash?: str; new_p2_puzhash?: str; did_coin?: Coin; did_lineage_parent?: str; mint_from_did?: bool; fee?: uint64; } & TXEndpointRequest; export type TNftMintBulkResponse = { success: False; error: str; } | { success: True; spend_bundle: WalletSpendBundle; nft_id_list: str[]; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsNftMintBulkMessage = GetMessageType; export declare function nft_mint_bulk(agent: T, data: D): Promise, WsNftMintBulkMessage>>>; export declare const rl_set_user_info_command = "rl_set_user_info"; export type rl_set_user_info_command = typeof rl_set_user_info_command; export type TRlSetUserInfoRequest = { wallet_id: int; origin: { parent_coin_info: str; puzzle_hash: str; amount: uint64; }; interval: uint64; limit: uint64; admin_pubkey: str; }; export type TRlSetUserInfoResponse = Record; export type WsRlSetUserInfoMessage = GetMessageType; export declare function rl_set_user_info(agent: T, data: TRlSetUserInfoRequest): Promise>; export declare const send_clawback_transaction_command = "send_clawback_transaction:"; export type send_clawback_transaction_command = typeof send_clawback_transaction_command; export type TSendClawbackTransactionRequest = { wallet_id: uint32; fee: uint64; }; export type TSendClawbackTransactionResponse = { transaction: TransactionRecord; transaction_id: TransactionRecord["name"]; }; export type WsSendClawbackTransactionMessage = GetMessageType; export declare function send_clawback_transaction(agent: T, data: TSendClawbackTransactionRequest): Promise>; export declare const add_rate_limited_funds_command = "add_rate_limited_funds:"; export type add_rate_limited_funds_command = typeof add_rate_limited_funds_command; export type TAddRateLimitedFundsRequest = { wallet_id: uint32; amount: uint64; fee: uint64; }; export type TAddRateLimitedFundsResponse = { status: "SUCCESS"; }; export type WsAddRateLimitedFundsMessage = GetMessageType; export declare function add_rate_limited_funds(agent: T, data: TAddRateLimitedFundsRequest): Promise>; export declare const pw_join_pool_command = "pw_join_pool"; export type pw_join_pool_command = typeof pw_join_pool_command; export type TPwJoinPoolRequest = { fee?: uint64; wallet_id: uint32; target_puzzlehash?: string; pool_url?: str; relative_lock_height: uint32; } & TXEndpointRequest; export type TPwJoinPoolResponse = { total_fee: uint64; transaction: TransactionRecord; fee_transaction: Optional; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; } | { success: False; error: "not_initialized"; }; export type WsPwJoinPoolMessage = GetMessageType; export declare function pw_join_pool(agent: T, data: D): Promise, WsPwJoinPoolMessage>>>; export declare const pw_self_pool_command = "pw_self_pool"; export type pw_self_pool_command = typeof pw_self_pool_command; export type TPwSelfPoolRequest = { wallet_id: uint32; fee?: uint64; } & TXEndpointRequest; export type TPwSelfPoolResponse = { total_fee: uint64; transaction: TransactionRecord; fee_transaction: Optional; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsPwSelfPoolMessage = GetMessageType; export declare function pw_self_pool(agent: T, data: D): Promise, WsPwSelfPoolMessage>>>; export declare const pw_absorb_rewards_command = "pw_absorb_rewards"; export type pw_absorb_rewards_command = typeof pw_absorb_rewards_command; export type TPwAbsorbRewardsRequest = { wallet_id: uint32; fee?: uint64; max_spends_in_tx?: int; } & TXEndpointRequest; export type TPwAbsorbRewardsResponse = { state: PoolWalletInfo; transaction: TransactionRecord; fee_transaction: Optional; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsPwAbsorbRewardsMessage = GetMessageType; export declare function pw_absorb_rewards(agent: T, data: D): Promise, WsPwAbsorbRewardsMessage>>>; export declare const pw_status_command = "pw_status"; export type pw_status_command = typeof pw_status_command; export type TPwStatusRequest = { wallet_id: uint32; }; export type TPwStatusResponse = { state: PoolWalletInfo; unconfirmed_transactions: TransactionRecord[]; }; export type WsPwStatusMessage = GetMessageType; export declare function pw_status(agent: T, data: TPwStatusRequest): Promise>; export declare const create_new_dl_command = "create_new_dl"; export type create_new_dl_command = typeof create_new_dl_command; export type TCreateNewDlRequest = { root: str; fee?: uint64; } & TXEndpointRequest; export type TCreateNewDlResponse = { success: False; error: str; } | { success: True; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; launcher_id: bytes32; }; export type WsCreateNewDlMessage = GetMessageType; export declare function create_new_dl(agent: T, data: D): Promise, WsCreateNewDlMessage>>>; export declare const dl_track_new_command = "dl_track_new"; export type dl_track_new_command = typeof dl_track_new_command; export type TDlTrackNewRequest = { launcher_id: str; }; export type TDlTrackNewResponse = Record; export type WsDlTrackNewMessage = GetMessageType; export declare function dl_track_new(agent: T, data: TDlTrackNewRequest): Promise>; export declare const dl_stop_tracking_command = "dl_stop_tracking"; export type dl_stop_tracking_command = typeof dl_stop_tracking_command; export type TDlStopTrackingRequest = { launcher_id: str; }; export type TDlStopTrackingResponse = Record; export type WsDlStopTrackingMessage = GetMessageType; export declare function dl_stop_tracking(agent: T, data: TDlStopTrackingRequest): Promise>; export declare const dl_latest_singleton_command = "dl_latest_singleton"; export type dl_latest_singleton_command = typeof dl_latest_singleton_command; export type TDlLatestSingletonRequest = { launcher_id: str; only_confirmed?: bool; }; export type TDlLatestSingletonResponse = { singleton: Optional; }; export type WsDlLatestSingletonMessage = GetMessageType; export declare function dl_latest_singleton(agent: T, data: TDlLatestSingletonRequest): Promise>; export declare const dl_singletons_by_root_command = "dl_singletons_by_root"; export type dl_singletons_by_root_command = typeof dl_singletons_by_root_command; export type TDlSingletonsByRootRequest = { launcher_id: str; root: str; }; export type TDlSingletonsByRootResponse = { singletons: SingletonRecord[]; }; export type WsDlSingletonsByRootMessage = GetMessageType; export declare function dl_singletons_by_root(agent: T, data: TDlSingletonsByRootRequest): Promise>; export declare const dl_update_root_command = "dl_update_root"; export type dl_update_root_command = typeof dl_update_root_command; export type TDlUpdateRootRequest = { launcher_id: str; new_root: str; fee?: uint64; } & TXEndpointRequest; export type TDlUpdateRootResponse = { tx_record: TransactionRecordConvenience; transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsDlUpdateRootMessage = GetMessageType; export declare function dl_update_root(agent: T, data: D): Promise, WsDlUpdateRootMessage>>>; export declare const dl_update_multiple_command = "dl_update_multiple"; export type dl_update_multiple_command = typeof dl_update_multiple_command; export type TDlUpdateMultipleRequest = { updates: Record; fee?: uint64; } & TXEndpointRequest; export type TDlUpdateMultipleResponse = { transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsDlUpdateMultipleMessage = GetMessageType; export declare function dl_update_multiple(agent: T, data: D): Promise, WsDlUpdateMultipleMessage>>>; export declare const dl_history_command = "dl_history"; export type dl_history_command = typeof dl_history_command; export type TDlHistoryRequest = { launcher_id: str; min_generation?: uint32; max_generation?: uint32; num_results?: uint32; }; export type TDlHistoryResponse = { history: SingletonRecord[]; count: int; }; export type WsDlHistoryMessage = GetMessageType; export declare function dl_history(agent: T, data: TDlHistoryRequest): Promise>; export declare const dl_owned_singletons_command = "dl_owned_singletons"; export type dl_owned_singletons_command = typeof dl_owned_singletons_command; export type TDlOwnedSingletonsResponse = { singletons: SingletonRecord[]; count: int; } | { success: False; error: str; }; export type WsDlOwnedSingletonsMessage = GetMessageType; export declare function dl_owned_singletons(agent: T): Promise>; export declare const dl_get_mirrors_command = "dl_get_mirrors"; export type dl_get_mirrors_command = typeof dl_get_mirrors_command; export type TDlGetMirrorsRequest = { launcher_id: str; }; export type TDlGetMirrorsResponse = { mirrors: Mirror[]; }; export type WsDlGetMirrorsMessage = GetMessageType; export declare function dl_get_mirrors(agent: T, data: TDlGetMirrorsRequest): Promise>; export declare const dl_new_mirror_command = "dl_new_mirror"; export type dl_new_mirror_command = typeof dl_new_mirror_command; export type TDlNewMirrorRequest = { launcher_id: str; amount: uint64; urls: str[]; fee?: uint64; } & TXEndpointRequest; export type TDlNewMirrorResponse = { transactions: TransactionRecordConvenience[]; unsigned_transactions: UnsignedTransaction[] | str[]; signing_responses?: str[]; }; export type WsDlNewMirrorMessage = GetMessageType; export declare function dl_new_mirror(agent: T, data: TDlNewMirrorRequest): Promise>; export declare const dl_delete_mirror_command = "dl_delete_mirror"; export type dl_delete_mirror_command = typeof dl_delete_mirror_command; export type TDlDeleteMirrorRequest = { coin_id: str; fee?: uint64; } & TXEndpointRequest; export type TDlDeleteMirrorResponse = { transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsDlDeleteMirrorMessage = GetMessageType; export declare function dl_delete_mirror(agent: T, data: D): Promise, WsDlDeleteMirrorMessage>>>; export declare const dl_verify_proof_command = "dl_verify_proof"; export type dl_verify_proof_command = typeof dl_verify_proof_command; export type TDlVerifyProofRequest = DLProof; export type TDlVerifyProofResponse = VerifyProofResponse; export type WsDlVerifyProofMessage = GetMessageType; export declare function dl_verify_proof(agent: T, data: TDlVerifyProofRequest): Promise>; export declare const vc_mint_command = "vc_mint"; export type vc_mint_command = typeof vc_mint_command; export type TVcMintRequest = VCMint | VCMintCHIP0029; export type TVcMintResponse = VcMintResponse | VcMintResponseCHIP0029; export type WsVcMintMessage = GetMessageType; export declare function vc_mint(agent: T, data: D): Promise>, WsVcMintMessage>>>>; export declare const vc_get_command = "vc_get"; export type vc_get_command = typeof vc_get_command; export type TVcGetRequest = VCGet | VCGetCHIP0029; export type TVcGetResponse = VcGetResponse; export type WsVcGetMessage = GetMessageType; export declare function vc_get(agent: T, data: TVcGetRequest): Promise>; export declare const vc_get_list_command = "vc_get_list"; export type vc_get_list_command = typeof vc_get_list_command; export type TVcGetListRequest = VcGetList | VcGetListCHIP0029; export type TVcGetListResponse = VcGetListResponse; export type WsVcGetListMessage = GetMessageType; export declare function vc_get_list(agent: T, data: TVcGetListRequest): Promise>; export declare const vc_spend_command = "vc_spend"; export type vc_spend_command = typeof vc_spend_command; export type TVcSpendRequest = VcSpend | VcSpendCHIP0029; export type TVcSpendResponse = VcSpendResponse | VcSpendResponseCHIP0029; export type WsVcSpendMessage = GetMessageType; export declare function vc_spend(agent: T, data: D): Promise>, WsVcSpendMessage>>>>; export declare const vc_add_proofs_command = "vc_add_proofs"; export type vc_add_proofs_command = typeof vc_add_proofs_command; export type TVcAddProofsRequest = VcAddProofs | VcAddProofsCHIP0029; export type TVcAddProofsResponse = Record; export type WsVcAddProofsMessage = GetMessageType; export declare function vc_add_proofs(agent: T, data: TVcAddProofsRequest): Promise>; export declare const vc_get_proofs_for_root_command = "vc_get_proofs_for_root"; export type vc_get_proofs_for_root_command = typeof vc_get_proofs_for_root_command; export type TVcGetProofsForRootRequest = VCGetProofsForRoot | VCGetProofsForRootCHIP0029; export type TVcGetProofsForRootResponse = VCGetProofsForRootResponse; export type WsVcGetProofsForRootMessage = GetMessageType; export declare function vc_get_proofs_for_root(agent: T, data: TVcGetProofsForRootRequest): Promise>; export declare const vc_revoke_command = "vc_revoke"; export type vc_revoke_command = typeof vc_revoke_command; export type TVcRevokeRequest = VcRevoke | VcRevokeCHIP0029; export type TVcRevokeResponse = VcRevokeResponse | VcRevokeResponseCHIP0029; export type WsVcRevokeMessage = GetMessageType; export declare function vc_revoke(agent: T, data: D): Promise>, WsVcRevokeMessage>>>>; export type CrcatApprovePending = { wallet_id: uint32; min_amount_to_claim: uint64; fee: uint64; }; export declare const crcat_approve_pending_command = "crcat_approve_pending"; export type crcat_approve_pending_command = typeof crcat_approve_pending_command; export type TCrcatApprovePendingRequest = CrcatApprovePending & TXEndpointRequest; export type TCrcatApprovePendingResponse = { transactions: TransactionRecordConvenience[]; signing_responses?: str[]; }; export type WsCrcatApprovePendingMessage = GetMessageType; export declare function crcat_approve_pending(agent: T, data: D): Promise, WsCrcatApprovePendingMessage>>>; export declare const gather_signing_info_command = "gather_signing_info"; export type gather_signing_info_command = typeof gather_signing_info_command; export type TGatherSigningInfoRequest = GatherSigningInfo | GatherSigningInfoCHIP0029; export type TGatherSigningInfoResponse = GatherSigningInfoResponse | GatherSigningInfoResponseCHIP0029; export type WsGatherSigningInfoMessage = GetMessageType; export declare function gather_signing_info(agent: T, data: D): Promise>>; export declare const apply_signatures_command = "apply_signatures"; export type apply_signatures_command = typeof apply_signatures_command; export type TApplySignaturesRequest = ApplySignatures | ApplySignaturesCHIP0029; export type TApplySignaturesResponse = ApplySignaturesResponse | ApplySignaturesResponseCHIP0029; export type WsApplySignaturesMessage = GetMessageType; export declare function apply_signatures(agent: T, data: D): Promise>>; export declare const submit_transactions_command = "submit_transactions"; export type submit_transactions_command = typeof submit_transactions_command; export type TSubmitTransactionsRequest = SubmitTransactions | SubmitTransactionsCHIP0029; export type TSubmitTransactionsResponse = SubmitTransactionsResponse | SubmitTransactionsResponseCHIP0029; export type WsSubmitTransactionsMessage = GetMessageType; export declare function submit_transactions(agent: T, data: D): Promise>>; export declare const execute_signing_instructions_command = "execute_signing_instructions"; export type execute_signing_instructions_command = typeof execute_signing_instructions_command; export type TExecuteSigningInstructionsRequest = ExecuteSigningInstructions | ExecuteSigningInstructionsCHIP0029; export type TExecuteSigningInstructionsResponse = ExecuteSigningInstructionsResponse | ExecuteSigningInstructionsResponseCHIP0029; export type WsExecuteSigningInstructionsMessage = GetMessageType; export declare function execute_signing_instructions(agent: T, data: D): Promise>>; export declare const get_puzzle_and_solution_command = "get_puzzle_and_solution"; export type get_puzzle_and_solution_command = typeof get_puzzle_and_solution_command; export type TGetPuzzleAndSolutionRequest = { coin_name: str; }; export type TGetPuzzleAndSolutionResponse = { puzzle_reveal: str; solution: str; }; export type WsGetPuzzleAndSolutionMessage = GetMessageType; export declare function get_puzzle_and_solution(agent: T, data: TGetPuzzleAndSolutionRequest): Promise>; export declare const register_remote_coins_command = "register_remote_coins"; export type register_remote_coins_command = typeof register_remote_coins_command; export type TRegisterRemoteCoinsRequest = { wallet_id: uint32; coin_ids: str[]; }; export type TRegisterRemoteCoinsResponse = Record; export type WsRegisterRemoteCoinsMessage = GetMessageType; export declare function register_remote_coins(agent: T, data: TRegisterRemoteCoinsRequest): Promise>; export type RpcWalletMessage = TGetPuzzleAndSolutionResponse | TRegisterRemoteCoinsResponse | 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 | TSplitCoinsResponse | TCombineCoinsResponse | TNftCalculateRoyaltiesResponse | TNftMintBulkResponse | TNftSetDidBulkResponse | TNftTransferBulkResponse | TDeleteAllKeysResponse | TSetWalletResyncOnStartupResponse | TDeleteKeyResponse | TCheckDeleteKeyResponse | TDidSetWalletNameResponse | TDidGetWalletNameResponse | TDidCreateBackupFileResponse | TDidTransferDidResponse | TDidMessageSpendResponse | TDidGetInfoResponse | TDidFindLostDidResponse | TDidGetDidResponse | TDidGetCurrentCoinInfoResponse | TDidGetPubkeyResponse | TDidGetMetadataResponse | TDidSpendResponse | TDidUpdateMetadataResponse | TNftMintNftResponse | TNftCountNftsResponse | TNftGetNftsResponse | TNftSetNftDidResponse | TNftGetByDidResponse | TNftGetWalletDidResponse | TNftGetWalletsWithDidsResponse | TNftSetNftStatusResponse | TNftTransferNftResponse | TNftGetInfoResponse | TNftAddUriResponse | TGetTimestampForHeightResponse | TSetAutoClaimResponse | TGetAutoClaimResponse | TGenerateMnemonicResponse | TGetAllOffersResponse | TGetCatListResponse | TGetFarmedAmountResponse | TGetHeightInfoResponse | TGetInitialFreezePeriodResponseOfWallet | TGetLoggedInFingerprintResponse | TGetOfferResponse | TGetOffersCountResponse | TGetOfferSummaryResponse | TGetNextAddressResponse | TGetPrivateKeyResponse | TGetPublicKeysResponse | TGetSyncStatusResponse | TGetTransactionResponse | TGetTransactionCountResponse | TGetTransactionsResponse | TGetWalletBalanceResponse | TGetWalletBalancesResponse | TGetWalletsResponse | TLoginResponse | TPushTxResponseOfWallet | TPushTransactionsResponse | TPwJoinPoolResponse | TPwSelfPoolResponse | TPwAbsorbRewardsResponse | TPwStatusResponse | TRlSetUserInfoResponse | TSendClawbackTransactionResponse | TSendTransactionResponse | TSendTransactionMultiResponse | TSpendClawbackCoinsResponse | TGetCoinRecordsResponse | TTakeOfferResponse | TCreateNewDlResponse | TDlTrackNewResponse | TDlStopTrackingResponse | TDlLatestSingletonResponse | TDlSingletonsByRootResponse | TDlUpdateRootResponse | TDlUpdateMultipleResponse | TDlHistoryResponse | TDlOwnedSingletonsResponse | TDlGetMirrorsResponse | TDlNewMirrorResponse | TDlDeleteMirrorResponse | TDlVerifyProofResponse | TVcMintResponse | TVcGetResponse | TVcGetListResponse | TVcSpendResponse | TVcAddProofsResponse | TVcGetProofsForRootResponse | TVcRevokeResponse | TCrcatApprovePendingResponse | TGatherSigningInfoResponse | TApplySignaturesResponse | TSubmitTransactionsResponse | TExecuteSigningInstructionsResponse;