starknet 10.3.3 → 10.5.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,15 @@
1
+ # [10.5.0](https://github.com/starknet-io/starknet.js/compare/v10.4.0...v10.5.0) (2026-07-06)
2
+
3
+ ### Features
4
+
5
+ - add Contract.compile() to build calldata from the abi ([0cdcaf9](https://github.com/starknet-io/starknet.js/commit/0cdcaf927a75b4537ccc071794ae354f058c320c))
6
+
7
+ # [10.4.0](https://github.com/starknet-io/starknet.js/compare/v10.3.3...v10.4.0) (2026-07-01)
8
+
9
+ ### Features
10
+
11
+ - 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))
12
+
1
13
  ## [10.3.3](https://github.com/starknet-io/starknet.js/compare/v10.3.2...v10.3.3) (2026-06-30)
2
14
 
3
15
  ### 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;
@@ -6238,6 +6278,27 @@ declare abstract class ContractInterface {
6238
6278
  * ```
6239
6279
  */
6240
6280
  abstract populate(method: string, args?: ArgsOrCalldata): Invocation;
6281
+ /**
6282
+ * Compile the calldata for a contract method, using the contract abi.
6283
+ *
6284
+ * Unlike {@link populate}, this returns only the compiled `Calldata` array, without wrapping it
6285
+ * in an `Invocation` object (no `contractAddress` nor `entrypoint`). It is the contract-bound
6286
+ * equivalent of `myCallData.compile(method, args)`.
6287
+ *
6288
+ * If `args` is already a compiled `Calldata`, it is returned as-is without recompilation.
6289
+ *
6290
+ * @param method - Name of the contract method, as defined in the abi
6291
+ * @param args - Method arguments as array (in abi order) or object (free order), or an already
6292
+ * compiled calldata
6293
+ * @returns The compiled calldata
6294
+ * @example
6295
+ * ```typescript
6296
+ * // 'amount' is a u256: the abi splits it into 2 felts automatically
6297
+ * const calldata = contract.compile('transfer', { recipient: '0x123', amount: 100n });
6298
+ * // calldata = ['0x123', '100', '0']
6299
+ * ```
6300
+ */
6301
+ abstract compile(method: string, args?: ArgsOrCalldata): Calldata;
6241
6302
  /**
6242
6303
  * Parse events from a transaction receipt using the contract's ABI
6243
6304
  *
@@ -6364,6 +6425,7 @@ declare class Contract implements ContractInterface {
6364
6425
  }): Promise<InvokeFunctionResponse>;
6365
6426
  invoke(method: string, args?: ArgsOrCalldata, options?: ExecuteOptions): Promise<InvokeFunctionResponse>;
6366
6427
  estimate(method: string, args?: ArgsOrCalldata, estimateDetails?: ExecuteOptions): Promise<EstimateFeeResponseOverhead | PaymasterFeeEstimate>;
6428
+ compile(method: string, args?: RawArgs): Calldata;
6367
6429
  populate(method: string, args?: RawArgs): Call;
6368
6430
  parseEvents(receipt: GetTransactionReceiptResponse): ParsedEvents;
6369
6431
  isCairo1(): boolean;
@@ -10147,64 +10209,69 @@ declare function units(amount: string | bigint, simbol?: 'fri' | 'strk'): string
10147
10209
  * @param {boolean} [silent_mode=false] false: request user interaction allowance. true: return only pre-allowed
10148
10210
  * @returns allowed accounts addresses
10149
10211
  */
10150
- declare function requestAccounts$1(swo: StarknetWindowObject, silent_mode?: boolean): Promise<Address[]>;
10212
+ declare function requestAccounts$2(swo: StarknetWindowObject, silent_mode?: boolean): Promise<Address[]>;
10151
10213
  /**
10152
10214
  * Request Permission for wallet account
10153
10215
  * @returns allowed accounts addresses
10154
10216
  */
10155
- declare function getPermissions$1(swo: StarknetWindowObject): Promise<Permission[]>;
10217
+ declare function getPermissions$2(swo: StarknetWindowObject): Promise<Permission[]>;
10156
10218
  /**
10157
10219
  * Request adding ERC20 Token to Wallet List
10158
10220
  * @param asset WatchAssetParameters
10159
10221
  * @returns boolean
10160
10222
  */
10161
- declare function watchAsset$1(swo: StarknetWindowObject, asset: WatchAssetParameters): Promise<boolean>;
10223
+ declare function watchAsset$2(swo: StarknetWindowObject, asset: WatchAssetParameters): Promise<boolean>;
10162
10224
  /**
10163
10225
  * Request adding custom Starknet chain
10164
10226
  * @param chain AddStarknetChainParameters
10165
10227
  * @returns boolean
10166
10228
  */
10167
- declare function addStarknetChain$1(swo: StarknetWindowObject, chain: AddStarknetChainParameters): Promise<boolean>;
10229
+ declare function addStarknetChain$2(swo: StarknetWindowObject, chain: AddStarknetChainParameters): Promise<boolean>;
10168
10230
  /**
10169
10231
  * Request Wallet Network change
10170
10232
  * @param chainId StarknetChainId
10171
10233
  * @returns boolean
10172
10234
  */
10173
- declare function switchStarknetChain$1(swo: StarknetWindowObject, chainId: ChainId): Promise<boolean>;
10235
+ declare function switchStarknetChain$2(swo: StarknetWindowObject, chainId: ChainId): Promise<boolean>;
10174
10236
  /**
10175
10237
  * Request the current chain ID from the wallet.
10176
10238
  * @returns The current Starknet chain ID.
10177
10239
  */
10178
- declare function requestChainId$1(swo: StarknetWindowObject): Promise<ChainId>;
10240
+ declare function requestChainId$2(swo: StarknetWindowObject): Promise<ChainId>;
10179
10241
  /**
10180
10242
  * Get deployment data for a contract.
10181
10243
  * @returns The deployment data result.
10182
10244
  */
10183
- declare function deploymentData$1(swo: StarknetWindowObject): Promise<AccountDeploymentData>;
10245
+ declare function deploymentData$2(swo: StarknetWindowObject): Promise<AccountDeploymentData>;
10184
10246
  /**
10185
10247
  * Add an invoke transaction to the wallet.
10186
10248
  * @param params The parameters required for the invoke transaction.
10187
10249
  * @returns The result of adding the invoke transaction.
10188
10250
  */
10189
- declare function addInvokeTransaction$1(swo: StarknetWindowObject, params: AddInvokeTransactionParameters): Promise<AddInvokeTransactionResult>;
10251
+ declare function addInvokeTransaction$2(swo: StarknetWindowObject, params: AddInvokeTransactionParameters): Promise<AddInvokeTransactionResult>;
10190
10252
  /**
10191
10253
  * Add a declare transaction to the wallet.
10192
10254
  * @param params The parameters required for the declare transaction.
10193
10255
  * @returns The result of adding the declare transaction.
10194
10256
  */
10195
- declare function addDeclareTransaction$1(swo: StarknetWindowObject, params: AddDeclareTransactionParameters): Promise<AddDeclareTransactionResult>;
10257
+ declare function addDeclareTransaction$2(swo: StarknetWindowObject, params: AddDeclareTransactionParameters): Promise<AddDeclareTransactionResult>;
10196
10258
  /**
10197
10259
  * Sign typed data using the wallet.
10198
10260
  * @param swo the starknet (wallet) window object to request the signature.
10199
10261
  * @param typedData The typed data to sign.
10200
10262
  * @returns An array of signatures as strings.
10201
10263
  */
10202
- declare function signMessage$1(swo: StarknetWindowObject, typedData: TypedData): Promise<Signature$1>;
10264
+ declare function signMessage$2(swo: StarknetWindowObject, typedData: TypedData): Promise<Signature$1>;
10203
10265
  /**
10204
10266
  * Get the list of supported specifications.
10205
10267
  * @returns An array of supported specification strings.
10206
10268
  */
10207
- declare function supportedSpecs$1(swo: StarknetWindowObject): Promise<SpecVersion[]>;
10269
+ declare function supportedSpecs$2(swo: StarknetWindowObject): Promise<SpecVersion[]>;
10270
+ /**
10271
+ * Get the list of supported wallet API versions.
10272
+ * @returns An array of supported wallet API version strings.
10273
+ */
10274
+ declare function supportedWalletApi$2(swo: StarknetWindowObject): Promise<API_VERSION$1[]>;
10208
10275
  /**
10209
10276
  * Attaches an event handler function to the "accountsChanged" event of a StarknetWindowObject.
10210
10277
  * When the accounts are changed, the specified callback function will be called.
@@ -10227,82 +10294,101 @@ declare function onNetworkChanged(swo: StarknetWindowObject, callback: NetworkCh
10227
10294
  declare const connect_onAccountChange: typeof onAccountChange;
10228
10295
  declare const connect_onNetworkChanged: typeof onNetworkChanged;
10229
10296
  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 };
10297
+ 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
10298
  }
10232
10299
 
10300
+ /**
10301
+ * Connect the DApp to the wallet through the wallet-standard `standard:connect` feature.
10302
+ *
10303
+ * Besides authorizing the accounts, this primes the wallet-standard wrapper internal
10304
+ * state (its `#account`). This priming is mandatory: the wrapper only bridges the wallet
10305
+ * legacy `accountsChanged` / `networkChanged` events to the `standard:events` "change"
10306
+ * event (consumed by {@link subscribeWalletEvent}) once it has been connected this way.
10307
+ * Without it, account/network change events never reach the DApp.
10308
+ * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10309
+ * @param {boolean} [silent_mode=false] false: request user interaction allowance. true: return only pre-allowed accounts.
10310
+ * @returns {StandardConnectOutput} the wallet-standard accounts the DApp is authorized to use.
10311
+ */
10312
+ declare function standardConnect$1(walletWSF: WalletWithStarknetFeatures, silent_mode?: boolean): Promise<StandardConnectOutput>;
10233
10313
  /**
10234
10314
  * Request Permission for wallet account, return addresses that are allowed by user
10235
10315
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10236
10316
  * @param {boolean} [silent_mode=false] false: request user interaction allowance. true: return only pre-allowed
10237
10317
  * @returns {Address[]} allowed accounts addresses
10238
10318
  */
10239
- declare function requestAccounts(walletWSF: WalletWithStarknetFeatures, silent_mode?: boolean): Promise<Address$1[]>;
10319
+ declare function requestAccounts$1(walletWSF: WalletWithStarknetFeatures, silent_mode?: boolean): Promise<Address$1[]>;
10240
10320
  /**
10241
10321
  * Request if DAPP is connected to wallet.
10242
10322
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10243
10323
  * @returns {Permission[]} "accounts" if permission granted
10244
10324
  */
10245
- declare function getPermissions(walletWSF: WalletWithStarknetFeatures): Promise<Permission$1[]>;
10325
+ declare function getPermissions$1(walletWSF: WalletWithStarknetFeatures): Promise<Permission$1[]>;
10246
10326
  /**
10247
10327
  * Request adding an ERC20 Token to the Wallet List
10248
10328
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10249
10329
  * @param {WatchAssetParameters} asset description of the token to add.
10250
10330
  * @returns {boolean} true if the token was added successfully
10251
10331
  */
10252
- declare function watchAsset(walletWSF: WalletWithStarknetFeatures, asset: WatchAssetParameters$1): Promise<boolean>;
10332
+ declare function watchAsset$1(walletWSF: WalletWithStarknetFeatures, asset: WatchAssetParameters$1): Promise<boolean>;
10253
10333
  /**
10254
10334
  * Request adding custom Starknet chain
10255
10335
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10256
10336
  * @param {AddStarknetChainParameters} chain description of the chain to add.
10257
10337
  * @returns {boolean} true if the chain was added successfully
10258
10338
  */
10259
- declare function addStarknetChain(walletWSF: WalletWithStarknetFeatures, chain: AddStarknetChainParameters$1): Promise<boolean>;
10339
+ declare function addStarknetChain$1(walletWSF: WalletWithStarknetFeatures, chain: AddStarknetChainParameters$1): Promise<boolean>;
10260
10340
  /**
10261
10341
  * Request Wallet Network change
10262
10342
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10263
10343
  * @param {ChainId} chainId encoded name of the chain requested.
10264
10344
  * @returns {boolean} true if the chain was changed successfully
10265
10345
  */
10266
- declare function switchStarknetChain(walletWSF: WalletWithStarknetFeatures, chainId: ChainId$1): Promise<boolean>;
10346
+ declare function switchStarknetChain$1(walletWSF: WalletWithStarknetFeatures, chainId: ChainId$1): Promise<boolean>;
10267
10347
  /**
10268
10348
  * Request the current chain ID from the wallet.
10269
10349
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10270
10350
  * @returns {ChainId} The current Starknet chain ID.
10271
10351
  */
10272
- declare function requestChainId(walletWSF: WalletWithStarknetFeatures): Promise<ChainId$1>;
10352
+ declare function requestChainId$1(walletWSF: WalletWithStarknetFeatures): Promise<ChainId$1>;
10273
10353
  /**
10274
10354
  * Get deployment data for a contract.
10275
10355
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10276
10356
  * @returns {AccountDeploymentData} The deployment data result.
10277
10357
  */
10278
- declare function deploymentData(walletWSF: WalletWithStarknetFeatures): Promise<AccountDeploymentData$1>;
10358
+ declare function deploymentData$1(walletWSF: WalletWithStarknetFeatures): Promise<AccountDeploymentData$1>;
10279
10359
  /**
10280
10360
  * Add an invoke transaction to the wallet.
10281
10361
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10282
10362
  * @param {AddInvokeTransactionParameters} params The parameters required for the invoke transaction.
10283
10363
  * @returns {AddInvokeTransactionResult} The result of adding the invoke transaction.
10284
10364
  */
10285
- declare function addInvokeTransaction(walletWSF: WalletWithStarknetFeatures, params: AddInvokeTransactionParameters$1): Promise<AddInvokeTransactionResult$1>;
10365
+ declare function addInvokeTransaction$1(walletWSF: WalletWithStarknetFeatures, params: AddInvokeTransactionParameters$1): Promise<AddInvokeTransactionResult$1>;
10286
10366
  /**
10287
10367
  * Add a declare transaction to the wallet.
10288
10368
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10289
10369
  * @param {AddDeclareTransactionParameters} params The parameters required for the declare transaction.
10290
10370
  * @returns {AddDeclareTransactionResult} The result of adding the declare transaction.
10291
10371
  */
10292
- declare function addDeclareTransaction(walletWSF: WalletWithStarknetFeatures, params: AddDeclareTransactionParameters$1): Promise<AddDeclareTransactionResult$1>;
10372
+ declare function addDeclareTransaction$1(walletWSF: WalletWithStarknetFeatures, params: AddDeclareTransactionParameters$1): Promise<AddDeclareTransactionResult$1>;
10293
10373
  /**
10294
10374
  * Sign typed data using the wallet.
10295
10375
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10296
10376
  * @param {TypedData} typedData The typed data to sign.
10297
10377
  * @returns {Signature} An array of signatures as strings.
10298
10378
  */
10299
- declare function signMessage(walletWSF: WalletWithStarknetFeatures, typedData: TypedData$1): Promise<Signature$2>;
10379
+ declare function signMessage$1(walletWSF: WalletWithStarknetFeatures, typedData: TypedData$1): Promise<Signature$2>;
10300
10380
  /**
10301
10381
  * Get the list of supported Wallet API specifications.
10302
10382
  * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10303
10383
  * @returns {SpecVersion[]} An array of wallet API supported specification strings.
10304
10384
  */
10305
- declare function supportedSpecs(walletWSF: WalletWithStarknetFeatures): Promise<SpecVersion$1[]>;
10385
+ declare function supportedSpecs$1(walletWSF: WalletWithStarknetFeatures): Promise<SpecVersion$1[]>;
10386
+ /**
10387
+ * Get the list of supported wallet API versions.
10388
+ * @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
10389
+ * @returns {API_VERSION[]} An array of supported wallet API version strings.
10390
+ */
10391
+ declare function supportedWalletApi$1(walletWSF: WalletWithStarknetFeatures): Promise<API_VERSION$2[]>;
10306
10392
  /**
10307
10393
  * Attaches an event handler function for the changes of network and account.
10308
10394
  * When the account/network are changed, the specified callback function will be called.
@@ -10310,22 +10396,63 @@ declare function supportedSpecs(walletWSF: WalletWithStarknetFeatures): Promise<
10310
10396
  * @param {StandardEventsChangeProperties} callback - The function to be called when the account/network are changed.
10311
10397
  * @returns {() => void} function to execute to unsubscribe events.
10312
10398
  */
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;
10399
+ declare function subscribeWalletEvent$1(walletWSF: WalletWithStarknetFeatures, callback: (change: StandardEventsChangeProperties$1) => void): () => void;
10400
+
10327
10401
  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 };
10402
+ 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 };
10403
+ }
10404
+
10405
+ /**
10406
+ * Connect the DApp to the wallet through the wallet-standard `standard:connect` feature.
10407
+ *
10408
+ * Besides authorizing the accounts, this primes the wallet-standard wrapper internal
10409
+ * state (its `#account`). This priming is mandatory: the wrapper only bridges the wallet
10410
+ * legacy `accountsChanged` / `networkChanged` events to the `standard:events` "change"
10411
+ * event (consumed by {@link subscribeWalletEvent}) once it has been connected this way.
10412
+ * Without it, account/network change events never reach the DApp.
10413
+ * @param {WalletWithStarknetFeaturesV6} walletWSF - The get-starknet V6 wallet object to use.
10414
+ * @param {boolean} [silent_mode=false] false: request user interaction allowance. true: return only pre-allowed accounts.
10415
+ * @returns {StandardConnectOutput} the wallet-standard accounts the DApp is authorized to use.
10416
+ */
10417
+ declare function standardConnect(walletWSF: WalletWithStarknetFeatures$1, silent_mode?: boolean): Promise<StandardConnectOutput>;
10418
+ declare function requestAccounts(walletWSF: WalletWithStarknetFeatures$1, silent_mode?: boolean): Promise<Address[]>;
10419
+ declare function getPermissions(walletWSF: WalletWithStarknetFeatures$1): Promise<Permission[]>;
10420
+ declare function watchAsset(walletWSF: WalletWithStarknetFeatures$1, asset: WatchAssetParameters): Promise<boolean>;
10421
+ declare function addStarknetChain(walletWSF: WalletWithStarknetFeatures$1, chain: AddStarknetChainParameters): Promise<boolean>;
10422
+ declare function switchStarknetChain(walletWSF: WalletWithStarknetFeatures$1, chainId: ChainId, silent_mode?: boolean): Promise<boolean>;
10423
+ declare function requestChainId(walletWSF: WalletWithStarknetFeatures$1): Promise<ChainId>;
10424
+ declare function deploymentData(walletWSF: WalletWithStarknetFeatures$1): Promise<AccountDeploymentData>;
10425
+ declare function addInvokeTransaction(walletWSF: WalletWithStarknetFeatures$1, params: AddInvokeTransactionParameters): Promise<AddInvokeTransactionResult>;
10426
+ declare function addDeclareTransaction(walletWSF: WalletWithStarknetFeatures$1, params: AddDeclareTransactionParameters): Promise<AddDeclareTransactionResult>;
10427
+ declare function signMessage(walletWSF: WalletWithStarknetFeatures$1, typedData: TypedData): Promise<Signature$1>;
10428
+ declare function supportedSpecs(walletWSF: WalletWithStarknetFeatures$1): Promise<SpecVersion[]>;
10429
+ declare function supportedWalletApi(walletWSF: WalletWithStarknetFeatures$1): Promise<API_VERSION$1[]>;
10430
+ declare function subscribeWalletEvent(walletWSF: WalletWithStarknetFeatures$1, callback: (change: StandardEventsChangeProperties$1) => void): () => void;
10431
+ declare function strk20Balances(walletWSF: WalletWithStarknetFeatures$1, tokens: Address[]): Promise<STRK20_BALANCE_ENTRY[]>;
10432
+ declare function strk20PrepareInvoke(walletWSF: WalletWithStarknetFeatures$1, actions: STRK20_ACTION[], simulate?: boolean): Promise<STRK20_CALL_AND_PROOF>;
10433
+ declare function strk20InvokeTransaction(walletWSF: WalletWithStarknetFeatures$1, actions: STRK20_ACTION[]): Promise<{
10434
+ transaction_hash: string;
10435
+ }>;
10436
+
10437
+ declare const connectV6_addDeclareTransaction: typeof addDeclareTransaction;
10438
+ declare const connectV6_addInvokeTransaction: typeof addInvokeTransaction;
10439
+ declare const connectV6_addStarknetChain: typeof addStarknetChain;
10440
+ declare const connectV6_deploymentData: typeof deploymentData;
10441
+ declare const connectV6_getPermissions: typeof getPermissions;
10442
+ declare const connectV6_requestAccounts: typeof requestAccounts;
10443
+ declare const connectV6_requestChainId: typeof requestChainId;
10444
+ declare const connectV6_signMessage: typeof signMessage;
10445
+ declare const connectV6_standardConnect: typeof standardConnect;
10446
+ declare const connectV6_strk20Balances: typeof strk20Balances;
10447
+ declare const connectV6_strk20InvokeTransaction: typeof strk20InvokeTransaction;
10448
+ declare const connectV6_strk20PrepareInvoke: typeof strk20PrepareInvoke;
10449
+ declare const connectV6_subscribeWalletEvent: typeof subscribeWalletEvent;
10450
+ declare const connectV6_supportedSpecs: typeof supportedSpecs;
10451
+ declare const connectV6_supportedWalletApi: typeof supportedWalletApi;
10452
+ declare const connectV6_switchStarknetChain: typeof switchStarknetChain;
10453
+ declare const connectV6_watchAsset: typeof watchAsset;
10454
+ declare namespace connectV6 {
10455
+ 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
10456
  }
10330
10457
 
10331
10458
  type DefaultConfig = typeof DEFAULT_GLOBAL_CONFIG;
@@ -10429,4 +10556,4 @@ declare class Logger {
10429
10556
  */
10430
10557
  declare const logger: Logger;
10431
10558
 
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 };
10559
+ 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 };