starknet 11.5.1 → 11.6.1

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/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as RPCSPEC0104 from '@starknet-io/starknet-types-0104';
2
- import { PAYMASTER_API, CONTRACT, EDataAvailabilityMode as EDataAvailabilityMode$1, ETransactionType, SUBSCRIPTION_BLOCK_ID, TypedData, CONTRACT_STORAGE_KEYS, StorageProof, CASM_COMPILED_CONTRACT_CLASS, OutsideExecutionTypedData, IsType, TransactionReceipt as TransactionReceipt$1, IsSucceeded, IsReverted, BLOCK_WITH_TX_HASHES, PRE_CONFIRMED_BLOCK_WITH_TX_HASHES, ETransactionVersion3 as ETransactionVersion3$1, SUBSCRIPTION_ID, NewHeadsEvent, TXN_FINALITY_STATUS, STATUS_ACCEPTED_ON_L1, StarknetEventsEvent, TransactionsStatusEvent, NewTransactionReceiptsEvent, TXN_STATUS_WITHOUT_L1, NewTransactionEvent, 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, STORAGE_RESULT, INVOKE_TXN_V3, StarknetWindowObject, AccountChangeEventHandler, NetworkChangeEventHandler, WatchAssetParameters, AddStarknetChainParameters, Signature as Signature$1, STRK20_DEPOSIT_ACTION, STRK20_WITHDRAW_ACTION, STRK20_TRANSFER_ACTION, STRK20_INVOKE_ACTION, STRK20_SHADOW_ACCOUNT_INVOKE_ACTION as STRK20_SHADOW_ACCOUNT_INVOKE_ACTION$1, STRK20_CALL_AND_PROOF as STRK20_CALL_AND_PROOF$1, STRK20_PROOF, Address, STRK20_BALANCE_ENTRY, STRK20_DAPP_NAME, FELT as FELT$1, 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, STRK20_ACTION as STRK20_ACTION$1 } from '@starknet-io/starknet-types-0104';
2
+ import { PAYMASTER_API, CONTRACT, ETransactionType, EDataAvailabilityMode as EDataAvailabilityMode$1, SUBSCRIPTION_BLOCK_ID, TypedData, CONTRACT_STORAGE_KEYS, StorageProof, CASM_COMPILED_CONTRACT_CLASS, OutsideExecutionTypedData, IsSucceeded, TransactionReceipt as TransactionReceipt$1, IsReverted, BLOCK_WITH_TX_HASHES, PRE_CONFIRMED_BLOCK_WITH_TX_HASHES, IsType, ETransactionVersion3 as ETransactionVersion3$1, SUBSCRIPTION_ID, NewHeadsEvent, TXN_FINALITY_STATUS, STATUS_ACCEPTED_ON_L1, StarknetEventsEvent, TransactionsStatusEvent, NewTransactionReceiptsEvent, TXN_STATUS_WITHOUT_L1, NewTransactionEvent, 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, STORAGE_RESULT, INVOKE_TXN_V3, StarknetWindowObject, AccountChangeEventHandler, NetworkChangeEventHandler, WatchAssetParameters, AddStarknetChainParameters, Signature as Signature$1, STRK20_DEPOSIT_ACTION, STRK20_WITHDRAW_ACTION, STRK20_TRANSFER_ACTION, STRK20_INVOKE_ACTION, STRK20_SHADOW_ACCOUNT_INVOKE_ACTION as STRK20_SHADOW_ACCOUNT_INVOKE_ACTION$1, STRK20_CALL_AND_PROOF as STRK20_CALL_AND_PROOF$1, STRK20_PROOF, Address, STRK20_BALANCE_ENTRY, STRK20_DAPP_NAME, FELT as FELT$1, EDAMode as EDAMode$1, TypedDataRevision, StarknetType, StarknetMerkleType, OutsideCallV1, OutsideCallV2, Event as Event$2, EmittedEvent as EmittedEvent$1, AddDeclareTransactionParameters, AddDeclareTransactionResult, AddInvokeTransactionParameters, AddInvokeTransactionResult, AccountDeploymentData, Permission, ChainId, SpecVersion, API_VERSION as API_VERSION$1, STRK20_ACTION as STRK20_ACTION$1 } from '@starknet-io/starknet-types-0104';
3
3
  export { STRK20_BALANCE_ENTRY, STRK20_CALLDATA_ITEM, STRK20_CALLDATA_PLACEHOLDER, STRK20_COLLECT_POLICY, STRK20_DAPP_NAME, 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-0104';
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, API_VERSION as API_VERSION$2 } from '@starknet-io/starknet-types-0101';
5
+ import { WatchAssetParameters as WatchAssetParameters$1, AddStarknetChainParameters as AddStarknetChainParameters$1, Signature as Signature$2, AddDeclareTransactionParameters as AddDeclareTransactionParameters$1, AddDeclareTransactionResult as AddDeclareTransactionResult$1, AddInvokeTransactionParameters as AddInvokeTransactionParameters$1, AddInvokeTransactionResult as AddInvokeTransactionResult$1, AccountDeploymentData as AccountDeploymentData$1, Permission as Permission$1, Address as Address$1, ChainId as ChainId$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.js';
7
7
  import { ECDSASignature } from '@noble/curves/abstract/weierstrass.js';
8
8
  import * as RPC from '@starknet-io/starknet-types-09';
@@ -16,7 +16,10 @@ import { StandardConnectOutput, StandardEventsChangeProperties as StandardEvents
16
16
 
17
17
  declare const ec_weierstrass: typeof weierstrass;
18
18
  declare namespace ec {
19
- export { starknet as starkCurve, ec_weierstrass as weierstrass };
19
+ export {
20
+ starknet as starkCurve,
21
+ ec_weierstrass as weierstrass,
22
+ };
20
23
  }
21
24
 
22
25
  type RequestBody = {
@@ -56,7 +59,12 @@ declare namespace jsonrpc {
56
59
  declare const index$8_PAYMASTER_API: typeof PAYMASTER_API;
57
60
  declare const index$8_RPCSPEC0104: typeof RPCSPEC0104;
58
61
  declare namespace index$8 {
59
- export { jsonrpc as JRPC, index$8_PAYMASTER_API as PAYMASTER_API, index$8_RPCSPEC0104 as RPCSPEC0104, RPC as RPCSPEC09 };
62
+ export {
63
+ jsonrpc as JRPC,
64
+ index$8_PAYMASTER_API as PAYMASTER_API,
65
+ index$8_RPCSPEC0104 as RPCSPEC0104,
66
+ RPC as RPCSPEC09,
67
+ };
60
68
  }
61
69
 
62
70
  type CairoEnumRaw = Record<string, any>;
@@ -1201,12 +1209,14 @@ declare abstract class ProviderInterface {
1201
1209
  * @param blockIdentifier - (optional) block identifier
1202
1210
  * @param skipValidate - (optional) skip cairo __validate__ method
1203
1211
  * @returns the estimated fee
1204
- * @deprecated Consider using getEstimateFeeBulk for multiple transactions
1212
+ * @deprecated This method only calls `getEstimateFeeBulk` with one transaction. Use
1213
+ * {@link ProviderInterface.getEstimateFeeBulk | getEstimateFeeBulk} instead (see the example).
1214
+ * This method will be removed in a future major version, not before v13.
1205
1215
  * @example
1206
1216
  * ```typescript
1207
1217
  * const feeEstimate = await provider.getInvokeEstimateFee(invocation, details);
1208
1218
  * // Equivalent to:
1209
- * const [feeEstimate] = await provider.getEstimateFeeBulk([{ type: ETransactionType.INVOKE, ...invocation, ...details }], options);
1219
+ * const [feeEstimate] = await provider.getEstimateFeeBulk([{ type: TransactionType.INVOKE, ...invocation, ...details }]);
1210
1220
  * ```
1211
1221
  * @remarks This method is an alias that calls getEstimateFeeBulk with a single transaction
1212
1222
  */
@@ -1224,12 +1234,14 @@ declare abstract class ProviderInterface {
1224
1234
  * @param blockIdentifier - (optional) block identifier
1225
1235
  * @param skipValidate - (optional) skip cairo __validate__ method
1226
1236
  * @returns the estimated fee
1227
- * @deprecated Consider using getEstimateFeeBulk for multiple transactions
1237
+ * @deprecated This method only calls `getEstimateFeeBulk` with one transaction. Use
1238
+ * {@link ProviderInterface.getEstimateFeeBulk | getEstimateFeeBulk} instead (see the example).
1239
+ * This method will be removed in a future major version, not before v13.
1228
1240
  * @example
1229
1241
  * ```typescript
1230
1242
  * const feeEstimate = await provider.getDeclareEstimateFee(transaction, details);
1231
1243
  * // Equivalent to:
1232
- * const [feeEstimate] = await provider.getEstimateFeeBulk([{ type: ETransactionType.DECLARE, ...transaction, ...details }], options);
1244
+ * const [feeEstimate] = await provider.getEstimateFeeBulk([{ type: TransactionType.DECLARE, ...transaction, ...details }]);
1233
1245
  * ```
1234
1246
  * @remarks This method is an alias that calls getEstimateFeeBulk with a single transaction
1235
1247
  */
@@ -1248,12 +1260,14 @@ declare abstract class ProviderInterface {
1248
1260
  * @param blockIdentifier - (optional) block identifier
1249
1261
  * @param skipValidate - (optional) skip cairo __validate__ method
1250
1262
  * @returns the estimated fee
1251
- * @deprecated Consider using getEstimateFeeBulk for multiple transactions
1263
+ * @deprecated This method only calls `getEstimateFeeBulk` with one transaction. Use
1264
+ * {@link ProviderInterface.getEstimateFeeBulk | getEstimateFeeBulk} instead (see the example).
1265
+ * This method will be removed in a future major version, not before v13.
1252
1266
  * @example
1253
1267
  * ```typescript
1254
1268
  * const feeEstimate = await provider.getDeployAccountEstimateFee(transaction, details);
1255
1269
  * // Equivalent to:
1256
- * const [feeEstimate] = await provider.getEstimateFeeBulk([{ type: ETransactionType.DEPLOY_ACCOUNT, ...transaction, ...details }], options);
1270
+ * const [feeEstimate] = await provider.getEstimateFeeBulk([{ type: TransactionType.DEPLOY_ACCOUNT, ...transaction, ...details }]);
1257
1271
  * ```
1258
1272
  * @remarks This method is an alias that calls getEstimateFeeBulk with a single transaction
1259
1273
  */
@@ -7961,6 +7975,7 @@ declare function btoaUniversal(b: ArrayBuffer): string;
7961
7975
  *
7962
7976
  * @param {Uint8Array} buffer The encoded Uint8Array.
7963
7977
  * @returns {string} The hex-string
7978
+ * @see {@link num.hexToBytes} Does the inverse conversion: hex-string to `Uint8Array`.
7964
7979
  *
7965
7980
  * @example
7966
7981
  * ```typescript
@@ -8195,7 +8210,27 @@ declare const encode_uint8ArrayToBigInt: typeof uint8ArrayToBigInt;
8195
8210
  declare const encode_utf8ToBigInt: typeof utf8ToBigInt;
8196
8211
  declare const encode_utf8ToUint8Array: typeof utf8ToUint8Array;
8197
8212
  declare namespace encode {
8198
- export { encode_IS_BROWSER as IS_BROWSER, encode_addHexPrefix as addHexPrefix, encode_arrayBufferToString as arrayBufferToString, encode_atobUniversal as atobUniversal, encode_bigIntToUint8Array as bigIntToUint8Array, encode_btoaUniversal as btoaUniversal, encode_buf2hex as buf2hex, encode_calcByteLength as calcByteLength, encode_concatenateArrayBuffer as concatenateArrayBuffer, encode_hexStringToUint8Array as hexStringToUint8Array, encode_padLeft as padLeft, encode_pascalToSnake as pascalToSnake, encode_removeHexPrefix as removeHexPrefix, encode_sanitizeBytes as sanitizeBytes, encode_sanitizeHex as sanitizeHex, encode_stringToUint8Array as stringToUint8Array, encode_uint8ArrayToBigInt as uint8ArrayToBigInt, encode_utf8ToBigInt as utf8ToBigInt, encode_utf8ToUint8Array as utf8ToUint8Array };
8213
+ export {
8214
+ encode_IS_BROWSER as IS_BROWSER,
8215
+ encode_addHexPrefix as addHexPrefix,
8216
+ encode_arrayBufferToString as arrayBufferToString,
8217
+ encode_atobUniversal as atobUniversal,
8218
+ encode_bigIntToUint8Array as bigIntToUint8Array,
8219
+ encode_btoaUniversal as btoaUniversal,
8220
+ encode_buf2hex as buf2hex,
8221
+ encode_calcByteLength as calcByteLength,
8222
+ encode_concatenateArrayBuffer as concatenateArrayBuffer,
8223
+ encode_hexStringToUint8Array as hexStringToUint8Array,
8224
+ encode_padLeft as padLeft,
8225
+ encode_pascalToSnake as pascalToSnake,
8226
+ encode_removeHexPrefix as removeHexPrefix,
8227
+ encode_sanitizeBytes as sanitizeBytes,
8228
+ encode_sanitizeHex as sanitizeHex,
8229
+ encode_stringToUint8Array as stringToUint8Array,
8230
+ encode_uint8ArrayToBigInt as uint8ArrayToBigInt,
8231
+ encode_utf8ToBigInt as utf8ToBigInt,
8232
+ encode_utf8ToUint8Array as utf8ToUint8Array,
8233
+ };
8199
8234
  }
8200
8235
 
8201
8236
  /**
@@ -8475,7 +8510,8 @@ declare const constants_TYPED_DATA_MAX_TYPES: typeof TYPED_DATA_MAX_TYPES;
8475
8510
  declare const constants_UDC: typeof UDC;
8476
8511
  declare const constants_ZERO: typeof ZERO;
8477
8512
  declare namespace constants {
8478
- export { constants_ADDR_BOUND as ADDR_BOUND, constants_API_VERSION as API_VERSION, type constants_ChannelDefaultOptions as ChannelDefaultOptions, type constants_ChannelDefaults as ChannelDefaults, type constants_ChannelMethodOptions as ChannelMethodOptions, constants_DEFAULT_GLOBAL_CONFIG as DEFAULT_GLOBAL_CONFIG, constants_HARDENING_4BYTES as HARDENING_4BYTES, constants_HARDENING_BYTE as HARDENING_BYTE, constants_IS_BROWSER as IS_BROWSER, constants_LegacyUDC as LegacyUDC, constants_MASK_250 as MASK_250, constants_MASK_31 as MASK_31, constants_MAX_STORAGE_ITEM_SIZE as MAX_STORAGE_ITEM_SIZE, _NetworkName as NetworkName, constants_OutsideExecutionCallerAny as OutsideExecutionCallerAny, constants_PAYMASTER_RPC_NODES as PAYMASTER_RPC_NODES, constants_PRIME as PRIME, constants_RANGE_CLASS_HASH as RANGE_CLASS_HASH, constants_RANGE_CONTRACT_ADDRESS as RANGE_CONTRACT_ADDRESS, constants_RANGE_ETH_ADDRESS as RANGE_ETH_ADDRESS, constants_RANGE_FELT as RANGE_FELT, constants_RANGE_I128 as RANGE_I128, constants_RANGE_I16 as RANGE_I16, constants_RANGE_I32 as RANGE_I32, constants_RANGE_I64 as RANGE_I64, constants_RANGE_I8 as RANGE_I8, constants_RANGE_STORAGE_ADDRESS as RANGE_STORAGE_ADDRESS, constants_RANGE_U128 as RANGE_U128, constants_RANGE_U16 as RANGE_U16, constants_RANGE_U32 as RANGE_U32, constants_RANGE_U64 as RANGE_U64, constants_RANGE_U8 as RANGE_U8, constants_RANGE_U96 as RANGE_U96, constants_RPC_DEFAULT_NODES as RPC_DEFAULT_NODES, constants_SNIP9_V1_INTERFACE_ID as SNIP9_V1_INTERFACE_ID, constants_SNIP9_V2_INTERFACE_ID as SNIP9_V2_INTERFACE_ID, constants_SN_VERSION_IMPLEMENTING_BLAKE_FOR_COMPILED_CLASS as SN_VERSION_IMPLEMENTING_BLAKE_FOR_COMPILED_CLASS, constants_SYSTEM_MESSAGES as SYSTEM_MESSAGES, _StarknetChainId as StarknetChainId, type constants_SupportedCairoVersion as SupportedCairoVersion, _SupportedRpcVersion as SupportedRpcVersion, type constants_SupportedRpcVersion0_10 as SupportedRpcVersion0_10, type constants_SupportedTransactionVersion as SupportedTransactionVersion, constants_TEXT_TO_FELT_MAX_LEN as TEXT_TO_FELT_MAX_LEN, constants_TYPED_DATA_MAX_HASHED_FELTS as TYPED_DATA_MAX_HASHED_FELTS, constants_TYPED_DATA_MAX_TYPES as TYPED_DATA_MAX_TYPES, _TransactionHashPrefix as TransactionHashPrefix, constants_UDC as UDC, constants_ZERO as ZERO };
8513
+ export { constants_ADDR_BOUND as ADDR_BOUND, constants_API_VERSION as API_VERSION, constants_DEFAULT_GLOBAL_CONFIG as DEFAULT_GLOBAL_CONFIG, constants_HARDENING_4BYTES as HARDENING_4BYTES, constants_HARDENING_BYTE as HARDENING_BYTE, constants_IS_BROWSER as IS_BROWSER, constants_LegacyUDC as LegacyUDC, constants_MASK_250 as MASK_250, constants_MASK_31 as MASK_31, constants_MAX_STORAGE_ITEM_SIZE as MAX_STORAGE_ITEM_SIZE, _NetworkName as NetworkName, constants_OutsideExecutionCallerAny as OutsideExecutionCallerAny, constants_PAYMASTER_RPC_NODES as PAYMASTER_RPC_NODES, constants_PRIME as PRIME, constants_RANGE_CLASS_HASH as RANGE_CLASS_HASH, constants_RANGE_CONTRACT_ADDRESS as RANGE_CONTRACT_ADDRESS, constants_RANGE_ETH_ADDRESS as RANGE_ETH_ADDRESS, constants_RANGE_FELT as RANGE_FELT, constants_RANGE_I128 as RANGE_I128, constants_RANGE_I16 as RANGE_I16, constants_RANGE_I32 as RANGE_I32, constants_RANGE_I64 as RANGE_I64, constants_RANGE_I8 as RANGE_I8, constants_RANGE_STORAGE_ADDRESS as RANGE_STORAGE_ADDRESS, constants_RANGE_U128 as RANGE_U128, constants_RANGE_U16 as RANGE_U16, constants_RANGE_U32 as RANGE_U32, constants_RANGE_U64 as RANGE_U64, constants_RANGE_U8 as RANGE_U8, constants_RANGE_U96 as RANGE_U96, constants_RPC_DEFAULT_NODES as RPC_DEFAULT_NODES, constants_SNIP9_V1_INTERFACE_ID as SNIP9_V1_INTERFACE_ID, constants_SNIP9_V2_INTERFACE_ID as SNIP9_V2_INTERFACE_ID, constants_SN_VERSION_IMPLEMENTING_BLAKE_FOR_COMPILED_CLASS as SN_VERSION_IMPLEMENTING_BLAKE_FOR_COMPILED_CLASS, constants_SYSTEM_MESSAGES as SYSTEM_MESSAGES, _StarknetChainId as StarknetChainId, _SupportedRpcVersion as SupportedRpcVersion, constants_TEXT_TO_FELT_MAX_LEN as TEXT_TO_FELT_MAX_LEN, constants_TYPED_DATA_MAX_HASHED_FELTS as TYPED_DATA_MAX_HASHED_FELTS, constants_TYPED_DATA_MAX_TYPES as TYPED_DATA_MAX_TYPES, _TransactionHashPrefix as TransactionHashPrefix, constants_UDC as UDC, constants_ZERO as ZERO };
8514
+ export type { constants_ChannelDefaultOptions as ChannelDefaultOptions, constants_ChannelDefaults as ChannelDefaults, constants_ChannelMethodOptions as ChannelMethodOptions, constants_SupportedCairoVersion as SupportedCairoVersion, constants_SupportedRpcVersion0_10 as SupportedRpcVersion0_10, constants_SupportedTransactionVersion as SupportedTransactionVersion };
8479
8515
  }
8480
8516
 
8481
8517
  /** What a {@link SubscriptionChannel} needs: a socket to borrow, and how much to buffer. */
@@ -8735,25 +8771,25 @@ declare class RpcChannel$3 {
8735
8771
  status: RPC.BLOCK_STATUS;
8736
8772
  } & RPC.BLOCK_HEADER & RPC.BLOCK_BODY_WITH_TX_HASHES & {}) | (RPC.BLOCK_BODY_WITH_TX_HASHES & RPC.PRE_CONFIRMED_BLOCK_HEADER & {
8737
8773
  block_hash?: undefined;
8738
- new_root?: undefined;
8739
8774
  status?: undefined;
8740
8775
  parent_hash?: undefined;
8776
+ new_root?: undefined;
8741
8777
  })>;
8742
8778
  getBlockWithTxs(blockIdentifier?: BlockIdentifier): Promise<({
8743
8779
  status: RPC.BLOCK_STATUS;
8744
8780
  } & RPC.BLOCK_HEADER & RPC.BLOCK_BODY_WITH_TXS & {}) | (RPC.BLOCK_BODY_WITH_TXS & RPC.PRE_CONFIRMED_BLOCK_HEADER & {
8745
8781
  block_hash?: undefined;
8746
- new_root?: undefined;
8747
8782
  status?: undefined;
8748
8783
  parent_hash?: undefined;
8784
+ new_root?: undefined;
8749
8785
  })>;
8750
8786
  getBlockWithReceipts(blockIdentifier?: BlockIdentifier): Promise<({
8751
8787
  status: RPC.BLOCK_STATUS;
8752
8788
  } & RPC.BLOCK_HEADER & RPC.BLOCK_BODY_WITH_RECEIPTS & {}) | (RPC.BLOCK_BODY_WITH_RECEIPTS & RPC.PRE_CONFIRMED_BLOCK_HEADER & {
8753
8789
  block_hash?: undefined;
8754
- new_root?: undefined;
8755
8790
  status?: undefined;
8756
8791
  parent_hash?: undefined;
8792
+ new_root?: undefined;
8757
8793
  })>;
8758
8794
  getBlockStateUpdate(blockIdentifier?: BlockIdentifier): Promise<(RPC.STATE_UPDATE & {}) | (RPC.PRE_CONFIRMED_STATE_UPDATE & {
8759
8795
  new_root?: undefined;
@@ -8794,8 +8830,8 @@ declare class RpcChannel$3 {
8794
8830
  getEstimateFee(invocations: AccountInvocations, options?: getEstimateFeeBulkOptions): Promise<RPC.FEE_ESTIMATE[]>;
8795
8831
  invoke(functionInvocation: Invocation, details: InvocationsDetailsWithNonce): Promise<RPC.InvokedTransaction>;
8796
8832
  invokeSignedTx(transaction: RPC.INVOKE_TXN_V3): Promise<RPC.InvokedTransaction>;
8797
- declare(declareTransaction: DeclareContractTransaction, details: InvocationsDetailsWithNonce): Promise<RPC.DeclaredTransaction | RPC.TXN_RECEIPT>;
8798
- deployAccount(deployAccountTransaction: DeployAccountContractTransaction, details: InvocationsDetailsWithNonce): Promise<RPC.DeployedAccountTransaction | RPC.TXN_RECEIPT>;
8833
+ declare(declareTransaction: DeclareContractTransaction, details: InvocationsDetailsWithNonce): Promise<RPC.TXN_RECEIPT | RPC.DeclaredTransaction>;
8834
+ deployAccount(deployAccountTransaction: DeployAccountContractTransaction, details: InvocationsDetailsWithNonce): Promise<RPC.TXN_RECEIPT | RPC.DeployedAccountTransaction>;
8799
8835
  callContract(call: Call, blockIdentifier?: BlockIdentifier): Promise<string[]>;
8800
8836
  /**
8801
8837
  * NEW: Estimate the fee for a message from L1
@@ -8833,7 +8869,8 @@ declare class SubscriptionChannel$2 extends SubscriptionChannel$3 {
8833
8869
 
8834
8870
  type index$7_SubscriptionChannelOptions = SubscriptionChannelOptions;
8835
8871
  declare namespace index$7 {
8836
- export { RpcChannel$3 as RpcChannel, SubscriptionChannel$2 as SubscriptionChannel, type index$7_SubscriptionChannelOptions as SubscriptionChannelOptions };
8872
+ export { RpcChannel$3 as RpcChannel, SubscriptionChannel$2 as SubscriptionChannel };
8873
+ export type { index$7_SubscriptionChannelOptions as SubscriptionChannelOptions };
8837
8874
  }
8838
8875
 
8839
8876
  declare class RpcChannel$2 {
@@ -8909,9 +8946,9 @@ declare class RpcChannel$2 {
8909
8946
  status: RPC$1.BLOCK_STATUS;
8910
8947
  } & RPC$1.BLOCK_HEADER & RPC$1.BLOCK_BODY_WITH_TX_HASHES & {}) | (RPC$1.BLOCK_BODY_WITH_TX_HASHES & RPC$1.PRE_CONFIRMED_BLOCK_HEADER & {
8911
8948
  block_hash?: undefined;
8912
- new_root?: undefined;
8913
8949
  status?: undefined;
8914
8950
  parent_hash?: undefined;
8951
+ new_root?: undefined;
8915
8952
  event_commitment?: undefined;
8916
8953
  transaction_commitment?: undefined;
8917
8954
  receipt_commitment?: undefined;
@@ -8932,9 +8969,9 @@ declare class RpcChannel$2 {
8932
8969
  status: RPC$1.BLOCK_STATUS;
8933
8970
  } & RPC$1.BLOCK_HEADER & RPC$1.BLOCK_BODY_WITH_TXS & {}) | (RPC$1.BLOCK_BODY_WITH_TXS & RPC$1.PRE_CONFIRMED_BLOCK_HEADER & {
8934
8971
  block_hash?: undefined;
8935
- new_root?: undefined;
8936
8972
  status?: undefined;
8937
8973
  parent_hash?: undefined;
8974
+ new_root?: undefined;
8938
8975
  event_commitment?: undefined;
8939
8976
  transaction_commitment?: undefined;
8940
8977
  receipt_commitment?: undefined;
@@ -8955,9 +8992,9 @@ declare class RpcChannel$2 {
8955
8992
  status: RPC$1.BLOCK_STATUS;
8956
8993
  } & RPC$1.BLOCK_HEADER & RPC$1.BLOCK_BODY_WITH_RECEIPTS & {}) | (RPC$1.BLOCK_BODY_WITH_RECEIPTS & RPC$1.PRE_CONFIRMED_BLOCK_HEADER & {
8957
8994
  block_hash?: undefined;
8958
- new_root?: undefined;
8959
8995
  status?: undefined;
8960
8996
  parent_hash?: undefined;
8997
+ new_root?: undefined;
8961
8998
  event_commitment?: undefined;
8962
8999
  transaction_commitment?: undefined;
8963
9000
  receipt_commitment?: undefined;
@@ -9032,7 +9069,7 @@ declare class RpcChannel$2 {
9032
9069
  invoke(functionInvocation: Invocation, details: InvocationsDetailsWithNonce): Promise<RPC$1.InvokedTransaction>;
9033
9070
  invokeSignedTx(transaction: RPC$1.INVOKE_TXN_V3): Promise<RPC$1.InvokedTransaction>;
9034
9071
  declare(declareTransaction: DeclareContractTransaction, details: InvocationsDetailsWithNonce): Promise<RPC$1.TXN_RECEIPT | RPC$1.DeclaredTransaction>;
9035
- deployAccount(deployAccountTransaction: DeployAccountContractTransaction, details: InvocationsDetailsWithNonce): Promise<RPC$1.DeployedAccountTransaction | RPC$1.TXN_RECEIPT>;
9072
+ deployAccount(deployAccountTransaction: DeployAccountContractTransaction, details: InvocationsDetailsWithNonce): Promise<RPC$1.TXN_RECEIPT | RPC$1.DeployedAccountTransaction>;
9036
9073
  callContract(call: Call, blockIdentifier?: BlockIdentifier): Promise<string[]>;
9037
9074
  /**
9038
9075
  * NEW: Estimate the fee for a message from L1
@@ -9060,7 +9097,8 @@ declare class RpcChannel$2 {
9060
9097
 
9061
9098
  type index$6_SubscriptionChannelOptions = SubscriptionChannelOptions;
9062
9099
  declare namespace index$6 {
9063
- export { RpcChannel$2 as RpcChannel, SubscriptionChannel$3 as SubscriptionChannel, type index$6_SubscriptionChannelOptions as SubscriptionChannelOptions };
9100
+ export { RpcChannel$2 as RpcChannel, SubscriptionChannel$3 as SubscriptionChannel };
9101
+ export type { index$6_SubscriptionChannelOptions as SubscriptionChannelOptions };
9064
9102
  }
9065
9103
 
9066
9104
  declare class RpcChannel$1 extends RpcChannel$2 {
@@ -9079,7 +9117,8 @@ declare class SubscriptionChannel$1 extends SubscriptionChannel$3 {
9079
9117
 
9080
9118
  type index$5_SubscriptionChannelOptions = SubscriptionChannelOptions;
9081
9119
  declare namespace index$5 {
9082
- export { RpcChannel$1 as RpcChannel, SubscriptionChannel$1 as SubscriptionChannel, type index$5_SubscriptionChannelOptions as SubscriptionChannelOptions };
9120
+ export { RpcChannel$1 as RpcChannel, SubscriptionChannel$1 as SubscriptionChannel };
9121
+ export type { index$5_SubscriptionChannelOptions as SubscriptionChannelOptions };
9083
9122
  }
9084
9123
 
9085
9124
  declare class RpcChannel extends RpcChannel$1 {
@@ -9103,7 +9142,8 @@ type index$4_SubscriptionChannel = SubscriptionChannel;
9103
9142
  declare const index$4_SubscriptionChannel: typeof SubscriptionChannel;
9104
9143
  type index$4_SubscriptionChannelOptions = SubscriptionChannelOptions;
9105
9144
  declare namespace index$4 {
9106
- export { index$4_RpcChannel as RpcChannel, index$4_SubscriptionChannel as SubscriptionChannel, type index$4_SubscriptionChannelOptions as SubscriptionChannelOptions };
9145
+ export { index$4_RpcChannel as RpcChannel, index$4_SubscriptionChannel as SubscriptionChannel };
9146
+ export type { index$4_SubscriptionChannelOptions as SubscriptionChannelOptions };
9107
9147
  }
9108
9148
 
9109
9149
  declare class CustomError extends Error {
@@ -9113,13 +9153,13 @@ declare class CustomError extends Error {
9113
9153
  declare class LibraryError extends CustomError {
9114
9154
  }
9115
9155
  declare class RpcError<BaseErrorT extends RPC_ERROR = RPC_ERROR> extends LibraryError {
9116
- readonly baseError: BaseErrorT;
9117
9156
  readonly request: {
9118
9157
  method: string;
9119
9158
  params: any;
9120
9159
  };
9160
+ readonly baseError: BaseErrorT;
9121
9161
  constructor(baseError: BaseErrorT, method: string, params: any);
9122
- get code(): 1 | 10 | 64 | 66 | 31 | 20 | 21 | 24 | 27 | 28 | 29 | 32 | 33 | 34 | 40 | 41 | 42 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 65 | 67 | 68 | 100 | 150 | 151 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 163;
9162
+ get code(): 31 | 64 | 1 | 10 | 20 | 21 | 24 | 27 | 28 | 29 | 32 | 33 | 34 | 40 | 41 | 42 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 65 | 66 | 67 | 68 | 100 | 150 | 151 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 163;
9123
9163
  /**
9124
9164
  * Verifies the underlying RPC error, also serves as a type guard for the _baseError_ property
9125
9165
  * @example
@@ -9428,9 +9468,9 @@ declare class RpcProvider implements ProviderInterface {
9428
9468
  status: RPC.BLOCK_STATUS;
9429
9469
  } & RPC.BLOCK_HEADER & RPC.BLOCK_BODY_WITH_TX_HASHES & {}) | (RPC.BLOCK_BODY_WITH_TX_HASHES & RPC.PRE_CONFIRMED_BLOCK_HEADER & {
9430
9470
  block_hash?: undefined;
9431
- new_root?: undefined;
9432
9471
  status?: undefined;
9433
9472
  parent_hash?: undefined;
9473
+ new_root?: undefined;
9434
9474
  })>;
9435
9475
  getBlockWithTxs(blockIdentifier?: BlockIdentifier, options?: {
9436
9476
  includeProofFacts?: boolean;
@@ -9438,9 +9478,9 @@ declare class RpcProvider implements ProviderInterface {
9438
9478
  status: RPC.BLOCK_STATUS;
9439
9479
  } & RPC.BLOCK_HEADER & RPC.BLOCK_BODY_WITH_TXS & {}) | (RPC.BLOCK_BODY_WITH_TXS & RPC.PRE_CONFIRMED_BLOCK_HEADER & {
9440
9480
  block_hash?: undefined;
9441
- new_root?: undefined;
9442
9481
  status?: undefined;
9443
9482
  parent_hash?: undefined;
9483
+ new_root?: undefined;
9444
9484
  })>;
9445
9485
  waitForBlock(blockIdentifier?: BlockIdentifier, retryInterval?: number): Promise<void>;
9446
9486
  getL1GasPrice(blockIdentifier?: BlockIdentifier): Promise<string>;
@@ -9462,9 +9502,9 @@ declare class RpcProvider implements ProviderInterface {
9462
9502
  status: RPC.BLOCK_STATUS;
9463
9503
  } & RPC.BLOCK_HEADER & RPC.BLOCK_BODY_WITH_RECEIPTS & {}) | (RPC.BLOCK_BODY_WITH_RECEIPTS & RPC.PRE_CONFIRMED_BLOCK_HEADER & {
9464
9504
  block_hash?: undefined;
9465
- new_root?: undefined;
9466
9505
  status?: undefined;
9467
9506
  parent_hash?: undefined;
9507
+ new_root?: undefined;
9468
9508
  })>;
9469
9509
  getStateUpdate: {
9470
9510
  (): Promise<StateUpdate>;
@@ -9580,8 +9620,82 @@ declare class RpcProvider implements ProviderInterface {
9580
9620
  getClassAt(contractAddress: BigNumberish, blockIdentifier?: BlockIdentifier): Promise<LegacyContractClass | Omit<CompiledSierra, "sierra_program_debug_info">>;
9581
9621
  getContractVersion(contractAddress: BigNumberish, classHash?: undefined, options?: getContractVersionOptions): Promise<ContractVersion>;
9582
9622
  getContractVersion(contractAddress: undefined, classHash: BigNumberish, options?: getContractVersionOptions): Promise<ContractVersion>;
9623
+ /**
9624
+ * Estimates the fee for a given INVOKE transaction
9625
+ *
9626
+ * @param invocation the invocation object containing:
9627
+ * - contractAddress - the address of the contract
9628
+ * - entrypoint - (optional) the entrypoint of the contract
9629
+ * - calldata - (optional, defaults to []) the calldata
9630
+ * - signature - (optional, defaults to []) the signature
9631
+ * @param details - optional details containing:
9632
+ * - nonce - optional nonce
9633
+ * - version - optional version
9634
+ * @param blockIdentifier - (optional) block identifier
9635
+ * @param skipValidate - (optional) skip cairo __validate__ method
9636
+ * @returns the estimated fee
9637
+ * @deprecated This method only calls `getEstimateFeeBulk` with one transaction. Use
9638
+ * {@link RpcProvider.getEstimateFeeBulk | getEstimateFeeBulk} instead (see the example).
9639
+ * This method will be removed in a future major version, not before v13.
9640
+ * @example
9641
+ * ```typescript
9642
+ * const feeEstimate = await provider.getInvokeEstimateFee(invocation, details);
9643
+ * // Equivalent to:
9644
+ * const [feeEstimate] = await provider.getEstimateFeeBulk([{ type: TransactionType.INVOKE, ...invocation, ...details }]);
9645
+ * ```
9646
+ * @remarks This method is an alias that calls getEstimateFeeBulk with a single transaction
9647
+ */
9583
9648
  getInvokeEstimateFee(invocation: Invocation, details: InvocationsDetailsWithNonce, blockIdentifier?: BlockIdentifier, skipValidate?: boolean): Promise<EstimateFeeResponseOverhead>;
9649
+ /**
9650
+ * Estimates the fee for a given DECLARE transaction
9651
+ *
9652
+ * @param invocation transaction payload to be declared containing:
9653
+ * - compiled contract code
9654
+ * - sender address
9655
+ * - signature - (defaults to []) the signature
9656
+ * @param details - optional details containing:
9657
+ * - nonce
9658
+ * - version - optional version
9659
+ * @param blockIdentifier - (optional) block identifier
9660
+ * @param skipValidate - (optional) skip cairo __validate__ method
9661
+ * @returns the estimated fee
9662
+ * @deprecated This method only calls `getEstimateFeeBulk` with one transaction. Use
9663
+ * {@link RpcProvider.getEstimateFeeBulk | getEstimateFeeBulk} instead (see the example).
9664
+ * This method will be removed in a future major version, not before v13.
9665
+ * @example
9666
+ * ```typescript
9667
+ * const feeEstimate = await provider.getDeclareEstimateFee(transaction, details);
9668
+ * // Equivalent to:
9669
+ * const [feeEstimate] = await provider.getEstimateFeeBulk([{ type: TransactionType.DECLARE, ...transaction, ...details }]);
9670
+ * ```
9671
+ * @remarks This method is an alias that calls getEstimateFeeBulk with a single transaction
9672
+ */
9584
9673
  getDeclareEstimateFee(invocation: DeclareContractTransaction, details: InvocationsDetailsWithNonce, blockIdentifier?: BlockIdentifier, skipValidate?: boolean): Promise<EstimateFeeResponseOverhead>;
9674
+ /**
9675
+ * Estimates the fee for a given DEPLOY_ACCOUNT transaction
9676
+ *
9677
+ * @param invocation transaction payload to be deployed containing:
9678
+ * - classHash
9679
+ * - constructorCalldata
9680
+ * - addressSalt
9681
+ * - signature - (defaults to []) the signature
9682
+ * @param details - optional details containing:
9683
+ * - nonce
9684
+ * - version - optional version
9685
+ * @param blockIdentifier - (optional) block identifier
9686
+ * @param skipValidate - (optional) skip cairo __validate__ method
9687
+ * @returns the estimated fee
9688
+ * @deprecated This method only calls `getEstimateFeeBulk` with one transaction. Use
9689
+ * {@link RpcProvider.getEstimateFeeBulk | getEstimateFeeBulk} instead (see the example).
9690
+ * This method will be removed in a future major version, not before v13.
9691
+ * @example
9692
+ * ```typescript
9693
+ * const feeEstimate = await provider.getDeployAccountEstimateFee(transaction, details);
9694
+ * // Equivalent to:
9695
+ * const [feeEstimate] = await provider.getEstimateFeeBulk([{ type: TransactionType.DEPLOY_ACCOUNT, ...transaction, ...details }]);
9696
+ * ```
9697
+ * @remarks This method is an alias that calls getEstimateFeeBulk with a single transaction
9698
+ */
9585
9699
  getDeployAccountEstimateFee(invocation: DeployAccountContractTransaction, details: InvocationsDetailsWithNonce, blockIdentifier?: BlockIdentifier, skipValidate?: boolean): Promise<EstimateFeeResponseOverhead>;
9586
9700
  getEstimateFeeBulk(invocations: AccountInvocations, options?: getEstimateFeeBulkOptions): Promise<EstimateFeeResponseBulkOverhead>;
9587
9701
  invokeFunction(functionInvocation: Invocation, details: InvocationsDetailsWithNonce): Promise<{
@@ -9616,8 +9730,8 @@ declare class RpcProvider implements ProviderInterface {
9616
9730
  transaction_hash: string;
9617
9731
  }>;
9618
9732
  declareContract(transaction: DeclareContractTransaction, details: InvocationsDetailsWithNonce): Promise<{
9619
- class_hash: string;
9620
9733
  transaction_hash: string;
9734
+ class_hash: string;
9621
9735
  }>;
9622
9736
  deployAccountContract(transaction: DeployAccountContractTransaction, details: InvocationsDetailsWithNonce): Promise<{
9623
9737
  contract_address: string;
@@ -9706,7 +9820,7 @@ declare class WebSocketProvider extends RpcProvider {
9706
9820
  */
9707
9821
  static create<T extends RpcProvider = WebSocketProvider>(this: any, optionsOrProvider?: RpcProviderOptions): Promise<T>;
9708
9822
  }
9709
- declare module './ws' {
9823
+ declare module "./index" {
9710
9824
  interface WebSocketProvider {
9711
9825
  [Symbol.dispose](): void;
9712
9826
  }
@@ -9987,7 +10101,7 @@ type WalletAccountV6Options = {
9987
10101
 
9988
10102
  /**
9989
10103
  * @deprecated Use {@link WalletAccountV6} (get-starknet v6) instead. This class is kept only for
9990
- * DAPPs that are still on get-starknet v4.
10104
+ * DAPPs that are still on get-starknet v4. It will be removed in v12.
9991
10105
  *
9992
10106
  * @remarks
9993
10107
  * Account that lets a wallet sign and send the transactions, using get-starknet v4.
@@ -10800,7 +10914,35 @@ declare const cairo_isTypeUint256: typeof isTypeUint256;
10800
10914
  declare const cairo_tuple: typeof tuple;
10801
10915
  declare const cairo_uint512: typeof uint512;
10802
10916
  declare namespace cairo {
10803
- export { cairo_felt as felt, cairo_getAbiContractVersion as getAbiContractVersion, cairo_getArrayType as getArrayType, cairo_isCairo1Abi as isCairo1Abi, cairo_isCairo1Type as isCairo1Type, cairo_isLen as isLen, cairo_isTypeArray as isTypeArray, cairo_isTypeBool as isTypeBool, cairo_isTypeContractAddress as isTypeContractAddress, cairo_isTypeEnum as isTypeEnum, cairo_isTypeEthAddress as isTypeEthAddress, cairo_isTypeFelt as isTypeFelt, cairo_isTypeInt as isTypeInt, cairo_isTypeLiteral as isTypeLiteral, cairo_isTypeNamedTuple as isTypeNamedTuple, cairo_isTypeNonZero as isTypeNonZero, cairo_isTypeOption as isTypeOption, cairo_isTypeResult as isTypeResult, cairo_isTypeSecp256k1Point as isTypeSecp256k1Point, cairo_isTypeStruct as isTypeStruct, cairo_isTypeTuple as isTypeTuple, cairo_isTypeU96 as isTypeU96, cairo_isTypeUint as isTypeUint, cairo_isTypeUint256 as isTypeUint256, cairo_tuple as tuple, uint256$1 as uint256, cairo_uint512 as uint512 };
10917
+ export {
10918
+ cairo_felt as felt,
10919
+ cairo_getAbiContractVersion as getAbiContractVersion,
10920
+ cairo_getArrayType as getArrayType,
10921
+ cairo_isCairo1Abi as isCairo1Abi,
10922
+ cairo_isCairo1Type as isCairo1Type,
10923
+ cairo_isLen as isLen,
10924
+ cairo_isTypeArray as isTypeArray,
10925
+ cairo_isTypeBool as isTypeBool,
10926
+ cairo_isTypeContractAddress as isTypeContractAddress,
10927
+ cairo_isTypeEnum as isTypeEnum,
10928
+ cairo_isTypeEthAddress as isTypeEthAddress,
10929
+ cairo_isTypeFelt as isTypeFelt,
10930
+ cairo_isTypeInt as isTypeInt,
10931
+ cairo_isTypeLiteral as isTypeLiteral,
10932
+ cairo_isTypeNamedTuple as isTypeNamedTuple,
10933
+ cairo_isTypeNonZero as isTypeNonZero,
10934
+ cairo_isTypeOption as isTypeOption,
10935
+ cairo_isTypeResult as isTypeResult,
10936
+ cairo_isTypeSecp256k1Point as isTypeSecp256k1Point,
10937
+ cairo_isTypeStruct as isTypeStruct,
10938
+ cairo_isTypeTuple as isTypeTuple,
10939
+ cairo_isTypeU96 as isTypeU96,
10940
+ cairo_isTypeUint as isTypeUint,
10941
+ cairo_isTypeUint256 as isTypeUint256,
10942
+ cairo_tuple as tuple,
10943
+ uint256$1 as uint256,
10944
+ cairo_uint512 as uint512,
10945
+ };
10804
10946
  }
10805
10947
 
10806
10948
  /**
@@ -10838,7 +10980,10 @@ declare function byteArrayFromString(targetString: string): ByteArray;
10838
10980
  declare const byteArray_byteArrayFromString: typeof byteArrayFromString;
10839
10981
  declare const byteArray_stringFromByteArray: typeof stringFromByteArray;
10840
10982
  declare namespace byteArray {
10841
- export { byteArray_byteArrayFromString as byteArrayFromString, byteArray_stringFromByteArray as stringFromByteArray };
10983
+ export {
10984
+ byteArray_byteArrayFromString as byteArrayFromString,
10985
+ byteArray_stringFromByteArray as stringFromByteArray,
10986
+ };
10842
10987
  }
10843
10988
 
10844
10989
  /**
@@ -11530,7 +11675,15 @@ declare const selector_keccakBn: typeof keccakBn;
11530
11675
  declare const selector_solidityUint256PackedKeccak256: typeof solidityUint256PackedKeccak256;
11531
11676
  declare const selector_starknetKeccak: typeof starknetKeccak;
11532
11677
  declare namespace selector {
11533
- export { selector_getL1MessageHash as getL1MessageHash, selector_getL2MessageHash as getL2MessageHash, selector_getSelector as getSelector, selector_getSelectorFromName as getSelectorFromName, selector_keccakBn as keccakBn, selector_solidityUint256PackedKeccak256 as solidityUint256PackedKeccak256, selector_starknetKeccak as starknetKeccak };
11678
+ export {
11679
+ selector_getL1MessageHash as getL1MessageHash,
11680
+ selector_getL2MessageHash as getL2MessageHash,
11681
+ selector_getSelector as getSelector,
11682
+ selector_getSelectorFromName as getSelectorFromName,
11683
+ selector_keccakBn as keccakBn,
11684
+ selector_solidityUint256PackedKeccak256 as solidityUint256PackedKeccak256,
11685
+ selector_starknetKeccak as starknetKeccak,
11686
+ };
11534
11687
  }
11535
11688
 
11536
11689
  /**
@@ -11865,7 +12018,41 @@ declare const index$3_nullSkipReplacer: typeof nullSkipReplacer;
11865
12018
  declare const index$3_solidityUint256PackedKeccak256: typeof solidityUint256PackedKeccak256;
11866
12019
  declare const index$3_starknetKeccak: typeof starknetKeccak;
11867
12020
  declare namespace index$3 {
11868
- export { index$3_COMPILED_CLASS_VERSION as COMPILED_CLASS_VERSION, index$3_blake2sHashMany as blake2sHashMany, index$3_calculateContractAddressFromHash as calculateContractAddressFromHash, calculateDeclareTransactionHash$1 as calculateDeclareTransactionHash, calculateDeployAccountTransactionHash$1 as calculateDeployAccountTransactionHash, calculateInvokeTransactionHash$1 as calculateInvokeTransactionHash, index$3_calculateL2MessageTxHash as calculateL2MessageTxHash, index$3_computeCompiledClassHash as computeCompiledClassHash, index$3_computeCompiledClassHashBlake as computeCompiledClassHashBlake, index$3_computeCompiledClassHashPoseidon as computeCompiledClassHashPoseidon, index$3_computeContractClassHash as computeContractClassHash, index$3_computeHashOnElements as computeHashOnElements, index$3_computeHintedClassHash as computeHintedClassHash, index$3_computeLegacyContractClassHash as computeLegacyContractClassHash, index$3_computePedersenHash as computePedersenHash, index$3_computePedersenHashOnElements as computePedersenHashOnElements, index$3_computePoseidonHash as computePoseidonHash, index$3_computePoseidonHashOnElements as computePoseidonHashOnElements, index$3_computeSierraContractClassHash as computeSierraContractClassHash, index$3_encodeBuiltins as encodeBuiltins, index$3_flattenEntryPointData as flattenEntryPointData, index$3_formatSpaces as formatSpaces, index$3_getL1MessageHash as getL1MessageHash, index$3_getL2MessageHash as getL2MessageHash, index$3_getSelector as getSelector, index$3_getSelectorFromName as getSelectorFromName, index$3_hashByteCodeSegments as hashByteCodeSegments, index$3_hashByteCodeSegmentsBlake as hashByteCodeSegmentsBlake, index$3_keccakBn as keccakBn, index$3_nullSkipReplacer as nullSkipReplacer, poseidon_js as poseidon, index$3_solidityUint256PackedKeccak256 as solidityUint256PackedKeccak256, index$3_starknetKeccak as starknetKeccak };
12021
+ export {
12022
+ index$3_COMPILED_CLASS_VERSION as COMPILED_CLASS_VERSION,
12023
+ index$3_blake2sHashMany as blake2sHashMany,
12024
+ index$3_calculateContractAddressFromHash as calculateContractAddressFromHash,
12025
+ calculateDeclareTransactionHash$1 as calculateDeclareTransactionHash,
12026
+ calculateDeployAccountTransactionHash$1 as calculateDeployAccountTransactionHash,
12027
+ calculateInvokeTransactionHash$1 as calculateInvokeTransactionHash,
12028
+ index$3_calculateL2MessageTxHash as calculateL2MessageTxHash,
12029
+ index$3_computeCompiledClassHash as computeCompiledClassHash,
12030
+ index$3_computeCompiledClassHashBlake as computeCompiledClassHashBlake,
12031
+ index$3_computeCompiledClassHashPoseidon as computeCompiledClassHashPoseidon,
12032
+ index$3_computeContractClassHash as computeContractClassHash,
12033
+ index$3_computeHashOnElements as computeHashOnElements,
12034
+ index$3_computeHintedClassHash as computeHintedClassHash,
12035
+ index$3_computeLegacyContractClassHash as computeLegacyContractClassHash,
12036
+ index$3_computePedersenHash as computePedersenHash,
12037
+ index$3_computePedersenHashOnElements as computePedersenHashOnElements,
12038
+ index$3_computePoseidonHash as computePoseidonHash,
12039
+ index$3_computePoseidonHashOnElements as computePoseidonHashOnElements,
12040
+ index$3_computeSierraContractClassHash as computeSierraContractClassHash,
12041
+ index$3_encodeBuiltins as encodeBuiltins,
12042
+ index$3_flattenEntryPointData as flattenEntryPointData,
12043
+ index$3_formatSpaces as formatSpaces,
12044
+ index$3_getL1MessageHash as getL1MessageHash,
12045
+ index$3_getL2MessageHash as getL2MessageHash,
12046
+ index$3_getSelector as getSelector,
12047
+ index$3_getSelectorFromName as getSelectorFromName,
12048
+ index$3_hashByteCodeSegments as hashByteCodeSegments,
12049
+ index$3_hashByteCodeSegmentsBlake as hashByteCodeSegmentsBlake,
12050
+ index$3_keccakBn as keccakBn,
12051
+ index$3_nullSkipReplacer as nullSkipReplacer,
12052
+ poseidon_js as poseidon,
12053
+ index$3_solidityUint256PackedKeccak256 as solidityUint256PackedKeccak256,
12054
+ index$3_starknetKeccak as starknetKeccak,
12055
+ };
11869
12056
  }
11870
12057
 
11871
12058
  /**
@@ -11920,7 +12107,17 @@ declare const v3_encodeResourceBoundsL2: typeof encodeResourceBoundsL2;
11920
12107
  declare const v3_hashDAMode: typeof hashDAMode;
11921
12108
  declare const v3_hashFeeFieldV3B3: typeof hashFeeFieldV3B3;
11922
12109
  declare namespace v3 {
11923
- export { v3_calculateDeclareTransactionHash as calculateDeclareTransactionHash, v3_calculateDeployAccountTransactionHash as calculateDeployAccountTransactionHash, v3_calculateInvokeTransactionHash as calculateInvokeTransactionHash, v3_calculateTransactionHashCommon as calculateTransactionHashCommon, v3_encodeDataResourceBoundsL1 as encodeDataResourceBoundsL1, v3_encodeResourceBoundsL1 as encodeResourceBoundsL1, v3_encodeResourceBoundsL2 as encodeResourceBoundsL2, v3_hashDAMode as hashDAMode, v3_hashFeeFieldV3B3 as hashFeeFieldV3B3 };
12110
+ export {
12111
+ v3_calculateDeclareTransactionHash as calculateDeclareTransactionHash,
12112
+ v3_calculateDeployAccountTransactionHash as calculateDeployAccountTransactionHash,
12113
+ v3_calculateInvokeTransactionHash as calculateInvokeTransactionHash,
12114
+ v3_calculateTransactionHashCommon as calculateTransactionHashCommon,
12115
+ v3_encodeDataResourceBoundsL1 as encodeDataResourceBoundsL1,
12116
+ v3_encodeResourceBoundsL1 as encodeResourceBoundsL1,
12117
+ v3_encodeResourceBoundsL2 as encodeResourceBoundsL2,
12118
+ v3_hashDAMode as hashDAMode,
12119
+ v3_hashFeeFieldV3B3 as hashFeeFieldV3B3,
12120
+ };
11924
12121
  }
11925
12122
 
11926
12123
  /**
@@ -11975,7 +12172,11 @@ declare const json_parse: typeof parse;
11975
12172
  declare const json_parseAlwaysAsBig: typeof parseAlwaysAsBig;
11976
12173
  declare const json_stringify: typeof stringify;
11977
12174
  declare namespace json {
11978
- export { json_parse as parse, json_parseAlwaysAsBig as parseAlwaysAsBig, json_stringify as stringify };
12175
+ export {
12176
+ json_parse as parse,
12177
+ json_parseAlwaysAsBig as parseAlwaysAsBig,
12178
+ json_stringify as stringify,
12179
+ };
11979
12180
  }
11980
12181
 
11981
12182
  /**
@@ -12211,6 +12412,7 @@ declare function toCairoBool(value: boolean): string;
12211
12412
  * @param {string} str hex-string
12212
12413
  * @returns {Uint8Array} array containing the converted elements
12213
12414
  * @throws str must be a hex-string
12415
+ * @see {@link encode.buf2hex} Does the inverse conversion: `Uint8Array` to hex-string.
12214
12416
  * @example
12215
12417
  * ```typescript
12216
12418
  * let result;
@@ -12332,7 +12534,32 @@ declare const num_toHexString: typeof toHexString;
12332
12534
  declare const num_toStorageKey: typeof toStorageKey;
12333
12535
  declare const num_tryToBigInt: typeof tryToBigInt;
12334
12536
  declare namespace num {
12335
- export { num_addPercent as addPercent, num_assertInRange as assertInRange, num_bigNumberishArrayToDecimalStringArray as bigNumberishArrayToDecimalStringArray, num_bigNumberishArrayToHexadecimalStringArray as bigNumberishArrayToHexadecimalStringArray, num_cleanHex as cleanHex, num_getDecimalString as getDecimalString, num_getHexString as getHexString, num_getHexStringArray as getHexStringArray, num_getNext as getNext, num_hexToBytes as hexToBytes, num_hexToDecimalString as hexToDecimalString, num_isBigNumberish as isBigNumberish, num_isEmptyHex as isEmptyHex, num_isHex as isHex, num_isHexString as isHexString, num_isStringWholeNumber as isStringWholeNumber, num_stringToSha256ToArrayBuff4 as stringToSha256ToArrayBuff4, num_toBigInt as toBigInt, num_toCairoBool as toCairoBool, num_toHex as toHex, num_toHex64 as toHex64, num_toHexString as toHexString, num_toStorageKey as toStorageKey, num_tryToBigInt as tryToBigInt };
12537
+ export {
12538
+ num_addPercent as addPercent,
12539
+ num_assertInRange as assertInRange,
12540
+ num_bigNumberishArrayToDecimalStringArray as bigNumberishArrayToDecimalStringArray,
12541
+ num_bigNumberishArrayToHexadecimalStringArray as bigNumberishArrayToHexadecimalStringArray,
12542
+ num_cleanHex as cleanHex,
12543
+ num_getDecimalString as getDecimalString,
12544
+ num_getHexString as getHexString,
12545
+ num_getHexStringArray as getHexStringArray,
12546
+ num_getNext as getNext,
12547
+ num_hexToBytes as hexToBytes,
12548
+ num_hexToDecimalString as hexToDecimalString,
12549
+ num_isBigNumberish as isBigNumberish,
12550
+ num_isEmptyHex as isEmptyHex,
12551
+ num_isHex as isHex,
12552
+ num_isHexString as isHexString,
12553
+ num_isStringWholeNumber as isStringWholeNumber,
12554
+ num_stringToSha256ToArrayBuff4 as stringToSha256ToArrayBuff4,
12555
+ num_toBigInt as toBigInt,
12556
+ num_toCairoBool as toCairoBool,
12557
+ num_toHex as toHex,
12558
+ num_toHex64 as toHex64,
12559
+ num_toHexString as toHexString,
12560
+ num_toStorageKey as toStorageKey,
12561
+ num_tryToBigInt as tryToBigInt,
12562
+ };
12336
12563
  }
12337
12564
 
12338
12565
  /**
@@ -12482,7 +12709,14 @@ declare const index$2_getExecuteCalldata: typeof getExecuteCalldata;
12482
12709
  declare const index$2_getVersionsByType: typeof getVersionsByType;
12483
12710
  declare const index$2_transformCallsToMulticallArrays: typeof transformCallsToMulticallArrays;
12484
12711
  declare namespace index$2 {
12485
- export { index$2_fromCallsToExecuteCalldata as fromCallsToExecuteCalldata, index$2_fromCallsToExecuteCalldata_cairo1 as fromCallsToExecuteCalldata_cairo1, index$2_getCompiledCalldata as getCompiledCalldata, index$2_getExecuteCalldata as getExecuteCalldata, index$2_getVersionsByType as getVersionsByType, index$2_transformCallsToMulticallArrays as transformCallsToMulticallArrays };
12712
+ export {
12713
+ index$2_fromCallsToExecuteCalldata as fromCallsToExecuteCalldata,
12714
+ index$2_fromCallsToExecuteCalldata_cairo1 as fromCallsToExecuteCalldata_cairo1,
12715
+ index$2_getCompiledCalldata as getCompiledCalldata,
12716
+ index$2_getExecuteCalldata as getExecuteCalldata,
12717
+ index$2_getVersionsByType as getVersionsByType,
12718
+ index$2_transformCallsToMulticallArrays as transformCallsToMulticallArrays,
12719
+ };
12486
12720
  }
12487
12721
 
12488
12722
  type V3Details = Required<Pick<UniversalDetails, 'tip' | 'paymasterData' | 'accountDeploymentData' | 'nonceDataAvailabilityMode' | 'feeDataAvailabilityMode' | 'resourceBounds'>> & Partial<Pick<UniversalDetails, 'proofFacts' | 'proof'>>;
@@ -12856,7 +13090,31 @@ declare const index$1_toTransactionVersion: typeof toTransactionVersion;
12856
13090
  declare const index$1_v3Details: typeof v3Details;
12857
13091
  declare const index$1_zeroResourceBounds: typeof zeroResourceBounds;
12858
13092
  declare namespace index$1 {
12859
- export { index$1_ZeroFeeEstimate as ZeroFeeEstimate, index$1_compressProgram as compressProgram, index$1_decodeProof as decodeProof, index$1_decompressProgram as decompressProgram, index$1_encodeProof as encodeProof, index$1_formatSignature as formatSignature, index$1_getFullPublicKey as getFullPublicKey, index$1_getSharedSecret as getSharedSecret, index$1_intDAM as intDAM, index$1_randomAddress as randomAddress, index$1_randomFelt as randomFelt, index$1_randomStarkPrivateKey as randomStarkPrivateKey, index$1_resourceBoundsToBigInt as resourceBoundsToBigInt, index$1_resourceBoundsToEstimateFeeResponse as resourceBoundsToEstimateFeeResponse, index$1_resourceBoundsToHexString as resourceBoundsToHexString, index$1_signatureToDecimalArray as signatureToDecimalArray, index$1_signatureToHexArray as signatureToHexArray, index$1_toFeeVersion as toFeeVersion, index$1_toOverheadOverallFee as toOverheadOverallFee, index$1_toOverheadResourceBounds as toOverheadResourceBounds, index$1_toTransactionVersion as toTransactionVersion, index$1_v3Details as v3Details, index$1_zeroResourceBounds as zeroResourceBounds };
13093
+ export {
13094
+ index$1_ZeroFeeEstimate as ZeroFeeEstimate,
13095
+ index$1_compressProgram as compressProgram,
13096
+ index$1_decodeProof as decodeProof,
13097
+ index$1_decompressProgram as decompressProgram,
13098
+ index$1_encodeProof as encodeProof,
13099
+ index$1_formatSignature as formatSignature,
13100
+ index$1_getFullPublicKey as getFullPublicKey,
13101
+ index$1_getSharedSecret as getSharedSecret,
13102
+ index$1_intDAM as intDAM,
13103
+ index$1_randomAddress as randomAddress,
13104
+ index$1_randomFelt as randomFelt,
13105
+ index$1_randomStarkPrivateKey as randomStarkPrivateKey,
13106
+ index$1_resourceBoundsToBigInt as resourceBoundsToBigInt,
13107
+ index$1_resourceBoundsToEstimateFeeResponse as resourceBoundsToEstimateFeeResponse,
13108
+ index$1_resourceBoundsToHexString as resourceBoundsToHexString,
13109
+ index$1_signatureToDecimalArray as signatureToDecimalArray,
13110
+ index$1_signatureToHexArray as signatureToHexArray,
13111
+ index$1_toFeeVersion as toFeeVersion,
13112
+ index$1_toOverheadOverallFee as toOverheadOverallFee,
13113
+ index$1_toOverheadResourceBounds as toOverheadResourceBounds,
13114
+ index$1_toTransactionVersion as toTransactionVersion,
13115
+ index$1_v3Details as v3Details,
13116
+ index$1_zeroResourceBounds as zeroResourceBounds,
13117
+ };
12860
13118
  }
12861
13119
 
12862
13120
  /**
@@ -12884,7 +13142,10 @@ declare function validateAndParseEthAddress(address: BigNumberish): string;
12884
13142
  declare const eth_ethRandomPrivateKey: typeof ethRandomPrivateKey;
12885
13143
  declare const eth_validateAndParseEthAddress: typeof validateAndParseEthAddress;
12886
13144
  declare namespace eth {
12887
- export { eth_ethRandomPrivateKey as ethRandomPrivateKey, eth_validateAndParseEthAddress as validateAndParseEthAddress };
13145
+ export {
13146
+ eth_ethRandomPrivateKey as ethRandomPrivateKey,
13147
+ eth_validateAndParseEthAddress as validateAndParseEthAddress,
13148
+ };
12888
13149
  }
12889
13150
 
12890
13151
  declare class MerkleTree {
@@ -12978,7 +13239,10 @@ type merkle_MerkleTree = MerkleTree;
12978
13239
  declare const merkle_MerkleTree: typeof MerkleTree;
12979
13240
  declare const merkle_proofMerklePath: typeof proofMerklePath;
12980
13241
  declare namespace merkle {
12981
- export { merkle_MerkleTree as MerkleTree, merkle_proofMerklePath as proofMerklePath };
13242
+ export {
13243
+ merkle_MerkleTree as MerkleTree,
13244
+ merkle_proofMerklePath as proofMerklePath,
13245
+ };
12982
13246
  }
12983
13247
 
12984
13248
  /**
@@ -13025,7 +13289,11 @@ declare const uint256_bnToUint256: typeof bnToUint256;
13025
13289
  declare const uint256_isUint256: typeof isUint256;
13026
13290
  declare const uint256_uint256ToBN: typeof uint256ToBN;
13027
13291
  declare namespace uint256 {
13028
- export { uint256_bnToUint256 as bnToUint256, uint256_isUint256 as isUint256, uint256_uint256ToBN as uint256ToBN };
13292
+ export {
13293
+ uint256_bnToUint256 as bnToUint256,
13294
+ uint256_isUint256 as isUint256,
13295
+ uint256_uint256ToBN as uint256ToBN,
13296
+ };
13029
13297
  }
13030
13298
 
13031
13299
  /**
@@ -13120,7 +13388,15 @@ declare const shortString_isShortText: typeof isShortText;
13120
13388
  declare const shortString_isText: typeof isText;
13121
13389
  declare const shortString_splitLongString: typeof splitLongString;
13122
13390
  declare namespace shortString {
13123
- export { shortString_isASCII as isASCII, shortString_isDecimalString as isDecimalString, shortString_isLongText as isLongText, shortString_isShortString as isShortString, shortString_isShortText as isShortText, shortString_isText as isText, shortString_splitLongString as splitLongString };
13391
+ export {
13392
+ shortString_isASCII as isASCII,
13393
+ shortString_isDecimalString as isDecimalString,
13394
+ shortString_isLongText as isLongText,
13395
+ shortString_isShortString as isShortString,
13396
+ shortString_isShortText as isShortText,
13397
+ shortString_isText as isText,
13398
+ shortString_splitLongString as splitLongString,
13399
+ };
13124
13400
  }
13125
13401
 
13126
13402
  interface Context {
@@ -13383,7 +13659,19 @@ declare const typedData_prepareSelector: typeof prepareSelector;
13383
13659
  declare const typedData_validateTypedData: typeof validateTypedData;
13384
13660
  declare const typedData_verifyMessage: typeof verifyMessage;
13385
13661
  declare namespace typedData {
13386
- export { typedData_encodeData as encodeData, typedData_encodeType as encodeType, typedData_encodeValue as encodeValue, typedData_getDependencies as getDependencies, typedData_getMessageHash as getMessageHash, typedData_getStructHash as getStructHash, typedData_getTypeHash as getTypeHash, typedData_isMerkleTreeType as isMerkleTreeType, typedData_prepareSelector as prepareSelector, typedData_validateTypedData as validateTypedData, typedData_verifyMessage as verifyMessage };
13662
+ export {
13663
+ typedData_encodeData as encodeData,
13664
+ typedData_encodeType as encodeType,
13665
+ typedData_encodeValue as encodeValue,
13666
+ typedData_getDependencies as getDependencies,
13667
+ typedData_getMessageHash as getMessageHash,
13668
+ typedData_getStructHash as getStructHash,
13669
+ typedData_getTypeHash as getTypeHash,
13670
+ typedData_isMerkleTreeType as isMerkleTreeType,
13671
+ typedData_prepareSelector as prepareSelector,
13672
+ typedData_validateTypedData as validateTypedData,
13673
+ typedData_verifyMessage as verifyMessage,
13674
+ };
13387
13675
  }
13388
13676
 
13389
13677
  /**
@@ -13608,7 +13896,26 @@ declare const starknetId_isStarkDomain: typeof isStarkDomain;
13608
13896
  declare const starknetId_useDecoded: typeof useDecoded;
13609
13897
  declare const starknetId_useEncoded: typeof useEncoded;
13610
13898
  declare namespace starknetId {
13611
- export { starknetId_StarknetIdContract as StarknetIdContract, starknetId_StarknetIdIdentityContract as StarknetIdIdentityContract, starknetId_StarknetIdMulticallContract as StarknetIdMulticallContract, starknetId_StarknetIdPfpContract as StarknetIdPfpContract, starknetId_StarknetIdPopContract as StarknetIdPopContract, starknetId_StarknetIdVerifierContract as StarknetIdVerifierContract, starknetId_dynamicCallData as dynamicCallData, starknetId_dynamicFelt as dynamicFelt, starknetId_execution as execution, starknetId_getStarknetIdContract as getStarknetIdContract, starknetId_getStarknetIdIdentityContract as getStarknetIdIdentityContract, starknetId_getStarknetIdMulticallContract as getStarknetIdMulticallContract, starknetId_getStarknetIdPfpContract as getStarknetIdPfpContract, starknetId_getStarknetIdPopContract as getStarknetIdPopContract, starknetId_getStarknetIdVerifierContract as getStarknetIdVerifierContract, starknetId_isStarkDomain as isStarkDomain, starknetId_useDecoded as useDecoded, starknetId_useEncoded as useEncoded };
13899
+ export {
13900
+ starknetId_StarknetIdContract as StarknetIdContract,
13901
+ starknetId_StarknetIdIdentityContract as StarknetIdIdentityContract,
13902
+ starknetId_StarknetIdMulticallContract as StarknetIdMulticallContract,
13903
+ starknetId_StarknetIdPfpContract as StarknetIdPfpContract,
13904
+ starknetId_StarknetIdPopContract as StarknetIdPopContract,
13905
+ starknetId_StarknetIdVerifierContract as StarknetIdVerifierContract,
13906
+ starknetId_dynamicCallData as dynamicCallData,
13907
+ starknetId_dynamicFelt as dynamicFelt,
13908
+ starknetId_execution as execution,
13909
+ starknetId_getStarknetIdContract as getStarknetIdContract,
13910
+ starknetId_getStarknetIdIdentityContract as getStarknetIdIdentityContract,
13911
+ starknetId_getStarknetIdMulticallContract as getStarknetIdMulticallContract,
13912
+ starknetId_getStarknetIdPfpContract as getStarknetIdPfpContract,
13913
+ starknetId_getStarknetIdPopContract as getStarknetIdPopContract,
13914
+ starknetId_getStarknetIdVerifierContract as getStarknetIdVerifierContract,
13915
+ starknetId_isStarkDomain as isStarkDomain,
13916
+ starknetId_useDecoded as useDecoded,
13917
+ starknetId_useEncoded as useEncoded,
13918
+ };
13612
13919
  }
13613
13920
 
13614
13921
  /**
@@ -13662,7 +13969,11 @@ declare const utils_assertCallsAreStrictlyEqual: typeof assertCallsAreStrictlyEq
13662
13969
  declare const utils_assertPaymasterTransactionSafety: typeof assertPaymasterTransactionSafety;
13663
13970
  declare const utils_getDefaultPaymasterNodeUrl: typeof getDefaultPaymasterNodeUrl;
13664
13971
  declare namespace utils {
13665
- export { utils_assertCallsAreStrictlyEqual as assertCallsAreStrictlyEqual, utils_assertPaymasterTransactionSafety as assertPaymasterTransactionSafety, utils_getDefaultPaymasterNodeUrl as getDefaultPaymasterNodeUrl };
13972
+ export {
13973
+ utils_assertCallsAreStrictlyEqual as assertCallsAreStrictlyEqual,
13974
+ utils_assertPaymasterTransactionSafety as assertPaymasterTransactionSafety,
13975
+ utils_getDefaultPaymasterNodeUrl as getDefaultPaymasterNodeUrl,
13976
+ };
13666
13977
  }
13667
13978
 
13668
13979
  /**
@@ -13753,7 +14064,7 @@ declare function getDefaultNodes(rpcVersion: _SupportedRpcVersion): {
13753
14064
  * @returns {SupportedRpcVersion[]} available RPC versions
13754
14065
  */
13755
14066
  declare function getSupportedRpcVersions(): _SupportedRpcVersion[];
13756
- declare const validBlockTags: ("pre_confirmed" | "latest" | "l1_accepted")[];
14067
+ declare const validBlockTags: ("latest" | "pre_confirmed" | "l1_accepted")[];
13757
14068
  /**
13758
14069
  * This class is formatting the identifier of a block.
13759
14070
  *
@@ -13836,7 +14147,17 @@ declare const provider_parseContract: typeof parseContract;
13836
14147
  declare const provider_validBlockTags: typeof validBlockTags;
13837
14148
  declare const provider_wait: typeof wait;
13838
14149
  declare namespace provider {
13839
- export { provider_Block as Block, provider_createSierraContractClass as createSierraContractClass, provider_extractAbi as extractAbi, provider_getDefaultNodeUrl as getDefaultNodeUrl, provider_getDefaultNodes as getDefaultNodes, provider_getSupportedRpcVersions as getSupportedRpcVersions, provider_parseContract as parseContract, provider_validBlockTags as validBlockTags, provider_wait as wait };
14150
+ export {
14151
+ provider_Block as Block,
14152
+ provider_createSierraContractClass as createSierraContractClass,
14153
+ provider_extractAbi as extractAbi,
14154
+ provider_getDefaultNodeUrl as getDefaultNodeUrl,
14155
+ provider_getDefaultNodes as getDefaultNodes,
14156
+ provider_getSupportedRpcVersions as getSupportedRpcVersions,
14157
+ provider_parseContract as parseContract,
14158
+ provider_validBlockTags as validBlockTags,
14159
+ provider_wait as wait,
14160
+ };
13840
14161
  }
13841
14162
 
13842
14163
  /**
@@ -13947,7 +14268,14 @@ declare const index_getEmittedEvents: typeof getEmittedEvents;
13947
14268
  declare const index_isAbiEvent: typeof isAbiEvent;
13948
14269
  declare const index_parseEvents: typeof parseEvents;
13949
14270
  declare namespace index {
13950
- export { index_addGetByPathMethod as addGetByPathMethod, index_filterEventsByAddress as filterEventsByAddress, index_getAbiEvents as getAbiEvents, index_getEmittedEvents as getEmittedEvents, index_isAbiEvent as isAbiEvent, index_parseEvents as parseEvents };
14271
+ export {
14272
+ index_addGetByPathMethod as addGetByPathMethod,
14273
+ index_filterEventsByAddress as filterEventsByAddress,
14274
+ index_getAbiEvents as getAbiEvents,
14275
+ index_getEmittedEvents as getEmittedEvents,
14276
+ index_isAbiEvent as isAbiEvent,
14277
+ index_parseEvents as parseEvents,
14278
+ };
13951
14279
  }
13952
14280
 
13953
14281
  declare function toOutsideCallV2(call: OutsideCallV1 | OutsideCallV2): OutsideCallV2;
@@ -14066,7 +14394,13 @@ declare const outsideExecution_getOutsideCall: typeof getOutsideCall;
14066
14394
  declare const outsideExecution_getTypedData: typeof getTypedData;
14067
14395
  declare const outsideExecution_toOutsideCallV2: typeof toOutsideCallV2;
14068
14396
  declare namespace outsideExecution {
14069
- export { outsideExecution_buildExecuteFromOutsideCall as buildExecuteFromOutsideCall, outsideExecution_buildExecuteFromOutsideCallData as buildExecuteFromOutsideCallData, outsideExecution_getOutsideCall as getOutsideCall, outsideExecution_getTypedData as getTypedData, outsideExecution_toOutsideCallV2 as toOutsideCallV2 };
14397
+ export {
14398
+ outsideExecution_buildExecuteFromOutsideCall as buildExecuteFromOutsideCall,
14399
+ outsideExecution_buildExecuteFromOutsideCallData as buildExecuteFromOutsideCallData,
14400
+ outsideExecution_getOutsideCall as getOutsideCall,
14401
+ outsideExecution_getTypedData as getTypedData,
14402
+ outsideExecution_toOutsideCallV2 as toOutsideCallV2,
14403
+ };
14070
14404
  }
14071
14405
 
14072
14406
  /**
@@ -14087,7 +14421,9 @@ declare function supportsInterface(provider: RpcProvider, contractAddress: BigNu
14087
14421
 
14088
14422
  declare const src5_supportsInterface: typeof supportsInterface;
14089
14423
  declare namespace src5 {
14090
- export { src5_supportsInterface as supportsInterface };
14424
+ export {
14425
+ src5_supportsInterface as supportsInterface,
14426
+ };
14091
14427
  }
14092
14428
 
14093
14429
  /**
@@ -18179,57 +18515,87 @@ declare function units(amount: string | bigint, simbol?: 'fri' | 'strk'): string
18179
18515
 
18180
18516
  /**
18181
18517
  * Request Permission for wallet account, return addresses that are allowed by user
18518
+ * @deprecated This function works only with get-starknet v4. Use
18519
+ * {@link walletV6.requestAccounts} (get-starknet v6) instead. The `wallet` namespace will be
18520
+ * removed in v12.
18182
18521
  * @param {boolean} [silent_mode=false] false: request user interaction allowance. true: return only pre-allowed
18183
18522
  * @returns allowed accounts addresses
18184
18523
  */
18185
18524
  declare function requestAccounts$2(swo: StarknetWindowObject, silent_mode?: boolean): Promise<Address[]>;
18186
18525
  /**
18187
18526
  * Request Permission for wallet account
18527
+ * @deprecated This function works only with get-starknet v4. Use
18528
+ * {@link walletV6.getPermissions} (get-starknet v6) instead. The `wallet` namespace will be
18529
+ * removed in v12.
18188
18530
  * @returns allowed accounts addresses
18189
18531
  */
18190
18532
  declare function getPermissions$2(swo: StarknetWindowObject): Promise<Permission[]>;
18191
18533
  /**
18192
18534
  * Request adding ERC20 Token to Wallet List
18535
+ * @deprecated This function works only with get-starknet v4. Use
18536
+ * {@link walletV6.watchAsset} (get-starknet v6) instead. The `wallet` namespace will be
18537
+ * removed in v12.
18193
18538
  * @param asset WatchAssetParameters
18194
18539
  * @returns boolean
18195
18540
  */
18196
18541
  declare function watchAsset$2(swo: StarknetWindowObject, asset: WatchAssetParameters): Promise<boolean>;
18197
18542
  /**
18198
18543
  * Request adding custom Starknet chain
18544
+ * @deprecated This function works only with get-starknet v4. Use
18545
+ * {@link walletV6.addStarknetChain} (get-starknet v6) instead. The `wallet` namespace will be
18546
+ * removed in v12.
18199
18547
  * @param chain AddStarknetChainParameters
18200
18548
  * @returns boolean
18201
18549
  */
18202
18550
  declare function addStarknetChain$2(swo: StarknetWindowObject, chain: AddStarknetChainParameters): Promise<boolean>;
18203
18551
  /**
18204
18552
  * Request Wallet Network change
18553
+ * @deprecated This function works only with get-starknet v4. Use
18554
+ * {@link walletV6.switchStarknetChain} (get-starknet v6) instead. The `wallet` namespace will be
18555
+ * removed in v12.
18205
18556
  * @param chainId StarknetChainId
18206
18557
  * @returns boolean
18207
18558
  */
18208
18559
  declare function switchStarknetChain$2(swo: StarknetWindowObject, chainId: ChainId): Promise<boolean>;
18209
18560
  /**
18210
18561
  * Request the current chain ID from the wallet.
18562
+ * @deprecated This function works only with get-starknet v4. Use
18563
+ * {@link walletV6.requestChainId} (get-starknet v6) instead. The `wallet` namespace will be
18564
+ * removed in v12.
18211
18565
  * @returns The current Starknet chain ID.
18212
18566
  */
18213
18567
  declare function requestChainId$2(swo: StarknetWindowObject): Promise<ChainId>;
18214
18568
  /**
18215
18569
  * Get deployment data for a contract.
18570
+ * @deprecated This function works only with get-starknet v4. Use
18571
+ * {@link walletV6.deploymentData} (get-starknet v6) instead. The `wallet` namespace will be
18572
+ * removed in v12.
18216
18573
  * @returns The deployment data result.
18217
18574
  */
18218
18575
  declare function deploymentData$2(swo: StarknetWindowObject): Promise<AccountDeploymentData>;
18219
18576
  /**
18220
18577
  * Add an invoke transaction to the wallet.
18578
+ * @deprecated This function works only with get-starknet v4. Use
18579
+ * {@link walletV6.addInvokeTransaction} (get-starknet v6) instead. The `wallet` namespace will be
18580
+ * removed in v12.
18221
18581
  * @param params The parameters required for the invoke transaction.
18222
18582
  * @returns The result of adding the invoke transaction.
18223
18583
  */
18224
18584
  declare function addInvokeTransaction$2(swo: StarknetWindowObject, params: AddInvokeTransactionParameters): Promise<AddInvokeTransactionResult>;
18225
18585
  /**
18226
18586
  * Add a declare transaction to the wallet.
18587
+ * @deprecated This function works only with get-starknet v4. Use
18588
+ * {@link walletV6.addDeclareTransaction} (get-starknet v6) instead. The `wallet` namespace will be
18589
+ * removed in v12.
18227
18590
  * @param params The parameters required for the declare transaction.
18228
18591
  * @returns The result of adding the declare transaction.
18229
18592
  */
18230
18593
  declare function addDeclareTransaction$2(swo: StarknetWindowObject, params: AddDeclareTransactionParameters): Promise<AddDeclareTransactionResult>;
18231
18594
  /**
18232
18595
  * Sign typed data using the wallet.
18596
+ * @deprecated This function works only with get-starknet v4. Use
18597
+ * {@link walletV6.signMessage} (get-starknet v6) instead. The `wallet` namespace will be
18598
+ * removed in v12.
18233
18599
  * @param swo the starknet (wallet) window object to request the signature.
18234
18600
  * @param typedData The typed data to sign.
18235
18601
  * @returns An array of signatures as strings.
@@ -18237,11 +18603,17 @@ declare function addDeclareTransaction$2(swo: StarknetWindowObject, params: AddD
18237
18603
  declare function signMessage$2(swo: StarknetWindowObject, typedData: TypedData): Promise<Signature$1>;
18238
18604
  /**
18239
18605
  * Get the list of supported specifications.
18606
+ * @deprecated This function works only with get-starknet v4. Use
18607
+ * {@link walletV6.supportedSpecs} (get-starknet v6) instead. The `wallet` namespace will be
18608
+ * removed in v12.
18240
18609
  * @returns An array of supported specification strings.
18241
18610
  */
18242
18611
  declare function supportedSpecs$2(swo: StarknetWindowObject): Promise<SpecVersion[]>;
18243
18612
  /**
18244
18613
  * Get the list of supported wallet API versions.
18614
+ * @deprecated This function works only with get-starknet v4. Use
18615
+ * {@link walletV6.supportedWalletApi} (get-starknet v6) instead. The `wallet` namespace will be
18616
+ * removed in v12.
18245
18617
  * @returns An array of supported wallet API version strings.
18246
18618
  */
18247
18619
  declare function supportedWalletApi$2(swo: StarknetWindowObject): Promise<API_VERSION$1[]>;
@@ -18249,6 +18621,9 @@ declare function supportedWalletApi$2(swo: StarknetWindowObject): Promise<API_VE
18249
18621
  * Attaches an event handler function to the "accountsChanged" event of a StarknetWindowObject.
18250
18622
  * When the accounts are changed, the specified callback function will be called.
18251
18623
  *
18624
+ * @deprecated This function works only with get-starknet v4. Use
18625
+ * {@link walletV6.subscribeWalletEvent} (get-starknet v6) instead. Its callback is called for a
18626
+ * change of account and for a change of network. The `wallet` namespace will be removed in v12.
18252
18627
  * @param {StarknetWindowObject} swo - The StarknetWindowObject to attach the event handler to.
18253
18628
  * @param {AccountChangeEventHandler} callback - The function to be called when the accounts are changed.
18254
18629
  * It will receive the changed accounts as a parameter.
@@ -18258,6 +18633,9 @@ declare function onAccountChange(swo: StarknetWindowObject, callback: AccountCha
18258
18633
  /**
18259
18634
  * Register a callback function to be called when the network is changed.
18260
18635
  *
18636
+ * @deprecated This function works only with get-starknet v4. Use
18637
+ * {@link walletV6.subscribeWalletEvent} (get-starknet v6) instead. Its callback is called for a
18638
+ * change of account and for a change of network. The `wallet` namespace will be removed in v12.
18261
18639
  * @param {StarknetWindowObject} swo - The StarknetWindowObject instance.
18262
18640
  * @param {NetworkChangeEventHandler} callback - The callback function to be called when the network is changed.
18263
18641
  * @return {void}
@@ -18267,7 +18645,22 @@ declare function onNetworkChanged(swo: StarknetWindowObject, callback: NetworkCh
18267
18645
  declare const connect_onAccountChange: typeof onAccountChange;
18268
18646
  declare const connect_onNetworkChanged: typeof onNetworkChanged;
18269
18647
  declare namespace connect {
18270
- 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 };
18648
+ export {
18649
+ addDeclareTransaction$2 as addDeclareTransaction,
18650
+ addInvokeTransaction$2 as addInvokeTransaction,
18651
+ addStarknetChain$2 as addStarknetChain,
18652
+ deploymentData$2 as deploymentData,
18653
+ getPermissions$2 as getPermissions,
18654
+ connect_onAccountChange as onAccountChange,
18655
+ connect_onNetworkChanged as onNetworkChanged,
18656
+ requestAccounts$2 as requestAccounts,
18657
+ requestChainId$2 as requestChainId,
18658
+ signMessage$2 as signMessage,
18659
+ supportedSpecs$2 as supportedSpecs,
18660
+ supportedWalletApi$2 as supportedWalletApi,
18661
+ switchStarknetChain$2 as switchStarknetChain,
18662
+ watchAsset$2 as watchAsset,
18663
+ };
18271
18664
  }
18272
18665
 
18273
18666
  /**
@@ -18372,7 +18765,22 @@ declare function supportedWalletApi$1(walletWSF: WalletWithStarknetFeatures): Pr
18372
18765
  declare function subscribeWalletEvent$1(walletWSF: WalletWithStarknetFeatures, callback: (change: StandardEventsChangeProperties$1) => void): () => void;
18373
18766
 
18374
18767
  declare namespace connectV5 {
18375
- 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 };
18768
+ export {
18769
+ addDeclareTransaction$1 as addDeclareTransaction,
18770
+ addInvokeTransaction$1 as addInvokeTransaction,
18771
+ addStarknetChain$1 as addStarknetChain,
18772
+ deploymentData$1 as deploymentData,
18773
+ getPermissions$1 as getPermissions,
18774
+ requestAccounts$1 as requestAccounts,
18775
+ requestChainId$1 as requestChainId,
18776
+ signMessage$1 as signMessage,
18777
+ standardConnect$1 as standardConnect,
18778
+ subscribeWalletEvent$1 as subscribeWalletEvent,
18779
+ supportedSpecs$1 as supportedSpecs,
18780
+ supportedWalletApi$1 as supportedWalletApi,
18781
+ switchStarknetChain$1 as switchStarknetChain,
18782
+ watchAsset$1 as watchAsset,
18783
+ };
18376
18784
  }
18377
18785
 
18378
18786
  /**
@@ -18462,7 +18870,26 @@ declare const connectV6_supportedWalletApi: typeof supportedWalletApi;
18462
18870
  declare const connectV6_switchStarknetChain: typeof switchStarknetChain;
18463
18871
  declare const connectV6_watchAsset: typeof watchAsset;
18464
18872
  declare namespace connectV6 {
18465
- 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_strk20ShadowAccountCommitment as strk20ShadowAccountCommitment, connectV6_subscribeWalletEvent as subscribeWalletEvent, connectV6_supportedSpecs as supportedSpecs, connectV6_supportedWalletApi as supportedWalletApi, connectV6_switchStarknetChain as switchStarknetChain, connectV6_watchAsset as watchAsset };
18873
+ export {
18874
+ connectV6_addDeclareTransaction as addDeclareTransaction,
18875
+ connectV6_addInvokeTransaction as addInvokeTransaction,
18876
+ connectV6_addStarknetChain as addStarknetChain,
18877
+ connectV6_deploymentData as deploymentData,
18878
+ connectV6_getPermissions as getPermissions,
18879
+ connectV6_requestAccounts as requestAccounts,
18880
+ connectV6_requestChainId as requestChainId,
18881
+ connectV6_signMessage as signMessage,
18882
+ connectV6_standardConnect as standardConnect,
18883
+ connectV6_strk20Balances as strk20Balances,
18884
+ connectV6_strk20InvokeTransaction as strk20InvokeTransaction,
18885
+ connectV6_strk20PrepareInvoke as strk20PrepareInvoke,
18886
+ connectV6_strk20ShadowAccountCommitment as strk20ShadowAccountCommitment,
18887
+ connectV6_subscribeWalletEvent as subscribeWalletEvent,
18888
+ connectV6_supportedSpecs as supportedSpecs,
18889
+ connectV6_supportedWalletApi as supportedWalletApi,
18890
+ connectV6_switchStarknetChain as switchStarknetChain,
18891
+ connectV6_watchAsset as watchAsset,
18892
+ };
18466
18893
  }
18467
18894
 
18468
18895
  type DefaultConfig = typeof DEFAULT_GLOBAL_CONFIG;
@@ -18566,4 +18993,5 @@ declare class Logger {
18566
18993
  */
18567
18994
  declare const logger: Logger;
18568
18995
 
18569
- export { type Abi, type AbiEntry, type AbiEntryType, type AbiEnum, type AbiEnums, type AbiEvent, type AbiEvents, type AbiInterfaces, AbiParser0, 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 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, CairoArray, type CairoAssembly, CairoBool, CairoByteArray, CairoBytes31, CairoClassHash, type CairoContract, CairoContractAddress, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, CairoEthAddress, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoFelt252, CairoFixedArray, CairoInt128, CairoInt16, CairoInt32, CairoInt64, CairoInt8, CairoNonZero, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoSecp256k1Point, CairoStorageAddress, CairoStruct, CairoTuple, type CairoType, CairoTypeCustomEnum, CairoTypeOption, CairoTypeResult, type CairoTypeStrategy, 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, EDAMode, EDataAvailabilityMode, ESubscriptionTag, ETH_ADDRESS, ETraceFlag, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, 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, HttpTransport, type HttpTransportOptions, 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 PaymasterAccountMethods, 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, Provider, type ProviderHooks, ProviderInterface, type ProviderOptions, type ProviderOrAccount, type PythonicHints, type RESOURCE_PRICE, index$8 as RPC, index$6 as RPC0102, index$5 as RPC0103, index$4 as RPC0104, index$7 as RPC09, RPCResponseParser, type RPC_ERROR, type RPC_ERROR_SET, type RawArgs, type RawArgsArray, type RawArgsObject, type RawCalldata, type Receipt, type ReconnectOptions, ReconnectingWsTransport, type ReconnectingWsTransportOptions, type RequiredKeysOf, type ResourceBounds, type ResourceBoundsBN, type ResourceBoundsOverhead, ResponseParser, type RevertedTransactionReceiptResponse, type RevertedTransactionReceiptResponseHelper, RpcChannel, RpcError, type RpcNotification, RpcProvider, type RpcProviderOptions, type RpcTransport, SECP256K1_POINT_MAX, SECP256K1_POINT_MIN, type SIMULATION_FLAG, type STATE_UPDATE, type STRK20_ACTION, type STRK20_CALL_AND_PROOF, type STRK20_SHADOW_ACCOUNT_INVOKE_ACTION, type Secp256k1PointStruct, 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 SubscriptionOwner, 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, type VariantType, WalletAccount, WalletAccountV5, WalletAccountV6, WebSocketChannel, type WebSocketModule, WebSocketNotConnectedError, type WebSocketOptions, WebSocketProvider, type WebSocketProviderOptions, type WeierstrassSignatureType, type WithOptions, WsTransport, type WsTransportOptions, type WsTransportState, addAddressPadding, brotherId, byteArray, cairo, cairoTypeStrategy, compareVersions, config, constants, contractClassResponseToLegacyCompiledContract, contractLoader, createAbiParser, createTransactionReceipt, defaultDeployer, defaultPlugins, ec, encode, enumStrategy, eth, index as events, extractContractHashes, fastCairoTypeStrategy, 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, isCairoType, isFileSystemAvailable, isNoConstructorValid, isPreConfirmedBlock, isPreConfirmedStateUpdate, isPreConfirmedTransaction, isRPC08Plus_ResourceBounds, isRPC08Plus_ResourceBoundsBN, isSierra, isSupportedSpecVersion, isV3Tx, isVersion, json, legacyDeployer, logger, merkle, num, outsideExecution, parseCalldataField, utils as paymaster, paymasterPlugin, provider, selector, shortString, src5, index$1 as stark, starknetId, starknetId$1 as starknetIdPlugin, structStrategy, toAnyPatchVersion, toApiVersion, toReleaseVersion, index$2 as transaction, typedData, uint256, units, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, verifyMessageInStarknet, type waitForTransactionOptions, connect as wallet, connectV5 as walletV5, connectV6 as walletV6 };
18996
+ export { AbiParser0, AbiParser1, AbiParser2, AbiParserInterface, Account, AccountInterface, BatchClient, BlockStatus, BlockTag, BrotherIdImpl, CairoArray, CairoBool, CairoByteArray, CairoBytes31, CairoClassHash, CairoContractAddress, CairoCustomEnum, CairoEthAddress, CairoFelt252, CairoFixedArray, CairoInt128, CairoInt16, CairoInt32, CairoInt64, CairoInt8, CairoNonZero, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoSecp256k1Point, CairoStorageAddress, CairoStruct, CairoTuple, CairoTypeCustomEnum, CairoTypeOption, CairoTypeResult, CairoUint128, CairoUint16, CairoUint256, CairoUint32, CairoUint512, CairoUint64, CairoUint8, CairoUint96, CallData, Contract, ContractInterface, Deployer, DeployerInterface, EDAMode, EDataAvailabilityMode, ESubscriptionTag, ETH_ADDRESS, ETraceFlag, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, ETransactionVersion3, ETxnResponseFlag, EntryPointType, EthSigner, HttpTransport, Int, LedgerSigner111 as LedgerSigner, LedgerSigner111, LedgerSigner221, LedgerSigner231, LibraryError, Literal, LogLevelIndex, NON_ZERO_PREFIX, OutsideExecutionTypesV1, OutsideExecutionTypesV2, OutsideExecutionVersion, PaymasterInterface, PaymasterRpc, PluginManager, Provider, ProviderInterface, index$8 as RPC, index$6 as RPC0102, index$5 as RPC0103, index$4 as RPC0104, index$7 as RPC09, RPCResponseParser, ReconnectingWsTransport, ResponseParser, RpcChannel, RpcError, RpcProvider, SECP256K1_POINT_MAX, SECP256K1_POINT_MIN, Signer, SignerInterface, StarknetIdImpl, Subscription, TimeoutError, TransactionExecutionStatus, TransactionFinalityStatus, TransactionType, 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, ValidateType, WalletAccount, WalletAccountV5, WalletAccountV6, WebSocketChannel, WebSocketNotConnectedError, WebSocketProvider, WsTransport, addAddressPadding, brotherId, byteArray, cairo, cairoTypeStrategy, compareVersions, config, constants, contractClassResponseToLegacyCompiledContract, contractLoader, createAbiParser, createTransactionReceipt, defaultDeployer, defaultPlugins, ec, encode, enumStrategy, eth, index as events, extractContractHashes, fastCairoTypeStrategy, fastExecute, fastParsingStrategy, getAbiVersion, getChecksumAddress, getGasPrices, getLedgerPathBuffer111 as getLedgerPathBuffer, getLedgerPathBuffer111, getLedgerPathBuffer221, getTipStatsFromBlocks, index$3 as hash, hdParsingStrategy, isAccount, isCairoType, isFileSystemAvailable, isNoConstructorValid, isPreConfirmedBlock, isPreConfirmedStateUpdate, isPreConfirmedTransaction, isRPC08Plus_ResourceBounds, isRPC08Plus_ResourceBoundsBN, isSierra, isSupportedSpecVersion, isV3Tx, isVersion, json, legacyDeployer, logger, merkle, num, outsideExecution, parseCalldataField, utils as paymaster, paymasterPlugin, provider, selector, shortString, src5, index$1 as stark, starknetId, starknetId$1 as starknetIdPlugin, structStrategy, toAnyPatchVersion, toApiVersion, toReleaseVersion, index$2 as transaction, typedData, uint256, units, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, verifyMessageInStarknet, connect as wallet, connectV5 as walletV5, connectV6 as walletV6 };
18997
+ export type { Abi, AbiEntry, AbiEntryType, AbiEnum, AbiEnums, AbiEvent, AbiEvents, AbiInterfaces, AbiStruct, AbiStructs, AccountHooks, AccountInvocationItem, AccountInvocations, AccountInvocationsFactoryDetails, AccountOptions, AllowArray, ApiEstimateFeeResponse, Args, ArgsOrCalldata, ArraySignatureType, AsyncContractFunction, BLOCK_HASH, BLOCK_NUMBER, BatchClientOptions, BigNumberish, Block$1 as Block, BlockIdentifier, BlockNumber, BlockTransactionTrace, BlockTransactionsTracesWithInitialReads, BlockWithTxHashes, BrotherIdProviderMethods, BrotherProfile, Builtins, ByteArray, ByteCode, CairoAssembly, CairoContract, CairoEnum, CairoEnumRaw, CairoEvent, CairoEventDefinition, CairoEventVariant, CairoType, CairoTypeStrategy, CairoVersion, Call, CallContractResponse, CallDetails, CallOptions, CallResult, Calldata, CommonContractOptions, CompiledContract, CompiledSierra, CompiledSierraCasm, CompilerVersion, CompleteDeclareContractPayload, CompressedProgram, ContractClass, ContractClassIdentifier, ContractClassPayload, ContractClassResponse, ContractEntryPointFields, ContractFunction, ContractOptions, ContractVersion, DeclareAndDeployContractPayload, DeclareContractPayload, DeclareContractResponse, DeclareContractTransaction, DeclareDeployUDCResponse, DeclareSignerDetails, DeclareTransactionReceiptResponse, DeclaredTransaction, DeployAccountContractPayload, DeployAccountContractTransaction, DeployAccountSignerDetails, DeployAccountTransactionReceiptResponse, DeployAndInvokeTransaction, DeployContractResponse, DeployContractUDCResponse, DeployTransaction, DeployTransactionReceiptResponse, DeployedAccountTransaction, DeployerCall, EVENTS_CHUNK, EmittedEvent, EntryPointsByType, ErrorReceiptResponseHelper, EstimateFeeBulk, EstimateFeeResponseBulkOverhead, EstimateFeeResponseOverhead, Event$1 as Event, EventEntry, EventFilter, ExecutableDeployAndInvokeTransaction, ExecutableDeployTransaction, ExecutableInvokeTransaction, ExecutableUserInvoke, ExecutableUserTransaction, ExecuteOptions, ExecutionParameters, FEE_ESTIMATE, FELT, FactoryParams, FastExecuteAccountMethods, FastExecuteProviderMethods, FastExecuteResponse, FastWaitForTransactionOptions, FeeEstimate, FeeMode, FormatResponse, FunctionAbi, GasPrices, GetBlockResponse, GetTransactionReceiptResponse, GetTransactionResponse, GetTxReceiptResponseWithoutHelper, HexCalldata, Hint, HttpTransportOptions, INITIAL_READS, InterfaceAbi, Invocation, Invocations, InvocationsDetails, InvocationsDetailsWithNonce, InvocationsSignerDetails, InvokeFunctionResponse, InvokeTransaction, InvokeTransactionReceiptResponse, InvokedTransaction, L1HandlerTransactionReceiptResponse, L1_HANDLER_TXN, LedgerPathCalculation, LegacyCompiledContract, LegacyContractClass, LegacyEvent, LoadedContract, LogLevel, Methods, MultiDeployContractResponse, MultiType, Nonce, OptionalPayload, OutsideCall, OutsideExecution, OutsideExecutionOptions, OutsideTransaction, PRE_CONFIRMED_STATE_UPDATE, PRICE_UNIT, ParsedEvent, ParsedEvents, ParsedStruct, ParsingStrategy, PaymasterAccountMethods, PaymasterDetails, PaymasterFeeEstimate, PaymasterOptions, PaymasterRpcOptions, PaymasterTimeBounds, PluginConfig, PreConfirmedBlock, PreConfirmedStateUpdate, PreparedDeployAndInvokeTransaction, PreparedDeployTransaction, PreparedInvokeTransaction, PreparedTransaction, Program, ProviderHooks, ProviderOptions, ProviderOrAccount, PythonicHints, RESOURCE_PRICE, RPC_ERROR, RPC_ERROR_SET, RawArgs, RawArgsArray, RawArgsObject, RawCalldata, Receipt, ReconnectOptions, ReconnectingWsTransportOptions, RequiredKeysOf, ResourceBounds, ResourceBoundsBN, ResourceBoundsOverhead, RevertedTransactionReceiptResponse, RevertedTransactionReceiptResponseHelper, RpcNotification, RpcProviderOptions, RpcTransport, SIMULATION_FLAG, STATE_UPDATE, STRK20_ACTION, STRK20_CALL_AND_PROOF, STRK20_SHADOW_ACCOUNT_INVOKE_ACTION, Secp256k1PointStruct, SierraContractClass, SierraContractEntryPointFields, SierraEntryPointsByType, SierraProgramDebugInfo, Signature, Simplify, SimulateTransaction, SimulateTransactionDetails, SimulateTransactionOverhead, SimulateTransactionOverheadResponse, SimulateTransactionResponse, SimulationFlags, StarkProfile, StarknetIdAccountMethods, StarknetIdProviderMethods, StarknetPlugin, StateUpdate, StateUpdateResponse, StorageResponse, SubscribeEventsParams, SubscribeNewHeadsParams, SubscribeNewTransactionReceiptsParams, SubscribeNewTransactionsParams, SubscribeTransactionStatusParams, SubscriptionBlockIdentifier, SubscriptionNewHeadsEvent, SubscriptionNewTransactionEvent, SubscriptionNewTransactionReceiptsEvent, SubscriptionOptions, SubscriptionOwner, SubscriptionStarknetEventsEvent, SubscriptionTransactionStatusEvent, SuccessfulTransactionReceiptResponse, SuccessfulTransactionReceiptResponseHelper, TXN_EXECUTION_STATUS, TXN_HASH, TXN_STATUS, TipAnalysisOptions, TipEstimate, TipType, TokenData, TransactionReceipt, TransactionReceiptCallbacks, TransactionReceiptCallbacksDefault, TransactionReceiptCallbacksDefined, TransactionReceiptStatus, TransactionReceiptValue, TransactionStatus, TransactionStatusReceiptSets, TransactionTrace, TransactionWithHash, Tupled, TypedContractV2, Uint256, Uint512, UniversalDeployerContractPayload, UniversalDetails, UserInvoke, UserTransaction, V3DeclareSignerDetails, V3DeployAccountSignerDetails, V3InvocationsSignerDetails, V3TransactionDetails, VariantType, WebSocketModule, WebSocketOptions, WebSocketProviderOptions, WeierstrassSignatureType, WithOptions, WsTransportOptions, WsTransportState, getBlockTransactionsTracesOptions, getContractVersionOptions, getEstimateFeeBulkOptions, getSimulateTransactionOptions, waitForTransactionOptions };