starknet 7.2.0 → 7.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as RPCSPEC07 from 'starknet-types-07';
2
2
  import { STRUCT_EVENT, EVENT_FIELD, ENUM_EVENT, BlockHash, TransactionHash, StarknetDomain, StarknetEnumType, StarknetMerkleType, StarknetType, TypedData, TypedDataRevision, StarknetWindowObject, Address, Permission, WatchAssetParameters as WatchAssetParameters$1, AddStarknetChainParameters as AddStarknetChainParameters$1, ChainId, AccountDeploymentData, AddInvokeTransactionParameters, AddInvokeTransactionResult, AddDeclareTransactionParameters, AddDeclareTransactionResult, Signature as Signature$2, SpecVersion, AccountChangeEventHandler as AccountChangeEventHandler$1, NetworkChangeEventHandler as NetworkChangeEventHandler$1 } from 'starknet-types-07';
3
3
  export { StarknetDomain, StarknetEnumType, StarknetMerkleType, StarknetType, TypedData, TypedDataRevision } from 'starknet-types-07';
4
4
  import * as RPCSPEC08 from 'starknet-types-08';
5
- import { EDataAvailabilityMode as EDataAvailabilityMode$1, SUBSCRIPTION_BLOCK_TAG, BLOCK_WITH_TX_HASHES, PENDING_BLOCK_WITH_TX_HASHES, BlockWithTxHashes as BlockWithTxHashes$1, TransactionReceipt as TransactionReceipt$1, IsSucceeded, IsReverted, IsType, ETransactionVersion as ETransactionVersion$1, ETransactionVersion2 as ETransactionVersion2$1, ETransactionVersion3 as ETransactionVersion3$1, SubscriptionReorgResponse, SubscriptionNewHeadsResponse, SubscriptionEventsResponse, SubscriptionTransactionsStatusResponse, SubscriptionPendingTransactionsResponse, SUBSCRIPTION_ID, WebSocketMethods, BLOCK_STATUS, BLOCK_HEADER, BLOCK_BODY_WITH_RECEIPTS, PENDING_BLOCK_HEADER, BlockTransactionsTraces, L1L2MessagesStatus, CONTRACT_STORAGE_KEYS, StorageProof, CASM_COMPILED_CONTRACT_CLASS, AccountChangeEventHandler, NetworkChangeEventHandler, WatchAssetParameters, AddStarknetChainParameters, Signature as Signature$1, EDAMode as EDAMode$1, PRICE_UNIT as PRICE_UNIT$1, EmittedEvent as EmittedEvent$1, Methods as Methods$1 } from 'starknet-types-08';
5
+ import { PAYMASTER_API, EDataAvailabilityMode as EDataAvailabilityMode$1, SUBSCRIPTION_BLOCK_TAG, BLOCK_WITH_TX_HASHES, PENDING_BLOCK_WITH_TX_HASHES, BlockWithTxHashes as BlockWithTxHashes$1, TransactionReceipt as TransactionReceipt$1, IsSucceeded, IsReverted, IsType, OutsideExecutionTypedData, ETransactionVersion as ETransactionVersion$1, ETransactionVersion2 as ETransactionVersion2$1, ETransactionVersion3 as ETransactionVersion3$1, SubscriptionReorgResponse, SubscriptionNewHeadsResponse, SubscriptionEventsResponse, SubscriptionTransactionsStatusResponse, SubscriptionPendingTransactionsResponse, SUBSCRIPTION_ID, WebSocketMethods, BLOCK_STATUS, BLOCK_HEADER, BLOCK_BODY_WITH_RECEIPTS, PENDING_BLOCK_HEADER, BlockTransactionsTraces, L1L2MessagesStatus, CONTRACT_STORAGE_KEYS, StorageProof, CASM_COMPILED_CONTRACT_CLASS, AccountChangeEventHandler, NetworkChangeEventHandler, WatchAssetParameters, AddStarknetChainParameters, Signature as Signature$1, EDAMode as EDAMode$1, PRICE_UNIT as PRICE_UNIT$1, OutsideCallV1, OutsideCallV2, EmittedEvent as EmittedEvent$1, Methods as Methods$1 } from 'starknet-types-08';
6
6
  import * as weierstrass from '@noble/curves/abstract/weierstrass';
7
7
  import { RecoveredSignatureType } from '@noble/curves/abstract/weierstrass';
8
8
  import { Abi as Abi$1, TypedContract } from 'abi-wan-kanabi';
@@ -68,6 +68,7 @@ declare namespace index$5 {
68
68
  var index$4 = /*#__PURE__*/_mergeNamespaces({
69
69
  __proto__: null,
70
70
  JRPC: index$5,
71
+ PAYMASTER_API: PAYMASTER_API,
71
72
  RPCSPEC07: RPCSPEC07,
72
73
  RPCSPEC08: RPCSPEC08
73
74
  }, [RPCSPEC08]);
@@ -274,6 +275,7 @@ type LegacyCompiledContract = Omit<LegacyContractClass, 'program'> & {
274
275
  /** SUBTYPES */
275
276
  type Builtins = string[];
276
277
  type CompressedProgram = string;
278
+ type Hint = Record<string, unknown>;
277
279
  type EntryPointsByType = {
278
280
  CONSTRUCTOR: ContractEntryPointFields[];
279
281
  EXTERNAL: ContractEntryPointFields[];
@@ -284,9 +286,95 @@ type ContractEntryPointFields = {
284
286
  offset: string | number;
285
287
  builtins?: Builtins;
286
288
  };
287
- interface Program extends Record<string, any> {
289
+ interface Program {
288
290
  builtins: string[];
289
291
  data: string[];
292
+ hints: Record<string, Hint[]>;
293
+ prime: string;
294
+ attributes?: Array<{
295
+ accessible_scopes?: string[];
296
+ end_pc?: number;
297
+ flow_tracking_data?: {
298
+ ap_tracking?: {
299
+ group?: number;
300
+ offset?: number;
301
+ };
302
+ reference_ids?: Record<string, number>;
303
+ };
304
+ name?: string;
305
+ start_pc?: number;
306
+ value?: string | number;
307
+ }>;
308
+ compiler_version?: string;
309
+ main_scope?: string;
310
+ identifiers?: Record<string, {
311
+ destination: string;
312
+ type: 'alias';
313
+ } | {
314
+ decorators: string[];
315
+ pc: number;
316
+ type: 'function';
317
+ implicit_args?: {
318
+ full_name: string;
319
+ members: Record<string, {
320
+ cairo_type: string;
321
+ offset: number;
322
+ }>;
323
+ size: number;
324
+ type: 'struct';
325
+ };
326
+ explicit_args?: {
327
+ full_name: string;
328
+ members: Record<string, {
329
+ cairo_type: string;
330
+ offset: number;
331
+ }>;
332
+ size: number;
333
+ type: 'struct';
334
+ };
335
+ return_type?: {
336
+ cairo_type: string;
337
+ type: 'type_definition';
338
+ };
339
+ } | {
340
+ full_name: string;
341
+ members: Record<string, {
342
+ cairo_type: string;
343
+ offset: number;
344
+ }> | Record<string, never>;
345
+ size: number;
346
+ type: 'struct';
347
+ } | {
348
+ cairo_type: string;
349
+ type: 'type_definition';
350
+ } | {
351
+ type: 'namespace';
352
+ } | {
353
+ type: 'const';
354
+ value: string | number;
355
+ } | {
356
+ pc: number;
357
+ type: 'label';
358
+ } | {
359
+ cairo_type: string;
360
+ full_name: string;
361
+ references: Array<{
362
+ ap_tracking_data: {
363
+ group: number;
364
+ offset: number;
365
+ };
366
+ pc: number;
367
+ value: string;
368
+ }>;
369
+ type: 'reference';
370
+ }>;
371
+ reference_manager?: Record<string, {
372
+ references: unknown[];
373
+ }>;
374
+ debug_info?: Record<string, {
375
+ file_contents?: Record<string, string>;
376
+ instruction_locations?: Record<string, unknown[]>;
377
+ }>;
290
378
  }
291
379
 
292
380
  /** SYSTEM TYPES */
@@ -828,6 +916,105 @@ type PendingStateUpdate = PENDING_STATE_UPDATE;
828
916
  */
829
917
  type ContractClassResponse = LegacyContractClass | Omit<CompiledSierra, 'sierra_program_debug_info'>;
830
918
 
919
+ interface PaymasterOptions extends PaymasterRpcOptions {
920
+ }
921
+ type PaymasterRpcOptions = {
922
+ nodeUrl?: string | _NetworkName;
923
+ default?: boolean;
924
+ headers?: object;
925
+ baseFetch?: WindowOrWorkerGlobalScope['fetch'];
926
+ };
927
+
928
+ /**
929
+ * Common interface response
930
+ * Intersection (sequencer response ∩ (∪ rpc responses))
931
+ */
932
+
933
+ type PaymasterFeeEstimate = {
934
+ gas_token_price_in_strk: BigNumberish;
935
+ estimated_fee_in_strk: BigNumberish;
936
+ estimated_fee_in_gas_token: BigNumberish;
937
+ suggested_max_fee_in_strk: BigNumberish;
938
+ suggested_max_fee_in_gas_token: BigNumberish;
939
+ };
940
+ type PreparedDeployTransaction = {
941
+ type: 'deploy';
942
+ deployment: PAYMASTER_API.ACCOUNT_DEPLOYMENT_DATA;
943
+ parameters: ExecutionParameters;
944
+ fee: PaymasterFeeEstimate;
945
+ };
946
+ type PreparedInvokeTransaction = {
947
+ type: 'invoke';
948
+ typed_data: OutsideExecutionTypedData;
949
+ parameters: ExecutionParameters;
950
+ fee: PaymasterFeeEstimate;
951
+ };
952
+ type PreparedDeployAndInvokeTransaction = {
953
+ type: 'deploy_and_invoke';
954
+ deployment: PAYMASTER_API.ACCOUNT_DEPLOYMENT_DATA;
955
+ typed_data: OutsideExecutionTypedData;
956
+ parameters: ExecutionParameters;
957
+ fee: PaymasterFeeEstimate;
958
+ };
959
+ type PreparedTransaction = PreparedDeployTransaction | PreparedInvokeTransaction | PreparedDeployAndInvokeTransaction;
960
+ interface TokenData {
961
+ token_address: string;
962
+ decimals: number;
963
+ priceInStrk: BigNumberish;
964
+ }
965
+ type DeployTransaction = {
966
+ type: 'deploy';
967
+ deployment: PAYMASTER_API.ACCOUNT_DEPLOYMENT_DATA;
968
+ };
969
+ type InvokeTransaction = {
970
+ type: 'invoke';
971
+ invoke: UserInvoke;
972
+ };
973
+ type UserInvoke = {
974
+ userAddress: string;
975
+ calls: Call[];
976
+ };
977
+ type DeployAndInvokeTransaction = {
978
+ type: 'deploy_and_invoke';
979
+ deployment: PAYMASTER_API.ACCOUNT_DEPLOYMENT_DATA;
980
+ invoke: UserInvoke;
981
+ };
982
+ type UserTransaction = DeployTransaction | InvokeTransaction | DeployAndInvokeTransaction;
983
+ type ExecutableDeployTransaction = {
984
+ type: 'deploy';
985
+ deployment: PAYMASTER_API.ACCOUNT_DEPLOYMENT_DATA;
986
+ };
987
+ type ExecutableInvokeTransaction = {
988
+ type: 'invoke';
989
+ invoke: ExecutableUserInvoke;
990
+ };
991
+ type ExecutableUserInvoke = {
992
+ userAddress: string;
993
+ typedData: OutsideExecutionTypedData;
994
+ signature: string[];
995
+ };
996
+ type ExecutableDeployAndInvokeTransaction = {
997
+ type: 'deploy_and_invoke';
998
+ deployment: PAYMASTER_API.ACCOUNT_DEPLOYMENT_DATA;
999
+ invoke: ExecutableUserInvoke;
1000
+ };
1001
+ type ExecutableUserTransaction = ExecutableDeployTransaction | ExecutableInvokeTransaction | ExecutableDeployAndInvokeTransaction;
1002
+ type FeeMode = {
1003
+ mode: 'sponsored';
1004
+ } | {
1005
+ mode: 'default';
1006
+ gasToken: string;
1007
+ };
1008
+ type ExecutionParameters = {
1009
+ version: '0x1';
1010
+ feeMode: FeeMode;
1011
+ timeBounds?: PaymasterTimeBounds;
1012
+ };
1013
+ interface PaymasterTimeBounds {
1014
+ executeAfter?: Date;
1015
+ executeBefore?: Date;
1016
+ }
1017
+
831
1018
  interface EstimateFee extends EstimateFeeResponse {
832
1019
  }
833
1020
  type UniversalSuggestedFee = {
@@ -846,6 +1033,7 @@ interface UniversalDetails {
846
1033
  blockIdentifier?: BlockIdentifier;
847
1034
  maxFee?: BigNumberish;
848
1035
  tip?: BigNumberish;
1036
+ paymaster?: PaymasterDetails;
849
1037
  paymasterData?: BigNumberish[];
850
1038
  accountDeploymentData?: BigNumberish[];
851
1039
  nonceDataAvailabilityMode?: EDataAvailabilityMode$1;
@@ -854,6 +1042,11 @@ interface UniversalDetails {
854
1042
  resourceBounds?: ResourceBounds;
855
1043
  skipValidate?: boolean;
856
1044
  }
1045
+ interface PaymasterDetails {
1046
+ feeMode: FeeMode;
1047
+ deploymentData?: PAYMASTER_API.AccountDeploymentData;
1048
+ timeBounds?: PaymasterTimeBounds;
1049
+ }
857
1050
  interface EstimateFeeDetails extends UniversalDetails {
858
1051
  }
859
1052
  interface DeployContractResponse {
@@ -1018,6 +1211,17 @@ type RPC_ERROR_SET = {
1018
1211
  TOO_MANY_ADDRESSES_IN_FILTER: RPCSPEC08.TOO_MANY_ADDRESSES_IN_FILTER;
1019
1212
  TOO_MANY_BLOCKS_BACK: RPCSPEC08.TOO_MANY_BLOCKS_BACK;
1020
1213
  COMPILATION_ERROR: RPCSPEC08.COMPILATION_ERROR;
1214
+ INVALID_ADDRESS: PAYMASTER_API.INVALID_ADDRESS;
1215
+ TOKEN_NOT_SUPPORTED: PAYMASTER_API.TOKEN_NOT_SUPPORTED;
1216
+ INVALID_SIGNATURE: PAYMASTER_API.INVALID_SIGNATURE;
1217
+ MAX_AMOUNT_TOO_LOW: PAYMASTER_API.MAX_AMOUNT_TOO_LOW;
1218
+ CLASS_HASH_NOT_SUPPORTED: PAYMASTER_API.CLASS_HASH_NOT_SUPPORTED;
1219
+ PAYMASTER_TRANSACTION_EXECUTION_ERROR: PAYMASTER_API.TRANSACTION_EXECUTION_ERROR;
1220
+ INVALID_TIME_BOUNDS: PAYMASTER_API.INVALID_TIME_BOUNDS;
1221
+ INVALID_DEPLOYMENT_DATA: PAYMASTER_API.INVALID_DEPLOYMENT_DATA;
1222
+ INVALID_CLASS_HASH: PAYMASTER_API.INVALID_CLASS_HASH;
1223
+ INVALID_ID: PAYMASTER_API.INVALID_ID;
1224
+ UNKNOWN_ERROR: PAYMASTER_API.UNKNOWN_ERROR;
1021
1225
  };
1022
1226
  type RPC_ERROR = RPC_ERROR_SET[keyof RPC_ERROR_SET];
1023
1227
 
@@ -1144,12 +1348,13 @@ type TransactionReceiptCallbacksDefault = Partial<TransactionReceiptCallbacksDef
1144
1348
  _: () => void;
1145
1349
  };
1146
1350
  type TransactionReceiptCallbacks = TransactionReceiptCallbacksDefined | TransactionReceiptCallbacksDefault;
1147
- type GetTransactionReceiptResponse = {
1148
- readonly statusReceipt: TransactionReceiptStatus;
1149
- readonly value: TransactionReceiptValue;
1351
+ type TransactionReceiptStatusFromMethod<T extends `is${Capitalize<TransactionReceiptStatus>}`> = T extends `is${infer R}` ? Uncapitalize<R> : never;
1352
+ type GetTransactionReceiptResponse<T extends TransactionReceiptStatus = TransactionReceiptStatus> = {
1353
+ readonly statusReceipt: T;
1354
+ readonly value: TransactionStatusReceiptSets[T];
1150
1355
  match(callbacks: TransactionReceiptCallbacks): void;
1151
1356
  } & {
1152
- [key in `is${Capitalize<TransactionReceiptStatus>}`]: () => boolean;
1357
+ [key in `is${Capitalize<TransactionReceiptStatus>}`]: () => this is GetTransactionReceiptResponse<TransactionReceiptStatusFromMethod<key>>;
1153
1358
  };
1154
1359
 
1155
1360
  type index$3_Abi = Abi;
@@ -1219,8 +1424,10 @@ type index$3_DeployAccountContractPayload = DeployAccountContractPayload;
1219
1424
  type index$3_DeployAccountContractTransaction = DeployAccountContractTransaction;
1220
1425
  type index$3_DeployAccountSignerDetails = DeployAccountSignerDetails;
1221
1426
  type index$3_DeployAccountTransactionReceiptResponse = DeployAccountTransactionReceiptResponse;
1427
+ type index$3_DeployAndInvokeTransaction = DeployAndInvokeTransaction;
1222
1428
  type index$3_DeployContractResponse = DeployContractResponse;
1223
1429
  type index$3_DeployContractUDCResponse = DeployContractUDCResponse;
1430
+ type index$3_DeployTransaction = DeployTransaction;
1224
1431
  type index$3_DeployTransactionReceiptResponse = DeployTransactionReceiptResponse;
1225
1432
  type index$3_DeployedAccountTransaction = DeployedAccountTransaction;
1226
1433
  type index$3_Details = Details;
@@ -1244,16 +1451,24 @@ type index$3_EstimateFeeResponse = EstimateFeeResponse;
1244
1451
  type index$3_EstimateFeeResponseBulk = EstimateFeeResponseBulk;
1245
1452
  type index$3_EventEntry = EventEntry;
1246
1453
  type index$3_EventFilter = EventFilter;
1454
+ type index$3_ExecutableDeployAndInvokeTransaction = ExecutableDeployAndInvokeTransaction;
1455
+ type index$3_ExecutableDeployTransaction = ExecutableDeployTransaction;
1456
+ type index$3_ExecutableInvokeTransaction = ExecutableInvokeTransaction;
1457
+ type index$3_ExecutableUserInvoke = ExecutableUserInvoke;
1458
+ type index$3_ExecutableUserTransaction = ExecutableUserTransaction;
1459
+ type index$3_ExecutionParameters = ExecutionParameters;
1247
1460
  type index$3_FEE_ESTIMATE = FEE_ESTIMATE;
1248
1461
  type index$3_FELT = FELT;
1249
1462
  type index$3_FeeEstimate = FeeEstimate;
1250
1463
  type index$3_FeeMarginPercentage = FeeMarginPercentage;
1464
+ type index$3_FeeMode = FeeMode;
1251
1465
  type index$3_FunctionAbi = FunctionAbi;
1252
1466
  type index$3_GetBlockResponse = GetBlockResponse;
1253
- type index$3_GetTransactionReceiptResponse = GetTransactionReceiptResponse;
1467
+ type index$3_GetTransactionReceiptResponse<T extends TransactionReceiptStatus = TransactionReceiptStatus> = GetTransactionReceiptResponse<T>;
1254
1468
  type index$3_GetTransactionResponse = GetTransactionResponse;
1255
1469
  type index$3_GetTxReceiptResponseWithoutHelper = GetTxReceiptResponseWithoutHelper;
1256
1470
  type index$3_HexCalldata = HexCalldata;
1471
+ type index$3_Hint = Hint;
1257
1472
  type index$3_InterfaceAbi = InterfaceAbi;
1258
1473
  type index$3_Invocation = Invocation;
1259
1474
  type index$3_Invocations = Invocations;
@@ -1262,6 +1477,7 @@ type index$3_InvocationsDetailsWithNonce = InvocationsDetailsWithNonce;
1262
1477
  type index$3_InvocationsSignerDetails = InvocationsSignerDetails;
1263
1478
  type index$3_InvokeFunctionResponse = InvokeFunctionResponse;
1264
1479
  type index$3_InvokeOptions = InvokeOptions;
1480
+ type index$3_InvokeTransaction = InvokeTransaction;
1265
1481
  type index$3_InvokeTransactionReceiptResponse = InvokeTransactionReceiptResponse;
1266
1482
  type index$3_InvokedTransaction = InvokedTransaction;
1267
1483
  type index$3_L1HandlerTransactionReceiptResponse = L1HandlerTransactionReceiptResponse;
@@ -1294,9 +1510,18 @@ type index$3_PRICE_UNIT = PRICE_UNIT;
1294
1510
  type index$3_ParsedEvent = ParsedEvent;
1295
1511
  type index$3_ParsedEvents = ParsedEvents;
1296
1512
  type index$3_ParsedStruct = ParsedStruct;
1513
+ type index$3_PaymasterDetails = PaymasterDetails;
1514
+ type index$3_PaymasterFeeEstimate = PaymasterFeeEstimate;
1515
+ type index$3_PaymasterOptions = PaymasterOptions;
1516
+ type index$3_PaymasterRpcOptions = PaymasterRpcOptions;
1517
+ type index$3_PaymasterTimeBounds = PaymasterTimeBounds;
1297
1518
  type index$3_PendingBlock = PendingBlock;
1298
1519
  type index$3_PendingReceipt = PendingReceipt;
1299
1520
  type index$3_PendingStateUpdate = PendingStateUpdate;
1521
+ type index$3_PreparedDeployAndInvokeTransaction = PreparedDeployAndInvokeTransaction;
1522
+ type index$3_PreparedDeployTransaction = PreparedDeployTransaction;
1523
+ type index$3_PreparedInvokeTransaction = PreparedInvokeTransaction;
1524
+ type index$3_PreparedTransaction = PreparedTransaction;
1300
1525
  type index$3_Program = Program;
1301
1526
  type index$3_ProviderOptions = ProviderOptions;
1302
1527
  type index$3_PythonicHints = PythonicHints;
@@ -1343,6 +1568,7 @@ type index$3_TRANSACTION_TRACE = TRANSACTION_TRACE;
1343
1568
  type index$3_TXN_EXECUTION_STATUS = TXN_EXECUTION_STATUS;
1344
1569
  type index$3_TXN_HASH = TXN_HASH;
1345
1570
  type index$3_TXN_STATUS = TXN_STATUS;
1571
+ type index$3_TokenData = TokenData;
1346
1572
  type index$3_TransactionExecutionStatus = TransactionExecutionStatus;
1347
1573
  type index$3_TransactionFinalityStatus = TransactionFinalityStatus;
1348
1574
  type index$3_TransactionReceipt = TransactionReceipt;
@@ -1364,6 +1590,8 @@ type index$3_Uint512 = Uint512;
1364
1590
  type index$3_UniversalDeployerContractPayload = UniversalDeployerContractPayload;
1365
1591
  type index$3_UniversalDetails = UniversalDetails;
1366
1592
  type index$3_UniversalSuggestedFee = UniversalSuggestedFee;
1593
+ type index$3_UserInvoke = UserInvoke;
1594
+ type index$3_UserTransaction = UserTransaction;
1367
1595
  type index$3_V2DeclareSignerDetails = V2DeclareSignerDetails;
1368
1596
  type index$3_V2DeployAccountSignerDetails = V2DeployAccountSignerDetails;
1369
1597
  type index$3_V2InvocationsSignerDetails = V2InvocationsSignerDetails;
@@ -1380,7 +1608,7 @@ declare const index$3_isRPC08_FeeEstimate: typeof isRPC08_FeeEstimate;
1380
1608
  declare const index$3_isRPC08_ResourceBounds: typeof isRPC08_ResourceBounds;
1381
1609
  type index$3_waitForTransactionOptions = waitForTransactionOptions;
1382
1610
  declare namespace index$3 {
1383
- export { type index$3_Abi as Abi, type index$3_AbiEntry as AbiEntry, type index$3_AbiEnum as AbiEnum, type index$3_AbiEnums as AbiEnums, type index$3_AbiEvent as AbiEvent, type index$3_AbiEvents as AbiEvents, type index$3_AbiInterfaces as AbiInterfaces, type index$3_AbiStruct as AbiStruct, type index$3_AbiStructs as AbiStructs, type index$3_AccountInvocationItem as AccountInvocationItem, type index$3_AccountInvocations as AccountInvocations, type index$3_AccountInvocationsFactoryDetails as AccountInvocationsFactoryDetails, type index$3_AllowArray as AllowArray, type index$3_Args as Args, type index$3_ArgsOrCalldata as ArgsOrCalldata, type index$3_ArgsOrCalldataWithOptions as ArgsOrCalldataWithOptions, type index$3_ArraySignatureType as ArraySignatureType, type index$3_AsyncContractFunction as AsyncContractFunction, type index$3_BLOCK_HASH as BLOCK_HASH, type index$3_BLOCK_NUMBER as BLOCK_NUMBER, type index$3_BigNumberish as BigNumberish, type Block$1 as Block, type index$3_BlockIdentifier as BlockIdentifier, type index$3_BlockNumber as BlockNumber, type index$3_BlockStatus as BlockStatus, type index$3_BlockTag as BlockTag, type index$3_BlockWithTxHashes as BlockWithTxHashes, type index$3_Builtins as Builtins, type index$3_ByteArray as ByteArray, type index$3_ByteCode as ByteCode, type index$3_CairoAssembly as CairoAssembly, type index$3_CairoContract as CairoContract, type index$3_CairoEnum as CairoEnum, type index$3_CairoEvent as CairoEvent, type index$3_CairoEventDefinition as CairoEventDefinition, type index$3_CairoEventVariant as CairoEventVariant, type index$3_CairoVersion as CairoVersion, type index$3_Call as Call, type index$3_CallContractResponse as CallContractResponse, type index$3_CallDetails as CallDetails, type index$3_CallOptions as CallOptions, type index$3_Calldata as Calldata, type index$3_CompiledContract as CompiledContract, type index$3_CompiledSierra as CompiledSierra, type index$3_CompiledSierraCasm as CompiledSierraCasm, type index$3_CompilerVersion as CompilerVersion, type index$3_CompleteDeclareContractPayload as CompleteDeclareContractPayload, type index$3_CompressedProgram as CompressedProgram, type index$3_ContractClass as ContractClass, type index$3_ContractClassIdentifier as ContractClassIdentifier, type index$3_ContractClassPayload as ContractClassPayload, type index$3_ContractClassResponse as ContractClassResponse, type index$3_ContractEntryPointFields as ContractEntryPointFields, type index$3_ContractFunction as ContractFunction, type index$3_ContractOptions as ContractOptions, type index$3_ContractVersion as ContractVersion, type index$3_DeclareAndDeployContractPayload as DeclareAndDeployContractPayload, type index$3_DeclareContractPayload as DeclareContractPayload, type index$3_DeclareContractResponse as DeclareContractResponse, type index$3_DeclareContractTransaction as DeclareContractTransaction, type index$3_DeclareDeployUDCResponse as DeclareDeployUDCResponse, type index$3_DeclareSignerDetails as DeclareSignerDetails, type index$3_DeclareTransactionReceiptResponse as DeclareTransactionReceiptResponse, type index$3_DeclaredTransaction as DeclaredTransaction, type index$3_DeployAccountContractPayload as DeployAccountContractPayload, type index$3_DeployAccountContractTransaction as DeployAccountContractTransaction, type index$3_DeployAccountSignerDetails as DeployAccountSignerDetails, type index$3_DeployAccountTransactionReceiptResponse as DeployAccountTransactionReceiptResponse, type index$3_DeployContractResponse as DeployContractResponse, type index$3_DeployContractUDCResponse as DeployContractUDCResponse, type index$3_DeployTransactionReceiptResponse as DeployTransactionReceiptResponse, type index$3_DeployedAccountTransaction as DeployedAccountTransaction, type index$3_Details as Details, index$3_EDAMode as EDAMode, index$3_EDataAvailabilityMode as EDataAvailabilityMode, index$3_ETH_ADDRESS as ETH_ADDRESS, index$3_ETransactionExecutionStatus as ETransactionExecutionStatus, index$3_ETransactionStatus as ETransactionStatus, index$3_ETransactionVersion as ETransactionVersion, index$3_ETransactionVersion2 as ETransactionVersion2, index$3_ETransactionVersion3 as ETransactionVersion3, type index$3_EVENTS_CHUNK as EVENTS_CHUNK, type index$3_EmittedEvent as EmittedEvent, type index$3_EntryPointType as EntryPointType, type index$3_EntryPointsByType as EntryPointsByType, type index$3_EstimateFee as EstimateFee, type index$3_EstimateFeeAction as EstimateFeeAction, type index$3_EstimateFeeBulk as EstimateFeeBulk, type index$3_EstimateFeeDetails as EstimateFeeDetails, type index$3_EstimateFeeResponse as EstimateFeeResponse, type index$3_EstimateFeeResponseBulk as EstimateFeeResponseBulk, type Event$1 as Event, type index$3_EventEntry as EventEntry, type index$3_EventFilter as EventFilter, type index$3_FEE_ESTIMATE as FEE_ESTIMATE, type index$3_FELT as FELT, type index$3_FeeEstimate as FeeEstimate, type index$3_FeeMarginPercentage as FeeMarginPercentage, type index$3_FunctionAbi as FunctionAbi, type index$3_GetBlockResponse as GetBlockResponse, type index$3_GetTransactionReceiptResponse as GetTransactionReceiptResponse, type index$3_GetTransactionResponse as GetTransactionResponse, type index$3_GetTxReceiptResponseWithoutHelper as GetTxReceiptResponseWithoutHelper, type index$3_HexCalldata as HexCalldata, type index$3_InterfaceAbi as InterfaceAbi, type index$3_Invocation as Invocation, type index$3_Invocations as Invocations, type index$3_InvocationsDetails as InvocationsDetails, type index$3_InvocationsDetailsWithNonce as InvocationsDetailsWithNonce, type index$3_InvocationsSignerDetails as InvocationsSignerDetails, type index$3_InvokeFunctionResponse as InvokeFunctionResponse, type index$3_InvokeOptions as InvokeOptions, type index$3_InvokeTransactionReceiptResponse as InvokeTransactionReceiptResponse, type index$3_InvokedTransaction as InvokedTransaction, type index$3_L1HandlerTransactionReceiptResponse as L1HandlerTransactionReceiptResponse, type index$3_L1Message as L1Message, type index$3_L1_HANDLER_TXN as L1_HANDLER_TXN, type index$3_LedgerPathCalculation as LedgerPathCalculation, type index$3_LegacyCompiledContract as LegacyCompiledContract, type index$3_LegacyContractClass as LegacyContractClass, type index$3_LegacyEvent as LegacyEvent, type index$3_Literal as Literal, type index$3_Methods as Methods, type index$3_MultiDeployContractResponse as MultiDeployContractResponse, type index$3_MultiType as MultiType, index$3_NON_ZERO_PREFIX as NON_ZERO_PREFIX, type index$3_Nonce as Nonce, type index$3_OptionalPayload as OptionalPayload, type index$3_OutsideCall as OutsideCall, type index$3_OutsideExecution as OutsideExecution, type index$3_OutsideExecutionOptions as OutsideExecutionOptions, index$3_OutsideExecutionTypesV1 as OutsideExecutionTypesV1, index$3_OutsideExecutionTypesV2 as OutsideExecutionTypesV2, type index$3_OutsideExecutionVersion as OutsideExecutionVersion, type index$3_OutsideTransaction as OutsideTransaction, type index$3_PENDING_DECLARE_TXN_RECEIPT as PENDING_DECLARE_TXN_RECEIPT, type index$3_PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT as PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT, type index$3_PENDING_INVOKE_TXN_RECEIPT as PENDING_INVOKE_TXN_RECEIPT, type index$3_PENDING_L1_HANDLER_TXN_RECEIPT as PENDING_L1_HANDLER_TXN_RECEIPT, type index$3_PENDING_STATE_UPDATE as PENDING_STATE_UPDATE, type index$3_PRICE_UNIT as PRICE_UNIT, type index$3_ParsedEvent as ParsedEvent, type index$3_ParsedEvents as ParsedEvents, type index$3_ParsedStruct as ParsedStruct, type index$3_PendingBlock as PendingBlock, type index$3_PendingReceipt as PendingReceipt, type index$3_PendingStateUpdate as PendingStateUpdate, type index$3_Program as Program, type index$3_ProviderOptions as ProviderOptions, type index$3_PythonicHints as PythonicHints, type index$3_RESOURCE_PRICE as RESOURCE_PRICE, index$4 as RPC, type index$3_RPC_ERROR as RPC_ERROR, type index$3_RPC_ERROR_SET as RPC_ERROR_SET, type index$3_RawArgs as RawArgs, type index$3_RawArgsArray as RawArgsArray, type index$3_RawArgsObject as RawArgsObject, type index$3_RawCalldata as RawCalldata, type index$3_Receipt as Receipt, type index$3_RequiredKeysOf as RequiredKeysOf, type index$3_ResourceBounds as ResourceBounds, type index$3_ResourceBoundsOverhead as ResourceBoundsOverhead, type index$3_ResourceBoundsOverheadRPC07 as ResourceBoundsOverheadRPC07, type index$3_ResourceBoundsOverheadRPC08 as ResourceBoundsOverheadRPC08, type index$3_Result as Result, type index$3_RevertedTransactionReceiptResponse as RevertedTransactionReceiptResponse, type index$3_RpcProviderOptions as RpcProviderOptions, type index$3_SIMULATION_FLAG as SIMULATION_FLAG, type index$3_STATE_UPDATE as STATE_UPDATE, type index$3_SierraContractClass as SierraContractClass, type index$3_SierraContractEntryPointFields as SierraContractEntryPointFields, type index$3_SierraEntryPointsByType as SierraEntryPointsByType, type index$3_SierraProgramDebugInfo as SierraProgramDebugInfo, type index$3_Signature as Signature, type index$3_Simplify as Simplify, type index$3_SimulateTransaction as SimulateTransaction, type index$3_SimulateTransactionDetails as SimulateTransactionDetails, type index$3_SimulateTransactionResponse as SimulateTransactionResponse, type index$3_SimulatedTransaction as SimulatedTransaction, type index$3_SimulationFlags as SimulationFlags, type index$3_StarkProfile as StarkProfile, index$3_StarknetDomain as StarknetDomain, index$3_StarknetEnumType as StarknetEnumType, index$3_StarknetMerkleType as StarknetMerkleType, index$3_StarknetType as StarknetType, type index$3_StateUpdate as StateUpdate, type index$3_StateUpdateResponse as StateUpdateResponse, type index$3_Storage as Storage, type index$3_SubscriptionBlockIdentifier as SubscriptionBlockIdentifier, type index$3_SuccessfulTransactionReceiptResponse as SuccessfulTransactionReceiptResponse, type index$3_TRANSACTION_TRACE as TRANSACTION_TRACE, type index$3_TXN_EXECUTION_STATUS as TXN_EXECUTION_STATUS, type index$3_TXN_HASH as TXN_HASH, type index$3_TXN_STATUS as TXN_STATUS, type index$3_TransactionExecutionStatus as TransactionExecutionStatus, type index$3_TransactionFinalityStatus as TransactionFinalityStatus, type index$3_TransactionReceipt as TransactionReceipt, type index$3_TransactionReceiptCallbacks as TransactionReceiptCallbacks, type index$3_TransactionReceiptCallbacksDefault as TransactionReceiptCallbacksDefault, type index$3_TransactionReceiptCallbacksDefined as TransactionReceiptCallbacksDefined, type index$3_TransactionReceiptStatus as TransactionReceiptStatus, type index$3_TransactionReceiptValue as TransactionReceiptValue, type index$3_TransactionStatus as TransactionStatus, type index$3_TransactionStatusReceiptSets as TransactionStatusReceiptSets, type index$3_TransactionType as TransactionType, type index$3_TransactionWithHash as TransactionWithHash, type index$3_Tupled as Tupled, index$3_TypedData as TypedData, index$3_TypedDataRevision as TypedDataRevision, type index$3_Uint as Uint, type index$3_Uint256 as Uint256, type index$3_Uint512 as Uint512, type index$3_UniversalDeployerContractPayload as UniversalDeployerContractPayload, type index$3_UniversalDetails as UniversalDetails, type index$3_UniversalSuggestedFee as UniversalSuggestedFee, type index$3_V2DeclareSignerDetails as V2DeclareSignerDetails, type index$3_V2DeployAccountSignerDetails as V2DeployAccountSignerDetails, type index$3_V2InvocationsSignerDetails as V2InvocationsSignerDetails, type index$3_V3DeclareSignerDetails as V3DeclareSignerDetails, type index$3_V3DeployAccountSignerDetails as V3DeployAccountSignerDetails, type index$3_V3InvocationsSignerDetails as V3InvocationsSignerDetails, type index$3_V3TransactionDetails as V3TransactionDetails, type index$3_ValidateType as ValidateType, type index$3_WeierstrassSignatureType as WeierstrassSignatureType, type index$3_getContractVersionOptions as getContractVersionOptions, type index$3_getEstimateFeeBulkOptions as getEstimateFeeBulkOptions, type index$3_getSimulateTransactionOptions as getSimulateTransactionOptions, index$3_isRPC08_FeeEstimate as isRPC08_FeeEstimate, index$3_isRPC08_ResourceBounds as isRPC08_ResourceBounds, type index$3_waitForTransactionOptions as waitForTransactionOptions };
1611
+ export { type index$3_Abi as Abi, type index$3_AbiEntry as AbiEntry, type index$3_AbiEnum as AbiEnum, type index$3_AbiEnums as AbiEnums, type index$3_AbiEvent as AbiEvent, type index$3_AbiEvents as AbiEvents, type index$3_AbiInterfaces as AbiInterfaces, type index$3_AbiStruct as AbiStruct, type index$3_AbiStructs as AbiStructs, type index$3_AccountInvocationItem as AccountInvocationItem, type index$3_AccountInvocations as AccountInvocations, type index$3_AccountInvocationsFactoryDetails as AccountInvocationsFactoryDetails, type index$3_AllowArray as AllowArray, type index$3_Args as Args, type index$3_ArgsOrCalldata as ArgsOrCalldata, type index$3_ArgsOrCalldataWithOptions as ArgsOrCalldataWithOptions, type index$3_ArraySignatureType as ArraySignatureType, type index$3_AsyncContractFunction as AsyncContractFunction, type index$3_BLOCK_HASH as BLOCK_HASH, type index$3_BLOCK_NUMBER as BLOCK_NUMBER, type index$3_BigNumberish as BigNumberish, type Block$1 as Block, type index$3_BlockIdentifier as BlockIdentifier, type index$3_BlockNumber as BlockNumber, type index$3_BlockStatus as BlockStatus, type index$3_BlockTag as BlockTag, type index$3_BlockWithTxHashes as BlockWithTxHashes, type index$3_Builtins as Builtins, type index$3_ByteArray as ByteArray, type index$3_ByteCode as ByteCode, type index$3_CairoAssembly as CairoAssembly, type index$3_CairoContract as CairoContract, type index$3_CairoEnum as CairoEnum, type index$3_CairoEvent as CairoEvent, type index$3_CairoEventDefinition as CairoEventDefinition, type index$3_CairoEventVariant as CairoEventVariant, type index$3_CairoVersion as CairoVersion, type index$3_Call as Call, type index$3_CallContractResponse as CallContractResponse, type index$3_CallDetails as CallDetails, type index$3_CallOptions as CallOptions, type index$3_Calldata as Calldata, type index$3_CompiledContract as CompiledContract, type index$3_CompiledSierra as CompiledSierra, type index$3_CompiledSierraCasm as CompiledSierraCasm, type index$3_CompilerVersion as CompilerVersion, type index$3_CompleteDeclareContractPayload as CompleteDeclareContractPayload, type index$3_CompressedProgram as CompressedProgram, type index$3_ContractClass as ContractClass, type index$3_ContractClassIdentifier as ContractClassIdentifier, type index$3_ContractClassPayload as ContractClassPayload, type index$3_ContractClassResponse as ContractClassResponse, type index$3_ContractEntryPointFields as ContractEntryPointFields, type index$3_ContractFunction as ContractFunction, type index$3_ContractOptions as ContractOptions, type index$3_ContractVersion as ContractVersion, type index$3_DeclareAndDeployContractPayload as DeclareAndDeployContractPayload, type index$3_DeclareContractPayload as DeclareContractPayload, type index$3_DeclareContractResponse as DeclareContractResponse, type index$3_DeclareContractTransaction as DeclareContractTransaction, type index$3_DeclareDeployUDCResponse as DeclareDeployUDCResponse, type index$3_DeclareSignerDetails as DeclareSignerDetails, type index$3_DeclareTransactionReceiptResponse as DeclareTransactionReceiptResponse, type index$3_DeclaredTransaction as DeclaredTransaction, type index$3_DeployAccountContractPayload as DeployAccountContractPayload, type index$3_DeployAccountContractTransaction as DeployAccountContractTransaction, type index$3_DeployAccountSignerDetails as DeployAccountSignerDetails, type index$3_DeployAccountTransactionReceiptResponse as DeployAccountTransactionReceiptResponse, type index$3_DeployAndInvokeTransaction as DeployAndInvokeTransaction, type index$3_DeployContractResponse as DeployContractResponse, type index$3_DeployContractUDCResponse as DeployContractUDCResponse, type index$3_DeployTransaction as DeployTransaction, type index$3_DeployTransactionReceiptResponse as DeployTransactionReceiptResponse, type index$3_DeployedAccountTransaction as DeployedAccountTransaction, type index$3_Details as Details, index$3_EDAMode as EDAMode, index$3_EDataAvailabilityMode as EDataAvailabilityMode, index$3_ETH_ADDRESS as ETH_ADDRESS, index$3_ETransactionExecutionStatus as ETransactionExecutionStatus, index$3_ETransactionStatus as ETransactionStatus, index$3_ETransactionVersion as ETransactionVersion, index$3_ETransactionVersion2 as ETransactionVersion2, index$3_ETransactionVersion3 as ETransactionVersion3, type index$3_EVENTS_CHUNK as EVENTS_CHUNK, type index$3_EmittedEvent as EmittedEvent, type index$3_EntryPointType as EntryPointType, type index$3_EntryPointsByType as EntryPointsByType, type index$3_EstimateFee as EstimateFee, type index$3_EstimateFeeAction as EstimateFeeAction, type index$3_EstimateFeeBulk as EstimateFeeBulk, type index$3_EstimateFeeDetails as EstimateFeeDetails, type index$3_EstimateFeeResponse as EstimateFeeResponse, type index$3_EstimateFeeResponseBulk as EstimateFeeResponseBulk, type Event$1 as Event, type index$3_EventEntry as EventEntry, type index$3_EventFilter as EventFilter, type index$3_ExecutableDeployAndInvokeTransaction as ExecutableDeployAndInvokeTransaction, type index$3_ExecutableDeployTransaction as ExecutableDeployTransaction, type index$3_ExecutableInvokeTransaction as ExecutableInvokeTransaction, type index$3_ExecutableUserInvoke as ExecutableUserInvoke, type index$3_ExecutableUserTransaction as ExecutableUserTransaction, type index$3_ExecutionParameters as ExecutionParameters, type index$3_FEE_ESTIMATE as FEE_ESTIMATE, type index$3_FELT as FELT, type index$3_FeeEstimate as FeeEstimate, type index$3_FeeMarginPercentage as FeeMarginPercentage, type index$3_FeeMode as FeeMode, type index$3_FunctionAbi as FunctionAbi, type index$3_GetBlockResponse as GetBlockResponse, type index$3_GetTransactionReceiptResponse as GetTransactionReceiptResponse, type index$3_GetTransactionResponse as GetTransactionResponse, type index$3_GetTxReceiptResponseWithoutHelper as GetTxReceiptResponseWithoutHelper, type index$3_HexCalldata as HexCalldata, type index$3_Hint as Hint, type index$3_InterfaceAbi as InterfaceAbi, type index$3_Invocation as Invocation, type index$3_Invocations as Invocations, type index$3_InvocationsDetails as InvocationsDetails, type index$3_InvocationsDetailsWithNonce as InvocationsDetailsWithNonce, type index$3_InvocationsSignerDetails as InvocationsSignerDetails, type index$3_InvokeFunctionResponse as InvokeFunctionResponse, type index$3_InvokeOptions as InvokeOptions, type index$3_InvokeTransaction as InvokeTransaction, type index$3_InvokeTransactionReceiptResponse as InvokeTransactionReceiptResponse, type index$3_InvokedTransaction as InvokedTransaction, type index$3_L1HandlerTransactionReceiptResponse as L1HandlerTransactionReceiptResponse, type index$3_L1Message as L1Message, type index$3_L1_HANDLER_TXN as L1_HANDLER_TXN, type index$3_LedgerPathCalculation as LedgerPathCalculation, type index$3_LegacyCompiledContract as LegacyCompiledContract, type index$3_LegacyContractClass as LegacyContractClass, type index$3_LegacyEvent as LegacyEvent, type index$3_Literal as Literal, type index$3_Methods as Methods, type index$3_MultiDeployContractResponse as MultiDeployContractResponse, type index$3_MultiType as MultiType, index$3_NON_ZERO_PREFIX as NON_ZERO_PREFIX, type index$3_Nonce as Nonce, type index$3_OptionalPayload as OptionalPayload, type index$3_OutsideCall as OutsideCall, type index$3_OutsideExecution as OutsideExecution, type index$3_OutsideExecutionOptions as OutsideExecutionOptions, index$3_OutsideExecutionTypesV1 as OutsideExecutionTypesV1, index$3_OutsideExecutionTypesV2 as OutsideExecutionTypesV2, type index$3_OutsideExecutionVersion as OutsideExecutionVersion, type index$3_OutsideTransaction as OutsideTransaction, type index$3_PENDING_DECLARE_TXN_RECEIPT as PENDING_DECLARE_TXN_RECEIPT, type index$3_PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT as PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT, type index$3_PENDING_INVOKE_TXN_RECEIPT as PENDING_INVOKE_TXN_RECEIPT, type index$3_PENDING_L1_HANDLER_TXN_RECEIPT as PENDING_L1_HANDLER_TXN_RECEIPT, type index$3_PENDING_STATE_UPDATE as PENDING_STATE_UPDATE, type index$3_PRICE_UNIT as PRICE_UNIT, type index$3_ParsedEvent as ParsedEvent, type index$3_ParsedEvents as ParsedEvents, type index$3_ParsedStruct as ParsedStruct, type index$3_PaymasterDetails as PaymasterDetails, type index$3_PaymasterFeeEstimate as PaymasterFeeEstimate, type index$3_PaymasterOptions as PaymasterOptions, type index$3_PaymasterRpcOptions as PaymasterRpcOptions, type index$3_PaymasterTimeBounds as PaymasterTimeBounds, type index$3_PendingBlock as PendingBlock, type index$3_PendingReceipt as PendingReceipt, type index$3_PendingStateUpdate as PendingStateUpdate, type index$3_PreparedDeployAndInvokeTransaction as PreparedDeployAndInvokeTransaction, type index$3_PreparedDeployTransaction as PreparedDeployTransaction, type index$3_PreparedInvokeTransaction as PreparedInvokeTransaction, type index$3_PreparedTransaction as PreparedTransaction, type index$3_Program as Program, type index$3_ProviderOptions as ProviderOptions, type index$3_PythonicHints as PythonicHints, type index$3_RESOURCE_PRICE as RESOURCE_PRICE, index$4 as RPC, type index$3_RPC_ERROR as RPC_ERROR, type index$3_RPC_ERROR_SET as RPC_ERROR_SET, type index$3_RawArgs as RawArgs, type index$3_RawArgsArray as RawArgsArray, type index$3_RawArgsObject as RawArgsObject, type index$3_RawCalldata as RawCalldata, type index$3_Receipt as Receipt, type index$3_RequiredKeysOf as RequiredKeysOf, type index$3_ResourceBounds as ResourceBounds, type index$3_ResourceBoundsOverhead as ResourceBoundsOverhead, type index$3_ResourceBoundsOverheadRPC07 as ResourceBoundsOverheadRPC07, type index$3_ResourceBoundsOverheadRPC08 as ResourceBoundsOverheadRPC08, type index$3_Result as Result, type index$3_RevertedTransactionReceiptResponse as RevertedTransactionReceiptResponse, type index$3_RpcProviderOptions as RpcProviderOptions, type index$3_SIMULATION_FLAG as SIMULATION_FLAG, type index$3_STATE_UPDATE as STATE_UPDATE, type index$3_SierraContractClass as SierraContractClass, type index$3_SierraContractEntryPointFields as SierraContractEntryPointFields, type index$3_SierraEntryPointsByType as SierraEntryPointsByType, type index$3_SierraProgramDebugInfo as SierraProgramDebugInfo, type index$3_Signature as Signature, type index$3_Simplify as Simplify, type index$3_SimulateTransaction as SimulateTransaction, type index$3_SimulateTransactionDetails as SimulateTransactionDetails, type index$3_SimulateTransactionResponse as SimulateTransactionResponse, type index$3_SimulatedTransaction as SimulatedTransaction, type index$3_SimulationFlags as SimulationFlags, type index$3_StarkProfile as StarkProfile, index$3_StarknetDomain as StarknetDomain, index$3_StarknetEnumType as StarknetEnumType, index$3_StarknetMerkleType as StarknetMerkleType, index$3_StarknetType as StarknetType, type index$3_StateUpdate as StateUpdate, type index$3_StateUpdateResponse as StateUpdateResponse, type index$3_Storage as Storage, type index$3_SubscriptionBlockIdentifier as SubscriptionBlockIdentifier, type index$3_SuccessfulTransactionReceiptResponse as SuccessfulTransactionReceiptResponse, type index$3_TRANSACTION_TRACE as TRANSACTION_TRACE, type index$3_TXN_EXECUTION_STATUS as TXN_EXECUTION_STATUS, type index$3_TXN_HASH as TXN_HASH, type index$3_TXN_STATUS as TXN_STATUS, type index$3_TokenData as TokenData, type index$3_TransactionExecutionStatus as TransactionExecutionStatus, type index$3_TransactionFinalityStatus as TransactionFinalityStatus, type index$3_TransactionReceipt as TransactionReceipt, type index$3_TransactionReceiptCallbacks as TransactionReceiptCallbacks, type index$3_TransactionReceiptCallbacksDefault as TransactionReceiptCallbacksDefault, type index$3_TransactionReceiptCallbacksDefined as TransactionReceiptCallbacksDefined, type index$3_TransactionReceiptStatus as TransactionReceiptStatus, type index$3_TransactionReceiptValue as TransactionReceiptValue, type index$3_TransactionStatus as TransactionStatus, type index$3_TransactionStatusReceiptSets as TransactionStatusReceiptSets, type index$3_TransactionType as TransactionType, type index$3_TransactionWithHash as TransactionWithHash, type index$3_Tupled as Tupled, index$3_TypedData as TypedData, index$3_TypedDataRevision as TypedDataRevision, type index$3_Uint as Uint, type index$3_Uint256 as Uint256, type index$3_Uint512 as Uint512, type index$3_UniversalDeployerContractPayload as UniversalDeployerContractPayload, type index$3_UniversalDetails as UniversalDetails, type index$3_UniversalSuggestedFee as UniversalSuggestedFee, type index$3_UserInvoke as UserInvoke, type index$3_UserTransaction as UserTransaction, type index$3_V2DeclareSignerDetails as V2DeclareSignerDetails, type index$3_V2DeployAccountSignerDetails as V2DeployAccountSignerDetails, type index$3_V2InvocationsSignerDetails as V2InvocationsSignerDetails, type index$3_V3DeclareSignerDetails as V3DeclareSignerDetails, type index$3_V3DeployAccountSignerDetails as V3DeployAccountSignerDetails, type index$3_V3InvocationsSignerDetails as V3InvocationsSignerDetails, type index$3_V3TransactionDetails as V3TransactionDetails, type index$3_ValidateType as ValidateType, type index$3_WeierstrassSignatureType as WeierstrassSignatureType, type index$3_getContractVersionOptions as getContractVersionOptions, type index$3_getEstimateFeeBulkOptions as getEstimateFeeBulkOptions, type index$3_getSimulateTransactionOptions as getSimulateTransactionOptions, index$3_isRPC08_FeeEstimate as isRPC08_FeeEstimate, index$3_isRPC08_ResourceBounds as isRPC08_ResourceBounds, type index$3_waitForTransactionOptions as waitForTransactionOptions };
1384
1612
  }
1385
1613
 
1386
1614
  declare const LogLevelIndex: {
@@ -1723,8 +1951,12 @@ declare const DEFAULT_GLOBAL_CONFIG: {
1723
1951
  websocket: any;
1724
1952
  };
1725
1953
  declare const RPC_DEFAULT_NODES: {
1726
- readonly SN_MAIN: readonly ["https://starknet-mainnet.public.blastapi.io/rpc/", "https://free-rpc.nethermind.io/mainnet-juno/"];
1727
- readonly SN_SEPOLIA: readonly ["https://starknet-sepolia.public.blastapi.io/rpc/", "https://free-rpc.nethermind.io/sepolia-juno/"];
1954
+ readonly SN_MAIN: readonly ["https://starknet-mainnet.public.blastapi.io/rpc/"];
1955
+ readonly SN_SEPOLIA: readonly ["https://starknet-sepolia.public.blastapi.io/rpc/"];
1956
+ };
1957
+ declare const PAYMASTER_RPC_NODES: {
1958
+ readonly SN_MAIN: readonly ["https://starknet.paymaster.avnu.fi"];
1959
+ readonly SN_SEPOLIA: readonly ["https://sepolia.paymaster.avnu.fi"];
1728
1960
  };
1729
1961
  declare const SYSTEM_MESSAGES: {
1730
1962
  legacyTxWarningMessage: string;
@@ -1732,6 +1964,7 @@ declare const SYSTEM_MESSAGES: {
1732
1964
  SWOldV3: string;
1733
1965
  channelVersionMismatch: string;
1734
1966
  unsupportedSpecVersion: string;
1967
+ maxFeeInV3: string;
1735
1968
  };
1736
1969
 
1737
1970
  declare const constants_ADDR_BOUND: typeof ADDR_BOUND;
@@ -1744,6 +1977,7 @@ declare const constants_MASK_250: typeof MASK_250;
1744
1977
  declare const constants_MASK_31: typeof MASK_31;
1745
1978
  declare const constants_MAX_STORAGE_ITEM_SIZE: typeof MAX_STORAGE_ITEM_SIZE;
1746
1979
  declare const constants_OutsideExecutionCallerAny: typeof OutsideExecutionCallerAny;
1980
+ declare const constants_PAYMASTER_RPC_NODES: typeof PAYMASTER_RPC_NODES;
1747
1981
  declare const constants_PRIME: typeof PRIME;
1748
1982
  declare const constants_RANGE_FELT: typeof RANGE_FELT;
1749
1983
  declare const constants_RANGE_I128: typeof RANGE_I128;
@@ -1758,7 +1992,7 @@ declare const constants_TRANSACTION_VERSION: typeof TRANSACTION_VERSION;
1758
1992
  declare const constants_UDC: typeof UDC;
1759
1993
  declare const constants_ZERO: typeof ZERO;
1760
1994
  declare namespace constants {
1761
- export { constants_ADDR_BOUND as ADDR_BOUND, constants_API_VERSION as API_VERSION, _BaseUrl as BaseUrl, 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_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_PRIME as PRIME, constants_RANGE_FELT as RANGE_FELT, constants_RANGE_I128 as RANGE_I128, constants_RANGE_U128 as RANGE_U128, 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_SYSTEM_MESSAGES as SYSTEM_MESSAGES, _StarknetChainId as StarknetChainId, _SupportedRpcVersion as SupportedRpcVersion, type constants_SupportedTransactionVersion as SupportedTransactionVersion, constants_TEXT_TO_FELT_MAX_LEN as TEXT_TO_FELT_MAX_LEN, constants_TRANSACTION_VERSION as TRANSACTION_VERSION, _TransactionHashPrefix as TransactionHashPrefix, constants_UDC as UDC, constants_ZERO as ZERO };
1995
+ export { constants_ADDR_BOUND as ADDR_BOUND, constants_API_VERSION as API_VERSION, _BaseUrl as BaseUrl, 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_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_FELT as RANGE_FELT, constants_RANGE_I128 as RANGE_I128, constants_RANGE_U128 as RANGE_U128, 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_SYSTEM_MESSAGES as SYSTEM_MESSAGES, _StarknetChainId as StarknetChainId, _SupportedRpcVersion as SupportedRpcVersion, type constants_SupportedTransactionVersion as SupportedTransactionVersion, constants_TEXT_TO_FELT_MAX_LEN as TEXT_TO_FELT_MAX_LEN, constants_TRANSACTION_VERSION as TRANSACTION_VERSION, _TransactionHashPrefix as TransactionHashPrefix, constants_UDC as UDC, constants_ZERO as ZERO };
1762
1996
  }
1763
1997
 
1764
1998
  declare class RpcChannel$1 {
@@ -2739,7 +2973,7 @@ declare class RpcError<BaseErrorT extends RPC_ERROR = RPC_ERROR> extends Library
2739
2973
  params: any;
2740
2974
  };
2741
2975
  constructor(baseError: BaseErrorT, method: string, params: any);
2742
- get code(): 1 | 31 | 10 | 66 | 20 | 32 | 21 | 24 | 27 | 28 | 29 | 33 | 34 | 40 | 41 | 42 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 67 | 68 | 100;
2976
+ get code(): 1 | 31 | 10 | 66 | 20 | 32 | 21 | 24 | 27 | 28 | 29 | 33 | 34 | 40 | 41 | 42 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 67 | 68 | 100 | 150 | 151 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 163;
2743
2977
  /**
2744
2978
  * Verifies the underlying RPC error, also serves as a type guard for the _baseError_ property
2745
2979
  * @example
@@ -3620,6 +3854,61 @@ declare abstract class AccountInterface extends ProviderInterface {
3620
3854
  * @returns response from addTransaction
3621
3855
  */
3622
3856
  abstract execute(transactions: AllowArray<Call>, transactionsDetail?: InvocationsDetails): Promise<InvokeFunctionResponse>;
3857
+ /**
3858
+ * Estimate Fee for executing a paymaster transaction on starknet
3859
+ *
3860
+ * @param calls the invocation object containing:
3861
+ * - contractAddress - the address of the contract
3862
+ * - entrypoint - the entrypoint of the contract
3863
+ * - calldata - (defaults to []) the calldata
3864
+ *
3865
+ * @param paymasterDetails the paymaster details containing:
3866
+ * - feeMode - the fee mode
3867
+ * - deploymentData - the deployment data (optional)
3868
+ * - timeBounds - the time bounds (optional)
3869
+ *
3870
+ * @returns response extracting fee from buildPaymasterTransaction
3871
+ */
3872
+ abstract estimatePaymasterTransactionFee(calls: Call[], paymasterDetails: PaymasterDetails): Promise<PaymasterFeeEstimate>;
3873
+ /**
3874
+ * Build a paymaster transaction
3875
+ *
3876
+ * @param calls the invocation object containing:
3877
+ * - contractAddress - the address of the contract
3878
+ * - entrypoint - the entrypoint of the contract
3879
+ * - calldata - (defaults to []) the calldata
3880
+ *
3881
+ * @param paymasterDetails the paymaster details containing:
3882
+ * - feeMode - the fee mode
3883
+ * - deploymentData - the deployment data (optional)
3884
+ * - timeBounds - the time bounds (optional)
3885
+ *
3886
+ * @returns the prepared transaction
3887
+ */
3888
+ abstract buildPaymasterTransaction(calls: Call[], paymasterDetails: PaymasterDetails): Promise<PreparedTransaction>;
3889
+ /**
3890
+ * Execute a paymaster transaction
3891
+ *
3892
+ * Assert that the gas token value is equal to the provided gas fees
3893
+ * Assert that the calls are strictly equal to the returned calls.
3894
+ * Assert that the gas token (in gas token) price is not too high, if provided.
3895
+ * Assert that typedData to signed is strictly equal to the provided typedData.
3896
+ *
3897
+ * @param calls the invocation object containing:
3898
+ * - contractAddress - the address of the contract
3899
+ * - entrypoint - the entrypoint of the contract
3900
+ * - calldata - (defaults to []) the calldata
3901
+ *
3902
+ * @param paymasterDetails the paymaster details containing:
3903
+ * - feeMode - the fee mode
3904
+ * - deploymentData - the deployment data (optional)
3905
+ * - timeBounds - the time bounds (optional)
3906
+ *
3907
+ * @param maxFeeInGasToken - the max fee acceptable to pay in gas token (optional)
3908
+ *
3909
+ * @returns the tarnsaction hash if successful, otherwise an error is thrown
3910
+ */
3911
+ abstract executePaymasterTransaction(calls: Call[], paymasterDetails: PaymasterDetails, maxFeeInGasToken?: BigNumberish): Promise<InvokeFunctionResponse>;
3623
3912
  /**
3624
3913
  * Declares a given compiled contract (json) to starknet
3625
3914
  *
@@ -3742,12 +4031,65 @@ declare abstract class AccountInterface extends ProviderInterface {
3742
4031
  abstract getNonce(blockIdentifier?: BlockIdentifier): Promise<Nonce>;
3743
4032
  }
3744
4033
 
4034
+ declare abstract class PaymasterInterface {
4035
+ abstract nodeUrl: string;
4036
+ abstract headers: object;
4037
+ abstract readonly baseFetch: NonNullable<RpcProviderOptions['baseFetch']>;
4038
+ /**
4039
+ * Returns the status of the paymaster service
4040
+ *
4041
+ * @returns If the paymaster service is correctly functioning, return true. Else, return false
4042
+ */
4043
+ abstract isAvailable(): Promise<boolean>;
4044
+ /**
4045
+ * Receives the transaction the user wants to execute. Returns the typed data along with
4046
+ * the estimated gas cost and the maximum gas cost suggested to ensure execution
4047
+ *
4048
+ * @param transaction Transaction to be executed by the paymaster
4049
+ * @param parameters Execution parameters to be used when executing the transaction
4050
+ * @returns The transaction data required for execution along with an estimation of the fee
4051
+ */
4052
+ abstract buildTransaction(transaction: UserTransaction, parameters: ExecutionParameters): Promise<PreparedTransaction>;
4053
+ /**
4054
+ * Sends the signed typed data to the paymaster service for execution
4055
+ *
4056
+ * @param transaction Typed data build by calling paymaster_buildTransaction signed by the user to be executed by the paymaster service
4057
+ * @param parameters Execution parameters to be used when executing the transaction
4058
+ * @returns The hash of the transaction broadcasted by the paymaster and the tracking ID corresponding to the user `execute` request
4059
+ */
4060
+ abstract executeTransaction(transaction: ExecutableUserTransaction, parameters: ExecutionParameters): Promise<PAYMASTER_API.ExecuteResponse>;
4061
+ /**
4062
+ * Get a list of the tokens that the paymaster supports, together with their prices in STRK
4063
+ *
4064
+ * @returns An array of token data
4065
+ */
4066
+ abstract getSupportedTokens(): Promise<TokenData[]>;
4067
+ }
4068
+
4069
+ declare class PaymasterRpc implements PaymasterInterface {
4070
+ nodeUrl: string;
4071
+ headers: object;
4072
+ readonly baseFetch: NonNullable<RpcProviderOptions['baseFetch']>;
4073
+ requestId: number;
4074
+ constructor(options?: PaymasterOptions | PaymasterInterface | PaymasterRpc);
4075
+ fetch(method: string, params?: object, id?: string | number): Promise<Response>;
4076
+ protected errorHandler(method: string, params: any, rpcError?: Error$1, otherError?: any): void;
4077
+ protected fetchEndpoint<T extends keyof PAYMASTER_API.Methods>(method: T, params?: PAYMASTER_API.Methods[T]['params']): Promise<PAYMASTER_API.Methods[T]['result']>;
4078
+ isAvailable(): Promise<boolean>;
4079
+ buildTransaction(transaction: UserTransaction, parameters: ExecutionParameters): Promise<PreparedTransaction>;
4080
+ executeTransaction(transaction: ExecutableUserTransaction, parameters: ExecutionParameters): Promise<PAYMASTER_API.ExecuteResponse>;
4081
+ getSupportedTokens(): Promise<TokenData[]>;
4082
+ }
4083
+
4084
+ declare const defaultPaymaster: PaymasterRpc;
4085
+
3745
4086
  declare class Account extends RpcProvider implements AccountInterface {
3746
4087
  signer: SignerInterface;
3747
4088
  address: string;
3748
4089
  cairoVersion: CairoVersion;
3749
4090
  readonly transactionVersion: typeof ETransactionVersion.V2 | typeof ETransactionVersion.V3;
3750
- constructor(providerOrOptions: ProviderOptions | ProviderInterface, address: string, pkOrSigner: Uint8Array | string | SignerInterface, cairoVersion?: CairoVersion, transactionVersion?: SupportedTransactionVersion);
4091
+ paymaster: PaymasterInterface;
4092
+ constructor(providerOrOptions: ProviderOptions | ProviderInterface, address: string, pkOrSigner: Uint8Array | string | SignerInterface, cairoVersion?: CairoVersion, transactionVersion?: SupportedTransactionVersion, paymaster?: PaymasterOptions | PaymasterInterface);
3751
4093
  /** @deprecated @hidden */
3752
4094
  static create(): Promise<never>;
3753
4095
  protected getPreferredVersion(type12: ETransactionVersion, type3: ETransactionVersion): RPCSPEC08.ETransactionVersion;
@@ -3766,6 +4108,10 @@ declare class Account extends RpcProvider implements AccountInterface {
3766
4108
  estimateFeeBulk(invocations: Invocations, details?: UniversalDetails): Promise<EstimateFeeBulk>;
3767
4109
  simulateTransaction(invocations: Invocations, details?: SimulateTransactionDetails): Promise<SimulateTransactionResponse>;
3768
4110
  execute(transactions: AllowArray<Call>, transactionsDetail?: UniversalDetails): Promise<InvokeFunctionResponse>;
4111
+ buildPaymasterTransaction(calls: Call[], paymasterDetails: PaymasterDetails): Promise<PreparedTransaction>;
4112
+ estimatePaymasterTransactionFee(calls: Call[], paymasterDetails: PaymasterDetails): Promise<PaymasterFeeEstimate>;
4113
+ private preparePaymasterTransaction;
4114
+ executePaymasterTransaction(calls: Call[], paymasterDetails: PaymasterDetails, maxFeeInGasToken?: BigNumberish): Promise<InvokeFunctionResponse>;
3769
4115
  /**
3770
4116
  * First check if contract is already declared, if not declare it
3771
4117
  * If contract already declared returned transaction_hash is ''.
@@ -3876,7 +4222,7 @@ interface StarknetWalletProvider extends StarknetWindowObject {
3876
4222
 
3877
4223
  declare class WalletAccount extends Account implements AccountInterface {
3878
4224
  walletProvider: StarknetWalletProvider;
3879
- constructor(providerOrOptions: ProviderOptions | ProviderInterface, walletProvider: StarknetWalletProvider, address: string, cairoVersion?: CairoVersion);
4225
+ constructor(providerOrOptions: ProviderOptions | ProviderInterface, walletProvider: StarknetWalletProvider, address: string, cairoVersion?: CairoVersion, paymaster?: PaymasterOptions | PaymasterInterface);
3880
4226
  /**
3881
4227
  * WALLET EVENTS
3882
4228
  */
@@ -3897,8 +4243,8 @@ declare class WalletAccount extends Account implements AccountInterface {
3897
4243
  declare(payload: DeclareContractPayload): Promise<RPCSPEC07.AddDeclareTransactionResult>;
3898
4244
  deploy(payload: UniversalDeployerContractPayload | UniversalDeployerContractPayload[]): Promise<MultiDeployContractResponse>;
3899
4245
  signMessage(typedData: TypedData): Promise<Signature$1>;
3900
- static connect(provider: ProviderInterface, walletProvider: StarknetWalletProvider, cairoVersion?: CairoVersion, silentMode?: boolean): Promise<WalletAccount>;
3901
- static connectSilent(provider: ProviderInterface, walletProvider: StarknetWalletProvider, cairoVersion?: CairoVersion): Promise<WalletAccount>;
4246
+ static connect(provider: ProviderInterface, walletProvider: StarknetWalletProvider, cairoVersion?: CairoVersion, paymaster?: PaymasterOptions | PaymasterInterface, silentMode?: boolean): Promise<WalletAccount>;
4247
+ static connectSilent(provider: ProviderInterface, walletProvider: StarknetWalletProvider, cairoVersion?: CairoVersion, paymaster?: PaymasterOptions | PaymasterInterface): Promise<WalletAccount>;
3902
4248
  }
3903
4249
 
3904
4250
  declare module 'abi-wan-kanabi' {
@@ -4186,7 +4532,7 @@ declare function getSelector(value: string | BigNumberish): string;
4186
4532
  */
4187
4533
  declare function solidityUint256PackedKeccak256(params: BigNumberish[]): string;
4188
4534
  /**
4189
- * Calculate the L2 message hash related by a message L1->L2
4535
+ * Calculate the message hash related by a message L1->L2
4190
4536
  * @param {BigNumberish} l1FromAddress L1 account address that paid the message.
4191
4537
  * @param {BigNumberish} l2ToAddress L2 contract address to execute.
4192
4538
  * @param {string | BigNumberish} l2Selector can be a function name ("bridge_withdraw") or a number (BigNumberish).
@@ -4211,7 +4557,30 @@ declare function solidityUint256PackedKeccak256(params: BigNumberish[]): string;
4211
4557
  * ```
4212
4558
  */
4213
4559
  declare function getL2MessageHash(l1FromAddress: BigNumberish, l2ToAddress: BigNumberish, l2Selector: string | BigNumberish, l2Calldata: BigNumberish[], l1Nonce: BigNumberish): string;
4560
+ /**
4561
+ * Calculate the message hash related by a message L2->L1.
4562
+ * @param {BigNumberish} fromL2Address L2 contract address that send the message.
4563
+ * @param {BigNumberish} toL1Address Recipient L1 account address.
4564
+ * @param {BigNumberish[]} payload an array of BigNumberish of the raw parameters passed to the message.
4565
+ * @returns {string} hex-string of the message hash.
4566
+ * @example
4567
+ * ```typescript
4568
+ * const fromL2Address = '0x04c5772d1914fe6ce891b64eb35bf3522aeae1315647314aac58b01137607f3f';
4569
+ * const toL1Address = '0x8453fc6cd1bcfe8d4dfc069c400b433054d47bdc';
4570
+ * const payload = [
4571
+ * 0n,
4572
+ * 1270393329865452722422775477982592488490549769359n,
4573
+ * 4543560n,
4574
+ * 200000000000000,
4575
+ * 0n,
4576
+ * ];
4577
+ * const result = hash.getL1MessageHash(fromL2Address, toL1Address, payload);
4578
+ * // result = "0x2eace1d0ab5dbe354a93fb0a59c6b98f26e6a0fe7c33f87329f8fc9829058b8b"
4579
+ * ```
4580
+ */
4581
+ declare function getL1MessageHash(fromL2Address: BigNumberish, toL1Address: BigNumberish, payload: BigNumberish[]): string;
4214
4582
 
4583
+ declare const selector_getL1MessageHash: typeof getL1MessageHash;
4215
4584
  declare const selector_getL2MessageHash: typeof getL2MessageHash;
4216
4585
  declare const selector_getSelector: typeof getSelector;
4217
4586
  declare const selector_getSelectorFromName: typeof getSelectorFromName;
@@ -4219,7 +4588,7 @@ declare const selector_keccakBn: typeof keccakBn;
4219
4588
  declare const selector_solidityUint256PackedKeccak256: typeof solidityUint256PackedKeccak256;
4220
4589
  declare const selector_starknetKeccak: typeof starknetKeccak;
4221
4590
  declare namespace selector {
4222
- export { selector_getL2MessageHash as getL2MessageHash, selector_getSelector as getSelector, selector_getSelectorFromName as getSelectorFromName, selector_keccakBn as keccakBn, selector_solidityUint256PackedKeccak256 as solidityUint256PackedKeccak256, selector_starknetKeccak as starknetKeccak };
4591
+ 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 };
4223
4592
  }
4224
4593
 
4225
4594
  /**
@@ -4506,6 +4875,7 @@ declare const index$2_computePoseidonHash: typeof computePoseidonHash;
4506
4875
  declare const index$2_computePoseidonHashOnElements: typeof computePoseidonHashOnElements;
4507
4876
  declare const index$2_computeSierraContractClassHash: typeof computeSierraContractClassHash;
4508
4877
  declare const index$2_formatSpaces: typeof formatSpaces;
4878
+ declare const index$2_getL1MessageHash: typeof getL1MessageHash;
4509
4879
  declare const index$2_getL2MessageHash: typeof getL2MessageHash;
4510
4880
  declare const index$2_getSelector: typeof getSelector;
4511
4881
  declare const index$2_getSelectorFromName: typeof getSelectorFromName;
@@ -4515,7 +4885,7 @@ declare const index$2_poseidon: typeof poseidon;
4515
4885
  declare const index$2_solidityUint256PackedKeccak256: typeof solidityUint256PackedKeccak256;
4516
4886
  declare const index$2_starknetKeccak: typeof starknetKeccak;
4517
4887
  declare namespace index$2 {
4518
- export { index$2_calculateContractAddressFromHash as calculateContractAddressFromHash, calculateDeclareTransactionHash$1 as calculateDeclareTransactionHash, calculateDeployAccountTransactionHash$1 as calculateDeployAccountTransactionHash, calculateInvokeTransactionHash$1 as calculateInvokeTransactionHash, index$2_calculateL2MessageTxHash as calculateL2MessageTxHash, index$2_computeCompiledClassHash as computeCompiledClassHash, index$2_computeContractClassHash as computeContractClassHash, index$2_computeHashOnElements as computeHashOnElements, index$2_computeHintedClassHash as computeHintedClassHash, index$2_computeLegacyContractClassHash as computeLegacyContractClassHash, index$2_computePedersenHash as computePedersenHash, index$2_computePedersenHashOnElements as computePedersenHashOnElements, index$2_computePoseidonHash as computePoseidonHash, index$2_computePoseidonHashOnElements as computePoseidonHashOnElements, index$2_computeSierraContractClassHash as computeSierraContractClassHash, index$2_formatSpaces as formatSpaces, index$2_getL2MessageHash as getL2MessageHash, index$2_getSelector as getSelector, index$2_getSelectorFromName as getSelectorFromName, index$2_hashByteCodeSegments as hashByteCodeSegments, index$2_keccakBn as keccakBn, index$2_poseidon as poseidon, index$2_solidityUint256PackedKeccak256 as solidityUint256PackedKeccak256, index$2_starknetKeccak as starknetKeccak };
4888
+ export { index$2_calculateContractAddressFromHash as calculateContractAddressFromHash, calculateDeclareTransactionHash$1 as calculateDeclareTransactionHash, calculateDeployAccountTransactionHash$1 as calculateDeployAccountTransactionHash, calculateInvokeTransactionHash$1 as calculateInvokeTransactionHash, index$2_calculateL2MessageTxHash as calculateL2MessageTxHash, index$2_computeCompiledClassHash as computeCompiledClassHash, index$2_computeContractClassHash as computeContractClassHash, index$2_computeHashOnElements as computeHashOnElements, index$2_computeHintedClassHash as computeHintedClassHash, index$2_computeLegacyContractClassHash as computeLegacyContractClassHash, index$2_computePedersenHash as computePedersenHash, index$2_computePedersenHashOnElements as computePedersenHashOnElements, index$2_computePoseidonHash as computePoseidonHash, index$2_computePoseidonHashOnElements as computePoseidonHashOnElements, index$2_computeSierraContractClassHash as computeSierraContractClassHash, index$2_formatSpaces as formatSpaces, index$2_getL1MessageHash as getL1MessageHash, index$2_getL2MessageHash as getL2MessageHash, index$2_getSelector as getSelector, index$2_getSelectorFromName as getSelectorFromName, index$2_hashByteCodeSegments as hashByteCodeSegments, index$2_keccakBn as keccakBn, index$2_poseidon as poseidon, index$2_solidityUint256PackedKeccak256 as solidityUint256PackedKeccak256, index$2_starknetKeccak as starknetKeccak };
4519
4889
  }
4520
4890
 
4521
4891
  /**
@@ -6124,6 +6494,29 @@ declare namespace starknetId {
6124
6494
  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 };
6125
6495
  }
6126
6496
 
6497
+ /**
6498
+ * Return randomly select available public paymaster node url
6499
+ * @param {NetworkName} networkName NetworkName
6500
+ * @param {boolean} mute mute public node warning
6501
+ * @returns {string} default node url
6502
+ */
6503
+ declare const getDefaultPaymasterNodeUrl: (networkName?: _NetworkName, mute?: boolean) => string;
6504
+ /**
6505
+ * Asserts that the given calls are strictly equal, otherwise throws an error.
6506
+ * @param {Call[]} originalCalls - The original calls.
6507
+ * @param {Call[]} unsafeCalls - The unsafe calls.
6508
+ * @throws {Error} Throws an error if the calls are not strictly equal.
6509
+ */
6510
+ declare function assertCallsAreStrictlyEqual(originalCalls: Call[], unsafeCalls: (OutsideCallV1 | OutsideCallV2)[]): void;
6511
+ declare const assertPaymasterTransactionSafety: (preparedTransaction: PreparedTransaction, calls: Call[], paymasterDetails: PaymasterDetails, maxFeeInGasToken?: BigNumberish) => void;
6512
+
6513
+ declare const paymaster_assertCallsAreStrictlyEqual: typeof assertCallsAreStrictlyEqual;
6514
+ declare const paymaster_assertPaymasterTransactionSafety: typeof assertPaymasterTransactionSafety;
6515
+ declare const paymaster_getDefaultPaymasterNodeUrl: typeof getDefaultPaymasterNodeUrl;
6516
+ declare namespace paymaster {
6517
+ export { paymaster_assertCallsAreStrictlyEqual as assertCallsAreStrictlyEqual, paymaster_assertPaymasterTransactionSafety as assertPaymasterTransactionSafety, paymaster_getDefaultPaymasterNodeUrl as getDefaultPaymasterNodeUrl };
6518
+ }
6519
+
6127
6520
  /**
6128
6521
  * Helper - Async Sleep for 'delay' time
6129
6522
  *
@@ -6354,6 +6747,7 @@ declare namespace index {
6354
6747
  export { index_getAbiEvents as getAbiEvents, index_isAbiEvent as isAbiEvent, index_parseEvents as parseEvents, index_parseUDCEvent as parseUDCEvent };
6355
6748
  }
6356
6749
 
6750
+ declare function toOutsideCallV2(call: OutsideCallV1 | OutsideCallV2): OutsideCallV2;
6357
6751
  /**
6358
6752
  * Converts a Call object to an OutsideCall object that can be used for an Outside Execution.
6359
6753
  * @param {Call} call transaction to proceed.
@@ -6465,8 +6859,9 @@ declare const outsideExecution_buildExecuteFromOutsideCall: typeof buildExecuteF
6465
6859
  declare const outsideExecution_buildExecuteFromOutsideCallData: typeof buildExecuteFromOutsideCallData;
6466
6860
  declare const outsideExecution_getOutsideCall: typeof getOutsideCall;
6467
6861
  declare const outsideExecution_getTypedData: typeof getTypedData;
6862
+ declare const outsideExecution_toOutsideCallV2: typeof toOutsideCallV2;
6468
6863
  declare namespace outsideExecution {
6469
- export { outsideExecution_buildExecuteFromOutsideCall as buildExecuteFromOutsideCall, outsideExecution_buildExecuteFromOutsideCallData as buildExecuteFromOutsideCallData, outsideExecution_getOutsideCall as getOutsideCall, outsideExecution_getTypedData as getTypedData };
6864
+ export { outsideExecution_buildExecuteFromOutsideCall as buildExecuteFromOutsideCall, outsideExecution_buildExecuteFromOutsideCallData as buildExecuteFromOutsideCallData, outsideExecution_getOutsideCall as getOutsideCall, outsideExecution_getTypedData as getTypedData, outsideExecution_toOutsideCallV2 as toOutsideCallV2 };
6470
6865
  }
6471
6866
 
6472
6867
  /**
@@ -7411,9 +7806,9 @@ declare class ReceiptTx implements GetTransactionReceiptResponse {
7411
7806
  readonly value: TransactionReceiptValue;
7412
7807
  constructor(receipt: GetTxReceiptResponseWithoutHelper);
7413
7808
  match(callbacks: TransactionReceiptCallbacks): void;
7414
- isSuccess(): this is SuccessfulTransactionReceiptResponse;
7415
- isReverted(): this is RevertedTransactionReceiptResponse;
7416
- isError(): boolean;
7809
+ isSuccess(): this is GetTransactionReceiptResponse<'success'>;
7810
+ isReverted(): this is GetTransactionReceiptResponse<'reverted'>;
7811
+ isError(): this is GetTransactionReceiptResponse<'error'>;
7417
7812
  static isSuccess(transactionReceipt: GetTxReceiptResponseWithoutHelper): transactionReceipt is SuccessfulTransactionReceiptResponse;
7418
7813
  static isReverted(transactionReceipt: GetTxReceiptResponseWithoutHelper): transactionReceipt is RevertedTransactionReceiptResponse;
7419
7814
  }
@@ -7614,4 +8009,4 @@ declare class Logger {
7614
8009
  */
7615
8010
  declare const logger: Logger;
7616
8011
 
7617
- export { type Abi, type AbiEntry, type AbiEnum, type AbiEnums, type AbiEvent, type AbiEvents, type AbiInterfaces, type AbiStruct, type AbiStructs, Account, AccountInterface, type AccountInvocationItem, type AccountInvocations, type AccountInvocationsFactoryDetails, type AllowArray, type Args, type ArgsOrCalldata, type ArgsOrCalldataWithOptions, type ArraySignatureType, type AsyncContractFunction, type BLOCK_HASH, type BLOCK_NUMBER, BatchClient, type BatchClientOptions, type BigNumberish, type Block$1 as Block, type BlockIdentifier, type BlockNumber, BlockStatus, BlockTag, type BlockWithTxHashes, type Builtins, type ByteArray, type ByteCode, type CairoAssembly, type CairoContract, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoFixedArray, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoUint256, CairoUint512, type CairoVersion, type Call, type CallContractResponse, CallData, type CallDetails, type CallOptions, type Calldata, type CompiledContract, type CompiledSierra, type CompiledSierraCasm, type CompilerVersion, type CompleteDeclareContractPayload, type CompressedProgram, Contract, type ContractClass, type ContractClassIdentifier, type ContractClassPayload, type ContractClassResponse, type ContractEntryPointFields, ContractFactory, type ContractFactoryParams, type ContractFunction, ContractInterface, type ContractOptions, type ContractVersion, CustomError, 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 DeployContractResponse, type DeployContractUDCResponse, type DeployTransactionReceiptResponse, type DeployedAccountTransaction, type Details, EDAMode, EDataAvailabilityMode, ETH_ADDRESS, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, ETransactionVersion2, ETransactionVersion3, type EVENTS_CHUNK, type EmittedEvent, EntryPointType, type EntryPointsByType, type EstimateFee, type EstimateFeeAction, type EstimateFeeBulk, type EstimateFeeDetails, type EstimateFeeResponse, type EstimateFeeResponseBulk, EthSigner, type Event$1 as Event, type EventEntry, type EventFilter, type FEE_ESTIMATE, type FELT, type FeeEstimate, type FeeMarginPercentage, type FunctionAbi, type GetBlockResponse, type GetTransactionReceiptResponse, type GetTransactionResponse, type GetTxReceiptResponseWithoutHelper, type HexCalldata, type InterfaceAbi, type Invocation, type Invocations, type InvocationsDetails, type InvocationsDetailsWithNonce, type InvocationsSignerDetails, type InvokeFunctionResponse, type InvokeOptions, type InvokeTransactionReceiptResponse, type InvokedTransaction, type L1HandlerTransactionReceiptResponse, type L1Message, type L1_HANDLER_TXN, type LedgerPathCalculation, LedgerSigner111 as LedgerSigner, LedgerSigner111, LedgerSigner221, LedgerSigner231, type LegacyCompiledContract, type LegacyContractClass, type LegacyEvent, LibraryError, Literal, 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 PENDING_DECLARE_TXN_RECEIPT, type PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT, type PENDING_INVOKE_TXN_RECEIPT, type PENDING_L1_HANDLER_TXN_RECEIPT, type PENDING_STATE_UPDATE, type PRICE_UNIT, type ParsedEvent, type ParsedEvents, type ParsedStruct, type PendingBlock, type PendingReceipt, type PendingStateUpdate, type Program, RpcProvider as Provider, ProviderInterface, type ProviderOptions, type PythonicHints, type RESOURCE_PRICE, index$4 as RPC, rpc_0_7_1 as RPC07, rpc_0_8_1 as RPC08, RPCResponseParser, type RPC_ERROR, type RPC_ERROR_SET, type RawArgs, type RawArgsArray, type RawArgsObject, type RawCalldata, type Receipt, ReceiptTx, type RequiredKeysOf, type ResourceBounds, type ResourceBoundsOverhead, type ResourceBoundsOverheadRPC07, type ResourceBoundsOverheadRPC08, ResponseParser, type Result, type RevertedTransactionReceiptResponse, RpcChannel, RpcError, RpcProvider, type RpcProviderOptions, type SIMULATION_FLAG, type STATE_UPDATE, type SierraContractClass, type SierraContractEntryPointFields, type SierraEntryPointsByType, type SierraProgramDebugInfo, type Signature, Signer, SignerInterface, type Simplify, type SimulateTransaction, type SimulateTransactionDetails, type SimulateTransactionResponse, type SimulatedTransaction, type SimulationFlags, type StarkProfile, type StateUpdate, type StateUpdateResponse, type Storage, type SubscriptionBlockIdentifier, type SuccessfulTransactionReceiptResponse, type TRANSACTION_TRACE, type TXN_EXECUTION_STATUS, type TXN_HASH, type TXN_STATUS, TransactionExecutionStatus, TransactionFinalityStatus, type TransactionReceipt, type TransactionReceiptCallbacks, type TransactionReceiptCallbacksDefault, type TransactionReceiptCallbacksDefined, type TransactionReceiptStatus, type TransactionReceiptValue, type TransactionStatus, type TransactionStatusReceiptSets, 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 UniversalSuggestedFee, type V2DeclareSignerDetails, type V2DeployAccountSignerDetails, type V2InvocationsSignerDetails, type V3DeclareSignerDetails, type V3DeployAccountSignerDetails, type V3InvocationsSignerDetails, type V3TransactionDetails, ValidateType, WSSubscriptions, WalletAccount, WebSocketChannel, type WebSocketOptions, type WeierstrassSignatureType, addAddressPadding, byteArray, cairo, config, constants, contractClassResponseToLegacyCompiledContract, defaultProvider, ec, encode, eth, index as events, extractContractHashes, fixProto, fixStack, getCalldata, getChecksumAddress, type getContractVersionOptions, type getEstimateFeeBulkOptions, getLedgerPathBuffer111 as getLedgerPathBuffer, getLedgerPathBuffer111, getLedgerPathBuffer221, type getSimulateTransactionOptions, index$2 as hash, isPendingBlock, isPendingStateUpdate, isPendingTransaction, isRPC08_FeeEstimate, isRPC08_ResourceBounds, isSierra, isSupportedSpecVersion, isV3Tx, isVersion, json, logger, merkle, num, outsideExecution, parseCalldataField, provider, selector, shortString, src5, index$1 as stark, starknetId, toAnyPatchVersion, transaction, typedData, index$3 as types, uint256$1 as uint256, units, v2 as v2hash, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, type waitForTransactionOptions, connect as wallet };
8012
+ export { type Abi, type AbiEntry, type AbiEnum, type AbiEnums, type AbiEvent, type AbiEvents, type AbiInterfaces, type AbiStruct, type AbiStructs, Account, AccountInterface, type AccountInvocationItem, type AccountInvocations, type AccountInvocationsFactoryDetails, type AllowArray, type Args, type ArgsOrCalldata, type ArgsOrCalldataWithOptions, type ArraySignatureType, type AsyncContractFunction, type BLOCK_HASH, type BLOCK_NUMBER, BatchClient, type BatchClientOptions, type BigNumberish, type Block$1 as Block, type BlockIdentifier, type BlockNumber, BlockStatus, BlockTag, type BlockWithTxHashes, type Builtins, type ByteArray, type ByteCode, type CairoAssembly, type CairoContract, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoFixedArray, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoUint256, CairoUint512, type CairoVersion, type Call, type CallContractResponse, CallData, type CallDetails, type CallOptions, type Calldata, type CompiledContract, type CompiledSierra, type CompiledSierraCasm, type CompilerVersion, type CompleteDeclareContractPayload, type CompressedProgram, Contract, type ContractClass, type ContractClassIdentifier, type ContractClassPayload, type ContractClassResponse, type ContractEntryPointFields, ContractFactory, type ContractFactoryParams, type ContractFunction, ContractInterface, type ContractOptions, type ContractVersion, CustomError, 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, type Details, EDAMode, EDataAvailabilityMode, ETH_ADDRESS, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, ETransactionVersion2, ETransactionVersion3, type EVENTS_CHUNK, type EmittedEvent, EntryPointType, type EntryPointsByType, type EstimateFee, type EstimateFeeAction, type EstimateFeeBulk, type EstimateFeeDetails, type EstimateFeeResponse, type EstimateFeeResponseBulk, EthSigner, type Event$1 as Event, type EventEntry, type EventFilter, type ExecutableDeployAndInvokeTransaction, type ExecutableDeployTransaction, type ExecutableInvokeTransaction, type ExecutableUserInvoke, type ExecutableUserTransaction, type ExecutionParameters, type FEE_ESTIMATE, type FELT, type FeeEstimate, type FeeMarginPercentage, type FeeMode, type FunctionAbi, type GetBlockResponse, type GetTransactionReceiptResponse, type GetTransactionResponse, type GetTxReceiptResponseWithoutHelper, type HexCalldata, type Hint, type InterfaceAbi, type Invocation, type Invocations, type InvocationsDetails, type InvocationsDetailsWithNonce, type InvocationsSignerDetails, type InvokeFunctionResponse, type InvokeOptions, type InvokeTransaction, type InvokeTransactionReceiptResponse, type InvokedTransaction, type L1HandlerTransactionReceiptResponse, type L1Message, type L1_HANDLER_TXN, type LedgerPathCalculation, LedgerSigner111 as LedgerSigner, LedgerSigner111, LedgerSigner221, LedgerSigner231, type LegacyCompiledContract, type LegacyContractClass, type LegacyEvent, LibraryError, Literal, 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 PENDING_DECLARE_TXN_RECEIPT, type PENDING_DEPLOY_ACCOUNT_TXN_RECEIPT, type PENDING_INVOKE_TXN_RECEIPT, type PENDING_L1_HANDLER_TXN_RECEIPT, type PENDING_STATE_UPDATE, type PRICE_UNIT, type ParsedEvent, type ParsedEvents, type ParsedStruct, type PaymasterDetails, type PaymasterFeeEstimate, PaymasterInterface, type PaymasterOptions, PaymasterRpc, type PaymasterRpcOptions, type PaymasterTimeBounds, type PendingBlock, type PendingReceipt, type PendingStateUpdate, type PreparedDeployAndInvokeTransaction, type PreparedDeployTransaction, type PreparedInvokeTransaction, type PreparedTransaction, type Program, RpcProvider as Provider, ProviderInterface, type ProviderOptions, type PythonicHints, type RESOURCE_PRICE, index$4 as RPC, rpc_0_7_1 as RPC07, rpc_0_8_1 as RPC08, RPCResponseParser, type RPC_ERROR, type RPC_ERROR_SET, type RawArgs, type RawArgsArray, type RawArgsObject, type RawCalldata, type Receipt, ReceiptTx, type RequiredKeysOf, type ResourceBounds, type ResourceBoundsOverhead, type ResourceBoundsOverheadRPC07, type ResourceBoundsOverheadRPC08, ResponseParser, type Result, type RevertedTransactionReceiptResponse, RpcChannel, RpcError, RpcProvider, type RpcProviderOptions, type SIMULATION_FLAG, type STATE_UPDATE, type SierraContractClass, type SierraContractEntryPointFields, type SierraEntryPointsByType, type SierraProgramDebugInfo, type Signature, Signer, SignerInterface, type Simplify, type SimulateTransaction, type SimulateTransactionDetails, type SimulateTransactionResponse, type SimulatedTransaction, type SimulationFlags, type StarkProfile, type StateUpdate, type StateUpdateResponse, type Storage, type SubscriptionBlockIdentifier, type SuccessfulTransactionReceiptResponse, type TRANSACTION_TRACE, type TXN_EXECUTION_STATUS, type TXN_HASH, type TXN_STATUS, type TokenData, TransactionExecutionStatus, TransactionFinalityStatus, type TransactionReceipt, type TransactionReceiptCallbacks, type TransactionReceiptCallbacksDefault, type TransactionReceiptCallbacksDefined, type TransactionReceiptStatus, type TransactionReceiptValue, type TransactionStatus, type TransactionStatusReceiptSets, 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 UniversalSuggestedFee, type UserInvoke, type UserTransaction, type V2DeclareSignerDetails, type V2DeployAccountSignerDetails, type V2InvocationsSignerDetails, type V3DeclareSignerDetails, type V3DeployAccountSignerDetails, type V3InvocationsSignerDetails, type V3TransactionDetails, ValidateType, WSSubscriptions, WalletAccount, WebSocketChannel, type WebSocketOptions, type WeierstrassSignatureType, addAddressPadding, byteArray, cairo, config, constants, contractClassResponseToLegacyCompiledContract, defaultPaymaster, defaultProvider, ec, encode, eth, index as events, extractContractHashes, fixProto, fixStack, getCalldata, getChecksumAddress, type getContractVersionOptions, type getEstimateFeeBulkOptions, getLedgerPathBuffer111 as getLedgerPathBuffer, getLedgerPathBuffer111, getLedgerPathBuffer221, type getSimulateTransactionOptions, index$2 as hash, isPendingBlock, isPendingStateUpdate, isPendingTransaction, isRPC08_FeeEstimate, isRPC08_ResourceBounds, isSierra, isSupportedSpecVersion, isV3Tx, isVersion, json, logger, merkle, num, outsideExecution, parseCalldataField, paymaster, provider, selector, shortString, src5, index$1 as stark, starknetId, toAnyPatchVersion, transaction, typedData, index$3 as types, uint256$1 as uint256, units, v2 as v2hash, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, type waitForTransactionOptions, connect as wallet };