starknet 10.3.3 → 10.4.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 CHANGED
@@ -1,3 +1,9 @@
1
+ # [10.4.0](https://github.com/starknet-io/starknet.js/compare/v10.3.3...v10.4.0) (2026-07-01)
2
+
3
+ ### Features
4
+
5
+ - add WalletAccountV6 with STRK20 privacy protocol support ([#1642](https://github.com/starknet-io/starknet.js/issues/1642)) ([5d2e672](https://github.com/starknet-io/starknet.js/commit/5d2e672be39d69b69c197568bda1c6cd3b53cfde))
6
+
1
7
  ## [10.3.3](https://github.com/starknet-io/starknet.js/compare/v10.3.2...v10.3.3) (2026-06-30)
2
8
 
3
9
  ### Bug Fixes
package/dist/index.d.ts CHANGED
@@ -1,17 +1,18 @@
1
1
  import * as RPCSPEC0103 from '@starknet-io/starknet-types-0103';
2
- import { PAYMASTER_API, CONTRACT, EDataAvailabilityMode as EDataAvailabilityMode$1, ETransactionType, SUBSCRIPTION_BLOCK_ID, TypedData, CONTRACT_STORAGE_KEYS, StorageProof, CASM_COMPILED_CONTRACT_CLASS, OutsideExecutionTypedData, ETransactionVersion3 as ETransactionVersion3$1, IsType, TransactionReceipt as TransactionReceipt$1, IsSucceeded, IsReverted, PRE_CONFIRMED_BLOCK_WITH_TX_HASHES, BLOCK_WITH_TX_HASHES, TransactionHash, BlockHash, FAILED_TO_RECEIVE_TXN, NO_TRACE_AVAILABLE, CONTRACT_NOT_FOUND, ENTRYPOINT_NOT_FOUND, BLOCK_NOT_FOUND, INVALID_TXN_INDEX, CLASS_HASH_NOT_FOUND, TXN_HASH_NOT_FOUND, PAGE_SIZE_TOO_BIG, NO_BLOCKS, INVALID_CONTINUATION_TOKEN, TOO_MANY_KEYS_IN_FILTER, CONTRACT_ERROR, TRANSACTION_EXECUTION_ERROR, STORAGE_PROOF_NOT_SUPPORTED, CLASS_ALREADY_DECLARED, INVALID_TRANSACTION_NONCE, INSUFFICIENT_RESOURCES_FOR_VALIDATE, INSUFFICIENT_ACCOUNT_BALANCE, VALIDATION_FAILURE, COMPILATION_FAILED, CONTRACT_CLASS_SIZE_IS_TOO_LARGE, NON_ACCOUNT, DUPLICATE_TX, COMPILED_CLASS_HASH_MISMATCH, UNSUPPORTED_TX_VERSION, UNSUPPORTED_CONTRACT_CLASS_VERSION, UNEXPECTED_ERROR, REPLACEMENT_TRANSACTION_UNDERPRICED, FEE_BELOW_MINIMUM, INVALID_SUBSCRIPTION_ID, TOO_MANY_ADDRESSES_IN_FILTER, TOO_MANY_BLOCKS_BACK, COMPILATION_ERROR, ETransactionVersion as ETransactionVersion$1, SUBSCRIPTION_ID, TXN_FINALITY_STATUS, STATUS_ACCEPTED_ON_L1, TXN_STATUS_WITHOUT_L1, StarknetEventsEvent, TransactionsStatusEvent, NewTransactionReceiptsEvent, NewTransactionEvent, NewHeadsEvent, STORAGE_RESULT, INVOKE_TXN_V3, StarknetWindowObject, AccountChangeEventHandler, NetworkChangeEventHandler, WatchAssetParameters, AddStarknetChainParameters, Signature as Signature$1, EDAMode as EDAMode$1, StarknetType, StarknetMerkleType, TypedDataRevision, OutsideCallV1, OutsideCallV2, EmittedEvent as EmittedEvent$1, Event as Event$2, Address, Permission, ChainId, AccountDeploymentData, AddInvokeTransactionParameters, AddInvokeTransactionResult, AddDeclareTransactionParameters, AddDeclareTransactionResult, SpecVersion } from '@starknet-io/starknet-types-0103';
3
- export { StarknetDomain, StarknetEnumType, StarknetMerkleType, StarknetType, TypedData, TypedDataRevision } from '@starknet-io/starknet-types-0103';
2
+ import { PAYMASTER_API, CONTRACT, EDataAvailabilityMode as EDataAvailabilityMode$1, ETransactionType, SUBSCRIPTION_BLOCK_ID, TypedData, CONTRACT_STORAGE_KEYS, StorageProof, CASM_COMPILED_CONTRACT_CLASS, OutsideExecutionTypedData, ETransactionVersion3 as ETransactionVersion3$1, IsType, TransactionReceipt as TransactionReceipt$1, IsSucceeded, IsReverted, PRE_CONFIRMED_BLOCK_WITH_TX_HASHES, BLOCK_WITH_TX_HASHES, TransactionHash, BlockHash, FAILED_TO_RECEIVE_TXN, NO_TRACE_AVAILABLE, CONTRACT_NOT_FOUND, ENTRYPOINT_NOT_FOUND, BLOCK_NOT_FOUND, INVALID_TXN_INDEX, CLASS_HASH_NOT_FOUND, TXN_HASH_NOT_FOUND, PAGE_SIZE_TOO_BIG, NO_BLOCKS, INVALID_CONTINUATION_TOKEN, TOO_MANY_KEYS_IN_FILTER, CONTRACT_ERROR, TRANSACTION_EXECUTION_ERROR, STORAGE_PROOF_NOT_SUPPORTED, CLASS_ALREADY_DECLARED, INVALID_TRANSACTION_NONCE, INSUFFICIENT_RESOURCES_FOR_VALIDATE, INSUFFICIENT_ACCOUNT_BALANCE, VALIDATION_FAILURE, COMPILATION_FAILED, CONTRACT_CLASS_SIZE_IS_TOO_LARGE, NON_ACCOUNT, DUPLICATE_TX, COMPILED_CLASS_HASH_MISMATCH, UNSUPPORTED_TX_VERSION, UNSUPPORTED_CONTRACT_CLASS_VERSION, UNEXPECTED_ERROR, REPLACEMENT_TRANSACTION_UNDERPRICED, FEE_BELOW_MINIMUM, INVALID_SUBSCRIPTION_ID, TOO_MANY_ADDRESSES_IN_FILTER, TOO_MANY_BLOCKS_BACK, COMPILATION_ERROR, ETransactionVersion as ETransactionVersion$1, SUBSCRIPTION_ID, TXN_FINALITY_STATUS, STATUS_ACCEPTED_ON_L1, TXN_STATUS_WITHOUT_L1, StarknetEventsEvent, TransactionsStatusEvent, NewTransactionReceiptsEvent, NewTransactionEvent, NewHeadsEvent, STORAGE_RESULT, INVOKE_TXN_V3, StarknetWindowObject, AccountChangeEventHandler, NetworkChangeEventHandler, WatchAssetParameters, AddStarknetChainParameters, Signature as Signature$1, STRK20_PROOF, Address, STRK20_BALANCE_ENTRY, STRK20_ACTION, STRK20_CALL_AND_PROOF, EDAMode as EDAMode$1, StarknetType, StarknetMerkleType, TypedDataRevision, OutsideCallV1, OutsideCallV2, EmittedEvent as EmittedEvent$1, Event as Event$2, Permission, ChainId, AccountDeploymentData, AddInvokeTransactionParameters, AddInvokeTransactionResult, AddDeclareTransactionParameters, AddDeclareTransactionResult, SpecVersion, API_VERSION as API_VERSION$1 } from '@starknet-io/starknet-types-0103';
3
+ export { STRK20_ACTION, STRK20_BALANCE_ENTRY, STRK20_CALLDATA_ITEM, STRK20_CALLDATA_PLACEHOLDER, STRK20_CALL_AND_PROOF, STRK20_DEPOSIT_ACTION, STRK20_INVOKE_ACTION, STRK20_PROOF, STRK20_TRANSFER_ACTION, STRK20_WITHDRAW_ACTION, StarknetDomain, StarknetEnumType, StarknetMerkleType, StarknetType, TypedData, TypedDataRevision } from '@starknet-io/starknet-types-0103';
4
4
  import * as RPC$1 from '@starknet-io/starknet-types-0101';
5
- import { WatchAssetParameters as WatchAssetParameters$1, AddStarknetChainParameters as AddStarknetChainParameters$1, Signature as Signature$2, Address as Address$1, Permission as Permission$1, ChainId as ChainId$1, AccountDeploymentData as AccountDeploymentData$1, AddInvokeTransactionParameters as AddInvokeTransactionParameters$1, AddInvokeTransactionResult as AddInvokeTransactionResult$1, AddDeclareTransactionParameters as AddDeclareTransactionParameters$1, AddDeclareTransactionResult as AddDeclareTransactionResult$1, TypedData as TypedData$1, SpecVersion as SpecVersion$1 } from '@starknet-io/starknet-types-0101';
5
+ import { WatchAssetParameters as WatchAssetParameters$1, AddStarknetChainParameters as AddStarknetChainParameters$1, Signature as Signature$2, Address as Address$1, Permission as Permission$1, ChainId as ChainId$1, AccountDeploymentData as AccountDeploymentData$1, AddInvokeTransactionParameters as AddInvokeTransactionParameters$1, AddInvokeTransactionResult as AddInvokeTransactionResult$1, AddDeclareTransactionParameters as AddDeclareTransactionParameters$1, AddDeclareTransactionResult as AddDeclareTransactionResult$1, TypedData as TypedData$1, SpecVersion as SpecVersion$1, API_VERSION as API_VERSION$2 } from '@starknet-io/starknet-types-0101';
6
6
  import * as weierstrass from '@noble/curves/abstract/weierstrass';
7
7
  import { RecoveredSignatureType } from '@noble/curves/abstract/weierstrass';
8
8
  import * as RPC from '@starknet-io/starknet-types-09';
9
9
  import { Abi as Abi$1, TypedContract } from 'abi-wan-kanabi';
10
10
  import { WalletWithStarknetFeatures, StandardEventsChangeProperties } from '@starknet-io/get-starknet-wallet-standard/features';
11
+ import { WalletWithStarknetFeatures as WalletWithStarknetFeatures$1 } from '@starknet-io/get-starknet-wallet-standard-v6/features';
11
12
  import * as poseidon from '@noble/curves/abstract/poseidon';
12
13
  import * as json$1 from 'lossless-json';
13
14
  import * as starknet from '@scure/starknet';
14
- import { StandardEventsChangeProperties as StandardEventsChangeProperties$1 } from '@wallet-standard/features';
15
+ import { StandardConnectOutput, StandardEventsChangeProperties as StandardEventsChangeProperties$1 } from '@wallet-standard/features';
15
16
 
16
17
  declare const ec_weierstrass: typeof weierstrass;
17
18
  declare namespace ec {
@@ -6013,6 +6014,13 @@ type WalletAccountV5Options = {
6013
6014
  cairoVersion?: CairoVersion;
6014
6015
  paymaster?: PaymasterOptions | PaymasterInterface;
6015
6016
  };
6017
+ type WalletAccountV6Options = {
6018
+ provider: ProviderOptions | ProviderInterface;
6019
+ walletProvider: WalletWithStarknetFeatures$1;
6020
+ address: string;
6021
+ cairoVersion?: CairoVersion;
6022
+ paymaster?: PaymasterOptions | PaymasterInterface;
6023
+ };
6016
6024
 
6017
6025
  declare class WalletAccount extends Account {
6018
6026
  walletProvider: StarknetWalletProvider;
@@ -6052,11 +6060,25 @@ declare class WalletAccountV5 extends Account {
6052
6060
  * To call before the instance is deleted.
6053
6061
  */
6054
6062
  private unsubscribe;
6063
+ /**
6064
+ * Unsubscribe functions for the callbacks registered through {@link onChange}.
6065
+ * Released by {@link unsubscribeChange}.
6066
+ */
6067
+ private changeSubscriptions;
6055
6068
  constructor(options: WalletAccountV5Options);
6056
6069
  /**
6057
6070
  * WALLET EVENTS
6058
6071
  */
6059
- onChange(callback: (change: StandardEventsChangeProperties) => void): void;
6072
+ /**
6073
+ * Subscribe a callback to wallet account/network changes.
6074
+ * @param {(change: StandardEventsChangeProperties) => void} callback called on each change.
6075
+ * @returns {() => void} a function to unsubscribe this specific callback.
6076
+ */
6077
+ onChange(callback: (change: StandardEventsChangeProperties) => void): () => void;
6078
+ /**
6079
+ * Unsubscribe from all wallet events, including the callbacks registered through {@link onChange}.
6080
+ * To call before the instance is deleted.
6081
+ */
6060
6082
  unsubscribeChange(): void;
6061
6083
  /**
6062
6084
  * WALLET SPECIFIC METHODS
@@ -6077,6 +6099,24 @@ declare class WalletAccountV5 extends Account {
6077
6099
  static connectSilent(provider: ProviderOptions | ProviderInterface, walletProvider: WalletWithStarknetFeatures, cairoVersion?: CairoVersion, paymaster?: PaymasterOptions | PaymasterInterface): Promise<WalletAccountV5>;
6078
6100
  }
6079
6101
 
6102
+ /**
6103
+ * WalletAccountV6 class.
6104
+ * Extends WalletAccountV5 with get-starknet v6 types and STRK20 privacy protocol methods.
6105
+ */
6106
+ declare class WalletAccountV6 extends WalletAccountV5 {
6107
+ constructor(options: WalletAccountV6Options);
6108
+ private get v6Provider();
6109
+ switchStarknetChain(chainId: _StarknetChainId, silent_mode?: boolean): Promise<boolean>;
6110
+ executeWithProof(calls: AllowArray<Call>, proof?: STRK20_PROOF): Promise<RPCSPEC0103.AddInvokeTransactionResult>;
6111
+ strk20Balances(tokens: Address[]): Promise<STRK20_BALANCE_ENTRY[]>;
6112
+ strk20PrepareInvoke(actions: STRK20_ACTION[], simulate?: boolean): Promise<STRK20_CALL_AND_PROOF>;
6113
+ strk20InvokeTransaction(actions: STRK20_ACTION[]): Promise<{
6114
+ transaction_hash: string;
6115
+ }>;
6116
+ static connect(provider: ProviderOptions | ProviderInterface, walletProvider: WalletWithStarknetFeatures$1, cairoVersion?: CairoVersion, paymaster?: PaymasterOptions | PaymasterInterface, silentMode?: boolean): Promise<WalletAccountV6>;
6117
+ static connectSilent(provider: ProviderOptions | ProviderInterface, walletProvider: WalletWithStarknetFeatures$1, cairoVersion?: CairoVersion, paymaster?: PaymasterOptions | PaymasterInterface): Promise<WalletAccountV6>;
6118
+ }
6119
+
6080
6120
  declare module 'abi-wan-kanabi' {
6081
6121
  interface Config<OptionT = any, ResultT = any, ErrorT = any> {
6082
6122
  FeltType: BigNumberish;
@@ -10147,64 +10187,69 @@ declare function units(amount: string | bigint, simbol?: 'fri' | 'strk'): string
10147
10187
  * @param {boolean} [silent_mode=false] false: request user interaction allowance. true: return only pre-allowed
10148
10188
  * @returns allowed accounts addresses
10149
10189
  */
10150
- declare function requestAccounts$1(swo: StarknetWindowObject, silent_mode?: boolean): Promise<Address[]>;
10190
+ declare function requestAccounts$2(swo: StarknetWindowObject, silent_mode?: boolean): Promise<Address[]>;
10151
10191
  /**
10152
10192
  * Request Permission for wallet account
10153
10193
  * @returns allowed accounts addresses
10154
10194
  */
10155
- declare function getPermissions$1(swo: StarknetWindowObject): Promise<Permission[]>;
10195
+ declare function getPermissions$2(swo: StarknetWindowObject): Promise<Permission[]>;
10156
10196
  /**
10157
10197
  * Request adding ERC20 Token to Wallet List
10158
10198
  * @param asset WatchAssetParameters
10159
10199
  * @returns boolean
10160
10200
  */
10161
- declare function watchAsset$1(swo: StarknetWindowObject, asset: WatchAssetParameters): Promise<boolean>;
10201
+ declare function watchAsset$2(swo: StarknetWindowObject, asset: WatchAssetParameters): Promise<boolean>;
10162
10202
  /**
10163
10203
  * Request adding custom Starknet chain
10164
10204
  * @param chain AddStarknetChainParameters
10165
10205
  * @returns boolean
10166
10206
  */
10167
- declare function addStarknetChain$1(swo: StarknetWindowObject, chain: AddStarknetChainParameters): Promise<boolean>;
10207
+ declare function addStarknetChain$2(swo: StarknetWindowObject, chain: AddStarknetChainParameters): Promise<boolean>;
10168
10208
  /**
10169
10209
  * Request Wallet Network change
10170
10210
  * @param chainId StarknetChainId
10171
10211
  * @returns boolean
10172
10212
  */
10173
- declare function switchStarknetChain$1(swo: StarknetWindowObject, chainId: ChainId): Promise<boolean>;
10213
+ declare function switchStarknetChain$2(swo: StarknetWindowObject, chainId: ChainId): Promise<boolean>;
10174
10214
  /**
10175
10215
  * Request the current chain ID from the wallet.
10176
10216
  * @returns The current Starknet chain ID.
10177
10217
  */
10178
- declare function requestChainId$1(swo: StarknetWindowObject): Promise<ChainId>;
10218
+ declare function requestChainId$2(swo: StarknetWindowObject): Promise<ChainId>;
10179
10219
  /**
10180
10220
  * Get deployment data for a contract.
10181
10221
  * @returns The deployment data result.
10182
10222
  */
10183
- declare function deploymentData$1(swo: StarknetWindowObject): Promise<AccountDeploymentData>;
10223
+ declare function deploymentData$2(swo: StarknetWindowObject): Promise<AccountDeploymentData>;
10184
10224
  /**
10185
10225
  * Add an invoke transaction to the wallet.
10186
10226
  * @param params The parameters required for the invoke transaction.
10187
10227
  * @returns The result of adding the invoke transaction.
10188
10228
  */
10189
- declare function addInvokeTransaction$1(swo: StarknetWindowObject, params: AddInvokeTransactionParameters): Promise<AddInvokeTransactionResult>;
10229
+ declare function addInvokeTransaction$2(swo: StarknetWindowObject, params: AddInvokeTransactionParameters): Promise<AddInvokeTransactionResult>;
10190
10230
  /**
10191
10231
  * Add a declare transaction to the wallet.
10192
10232
  * @param params The parameters required for the declare transaction.
10193
10233
  * @returns The result of adding the declare transaction.
10194
10234
  */
10195
- declare function addDeclareTransaction$1(swo: StarknetWindowObject, params: AddDeclareTransactionParameters): Promise<AddDeclareTransactionResult>;
10235
+ declare function addDeclareTransaction$2(swo: StarknetWindowObject, params: AddDeclareTransactionParameters): Promise<AddDeclareTransactionResult>;
10196
10236
  /**
10197
10237
  * Sign typed data using the wallet.
10198
10238
  * @param swo the starknet (wallet) window object to request the signature.
10199
10239
  * @param typedData The typed data to sign.
10200
10240
  * @returns An array of signatures as strings.
10201
10241
  */
10202
- declare function signMessage$1(swo: StarknetWindowObject, typedData: TypedData): Promise<Signature$1>;
10242
+ declare function signMessage$2(swo: StarknetWindowObject, typedData: TypedData): Promise<Signature$1>;
10203
10243
  /**
10204
10244
  * Get the list of supported specifications.
10205
10245
  * @returns An array of supported specification strings.
10206
10246
  */
10207
- declare function supportedSpecs$1(swo: StarknetWindowObject): Promise<SpecVersion[]>;
10247
+ declare function supportedSpecs$2(swo: StarknetWindowObject): Promise<SpecVersion[]>;
10248
+ /**
10249
+ * Get the list of supported wallet API versions.
10250
+ * @returns An array of supported wallet API version strings.
10251
+ */
10252
+ declare function supportedWalletApi$2(swo: StarknetWindowObject): Promise<API_VERSION$1[]>;
10208
10253
  /**
10209
10254
  * Attaches an event handler function to the "accountsChanged" event of a StarknetWindowObject.
10210
10255
  * When the accounts are changed, the specified callback function will be called.
@@ -10227,82 +10272,101 @@ declare function onNetworkChanged(swo: StarknetWindowObject, callback: NetworkCh
10227
10272
  declare const connect_onAccountChange: typeof onAccountChange;
10228
10273
  declare const connect_onNetworkChanged: typeof onNetworkChanged;
10229
10274
  declare namespace connect {
10230
- export { addDeclareTransaction$1 as addDeclareTransaction, addInvokeTransaction$1 as addInvokeTransaction, addStarknetChain$1 as addStarknetChain, deploymentData$1 as deploymentData, getPermissions$1 as getPermissions, connect_onAccountChange as onAccountChange, connect_onNetworkChanged as onNetworkChanged, requestAccounts$1 as requestAccounts, requestChainId$1 as requestChainId, signMessage$1 as signMessage, supportedSpecs$1 as supportedSpecs, switchStarknetChain$1 as switchStarknetChain, watchAsset$1 as watchAsset };
10275
+ export { addDeclareTransaction$2 as addDeclareTransaction, addInvokeTransaction$2 as addInvokeTransaction, addStarknetChain$2 as addStarknetChain, deploymentData$2 as deploymentData, getPermissions$2 as getPermissions, connect_onAccountChange as onAccountChange, connect_onNetworkChanged as onNetworkChanged, requestAccounts$2 as requestAccounts, requestChainId$2 as requestChainId, signMessage$2 as signMessage, supportedSpecs$2 as supportedSpecs, supportedWalletApi$2 as supportedWalletApi, switchStarknetChain$2 as switchStarknetChain, watchAsset$2 as watchAsset };
10231
10276
  }
10232
10277
 
10278
+ /**
10279
+ * Connect the DApp to the wallet through the wallet-standard `standard:connect` feature.
10280
+ *
10281
+ * Besides authorizing the accounts, this primes the wallet-standard wrapper internal
10282
+ * state (its `#account`). This priming is mandatory: the wrapper only bridges the wallet
10283
+ * legacy `accountsChanged` / `networkChanged` events to the `standard:events` "change"
10284
+ * event (consumed by {@link subscribeWalletEvent}) once it has been connected this way.
10285
+ * Without it, account/network change events never reach the DApp.
10286
+ * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10287
+ * @param {boolean} [silent_mode=false] false: request user interaction allowance. true: return only pre-allowed accounts.
10288
+ * @returns {StandardConnectOutput} the wallet-standard accounts the DApp is authorized to use.
10289
+ */
10290
+ declare function standardConnect$1(walletWSF: WalletWithStarknetFeatures, silent_mode?: boolean): Promise<StandardConnectOutput>;
10233
10291
  /**
10234
10292
  * Request Permission for wallet account, return addresses that are allowed by user
10235
10293
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10236
10294
  * @param {boolean} [silent_mode=false] false: request user interaction allowance. true: return only pre-allowed
10237
10295
  * @returns {Address[]} allowed accounts addresses
10238
10296
  */
10239
- declare function requestAccounts(walletWSF: WalletWithStarknetFeatures, silent_mode?: boolean): Promise<Address$1[]>;
10297
+ declare function requestAccounts$1(walletWSF: WalletWithStarknetFeatures, silent_mode?: boolean): Promise<Address$1[]>;
10240
10298
  /**
10241
10299
  * Request if DAPP is connected to wallet.
10242
10300
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10243
10301
  * @returns {Permission[]} "accounts" if permission granted
10244
10302
  */
10245
- declare function getPermissions(walletWSF: WalletWithStarknetFeatures): Promise<Permission$1[]>;
10303
+ declare function getPermissions$1(walletWSF: WalletWithStarknetFeatures): Promise<Permission$1[]>;
10246
10304
  /**
10247
10305
  * Request adding an ERC20 Token to the Wallet List
10248
10306
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10249
10307
  * @param {WatchAssetParameters} asset description of the token to add.
10250
10308
  * @returns {boolean} true if the token was added successfully
10251
10309
  */
10252
- declare function watchAsset(walletWSF: WalletWithStarknetFeatures, asset: WatchAssetParameters$1): Promise<boolean>;
10310
+ declare function watchAsset$1(walletWSF: WalletWithStarknetFeatures, asset: WatchAssetParameters$1): Promise<boolean>;
10253
10311
  /**
10254
10312
  * Request adding custom Starknet chain
10255
10313
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10256
10314
  * @param {AddStarknetChainParameters} chain description of the chain to add.
10257
10315
  * @returns {boolean} true if the chain was added successfully
10258
10316
  */
10259
- declare function addStarknetChain(walletWSF: WalletWithStarknetFeatures, chain: AddStarknetChainParameters$1): Promise<boolean>;
10317
+ declare function addStarknetChain$1(walletWSF: WalletWithStarknetFeatures, chain: AddStarknetChainParameters$1): Promise<boolean>;
10260
10318
  /**
10261
10319
  * Request Wallet Network change
10262
10320
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10263
10321
  * @param {ChainId} chainId encoded name of the chain requested.
10264
10322
  * @returns {boolean} true if the chain was changed successfully
10265
10323
  */
10266
- declare function switchStarknetChain(walletWSF: WalletWithStarknetFeatures, chainId: ChainId$1): Promise<boolean>;
10324
+ declare function switchStarknetChain$1(walletWSF: WalletWithStarknetFeatures, chainId: ChainId$1): Promise<boolean>;
10267
10325
  /**
10268
10326
  * Request the current chain ID from the wallet.
10269
10327
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10270
10328
  * @returns {ChainId} The current Starknet chain ID.
10271
10329
  */
10272
- declare function requestChainId(walletWSF: WalletWithStarknetFeatures): Promise<ChainId$1>;
10330
+ declare function requestChainId$1(walletWSF: WalletWithStarknetFeatures): Promise<ChainId$1>;
10273
10331
  /**
10274
10332
  * Get deployment data for a contract.
10275
10333
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10276
10334
  * @returns {AccountDeploymentData} The deployment data result.
10277
10335
  */
10278
- declare function deploymentData(walletWSF: WalletWithStarknetFeatures): Promise<AccountDeploymentData$1>;
10336
+ declare function deploymentData$1(walletWSF: WalletWithStarknetFeatures): Promise<AccountDeploymentData$1>;
10279
10337
  /**
10280
10338
  * Add an invoke transaction to the wallet.
10281
10339
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10282
10340
  * @param {AddInvokeTransactionParameters} params The parameters required for the invoke transaction.
10283
10341
  * @returns {AddInvokeTransactionResult} The result of adding the invoke transaction.
10284
10342
  */
10285
- declare function addInvokeTransaction(walletWSF: WalletWithStarknetFeatures, params: AddInvokeTransactionParameters$1): Promise<AddInvokeTransactionResult$1>;
10343
+ declare function addInvokeTransaction$1(walletWSF: WalletWithStarknetFeatures, params: AddInvokeTransactionParameters$1): Promise<AddInvokeTransactionResult$1>;
10286
10344
  /**
10287
10345
  * Add a declare transaction to the wallet.
10288
10346
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10289
10347
  * @param {AddDeclareTransactionParameters} params The parameters required for the declare transaction.
10290
10348
  * @returns {AddDeclareTransactionResult} The result of adding the declare transaction.
10291
10349
  */
10292
- declare function addDeclareTransaction(walletWSF: WalletWithStarknetFeatures, params: AddDeclareTransactionParameters$1): Promise<AddDeclareTransactionResult$1>;
10350
+ declare function addDeclareTransaction$1(walletWSF: WalletWithStarknetFeatures, params: AddDeclareTransactionParameters$1): Promise<AddDeclareTransactionResult$1>;
10293
10351
  /**
10294
10352
  * Sign typed data using the wallet.
10295
10353
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10296
10354
  * @param {TypedData} typedData The typed data to sign.
10297
10355
  * @returns {Signature} An array of signatures as strings.
10298
10356
  */
10299
- declare function signMessage(walletWSF: WalletWithStarknetFeatures, typedData: TypedData$1): Promise<Signature$2>;
10357
+ declare function signMessage$1(walletWSF: WalletWithStarknetFeatures, typedData: TypedData$1): Promise<Signature$2>;
10300
10358
  /**
10301
10359
  * Get the list of supported Wallet API specifications.
10302
10360
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10303
10361
  * @returns {SpecVersion[]} An array of wallet API supported specification strings.
10304
10362
  */
10305
- declare function supportedSpecs(walletWSF: WalletWithStarknetFeatures): Promise<SpecVersion$1[]>;
10363
+ declare function supportedSpecs$1(walletWSF: WalletWithStarknetFeatures): Promise<SpecVersion$1[]>;
10364
+ /**
10365
+ * Get the list of supported wallet API versions.
10366
+ * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10367
+ * @returns {API_VERSION[]} An array of supported wallet API version strings.
10368
+ */
10369
+ declare function supportedWalletApi$1(walletWSF: WalletWithStarknetFeatures): Promise<API_VERSION$2[]>;
10306
10370
  /**
10307
10371
  * Attaches an event handler function for the changes of network and account.
10308
10372
  * When the account/network are changed, the specified callback function will be called.
@@ -10310,22 +10374,63 @@ declare function supportedSpecs(walletWSF: WalletWithStarknetFeatures): Promise<
10310
10374
  * @param {StandardEventsChangeProperties} callback - The function to be called when the account/network are changed.
10311
10375
  * @returns {() => void} function to execute to unsubscribe events.
10312
10376
  */
10313
- declare function subscribeWalletEvent(walletWSF: WalletWithStarknetFeatures, callback: (change: StandardEventsChangeProperties$1) => void): () => void;
10314
-
10315
- declare const connectV5_addDeclareTransaction: typeof addDeclareTransaction;
10316
- declare const connectV5_addInvokeTransaction: typeof addInvokeTransaction;
10317
- declare const connectV5_addStarknetChain: typeof addStarknetChain;
10318
- declare const connectV5_deploymentData: typeof deploymentData;
10319
- declare const connectV5_getPermissions: typeof getPermissions;
10320
- declare const connectV5_requestAccounts: typeof requestAccounts;
10321
- declare const connectV5_requestChainId: typeof requestChainId;
10322
- declare const connectV5_signMessage: typeof signMessage;
10323
- declare const connectV5_subscribeWalletEvent: typeof subscribeWalletEvent;
10324
- declare const connectV5_supportedSpecs: typeof supportedSpecs;
10325
- declare const connectV5_switchStarknetChain: typeof switchStarknetChain;
10326
- declare const connectV5_watchAsset: typeof watchAsset;
10377
+ declare function subscribeWalletEvent$1(walletWSF: WalletWithStarknetFeatures, callback: (change: StandardEventsChangeProperties$1) => void): () => void;
10378
+
10327
10379
  declare namespace connectV5 {
10328
- export { connectV5_addDeclareTransaction as addDeclareTransaction, connectV5_addInvokeTransaction as addInvokeTransaction, connectV5_addStarknetChain as addStarknetChain, connectV5_deploymentData as deploymentData, connectV5_getPermissions as getPermissions, connectV5_requestAccounts as requestAccounts, connectV5_requestChainId as requestChainId, connectV5_signMessage as signMessage, connectV5_subscribeWalletEvent as subscribeWalletEvent, connectV5_supportedSpecs as supportedSpecs, connectV5_switchStarknetChain as switchStarknetChain, connectV5_watchAsset as watchAsset };
10380
+ export { addDeclareTransaction$1 as addDeclareTransaction, addInvokeTransaction$1 as addInvokeTransaction, addStarknetChain$1 as addStarknetChain, deploymentData$1 as deploymentData, getPermissions$1 as getPermissions, requestAccounts$1 as requestAccounts, requestChainId$1 as requestChainId, signMessage$1 as signMessage, standardConnect$1 as standardConnect, subscribeWalletEvent$1 as subscribeWalletEvent, supportedSpecs$1 as supportedSpecs, supportedWalletApi$1 as supportedWalletApi, switchStarknetChain$1 as switchStarknetChain, watchAsset$1 as watchAsset };
10381
+ }
10382
+
10383
+ /**
10384
+ * Connect the DApp to the wallet through the wallet-standard `standard:connect` feature.
10385
+ *
10386
+ * Besides authorizing the accounts, this primes the wallet-standard wrapper internal
10387
+ * state (its `#account`). This priming is mandatory: the wrapper only bridges the wallet
10388
+ * legacy `accountsChanged` / `networkChanged` events to the `standard:events` "change"
10389
+ * event (consumed by {@link subscribeWalletEvent}) once it has been connected this way.
10390
+ * Without it, account/network change events never reach the DApp.
10391
+ * @param {WalletWithStarknetFeaturesV6} walletWSF - The get-starknet V6 wallet object to use.
10392
+ * @param {boolean} [silent_mode=false] false: request user interaction allowance. true: return only pre-allowed accounts.
10393
+ * @returns {StandardConnectOutput} the wallet-standard accounts the DApp is authorized to use.
10394
+ */
10395
+ declare function standardConnect(walletWSF: WalletWithStarknetFeatures$1, silent_mode?: boolean): Promise<StandardConnectOutput>;
10396
+ declare function requestAccounts(walletWSF: WalletWithStarknetFeatures$1, silent_mode?: boolean): Promise<Address[]>;
10397
+ declare function getPermissions(walletWSF: WalletWithStarknetFeatures$1): Promise<Permission[]>;
10398
+ declare function watchAsset(walletWSF: WalletWithStarknetFeatures$1, asset: WatchAssetParameters): Promise<boolean>;
10399
+ declare function addStarknetChain(walletWSF: WalletWithStarknetFeatures$1, chain: AddStarknetChainParameters): Promise<boolean>;
10400
+ declare function switchStarknetChain(walletWSF: WalletWithStarknetFeatures$1, chainId: ChainId, silent_mode?: boolean): Promise<boolean>;
10401
+ declare function requestChainId(walletWSF: WalletWithStarknetFeatures$1): Promise<ChainId>;
10402
+ declare function deploymentData(walletWSF: WalletWithStarknetFeatures$1): Promise<AccountDeploymentData>;
10403
+ declare function addInvokeTransaction(walletWSF: WalletWithStarknetFeatures$1, params: AddInvokeTransactionParameters): Promise<AddInvokeTransactionResult>;
10404
+ declare function addDeclareTransaction(walletWSF: WalletWithStarknetFeatures$1, params: AddDeclareTransactionParameters): Promise<AddDeclareTransactionResult>;
10405
+ declare function signMessage(walletWSF: WalletWithStarknetFeatures$1, typedData: TypedData): Promise<Signature$1>;
10406
+ declare function supportedSpecs(walletWSF: WalletWithStarknetFeatures$1): Promise<SpecVersion[]>;
10407
+ declare function supportedWalletApi(walletWSF: WalletWithStarknetFeatures$1): Promise<API_VERSION$1[]>;
10408
+ declare function subscribeWalletEvent(walletWSF: WalletWithStarknetFeatures$1, callback: (change: StandardEventsChangeProperties$1) => void): () => void;
10409
+ declare function strk20Balances(walletWSF: WalletWithStarknetFeatures$1, tokens: Address[]): Promise<STRK20_BALANCE_ENTRY[]>;
10410
+ declare function strk20PrepareInvoke(walletWSF: WalletWithStarknetFeatures$1, actions: STRK20_ACTION[], simulate?: boolean): Promise<STRK20_CALL_AND_PROOF>;
10411
+ declare function strk20InvokeTransaction(walletWSF: WalletWithStarknetFeatures$1, actions: STRK20_ACTION[]): Promise<{
10412
+ transaction_hash: string;
10413
+ }>;
10414
+
10415
+ declare const connectV6_addDeclareTransaction: typeof addDeclareTransaction;
10416
+ declare const connectV6_addInvokeTransaction: typeof addInvokeTransaction;
10417
+ declare const connectV6_addStarknetChain: typeof addStarknetChain;
10418
+ declare const connectV6_deploymentData: typeof deploymentData;
10419
+ declare const connectV6_getPermissions: typeof getPermissions;
10420
+ declare const connectV6_requestAccounts: typeof requestAccounts;
10421
+ declare const connectV6_requestChainId: typeof requestChainId;
10422
+ declare const connectV6_signMessage: typeof signMessage;
10423
+ declare const connectV6_standardConnect: typeof standardConnect;
10424
+ declare const connectV6_strk20Balances: typeof strk20Balances;
10425
+ declare const connectV6_strk20InvokeTransaction: typeof strk20InvokeTransaction;
10426
+ declare const connectV6_strk20PrepareInvoke: typeof strk20PrepareInvoke;
10427
+ declare const connectV6_subscribeWalletEvent: typeof subscribeWalletEvent;
10428
+ declare const connectV6_supportedSpecs: typeof supportedSpecs;
10429
+ declare const connectV6_supportedWalletApi: typeof supportedWalletApi;
10430
+ declare const connectV6_switchStarknetChain: typeof switchStarknetChain;
10431
+ declare const connectV6_watchAsset: typeof watchAsset;
10432
+ declare namespace connectV6 {
10433
+ export { connectV6_addDeclareTransaction as addDeclareTransaction, connectV6_addInvokeTransaction as addInvokeTransaction, connectV6_addStarknetChain as addStarknetChain, connectV6_deploymentData as deploymentData, connectV6_getPermissions as getPermissions, connectV6_requestAccounts as requestAccounts, connectV6_requestChainId as requestChainId, connectV6_signMessage as signMessage, connectV6_standardConnect as standardConnect, connectV6_strk20Balances as strk20Balances, connectV6_strk20InvokeTransaction as strk20InvokeTransaction, connectV6_strk20PrepareInvoke as strk20PrepareInvoke, connectV6_subscribeWalletEvent as subscribeWalletEvent, connectV6_supportedSpecs as supportedSpecs, connectV6_supportedWalletApi as supportedWalletApi, connectV6_switchStarknetChain as switchStarknetChain, connectV6_watchAsset as watchAsset };
10329
10434
  }
10330
10435
 
10331
10436
  type DefaultConfig = typeof DEFAULT_GLOBAL_CONFIG;
@@ -10429,4 +10534,4 @@ declare class Logger {
10429
10534
  */
10430
10535
  declare const logger: Logger;
10431
10536
 
10432
- export { type Abi, type AbiEntry, type AbiEntryType, type AbiEnum, type AbiEnums, type AbiEvent, type AbiEvents, type AbiInterfaces, AbiParser1, AbiParser2, AbiParserInterface, type AbiStruct, type AbiStructs, Account, type AccountHooks, AccountInterface, type AccountInvocationItem, type AccountInvocations, type AccountInvocationsFactoryDetails, type AccountOptions, type AllowArray, type ApiEstimateFeeResponse, type Args, type ArgsOrCalldata, type ArgsOrCalldataWithOptions, type ArraySignatureType, type AsyncContractFunction, type BLOCK_HASH, type BLOCK_NUMBER, BatchClient, type BatchClientOptions, type BigNumberish, type Block$1 as Block, type BlockIdentifier, type BlockNumber, BlockStatus, BlockTag, type BlockTransactionTrace, type BlockTransactionsTracesWithInitialReads, type BlockWithTxHashes, BrotherIdImpl, type BrotherIdProviderMethods, type BrotherProfile, type Builtins, type ByteArray, type ByteCode, type CairoAssembly, CairoByteArray, CairoBytes31, type CairoContract, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoFelt, CairoFelt252, CairoFixedArray, CairoInt128, CairoInt16, CairoInt32, CairoInt64, CairoInt8, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoUint128, CairoUint16, CairoUint256, CairoUint32, CairoUint512, CairoUint64, CairoUint8, CairoUint96, type CairoVersion, type Call, type CallContractResponse, CallData, type CallDetails, type CallOptions, type CallResult, type Calldata, type CommonContractOptions, type CompiledContract, type CompiledSierra, type CompiledSierraCasm, type CompilerVersion, type CompleteDeclareContractPayload, type CompressedProgram, Contract, type ContractClass, type ContractClassIdentifier, type ContractClassPayload, type ContractClassResponse, type ContractEntryPointFields, type ContractFunction, ContractInterface, type ContractOptions, type ContractVersion, type DeclareAndDeployContractPayload, type DeclareContractPayload, type DeclareContractResponse, type DeclareContractTransaction, type DeclareDeployUDCResponse, type DeclareSignerDetails, type DeclareTransactionReceiptResponse, type DeclaredTransaction, type DeployAccountContractPayload, type DeployAccountContractTransaction, type DeployAccountSignerDetails, type DeployAccountTransactionReceiptResponse, type DeployAndInvokeTransaction, type DeployContractResponse, type DeployContractUDCResponse, type DeployTransaction, type DeployTransactionReceiptResponse, type DeployedAccountTransaction, Deployer, type DeployerCall, DeployerInterface, type Details, EDAMode, EDataAvailabilityMode, ESubscriptionTag, ETH_ADDRESS, ETraceFlag, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, ETransactionVersion2, ETransactionVersion3, ETxnResponseFlag, type EVENTS_CHUNK, type EmittedEvent, EntryPointType, type EntryPointsByType, type ErrorReceiptResponseHelper, type EstimateFeeBulk, type EstimateFeeResponseBulkOverhead, type EstimateFeeResponseOverhead, EthSigner, type Event$1 as Event, type EventEntry, type EventFilter, type ExecutableDeployAndInvokeTransaction, type ExecutableDeployTransaction, type ExecutableInvokeTransaction, type ExecutableUserInvoke, type ExecutableUserTransaction, type ExecuteOptions, type ExecutionParameters, type FEE_ESTIMATE, type FELT, type FactoryParams, type FastExecuteAccountMethods, type FastExecuteProviderMethods, type FastExecuteResponse, type FastWaitForTransactionOptions, type FeeEstimate, type FeeMode, type FormatResponse, type FunctionAbi, type GasPrices, type GetBlockResponse, type GetTransactionReceiptResponse, type GetTransactionResponse, type GetTxReceiptResponseWithoutHelper, type HexCalldata, type Hint, type INITIAL_READS, Int, type InterfaceAbi, type Invocation, type Invocations, type InvocationsDetails, type InvocationsDetailsWithNonce, type InvocationsSignerDetails, type InvokeFunctionResponse, type InvokeTransaction, type InvokeTransactionReceiptResponse, type InvokedTransaction, type L1HandlerTransactionReceiptResponse, type L1_HANDLER_TXN, type LedgerPathCalculation, LedgerSigner111 as LedgerSigner, LedgerSigner111, LedgerSigner221, LedgerSigner231, type LegacyCompiledContract, type LegacyContractClass, type LegacyEvent, LibraryError, Literal, type LoadedContract, type LogLevel, LogLevelIndex, type Methods, type MultiDeployContractResponse, type MultiType, NON_ZERO_PREFIX, type Nonce, type OptionalPayload, type OutsideCall, type OutsideExecution, type OutsideExecutionOptions, OutsideExecutionTypesV1, OutsideExecutionTypesV2, OutsideExecutionVersion, type OutsideTransaction, type PRE_CONFIRMED_STATE_UPDATE, type PRICE_UNIT, type ParsedEvent, type ParsedEvents, type ParsedStruct, type ParsingStrategy, type PaymasterDetails, type PaymasterFeeEstimate, PaymasterInterface, type PaymasterOptions, PaymasterRpc, type PaymasterRpcOptions, type PaymasterTimeBounds, type PluginConfig, PluginManager, type PreConfirmedBlock, type PreConfirmedStateUpdate, type PreparedDeployAndInvokeTransaction, type PreparedDeployTransaction, type PreparedInvokeTransaction, type PreparedTransaction, type Program, RpcProvider as Provider, type ProviderHooks, ProviderInterface, type ProviderOptions, type ProviderOrAccount, type PythonicHints, type RESOURCE_PRICE, index$4 as RPC, rpc_0_10_2 as RPC0102, rpc_0_10_3 as RPC0103, rpc_0_9_0 as RPC09, RPCResponseParser, type RPC_ERROR, type RPC_ERROR_SET, type RawArgs, type RawArgsArray, type RawArgsObject, type RawCalldata, type Receipt, ReceiptTx, type ReconnectOptions, type RequiredKeysOf, type ResourceBounds, type ResourceBoundsBN, type ResourceBoundsOverhead, ResponseParser, type RevertedTransactionReceiptResponse, type RevertedTransactionReceiptResponseHelper, RpcChannel, RpcError, RpcProvider, type RpcProviderOptions, type SIMULATION_FLAG, type STATE_UPDATE, type SierraContractClass, type SierraContractEntryPointFields, type SierraEntryPointsByType, type SierraProgramDebugInfo, type Signature, Signer, SignerInterface, type Simplify, type SimulateTransaction, type SimulateTransactionDetails, type SimulateTransactionOverhead, type SimulateTransactionOverheadResponse, type SimulateTransactionResponse, type SimulationFlags, type StarkProfile, type StarknetIdAccountMethods, StarknetIdImpl, type StarknetIdProviderMethods, type StarknetPlugin, type StateUpdate, type StateUpdateResponse, type StorageResponse, type SubscribeEventsParams, type SubscribeNewHeadsParams, type SubscribeNewTransactionReceiptsParams, type SubscribeNewTransactionsParams, type SubscribeTransactionStatusParams, Subscription, type SubscriptionBlockIdentifier, type SubscriptionNewHeadsEvent, type SubscriptionNewTransactionEvent, type SubscriptionNewTransactionReceiptsEvent, type SubscriptionOptions, type SubscriptionStarknetEventsEvent, type SubscriptionTransactionStatusEvent, type SuccessfulTransactionReceiptResponse, type SuccessfulTransactionReceiptResponseHelper, type TXN_EXECUTION_STATUS, type TXN_HASH, type TXN_STATUS, TimeoutError, type TipAnalysisOptions, type TipEstimate, type TipType, type TokenData, TransactionExecutionStatus, TransactionFinalityStatus, type TransactionReceipt, type TransactionReceiptCallbacks, type TransactionReceiptCallbacksDefault, type TransactionReceiptCallbacksDefined, type TransactionReceiptStatus, type TransactionReceiptValue, type TransactionStatus, type TransactionStatusReceiptSets, type TransactionTrace, TransactionType, type TransactionWithHash, type Tupled, type TypedContractV2, UINT_128_MAX, UINT_128_MIN, UINT_256_HIGH_MAX, UINT_256_HIGH_MIN, UINT_256_LOW_MAX, UINT_256_LOW_MIN, UINT_256_MAX, UINT_256_MIN, UINT_512_MAX, UINT_512_MIN, Uint, type Uint256, type Uint512, type UniversalDeployerContractPayload, type UniversalDetails, type UserInvoke, type UserTransaction, type V3DeclareSignerDetails, type V3DeployAccountSignerDetails, type V3InvocationsSignerDetails, type V3TransactionDetails, ValidateType, WalletAccount, WalletAccountV5, WebSocketChannel, type WebSocketModule, WebSocketNotConnectedError, type WebSocketOptions, type WeierstrassSignatureType, type WithOptions, addAddressPadding, brotherId, byteArray, cairo, compareVersions, config, constants, contractClassResponseToLegacyCompiledContract, contractLoader, createAbiParser, createTransactionReceipt, defaultDeployer, defaultPlugins, ec, encode, eth, index as events, extractContractHashes, fastExecute, fastParsingStrategy, getAbiVersion, type getBlockTransactionsTracesOptions, getChecksumAddress, type getContractVersionOptions, type getEstimateFeeBulkOptions, getGasPrices, getLedgerPathBuffer111 as getLedgerPathBuffer, getLedgerPathBuffer111, getLedgerPathBuffer221, type getSimulateTransactionOptions, getTipStatsFromBlocks, index$3 as hash, hdParsingStrategy, isAccount, isFileSystemAvailable, isNoConstructorValid, isPreConfirmedBlock, isPreConfirmedStateUpdate, isPreConfirmedTransaction, isRPC08Plus_ResourceBounds, isRPC08Plus_ResourceBoundsBN, isSierra, isSupportedSpecVersion, isV3Tx, isVersion, json, legacyDeployer, logger, merkle, num, outsideExecution, parseCalldataField, paymaster, provider, selector, shortString, src5, index$1 as stark, starknetId, toAnyPatchVersion, toApiVersion, index$2 as transaction, typedData, uint256$1 as uint256, units, v2 as v2hash, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, verifyMessageInStarknet, type waitForTransactionOptions, connect as wallet, connectV5 as walletV5 };
10537
+ export { type Abi, type AbiEntry, type AbiEntryType, type AbiEnum, type AbiEnums, type AbiEvent, type AbiEvents, type AbiInterfaces, AbiParser1, AbiParser2, AbiParserInterface, type AbiStruct, type AbiStructs, Account, type AccountHooks, AccountInterface, type AccountInvocationItem, type AccountInvocations, type AccountInvocationsFactoryDetails, type AccountOptions, type AllowArray, type ApiEstimateFeeResponse, type Args, type ArgsOrCalldata, type ArgsOrCalldataWithOptions, type ArraySignatureType, type AsyncContractFunction, type BLOCK_HASH, type BLOCK_NUMBER, BatchClient, type BatchClientOptions, type BigNumberish, type Block$1 as Block, type BlockIdentifier, type BlockNumber, BlockStatus, BlockTag, type BlockTransactionTrace, type BlockTransactionsTracesWithInitialReads, type BlockWithTxHashes, BrotherIdImpl, type BrotherIdProviderMethods, type BrotherProfile, type Builtins, type ByteArray, type ByteCode, type CairoAssembly, CairoByteArray, CairoBytes31, type CairoContract, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoFelt, CairoFelt252, CairoFixedArray, CairoInt128, CairoInt16, CairoInt32, CairoInt64, CairoInt8, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoUint128, CairoUint16, CairoUint256, CairoUint32, CairoUint512, CairoUint64, CairoUint8, CairoUint96, type CairoVersion, type Call, type CallContractResponse, CallData, type CallDetails, type CallOptions, type CallResult, type Calldata, type CommonContractOptions, type CompiledContract, type CompiledSierra, type CompiledSierraCasm, type CompilerVersion, type CompleteDeclareContractPayload, type CompressedProgram, Contract, type ContractClass, type ContractClassIdentifier, type ContractClassPayload, type ContractClassResponse, type ContractEntryPointFields, type ContractFunction, ContractInterface, type ContractOptions, type ContractVersion, type DeclareAndDeployContractPayload, type DeclareContractPayload, type DeclareContractResponse, type DeclareContractTransaction, type DeclareDeployUDCResponse, type DeclareSignerDetails, type DeclareTransactionReceiptResponse, type DeclaredTransaction, type DeployAccountContractPayload, type DeployAccountContractTransaction, type DeployAccountSignerDetails, type DeployAccountTransactionReceiptResponse, type DeployAndInvokeTransaction, type DeployContractResponse, type DeployContractUDCResponse, type DeployTransaction, type DeployTransactionReceiptResponse, type DeployedAccountTransaction, Deployer, type DeployerCall, DeployerInterface, type Details, EDAMode, EDataAvailabilityMode, ESubscriptionTag, ETH_ADDRESS, ETraceFlag, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, ETransactionVersion2, ETransactionVersion3, ETxnResponseFlag, type EVENTS_CHUNK, type EmittedEvent, EntryPointType, type EntryPointsByType, type ErrorReceiptResponseHelper, type EstimateFeeBulk, type EstimateFeeResponseBulkOverhead, type EstimateFeeResponseOverhead, EthSigner, type Event$1 as Event, type EventEntry, type EventFilter, type ExecutableDeployAndInvokeTransaction, type ExecutableDeployTransaction, type ExecutableInvokeTransaction, type ExecutableUserInvoke, type ExecutableUserTransaction, type ExecuteOptions, type ExecutionParameters, type FEE_ESTIMATE, type FELT, type FactoryParams, type FastExecuteAccountMethods, type FastExecuteProviderMethods, type FastExecuteResponse, type FastWaitForTransactionOptions, type FeeEstimate, type FeeMode, type FormatResponse, type FunctionAbi, type GasPrices, type GetBlockResponse, type GetTransactionReceiptResponse, type GetTransactionResponse, type GetTxReceiptResponseWithoutHelper, type HexCalldata, type Hint, type INITIAL_READS, Int, type InterfaceAbi, type Invocation, type Invocations, type InvocationsDetails, type InvocationsDetailsWithNonce, type InvocationsSignerDetails, type InvokeFunctionResponse, type InvokeTransaction, type InvokeTransactionReceiptResponse, type InvokedTransaction, type L1HandlerTransactionReceiptResponse, type L1_HANDLER_TXN, type LedgerPathCalculation, LedgerSigner111 as LedgerSigner, LedgerSigner111, LedgerSigner221, LedgerSigner231, type LegacyCompiledContract, type LegacyContractClass, type LegacyEvent, LibraryError, Literal, type LoadedContract, type LogLevel, LogLevelIndex, type Methods, type MultiDeployContractResponse, type MultiType, NON_ZERO_PREFIX, type Nonce, type OptionalPayload, type OutsideCall, type OutsideExecution, type OutsideExecutionOptions, OutsideExecutionTypesV1, OutsideExecutionTypesV2, OutsideExecutionVersion, type OutsideTransaction, type PRE_CONFIRMED_STATE_UPDATE, type PRICE_UNIT, type ParsedEvent, type ParsedEvents, type ParsedStruct, type ParsingStrategy, type PaymasterDetails, type PaymasterFeeEstimate, PaymasterInterface, type PaymasterOptions, PaymasterRpc, type PaymasterRpcOptions, type PaymasterTimeBounds, type PluginConfig, PluginManager, type PreConfirmedBlock, type PreConfirmedStateUpdate, type PreparedDeployAndInvokeTransaction, type PreparedDeployTransaction, type PreparedInvokeTransaction, type PreparedTransaction, type Program, RpcProvider as Provider, type ProviderHooks, ProviderInterface, type ProviderOptions, type ProviderOrAccount, type PythonicHints, type RESOURCE_PRICE, index$4 as RPC, rpc_0_10_2 as RPC0102, rpc_0_10_3 as RPC0103, rpc_0_9_0 as RPC09, RPCResponseParser, type RPC_ERROR, type RPC_ERROR_SET, type RawArgs, type RawArgsArray, type RawArgsObject, type RawCalldata, type Receipt, ReceiptTx, type ReconnectOptions, type RequiredKeysOf, type ResourceBounds, type ResourceBoundsBN, type ResourceBoundsOverhead, ResponseParser, type RevertedTransactionReceiptResponse, type RevertedTransactionReceiptResponseHelper, RpcChannel, RpcError, RpcProvider, type RpcProviderOptions, type SIMULATION_FLAG, type STATE_UPDATE, type SierraContractClass, type SierraContractEntryPointFields, type SierraEntryPointsByType, type SierraProgramDebugInfo, type Signature, Signer, SignerInterface, type Simplify, type SimulateTransaction, type SimulateTransactionDetails, type SimulateTransactionOverhead, type SimulateTransactionOverheadResponse, type SimulateTransactionResponse, type SimulationFlags, type StarkProfile, type StarknetIdAccountMethods, StarknetIdImpl, type StarknetIdProviderMethods, type StarknetPlugin, type StateUpdate, type StateUpdateResponse, type StorageResponse, type SubscribeEventsParams, type SubscribeNewHeadsParams, type SubscribeNewTransactionReceiptsParams, type SubscribeNewTransactionsParams, type SubscribeTransactionStatusParams, Subscription, type SubscriptionBlockIdentifier, type SubscriptionNewHeadsEvent, type SubscriptionNewTransactionEvent, type SubscriptionNewTransactionReceiptsEvent, type SubscriptionOptions, type SubscriptionStarknetEventsEvent, type SubscriptionTransactionStatusEvent, type SuccessfulTransactionReceiptResponse, type SuccessfulTransactionReceiptResponseHelper, type TXN_EXECUTION_STATUS, type TXN_HASH, type TXN_STATUS, TimeoutError, type TipAnalysisOptions, type TipEstimate, type TipType, type TokenData, TransactionExecutionStatus, TransactionFinalityStatus, type TransactionReceipt, type TransactionReceiptCallbacks, type TransactionReceiptCallbacksDefault, type TransactionReceiptCallbacksDefined, type TransactionReceiptStatus, type TransactionReceiptValue, type TransactionStatus, type TransactionStatusReceiptSets, type TransactionTrace, TransactionType, type TransactionWithHash, type Tupled, type TypedContractV2, UINT_128_MAX, UINT_128_MIN, UINT_256_HIGH_MAX, UINT_256_HIGH_MIN, UINT_256_LOW_MAX, UINT_256_LOW_MIN, UINT_256_MAX, UINT_256_MIN, UINT_512_MAX, UINT_512_MIN, Uint, type Uint256, type Uint512, type UniversalDeployerContractPayload, type UniversalDetails, type UserInvoke, type UserTransaction, type V3DeclareSignerDetails, type V3DeployAccountSignerDetails, type V3InvocationsSignerDetails, type V3TransactionDetails, ValidateType, WalletAccount, WalletAccountV5, WalletAccountV6, WebSocketChannel, type WebSocketModule, WebSocketNotConnectedError, type WebSocketOptions, type WeierstrassSignatureType, type WithOptions, addAddressPadding, brotherId, byteArray, cairo, compareVersions, config, constants, contractClassResponseToLegacyCompiledContract, contractLoader, createAbiParser, createTransactionReceipt, defaultDeployer, defaultPlugins, ec, encode, eth, index as events, extractContractHashes, fastExecute, fastParsingStrategy, getAbiVersion, type getBlockTransactionsTracesOptions, getChecksumAddress, type getContractVersionOptions, type getEstimateFeeBulkOptions, getGasPrices, getLedgerPathBuffer111 as getLedgerPathBuffer, getLedgerPathBuffer111, getLedgerPathBuffer221, type getSimulateTransactionOptions, getTipStatsFromBlocks, index$3 as hash, hdParsingStrategy, isAccount, isFileSystemAvailable, isNoConstructorValid, isPreConfirmedBlock, isPreConfirmedStateUpdate, isPreConfirmedTransaction, isRPC08Plus_ResourceBounds, isRPC08Plus_ResourceBoundsBN, isSierra, isSupportedSpecVersion, isV3Tx, isVersion, json, legacyDeployer, logger, merkle, num, outsideExecution, parseCalldataField, paymaster, provider, selector, shortString, src5, index$1 as stark, starknetId, toAnyPatchVersion, toApiVersion, index$2 as transaction, typedData, uint256$1 as uint256, units, v2 as v2hash, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, verifyMessageInStarknet, type waitForTransactionOptions, connect as wallet, connectV5 as walletV5, connectV6 as walletV6 };