starknet 10.7.5 → 10.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/index.d.ts +111 -103
- package/dist/index.global.js +38 -33
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +38 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +37 -21
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
# [10.8.0](https://github.com/starknet-io/starknet.js/compare/v10.7.6...v10.8.0) (2026-09-10)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- **deps:** bump get-starknet wallet-standard to 6.0.6 ([5a8cb12](https://github.com/starknet-io/starknet.js/commit/5a8cb121dd0da9de2b0d84ed59d7a3ebbe1ff855))
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- add RPC 0.10.4 support (starknet-types-0104, RpcChannel v0_10_4) ([24561f4](https://github.com/starknet-io/starknet.js/commit/24561f4ba64cde954d8204ff5404e034fd2b87a6))
|
|
10
|
+
|
|
11
|
+
## [10.7.6](https://github.com/starknet-io/starknet.js/compare/v10.7.5...v10.7.6) (2026-09-09)
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- **logger:** coerce message to string before sanitizing CR/LF ([f0a3058](https://github.com/starknet-io/starknet.js/commit/f0a305811a009b3265185f9b5e0ca48301937ec8))
|
|
16
|
+
- **security:** harden code scanning findings ([63bf7bc](https://github.com/starknet-io/starknet.js/commit/63bf7bc3ac0bcbd3fd04769446f697983ac5b26c))
|
|
17
|
+
|
|
1
18
|
## [10.7.5](https://github.com/starknet-io/starknet.js/compare/v10.7.4...v10.7.5) (2026-09-08)
|
|
2
19
|
|
|
3
20
|
### Bug Fixes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { PAYMASTER_API, CONTRACT, EDataAvailabilityMode as EDataAvailabilityMode$1, ETransactionType, SUBSCRIPTION_BLOCK_ID, TypedData, CONTRACT_STORAGE_KEYS, StorageProof, CASM_COMPILED_CONTRACT_CLASS, OutsideExecutionTypedData, ETransactionVersion3 as ETransactionVersion3$1, IsType, TransactionReceipt as TransactionReceipt$1, IsSucceeded, IsReverted, BLOCK_WITH_TX_HASHES, PRE_CONFIRMED_BLOCK_WITH_TX_HASHES, TransactionHash, BlockHash, FAILED_TO_RECEIVE_TXN, NO_TRACE_AVAILABLE, CONTRACT_NOT_FOUND, ENTRYPOINT_NOT_FOUND, BLOCK_NOT_FOUND, INVALID_TXN_INDEX, CLASS_HASH_NOT_FOUND, TXN_HASH_NOT_FOUND, PAGE_SIZE_TOO_BIG, NO_BLOCKS, INVALID_CONTINUATION_TOKEN, TOO_MANY_KEYS_IN_FILTER, CONTRACT_ERROR, TRANSACTION_EXECUTION_ERROR, STORAGE_PROOF_NOT_SUPPORTED, CLASS_ALREADY_DECLARED, INVALID_TRANSACTION_NONCE, INSUFFICIENT_RESOURCES_FOR_VALIDATE, INSUFFICIENT_ACCOUNT_BALANCE, VALIDATION_FAILURE, COMPILATION_FAILED, CONTRACT_CLASS_SIZE_IS_TOO_LARGE, NON_ACCOUNT, DUPLICATE_TX, COMPILED_CLASS_HASH_MISMATCH, UNSUPPORTED_TX_VERSION, UNSUPPORTED_CONTRACT_CLASS_VERSION, UNEXPECTED_ERROR, REPLACEMENT_TRANSACTION_UNDERPRICED, FEE_BELOW_MINIMUM, INVALID_SUBSCRIPTION_ID, TOO_MANY_ADDRESSES_IN_FILTER, TOO_MANY_BLOCKS_BACK, COMPILATION_ERROR, ETransactionVersion as ETransactionVersion$1, SUBSCRIPTION_ID, TXN_FINALITY_STATUS, STATUS_ACCEPTED_ON_L1, TXN_STATUS_WITHOUT_L1, StarknetEventsEvent, TransactionsStatusEvent, NewTransactionReceiptsEvent, NewTransactionEvent, NewHeadsEvent, STORAGE_RESULT, INVOKE_TXN_V3, StarknetWindowObject, AccountChangeEventHandler, NetworkChangeEventHandler, WatchAssetParameters, AddStarknetChainParameters, Signature as Signature$1, EDAMode as EDAMode$1, StarknetType, StarknetMerkleType, TypedDataRevision, OutsideCallV1, OutsideCallV2, EmittedEvent as EmittedEvent$1, Event as Event$2,
|
|
3
|
-
export { StarknetDomain, StarknetEnumType, StarknetMerkleType, StarknetType, TypedData, TypedDataRevision } from '@starknet-io/starknet-types-
|
|
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, ETransactionVersion3 as ETransactionVersion3$1, IsType, TransactionReceipt as TransactionReceipt$1, IsSucceeded, IsReverted, BLOCK_WITH_TX_HASHES, PRE_CONFIRMED_BLOCK_WITH_TX_HASHES, TransactionHash, BlockHash, FAILED_TO_RECEIVE_TXN, NO_TRACE_AVAILABLE, CONTRACT_NOT_FOUND, ENTRYPOINT_NOT_FOUND, BLOCK_NOT_FOUND, INVALID_TXN_INDEX, CLASS_HASH_NOT_FOUND, TXN_HASH_NOT_FOUND, PAGE_SIZE_TOO_BIG, NO_BLOCKS, INVALID_CONTINUATION_TOKEN, TOO_MANY_KEYS_IN_FILTER, CONTRACT_ERROR, TRANSACTION_EXECUTION_ERROR, STORAGE_PROOF_NOT_SUPPORTED, CLASS_ALREADY_DECLARED, INVALID_TRANSACTION_NONCE, INSUFFICIENT_RESOURCES_FOR_VALIDATE, INSUFFICIENT_ACCOUNT_BALANCE, VALIDATION_FAILURE, COMPILATION_FAILED, CONTRACT_CLASS_SIZE_IS_TOO_LARGE, NON_ACCOUNT, DUPLICATE_TX, COMPILED_CLASS_HASH_MISMATCH, UNSUPPORTED_TX_VERSION, UNSUPPORTED_CONTRACT_CLASS_VERSION, UNEXPECTED_ERROR, REPLACEMENT_TRANSACTION_UNDERPRICED, FEE_BELOW_MINIMUM, INVALID_SUBSCRIPTION_ID, TOO_MANY_ADDRESSES_IN_FILTER, TOO_MANY_BLOCKS_BACK, COMPILATION_ERROR, ETransactionVersion as ETransactionVersion$1, SUBSCRIPTION_ID, TXN_FINALITY_STATUS, STATUS_ACCEPTED_ON_L1, TXN_STATUS_WITHOUT_L1, StarknetEventsEvent, TransactionsStatusEvent, NewTransactionReceiptsEvent, NewTransactionEvent, NewHeadsEvent, STORAGE_RESULT, INVOKE_TXN_V3, StarknetWindowObject, AccountChangeEventHandler, NetworkChangeEventHandler, WatchAssetParameters, AddStarknetChainParameters, Signature as Signature$1, STRK20_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';
|
|
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$
|
|
5
|
+
import { WatchAssetParameters as WatchAssetParameters$1, AddStarknetChainParameters as AddStarknetChainParameters$1, Signature as Signature$2, Address as Address$1, Permission as Permission$1, ChainId as ChainId$1, AccountDeploymentData as AccountDeploymentData$1, AddInvokeTransactionParameters as AddInvokeTransactionParameters$1, AddInvokeTransactionResult as AddInvokeTransactionResult$1, AddDeclareTransactionParameters as AddDeclareTransactionParameters$1, AddDeclareTransactionResult as AddDeclareTransactionResult$1, TypedData as TypedData$1, SpecVersion as SpecVersion$1, API_VERSION as API_VERSION$2 } from '@starknet-io/starknet-types-0101';
|
|
6
6
|
import * as weierstrass from '@noble/curves/abstract/weierstrass';
|
|
7
7
|
import { RecoveredSignatureType } from '@noble/curves/abstract/weierstrass';
|
|
8
8
|
import * as RPC from '@starknet-io/starknet-types-09';
|
|
9
9
|
import { Abi as Abi$1, TypedContract } from 'abi-wan-kanabi';
|
|
10
10
|
import { WalletWithStarknetFeatures, StandardEventsChangeProperties } from '@starknet-io/get-starknet-wallet-standard/features';
|
|
11
11
|
import { WalletWithStarknetFeatures as WalletWithStarknetFeatures$1 } from '@starknet-io/get-starknet-wallet-standard-v6/features';
|
|
12
|
-
import * as _starknet_io_starknet_types_0104 from '@starknet-io/starknet-types-0104';
|
|
13
|
-
import { 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, Permission as Permission$2, WatchAssetParameters as WatchAssetParameters$2, AddStarknetChainParameters as AddStarknetChainParameters$2, ChainId as ChainId$2, AccountDeploymentData as AccountDeploymentData$2, AddInvokeTransactionParameters as AddInvokeTransactionParameters$2, AddInvokeTransactionResult as AddInvokeTransactionResult$2, AddDeclareTransactionParameters as AddDeclareTransactionParameters$2, AddDeclareTransactionResult as AddDeclareTransactionResult$2, TypedData as TypedData$2, Signature as Signature$3, SpecVersion as SpecVersion$2, API_VERSION as API_VERSION$3, STRK20_ACTION as STRK20_ACTION$1 } from '@starknet-io/starknet-types-0104';
|
|
14
|
-
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 } from '@starknet-io/starknet-types-0104';
|
|
15
12
|
import * as poseidon from '@noble/curves/abstract/poseidon';
|
|
16
13
|
import * as json$1 from 'lossless-json';
|
|
17
14
|
import * as starknet from '@scure/starknet';
|
|
@@ -57,9 +54,9 @@ declare namespace jsonrpc {
|
|
|
57
54
|
}
|
|
58
55
|
|
|
59
56
|
declare const index$4_PAYMASTER_API: typeof PAYMASTER_API;
|
|
60
|
-
declare const index$
|
|
57
|
+
declare const index$4_RPCSPEC0104: typeof RPCSPEC0104;
|
|
61
58
|
declare namespace index$4 {
|
|
62
|
-
export { jsonrpc as JRPC, index$4_PAYMASTER_API as PAYMASTER_API, index$
|
|
59
|
+
export { jsonrpc as JRPC, index$4_PAYMASTER_API as PAYMASTER_API, index$4_RPCSPEC0104 as RPCSPEC0104, RPC as RPCSPEC09 };
|
|
63
60
|
}
|
|
64
61
|
|
|
65
62
|
type CairoEnumRaw = Record<string, any>;
|
|
@@ -494,42 +491,42 @@ declare const ETransactionVersion3: {
|
|
|
494
491
|
readonly V3: "0x3";
|
|
495
492
|
readonly F3: "0x100000000000000000000000000000003";
|
|
496
493
|
};
|
|
497
|
-
type BLOCK_HASH = Merge<
|
|
498
|
-
type BLOCK_NUMBER = Merge<
|
|
499
|
-
type FELT = Merge<
|
|
500
|
-
type TXN_HASH = Merge<
|
|
501
|
-
type PRICE_UNIT = Merge<
|
|
502
|
-
type RESOURCE_PRICE = Merge<
|
|
503
|
-
type SIMULATION_FLAG = Merge<
|
|
504
|
-
type STATE_UPDATE = Merge<
|
|
505
|
-
type PRE_CONFIRMED_STATE_UPDATE = Merge<
|
|
506
|
-
type BlockWithTxHashes = Merge<
|
|
507
|
-
type ContractClassPayload = Merge<
|
|
508
|
-
type DeclaredTransaction = Merge<
|
|
509
|
-
type InvokedTransaction = Merge<
|
|
510
|
-
type DeployedAccountTransaction = Merge<
|
|
511
|
-
type L1_HANDLER_TXN =
|
|
512
|
-
type EDataAvailabilityMode =
|
|
494
|
+
type BLOCK_HASH = Merge<RPCSPEC0104.BLOCK_HASH, RPC.BLOCK_HASH>;
|
|
495
|
+
type BLOCK_NUMBER = Merge<RPCSPEC0104.BLOCK_NUMBER, RPC.BLOCK_NUMBER>;
|
|
496
|
+
type FELT = Merge<RPCSPEC0104.FELT, RPC.FELT>;
|
|
497
|
+
type TXN_HASH = Merge<RPCSPEC0104.TXN_HASH, RPC.TXN_HASH>;
|
|
498
|
+
type PRICE_UNIT = Merge<RPCSPEC0104.PRICE_UNIT, RPC.PRICE_UNIT>;
|
|
499
|
+
type RESOURCE_PRICE = Merge<RPCSPEC0104.RESOURCE_PRICE, RPC.RESOURCE_PRICE>;
|
|
500
|
+
type SIMULATION_FLAG = Merge<RPCSPEC0104.SIMULATION_FLAG, RPC.SIMULATION_FLAG>;
|
|
501
|
+
type STATE_UPDATE = Merge<RPCSPEC0104.STATE_UPDATE, RPC.STATE_UPDATE>;
|
|
502
|
+
type PRE_CONFIRMED_STATE_UPDATE = Merge<RPCSPEC0104.PRE_CONFIRMED_STATE_UPDATE, RPC.PRE_CONFIRMED_STATE_UPDATE>;
|
|
503
|
+
type BlockWithTxHashes = Merge<RPCSPEC0104.BlockWithTxHashes, RPC.BlockWithTxHashes>;
|
|
504
|
+
type ContractClassPayload = Merge<RPCSPEC0104.ContractClass, RPC.ContractClass>;
|
|
505
|
+
type DeclaredTransaction = Merge<RPCSPEC0104.DeclaredTransaction, RPC.DeclaredTransaction>;
|
|
506
|
+
type InvokedTransaction = Merge<RPCSPEC0104.InvokedTransaction, RPC.InvokedTransaction>;
|
|
507
|
+
type DeployedAccountTransaction = Merge<RPCSPEC0104.DeployedAccountTransaction, RPC.DeployedAccountTransaction>;
|
|
508
|
+
type L1_HANDLER_TXN = RPCSPEC0104.L1_HANDLER_TXN;
|
|
509
|
+
type EDataAvailabilityMode = RPCSPEC0104.EDataAvailabilityMode;
|
|
513
510
|
declare const EDataAvailabilityMode: {
|
|
514
511
|
readonly L1: "L1";
|
|
515
512
|
readonly L2: "L2";
|
|
516
513
|
};
|
|
517
|
-
type EDAMode =
|
|
514
|
+
type EDAMode = RPCSPEC0104.EDAMode;
|
|
518
515
|
declare const EDAMode: {
|
|
519
516
|
readonly L1: 0;
|
|
520
517
|
readonly L2: 1;
|
|
521
518
|
};
|
|
522
|
-
type EmittedEvent = Merge<
|
|
523
|
-
type Event$1 = Merge<
|
|
524
|
-
type Receipt = Merge<
|
|
519
|
+
type EmittedEvent = Merge<RPCSPEC0104.EmittedEvent, RPC.EmittedEvent>;
|
|
520
|
+
type Event$1 = Merge<RPCSPEC0104.Event, RPC.Event>;
|
|
521
|
+
type Receipt = Merge<RPCSPEC0104.TransactionReceiptProductionBlock, RPC.TransactionReceiptProductionBlock>;
|
|
525
522
|
/**
|
|
526
523
|
* original response from estimate fee without parsing
|
|
527
524
|
*/
|
|
528
|
-
type FeeEstimate = Merge<
|
|
525
|
+
type FeeEstimate = Merge<RPCSPEC0104.FEE_ESTIMATE, RPC.FEE_ESTIMATE>;
|
|
529
526
|
type ApiEstimateFeeResponse = FeeEstimate[];
|
|
530
|
-
declare function isRPC08Plus_ResourceBounds(entry: ResourceBounds): entry is
|
|
527
|
+
declare function isRPC08Plus_ResourceBounds(entry: ResourceBounds): entry is RPCSPEC0104.ResourceBounds;
|
|
531
528
|
declare function isRPC08Plus_ResourceBoundsBN(entry: ResourceBoundsBN): entry is ResourceBoundsBN;
|
|
532
|
-
type ResourceBounds = Merge<
|
|
529
|
+
type ResourceBounds = Merge<RPCSPEC0104.ResourceBounds, RPC.ResourceBounds>;
|
|
533
530
|
type EventFilter = RPC.EventFilter;
|
|
534
531
|
/**
|
|
535
532
|
* Represents percentage overhead for each resource bound
|
|
@@ -548,36 +545,36 @@ type ResourceBoundsBN = {
|
|
|
548
545
|
[P in keyof ResourceBounds[K]]: bigint;
|
|
549
546
|
} : number;
|
|
550
547
|
};
|
|
551
|
-
type SimulateTransaction = SimpleOneOf<RPC.SimulateTransaction,
|
|
552
|
-
type SimulateTransactionResponse = RPC.SimulateTransactionResponse |
|
|
553
|
-
type INITIAL_READS =
|
|
548
|
+
type SimulateTransaction = SimpleOneOf<RPC.SimulateTransaction, RPCSPEC0104.SimulateTransaction>;
|
|
549
|
+
type SimulateTransactionResponse = RPC.SimulateTransactionResponse | RPCSPEC0104.SimulateTransactionResponse;
|
|
550
|
+
type INITIAL_READS = RPCSPEC0104.INITIAL_READS;
|
|
554
551
|
/** Flags to request additional fields in transaction responses (RPC 0.10.1+) */
|
|
555
|
-
type ETxnResponseFlag =
|
|
552
|
+
type ETxnResponseFlag = RPCSPEC0104.ETxnResponseFlag;
|
|
556
553
|
declare const ETxnResponseFlag: {
|
|
557
554
|
readonly INCLUDE_PROOF_FACTS: "INCLUDE_PROOF_FACTS";
|
|
558
555
|
};
|
|
559
556
|
/** Flags to request additional fields in trace responses (RPC 0.10.1+) */
|
|
560
|
-
type ETraceFlag =
|
|
557
|
+
type ETraceFlag = RPCSPEC0104.ETraceFlag;
|
|
561
558
|
declare const ETraceFlag: {
|
|
562
559
|
readonly RETURN_INITIAL_READS: "RETURN_INITIAL_READS";
|
|
563
560
|
};
|
|
564
561
|
/** Tags for WebSocket transaction subscriptions (RPC 0.10.1+) */
|
|
565
|
-
type ESubscriptionTag =
|
|
562
|
+
type ESubscriptionTag = RPCSPEC0104.ESubscriptionTag;
|
|
566
563
|
declare const ESubscriptionTag: {
|
|
567
564
|
readonly INCLUDE_PROOF_FACTS: "INCLUDE_PROOF_FACTS";
|
|
568
565
|
};
|
|
569
566
|
/** A single transaction trace within a block */
|
|
570
|
-
type BlockTransactionTrace =
|
|
567
|
+
type BlockTransactionTrace = RPCSPEC0104.BlockTransactionTrace;
|
|
571
568
|
/** Block transaction traces with optional initial storage reads (RPC 0.10.1+) */
|
|
572
|
-
type BlockTransactionsTracesWithInitialReads =
|
|
573
|
-
type TransactionTrace = SimpleOneOf<RPC.TRANSACTION_TRACE,
|
|
574
|
-
type TransactionWithHash = Merge<
|
|
575
|
-
type TransactionReceipt = Merge<
|
|
576
|
-
type Methods =
|
|
577
|
-
type TXN_STATUS = Merge<
|
|
578
|
-
type TXN_EXECUTION_STATUS = Merge<
|
|
579
|
-
type TransactionStatus = Merge<
|
|
580
|
-
type ETransactionStatus =
|
|
569
|
+
type BlockTransactionsTracesWithInitialReads = RPCSPEC0104.BlockTransactionsTracesWithInitialReads;
|
|
570
|
+
type TransactionTrace = SimpleOneOf<RPC.TRANSACTION_TRACE, RPCSPEC0104.TRANSACTION_TRACE>;
|
|
571
|
+
type TransactionWithHash = Merge<RPCSPEC0104.TransactionWithHash, RPC.TransactionWithHash>;
|
|
572
|
+
type TransactionReceipt = Merge<RPCSPEC0104.TransactionReceipt, RPC.TransactionReceipt>;
|
|
573
|
+
type Methods = RPCSPEC0104.Methods;
|
|
574
|
+
type TXN_STATUS = Merge<RPCSPEC0104.TXN_STATUS, RPC.TXN_STATUS>;
|
|
575
|
+
type TXN_EXECUTION_STATUS = Merge<RPCSPEC0104.TXN_EXECUTION_STATUS, RPC.TXN_EXECUTION_STATUS>;
|
|
576
|
+
type TransactionStatus = Merge<RPCSPEC0104.TransactionStatus, RPC.TransactionStatus>;
|
|
577
|
+
type ETransactionStatus = RPCSPEC0104.ETransactionStatus;
|
|
581
578
|
declare const ETransactionStatus: {
|
|
582
579
|
readonly RECEIVED: "RECEIVED";
|
|
583
580
|
readonly CANDIDATE: "CANDIDATE";
|
|
@@ -585,13 +582,13 @@ declare const ETransactionStatus: {
|
|
|
585
582
|
readonly ACCEPTED_ON_L2: "ACCEPTED_ON_L2";
|
|
586
583
|
readonly ACCEPTED_ON_L1: "ACCEPTED_ON_L1";
|
|
587
584
|
};
|
|
588
|
-
type ETransactionExecutionStatus =
|
|
585
|
+
type ETransactionExecutionStatus = RPCSPEC0104.ETransactionExecutionStatus;
|
|
589
586
|
declare const ETransactionExecutionStatus: {
|
|
590
587
|
readonly SUCCEEDED: "SUCCEEDED";
|
|
591
588
|
readonly REVERTED: "REVERTED";
|
|
592
589
|
};
|
|
593
|
-
type FEE_ESTIMATE = Merge<
|
|
594
|
-
type EVENTS_CHUNK = Merge<
|
|
590
|
+
type FEE_ESTIMATE = Merge<RPCSPEC0104.FEE_ESTIMATE, RPC.FEE_ESTIMATE>;
|
|
591
|
+
type EVENTS_CHUNK = Merge<RPCSPEC0104.EVENTS_CHUNK, RPC.EVENTS_CHUNK>;
|
|
595
592
|
type TransactionType = RPC.ETransactionType;
|
|
596
593
|
declare const TransactionType: {
|
|
597
594
|
readonly DECLARE: "DECLARE";
|
|
@@ -990,11 +987,11 @@ declare class RPCResponseParser implements Omit<ResponseParser, 'parseDeclareCon
|
|
|
990
987
|
parseSimulateTransactionResponse(res: SimulateTransactionResponse): SimulateTransactionOverheadResponse;
|
|
991
988
|
parseContractClassResponse(res: ContractClassPayload): ContractClassResponse;
|
|
992
989
|
parseL1GasPriceResponse(res: BlockWithTxHashes): string;
|
|
993
|
-
parseStorageResponse(res:
|
|
990
|
+
parseStorageResponse(res: RPCSPEC0104.FELT | RPCSPEC0104.STORAGE_RESULT): RPCSPEC0104.STORAGE_RESULT;
|
|
994
991
|
}
|
|
995
992
|
|
|
996
993
|
declare abstract class ProviderInterface {
|
|
997
|
-
abstract channel: RpcChannel$2 | RpcChannel$1 | RpcChannel;
|
|
994
|
+
abstract channel: RpcChannel$3 | RpcChannel$2 | RpcChannel$1 | RpcChannel;
|
|
998
995
|
abstract responseParser: RPCResponseParser;
|
|
999
996
|
/**
|
|
1000
997
|
* Gets the Starknet chain Id
|
|
@@ -1115,7 +1112,7 @@ declare abstract class ProviderInterface {
|
|
|
1115
1112
|
* @param blockIdentifier - block identifier
|
|
1116
1113
|
* @returns the value of the storage variable
|
|
1117
1114
|
*/
|
|
1118
|
-
abstract getStorageAt(contractAddress: BigNumberish, key: BigNumberish, blockIdentifier?: BlockIdentifier, responseFlags?:
|
|
1115
|
+
abstract getStorageAt(contractAddress: BigNumberish, key: BigNumberish, blockIdentifier?: BlockIdentifier, responseFlags?: RPCSPEC0104.STORAGE_RESPONSE_FLAG[]): Promise<StorageResponse>;
|
|
1119
1116
|
/**
|
|
1120
1117
|
* Gets the transaction information from a tx id.
|
|
1121
1118
|
*
|
|
@@ -1402,7 +1399,7 @@ declare abstract class ProviderInterface {
|
|
|
1402
1399
|
* @param txHash - transaction hash
|
|
1403
1400
|
* @returns Transaction trace
|
|
1404
1401
|
*/
|
|
1405
|
-
abstract getTransactionTrace(txHash: BigNumberish): Promise<
|
|
1402
|
+
abstract getTransactionTrace(txHash: BigNumberish): Promise<RPCSPEC0104.TRANSACTION_TRACE | RPC.TRANSACTION_TRACE>;
|
|
1406
1403
|
/**
|
|
1407
1404
|
* Get the status of a transaction
|
|
1408
1405
|
* @param transactionHash - transaction hash
|
|
@@ -1445,7 +1442,7 @@ declare abstract class ProviderInterface {
|
|
|
1445
1442
|
* @param blockIdentifier - block identifier
|
|
1446
1443
|
* @returns Fee estimate
|
|
1447
1444
|
*/
|
|
1448
|
-
abstract estimateMessageFee(message: RPC.L1Message, blockIdentifier?: BlockIdentifier): Promise<
|
|
1445
|
+
abstract estimateMessageFee(message: RPC.L1Message, blockIdentifier?: BlockIdentifier): Promise<RPCSPEC0104.FEE_ESTIMATE | RPC.MESSAGE_FEE_ESTIMATE>;
|
|
1449
1446
|
/**
|
|
1450
1447
|
* Get node synchronization status
|
|
1451
1448
|
* @returns Sync status or false if not syncing
|
|
@@ -1456,7 +1453,7 @@ declare abstract class ProviderInterface {
|
|
|
1456
1453
|
* @param eventFilter - event filter
|
|
1457
1454
|
* @returns Events and pagination info
|
|
1458
1455
|
*/
|
|
1459
|
-
abstract getEvents(eventFilter:
|
|
1456
|
+
abstract getEvents(eventFilter: RPCSPEC0104.EventFilter | RPC.EventFilter): Promise<RPCSPEC0104.EVENTS_CHUNK | RPC.EVENTS_CHUNK>;
|
|
1460
1457
|
/**
|
|
1461
1458
|
* Verify in Starknet a signature of a TypedData object or of a given hash.
|
|
1462
1459
|
* @param {BigNumberish | TypedData} message TypedData object to be verified, or message hash to be verified.
|
|
@@ -1498,7 +1495,7 @@ declare abstract class ProviderInterface {
|
|
|
1498
1495
|
* @param transactionHash - L1 transaction hash
|
|
1499
1496
|
* @returns L1 message status
|
|
1500
1497
|
*/
|
|
1501
|
-
abstract getL1MessagesStatus(transactionHash: BigNumberish): Promise<
|
|
1498
|
+
abstract getL1MessagesStatus(transactionHash: BigNumberish): Promise<RPCSPEC0104.L1L2MessagesStatus | RPC.L1L2MessagesStatus>;
|
|
1502
1499
|
/**
|
|
1503
1500
|
* Get Merkle paths in state tries
|
|
1504
1501
|
* @param classHashes - class hashes
|
|
@@ -3047,7 +3044,7 @@ type EstimateFeeResponseBulkOverhead = Array<EstimateFeeResponseOverhead>;
|
|
|
3047
3044
|
type InvokeFunctionResponse = InvokedTransaction;
|
|
3048
3045
|
type DeclareContractResponse = DeclaredTransaction;
|
|
3049
3046
|
type CallContractResponse = string[];
|
|
3050
|
-
type StorageResponse =
|
|
3047
|
+
type StorageResponse = RPCSPEC0104.STORAGE_RESULT;
|
|
3051
3048
|
type Nonce = string;
|
|
3052
3049
|
type SimulationFlags = Array<SIMULATION_FLAG>;
|
|
3053
3050
|
type SimulateTransactionOverhead = {
|
|
@@ -4388,17 +4385,19 @@ declare const _SupportedRpcVersion: {
|
|
|
4388
4385
|
readonly '0.10.0': "0.10.0";
|
|
4389
4386
|
readonly '0.10.2': "0.10.2";
|
|
4390
4387
|
readonly '0.10.3': "0.10.3";
|
|
4388
|
+
readonly '0.10.4': "0.10.4";
|
|
4391
4389
|
readonly v0_9_0: "0.9.0";
|
|
4392
4390
|
readonly v0_10_0: "0.10.0";
|
|
4393
4391
|
readonly v0_10_2: "0.10.2";
|
|
4394
4392
|
readonly v0_10_3: "0.10.3";
|
|
4393
|
+
readonly v0_10_4: "0.10.4";
|
|
4395
4394
|
};
|
|
4396
4395
|
type _SupportedRpcVersion = ValuesType<typeof _SupportedRpcVersion>;
|
|
4397
4396
|
|
|
4398
4397
|
/**
|
|
4399
4398
|
* Union of RPC 0.10.x dot-format versions (spec 0.10.0 family).
|
|
4400
4399
|
*/
|
|
4401
|
-
type SupportedRpcVersion0_10 = typeof _SupportedRpcVersion.v0_10_0 | typeof _SupportedRpcVersion.v0_10_2 | typeof _SupportedRpcVersion.v0_10_3;
|
|
4400
|
+
type SupportedRpcVersion0_10 = typeof _SupportedRpcVersion.v0_10_0 | typeof _SupportedRpcVersion.v0_10_2 | typeof _SupportedRpcVersion.v0_10_3 | typeof _SupportedRpcVersion.v0_10_4;
|
|
4402
4401
|
type SupportedTransactionVersion = typeof ETransactionVersion$1.V3;
|
|
4403
4402
|
type SupportedCairoVersion = '1';
|
|
4404
4403
|
/**
|
|
@@ -4514,7 +4513,7 @@ declare namespace constants {
|
|
|
4514
4513
|
export { constants_ADDR_BOUND as ADDR_BOUND, constants_API_VERSION as API_VERSION, _BaseUrl as BaseUrl, 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_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_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, _TransactionHashPrefix as TransactionHashPrefix, constants_UDC as UDC, constants_ZERO as ZERO };
|
|
4515
4514
|
}
|
|
4516
4515
|
|
|
4517
|
-
declare class RpcChannel$
|
|
4516
|
+
declare class RpcChannel$3 {
|
|
4518
4517
|
readonly id = "RPC090";
|
|
4519
4518
|
/**
|
|
4520
4519
|
* RPC specification version this Channel class implements
|
|
@@ -4535,7 +4534,7 @@ declare class RpcChannel$2 {
|
|
|
4535
4534
|
private batchClient?;
|
|
4536
4535
|
private baseFetch;
|
|
4537
4536
|
constructor(optionsOrProvider?: RpcProviderOptions);
|
|
4538
|
-
readSpecVersion(): "0.9.0" | "0.10.0" | "0.10.2" | "0.10.3" | undefined;
|
|
4537
|
+
readSpecVersion(): "0.9.0" | "0.10.0" | "0.10.2" | "0.10.3" | "0.10.4" | undefined;
|
|
4539
4538
|
private get transactionRetryIntervalDefault();
|
|
4540
4539
|
setChainId(chainId: _StarknetChainId): void;
|
|
4541
4540
|
fetch(method: string, params?: object, id?: string | number): Promise<Response>;
|
|
@@ -4551,7 +4550,7 @@ declare class RpcChannel$2 {
|
|
|
4551
4550
|
* fetch if undefined else just return this.specVersion
|
|
4552
4551
|
* @example this.specVersion = "0.9.0"
|
|
4553
4552
|
*/
|
|
4554
|
-
setUpSpecVersion(): Promise<"0.9.0" | "0.10.0" | "0.10.2" | "0.10.3">;
|
|
4553
|
+
setUpSpecVersion(): Promise<"0.9.0" | "0.10.0" | "0.10.2" | "0.10.3" | "0.10.4">;
|
|
4555
4554
|
/**
|
|
4556
4555
|
* Given an l1 tx hash, returns the associated l1_handler tx hashes and statuses for all L1 -> L2 messages sent by the l1 transaction, ordered by the l1 tx sending order
|
|
4557
4556
|
*/
|
|
@@ -4666,10 +4665,10 @@ declare class RpcChannel$2 {
|
|
|
4666
4665
|
}
|
|
4667
4666
|
|
|
4668
4667
|
declare namespace rpc_0_9_0 {
|
|
4669
|
-
export { RpcChannel$
|
|
4668
|
+
export { RpcChannel$3 as RpcChannel };
|
|
4670
4669
|
}
|
|
4671
4670
|
|
|
4672
|
-
declare class RpcChannel$
|
|
4671
|
+
declare class RpcChannel$2 {
|
|
4673
4672
|
readonly id: string;
|
|
4674
4673
|
/**
|
|
4675
4674
|
* RPC specification version this Channel class implements
|
|
@@ -4690,7 +4689,7 @@ declare class RpcChannel$1 {
|
|
|
4690
4689
|
private batchClient?;
|
|
4691
4690
|
private baseFetch;
|
|
4692
4691
|
constructor(optionsOrProvider?: RpcProviderOptions);
|
|
4693
|
-
readSpecVersion(): "0.9.0" | "0.10.0" | "0.10.2" | "0.10.3" | undefined;
|
|
4692
|
+
readSpecVersion(): "0.9.0" | "0.10.0" | "0.10.2" | "0.10.3" | "0.10.4" | undefined;
|
|
4694
4693
|
private get transactionRetryIntervalDefault();
|
|
4695
4694
|
setChainId(chainId: _StarknetChainId): void;
|
|
4696
4695
|
fetch(method: string, params?: object, id?: string | number): Promise<Response>;
|
|
@@ -4706,7 +4705,7 @@ declare class RpcChannel$1 {
|
|
|
4706
4705
|
* fetch if undefined else just return this.specVersion
|
|
4707
4706
|
* @example this.specVersion = "0.9.0"
|
|
4708
4707
|
*/
|
|
4709
|
-
setUpSpecVersion(): Promise<"0.9.0" | "0.10.0" | "0.10.2" | "0.10.3">;
|
|
4708
|
+
setUpSpecVersion(): Promise<"0.9.0" | "0.10.0" | "0.10.2" | "0.10.3" | "0.10.4">;
|
|
4710
4709
|
/**
|
|
4711
4710
|
* Given an l1 tx hash, returns the associated l1_handler tx hashes and statuses for all L1 -> L2 messages sent by the l1 transaction, ordered by the l1 tx sending order
|
|
4712
4711
|
*/
|
|
@@ -4884,18 +4883,27 @@ declare class RpcChannel$1 {
|
|
|
4884
4883
|
}
|
|
4885
4884
|
|
|
4886
4885
|
declare namespace rpc_0_10_2 {
|
|
4886
|
+
export { RpcChannel$2 as RpcChannel };
|
|
4887
|
+
}
|
|
4888
|
+
|
|
4889
|
+
declare class RpcChannel$1 extends RpcChannel$2 {
|
|
4890
|
+
readonly id: string;
|
|
4891
|
+
readonly channelSpecVersion: _SupportedRpcVersion;
|
|
4892
|
+
}
|
|
4893
|
+
|
|
4894
|
+
declare namespace rpc_0_10_3 {
|
|
4887
4895
|
export { RpcChannel$1 as RpcChannel };
|
|
4888
4896
|
}
|
|
4889
4897
|
|
|
4890
4898
|
declare class RpcChannel extends RpcChannel$1 {
|
|
4891
|
-
readonly id = "RPC0.10.
|
|
4899
|
+
readonly id = "RPC0.10.4";
|
|
4892
4900
|
readonly channelSpecVersion: _SupportedRpcVersion;
|
|
4893
4901
|
}
|
|
4894
4902
|
|
|
4895
|
-
type
|
|
4896
|
-
declare const
|
|
4897
|
-
declare namespace
|
|
4898
|
-
export {
|
|
4903
|
+
type rpc_0_10_4_RpcChannel = RpcChannel;
|
|
4904
|
+
declare const rpc_0_10_4_RpcChannel: typeof RpcChannel;
|
|
4905
|
+
declare namespace rpc_0_10_4 {
|
|
4906
|
+
export { rpc_0_10_4_RpcChannel as RpcChannel };
|
|
4899
4907
|
}
|
|
4900
4908
|
|
|
4901
4909
|
/**
|
|
@@ -5033,7 +5041,7 @@ interface SubscribeNewTransactionsParams {
|
|
|
5033
5041
|
/** Filter by sender addresses */
|
|
5034
5042
|
senderAddress?: BigNumberish[];
|
|
5035
5043
|
/** Subscription tags for additional data (RPC 0.10.1+) */
|
|
5036
|
-
tags?:
|
|
5044
|
+
tags?: RPCSPEC0104.SUBSCRIPTION_TAG[];
|
|
5037
5045
|
}
|
|
5038
5046
|
type SubscriptionNewHeadsEvent = Subscription<NewHeadsEvent['result']>;
|
|
5039
5047
|
type SubscriptionStarknetEventsEvent = Subscription<StarknetEventsEvent['result']>;
|
|
@@ -5635,7 +5643,7 @@ interface RpcProvider extends StarknetIdProviderMethods, BrotherIdProviderMethod
|
|
|
5635
5643
|
}
|
|
5636
5644
|
declare class RpcProvider implements ProviderInterface {
|
|
5637
5645
|
responseParser: RPCResponseParser;
|
|
5638
|
-
channel: RpcChannel$2 | RpcChannel$1 | RpcChannel;
|
|
5646
|
+
channel: RpcChannel$3 | RpcChannel$2 | RpcChannel$1 | RpcChannel;
|
|
5639
5647
|
/** @internal Plugin management infrastructure */
|
|
5640
5648
|
readonly pluginManager: PluginManager;
|
|
5641
5649
|
constructor(optionsOrProvider?: RpcProviderOptions | ProviderInterface | RpcProvider);
|
|
@@ -5659,9 +5667,9 @@ declare class RpcProvider implements ProviderInterface {
|
|
|
5659
5667
|
use<T extends Record<string, any>>(plugin: StarknetPlugin<T, any>): this & T;
|
|
5660
5668
|
fetch(method: string, params?: object, id?: string | number): Promise<any>;
|
|
5661
5669
|
getChainId(): Promise<"0x534e5f4d41494e" | "0x534e5f5345504f4c4941">;
|
|
5662
|
-
readSpecVersion(): "0.9.0" | "0.10.0" | "0.10.2" | "0.10.3" | undefined;
|
|
5670
|
+
readSpecVersion(): "0.9.0" | "0.10.0" | "0.10.2" | "0.10.3" | "0.10.4" | undefined;
|
|
5663
5671
|
getSpecVersion(): Promise<string>;
|
|
5664
|
-
setUpSpecVersion(): Promise<"0.9.0" | "0.10.0" | "0.10.2" | "0.10.3">;
|
|
5672
|
+
setUpSpecVersion(): Promise<"0.9.0" | "0.10.0" | "0.10.2" | "0.10.3" | "0.10.4">;
|
|
5665
5673
|
getStarknetVersion(blockIdentifier?: BlockIdentifier): Promise<string>;
|
|
5666
5674
|
getNonceForAddress(contractAddress: BigNumberish, blockIdentifier?: BlockIdentifier): Promise<string>;
|
|
5667
5675
|
getBlock(): Promise<Block$1>;
|
|
@@ -5814,12 +5822,12 @@ declare class RpcProvider implements ProviderInterface {
|
|
|
5814
5822
|
transaction_hash: RPC.TXN_HASH;
|
|
5815
5823
|
})>;
|
|
5816
5824
|
getTransactionReceipt(txHash: BigNumberish): Promise<GetTransactionReceiptResponse>;
|
|
5817
|
-
getTransactionTrace<V extends _SupportedRpcVersion = _SupportedRpcVersion>(txHash: BigNumberish): Promise<V extends SupportedRpcVersion0_10 ?
|
|
5818
|
-
getTransactionTrace(txHash: BigNumberish): Promise<
|
|
5825
|
+
getTransactionTrace<V extends _SupportedRpcVersion = _SupportedRpcVersion>(txHash: BigNumberish): Promise<V extends SupportedRpcVersion0_10 ? RPCSPEC0104.TRANSACTION_TRACE : RPC.TRANSACTION_TRACE>;
|
|
5826
|
+
getTransactionTrace(txHash: BigNumberish): Promise<RPCSPEC0104.TRANSACTION_TRACE | RPC.TRANSACTION_TRACE>;
|
|
5819
5827
|
getTransactionStatus(transactionHash: BigNumberish): Promise<RPC.TXN_STATUS_RESULT>;
|
|
5820
5828
|
getSimulateTransaction(invocations: AccountInvocations, options?: getSimulateTransactionOptions): Promise<SimulateTransactionOverheadResponse>;
|
|
5821
5829
|
waitForTransaction(txHash: BigNumberish, options?: waitForTransactionOptions): Promise<GetTransactionReceiptResponse>;
|
|
5822
|
-
getStorageAt(contractAddress: BigNumberish, key: BigNumberish, blockIdentifier?: BlockIdentifier, responseFlags?:
|
|
5830
|
+
getStorageAt(contractAddress: BigNumberish, key: BigNumberish, blockIdentifier?: BlockIdentifier, responseFlags?: RPCSPEC0104.STORAGE_RESPONSE_FLAG[]): Promise<STORAGE_RESULT>;
|
|
5823
5831
|
getClassHashAt(contractAddress: BigNumberish, blockIdentifier?: BlockIdentifier): Promise<string>;
|
|
5824
5832
|
getClassByHash(classHash: BigNumberish): Promise<LegacyContractClass | Omit<CompiledSierra, "sierra_program_debug_info">>;
|
|
5825
5833
|
getClass(classHash: BigNumberish, blockIdentifier?: BlockIdentifier): Promise<LegacyContractClass | Omit<CompiledSierra, "sierra_program_debug_info">>;
|
|
@@ -5870,11 +5878,11 @@ declare class RpcProvider implements ProviderInterface {
|
|
|
5870
5878
|
transaction_hash: string;
|
|
5871
5879
|
}>;
|
|
5872
5880
|
callContract(call: Call, blockIdentifier?: BlockIdentifier): Promise<string[]>;
|
|
5873
|
-
estimateMessageFee<V extends _SupportedRpcVersion = _SupportedRpcVersion>(message: RPC.L1Message, blockIdentifier?: BlockIdentifier): Promise<V extends SupportedRpcVersion0_10 ?
|
|
5874
|
-
estimateMessageFee(message: RPC.L1Message, blockIdentifier?: BlockIdentifier): Promise<
|
|
5881
|
+
estimateMessageFee<V extends _SupportedRpcVersion = _SupportedRpcVersion>(message: RPC.L1Message, blockIdentifier?: BlockIdentifier): Promise<V extends SupportedRpcVersion0_10 ? RPCSPEC0104.FEE_ESTIMATE : RPC.MESSAGE_FEE_ESTIMATE>;
|
|
5882
|
+
estimateMessageFee(message: RPC.L1Message, blockIdentifier?: BlockIdentifier): Promise<RPCSPEC0104.FEE_ESTIMATE | RPC.MESSAGE_FEE_ESTIMATE>;
|
|
5875
5883
|
getSyncingStats(): Promise<RPC.Syncing>;
|
|
5876
|
-
getEvents<V extends _SupportedRpcVersion = _SupportedRpcVersion>(eventFilter: V extends SupportedRpcVersion0_10 ?
|
|
5877
|
-
getEvents(eventFilter:
|
|
5884
|
+
getEvents<V extends _SupportedRpcVersion = _SupportedRpcVersion>(eventFilter: V extends SupportedRpcVersion0_10 ? RPCSPEC0104.EventFilter : RPC.EventFilter): Promise<V extends SupportedRpcVersion0_10 ? RPCSPEC0104.EVENTS_CHUNK : RPC.EVENTS_CHUNK>;
|
|
5885
|
+
getEvents(eventFilter: RPCSPEC0104.EventFilter | RPC.EventFilter): Promise<RPCSPEC0104.EVENTS_CHUNK | RPC.EVENTS_CHUNK>;
|
|
5878
5886
|
verifyMessageInStarknet(message: BigNumberish | TypedData, signature: Signature, accountAddress: BigNumberish, signatureVerificationFunctionName?: string, signatureVerificationResponse?: {
|
|
5879
5887
|
okResponse: string[];
|
|
5880
5888
|
nokResponse: string[];
|
|
@@ -5882,8 +5890,8 @@ declare class RpcProvider implements ProviderInterface {
|
|
|
5882
5890
|
}): Promise<boolean>;
|
|
5883
5891
|
isClassDeclared(contractClassIdentifier: ContractClassIdentifier, blockIdentifier?: BlockIdentifier): Promise<boolean>;
|
|
5884
5892
|
prepareInvocations(invocations: Invocations): Promise<Invocations>;
|
|
5885
|
-
getL1MessagesStatus<V extends _SupportedRpcVersion = _SupportedRpcVersion>(transactionHash: BigNumberish): Promise<V extends SupportedRpcVersion0_10 ?
|
|
5886
|
-
getL1MessagesStatus(transactionHash: BigNumberish): Promise<
|
|
5893
|
+
getL1MessagesStatus<V extends _SupportedRpcVersion = _SupportedRpcVersion>(transactionHash: BigNumberish): Promise<V extends SupportedRpcVersion0_10 ? RPCSPEC0104.L1L2MessagesStatus : RPC.L1L2MessagesStatus>;
|
|
5894
|
+
getL1MessagesStatus(transactionHash: BigNumberish): Promise<RPCSPEC0104.L1L2MessagesStatus | RPC.L1L2MessagesStatus>;
|
|
5887
5895
|
getStorageProof(classHashes: BigNumberish[], contractAddresses: BigNumberish[], contractsStorageKeys: CONTRACT_STORAGE_KEYS[], blockIdentifier?: BlockIdentifier): Promise<StorageProof>;
|
|
5888
5896
|
getCompiledCasm(classHash: BigNumberish): Promise<CASM_COMPILED_CONTRACT_CLASS>;
|
|
5889
5897
|
getEstimateTip(blockIdentifier?: BlockIdentifier, options?: TipAnalysisOptions): Promise<TipEstimate>;
|
|
@@ -5914,7 +5922,7 @@ declare function verifyMessageInStarknet(provider: ProviderInterface, message: B
|
|
|
5914
5922
|
error: string[];
|
|
5915
5923
|
}): Promise<boolean>;
|
|
5916
5924
|
|
|
5917
|
-
declare function getGasPrices(channel: RpcChannel$
|
|
5925
|
+
declare function getGasPrices(channel: RpcChannel$3 | RpcChannel$2, blockIdentifier?: BlockIdentifier): Promise<GasPrices>;
|
|
5918
5926
|
|
|
5919
5927
|
interface Account extends StarknetIdAccountMethods, BrotherIdProviderMethods, FastExecuteAccountMethods {
|
|
5920
5928
|
}
|
|
@@ -6162,8 +6170,8 @@ declare class WalletAccount extends Account {
|
|
|
6162
6170
|
/**
|
|
6163
6171
|
* ACCOUNT METHODS
|
|
6164
6172
|
*/
|
|
6165
|
-
execute(calls: AllowArray<Call>): Promise<
|
|
6166
|
-
declare(payload: DeclareContractPayload): Promise<
|
|
6173
|
+
execute(calls: AllowArray<Call>): Promise<RPCSPEC0104.AddInvokeTransactionResult>;
|
|
6174
|
+
declare(payload: DeclareContractPayload): Promise<RPCSPEC0104.AddDeclareTransactionResult>;
|
|
6167
6175
|
deploy(payload: UniversalDeployerContractPayload | UniversalDeployerContractPayload[]): Promise<MultiDeployContractResponse>;
|
|
6168
6176
|
signMessage(typedData: TypedData): Promise<Signature$1>;
|
|
6169
6177
|
static connect(provider: ProviderOptions | ProviderInterface, walletProvider: StarknetWalletProvider, cairoVersion?: CairoVersion, paymaster?: PaymasterOptions | PaymasterInterface, silentMode?: boolean): Promise<WalletAccount>;
|
|
@@ -6311,7 +6319,7 @@ declare class WalletAccountV6 extends WalletAccountV5 {
|
|
|
6311
6319
|
* // result = { transaction_hash: '0x6f7d...' }
|
|
6312
6320
|
* ```
|
|
6313
6321
|
*/
|
|
6314
|
-
executeWithProof(calls: AllowArray<Call>, proof?: STRK20_PROOF): Promise<
|
|
6322
|
+
executeWithProof(calls: AllowArray<Call>, proof?: STRK20_PROOF): Promise<RPCSPEC0104.AddInvokeTransactionResult>;
|
|
6315
6323
|
/**
|
|
6316
6324
|
* Get the private balances held by the user inside the STRK20 privacy pool.
|
|
6317
6325
|
* @param {Address[]} tokens - The tokens to get the private balance of. An empty array returns every shielded token.
|
|
@@ -10523,7 +10531,7 @@ declare function units(amount: string | bigint, simbol?: 'fri' | 'strk'): string
|
|
|
10523
10531
|
* @param {boolean} [silent_mode=false] false: request user interaction allowance. true: return only pre-allowed
|
|
10524
10532
|
* @returns allowed accounts addresses
|
|
10525
10533
|
*/
|
|
10526
|
-
declare function requestAccounts$2(swo: StarknetWindowObject, silent_mode?: boolean): Promise<Address
|
|
10534
|
+
declare function requestAccounts$2(swo: StarknetWindowObject, silent_mode?: boolean): Promise<Address[]>;
|
|
10527
10535
|
/**
|
|
10528
10536
|
* Request Permission for wallet account
|
|
10529
10537
|
* @returns allowed accounts addresses
|
|
@@ -10630,7 +10638,7 @@ declare function standardConnect$1(walletWSF: WalletWithStarknetFeatures, silent
|
|
|
10630
10638
|
* @param {boolean} [silent_mode=false] false: request user interaction allowance. true: return only pre-allowed
|
|
10631
10639
|
* @returns {Address[]} allowed accounts addresses
|
|
10632
10640
|
*/
|
|
10633
|
-
declare function requestAccounts$1(walletWSF: WalletWithStarknetFeatures, silent_mode?: boolean): Promise<Address$
|
|
10641
|
+
declare function requestAccounts$1(walletWSF: WalletWithStarknetFeatures, silent_mode?: boolean): Promise<Address$1[]>;
|
|
10634
10642
|
/**
|
|
10635
10643
|
* Request if DAPP is connected to wallet.
|
|
10636
10644
|
* @param {WalletWithStarknetFeatures} walletWSF - The get-starknet V5 wallet object to use.
|
|
@@ -10730,17 +10738,17 @@ declare namespace connectV5 {
|
|
|
10730
10738
|
*/
|
|
10731
10739
|
declare function standardConnect(walletWSF: WalletWithStarknetFeatures$1, silent_mode?: boolean): Promise<StandardConnectOutput>;
|
|
10732
10740
|
declare function requestAccounts(walletWSF: WalletWithStarknetFeatures$1, silent_mode?: boolean): Promise<Address[]>;
|
|
10733
|
-
declare function getPermissions(walletWSF: WalletWithStarknetFeatures$1): Promise<Permission
|
|
10734
|
-
declare function watchAsset(walletWSF: WalletWithStarknetFeatures$1, asset: WatchAssetParameters
|
|
10735
|
-
declare function addStarknetChain(walletWSF: WalletWithStarknetFeatures$1, chain: AddStarknetChainParameters
|
|
10736
|
-
declare function switchStarknetChain(walletWSF: WalletWithStarknetFeatures$1, chainId: ChainId
|
|
10737
|
-
declare function requestChainId(walletWSF: WalletWithStarknetFeatures$1): Promise<ChainId
|
|
10738
|
-
declare function deploymentData(walletWSF: WalletWithStarknetFeatures$1): Promise<AccountDeploymentData
|
|
10739
|
-
declare function addInvokeTransaction(walletWSF: WalletWithStarknetFeatures$1, params: AddInvokeTransactionParameters
|
|
10740
|
-
declare function addDeclareTransaction(walletWSF: WalletWithStarknetFeatures$1, params: AddDeclareTransactionParameters
|
|
10741
|
-
declare function signMessage(walletWSF: WalletWithStarknetFeatures$1, typedData: TypedData
|
|
10742
|
-
declare function supportedSpecs(walletWSF: WalletWithStarknetFeatures$1): Promise<SpecVersion
|
|
10743
|
-
declare function supportedWalletApi(walletWSF: WalletWithStarknetFeatures$1): Promise<API_VERSION$
|
|
10741
|
+
declare function getPermissions(walletWSF: WalletWithStarknetFeatures$1): Promise<Permission[]>;
|
|
10742
|
+
declare function watchAsset(walletWSF: WalletWithStarknetFeatures$1, asset: WatchAssetParameters): Promise<boolean>;
|
|
10743
|
+
declare function addStarknetChain(walletWSF: WalletWithStarknetFeatures$1, chain: AddStarknetChainParameters): Promise<boolean>;
|
|
10744
|
+
declare function switchStarknetChain(walletWSF: WalletWithStarknetFeatures$1, chainId: ChainId, silent_mode?: boolean): Promise<boolean>;
|
|
10745
|
+
declare function requestChainId(walletWSF: WalletWithStarknetFeatures$1): Promise<ChainId>;
|
|
10746
|
+
declare function deploymentData(walletWSF: WalletWithStarknetFeatures$1): Promise<AccountDeploymentData>;
|
|
10747
|
+
declare function addInvokeTransaction(walletWSF: WalletWithStarknetFeatures$1, params: AddInvokeTransactionParameters): Promise<AddInvokeTransactionResult>;
|
|
10748
|
+
declare function addDeclareTransaction(walletWSF: WalletWithStarknetFeatures$1, params: AddDeclareTransactionParameters): Promise<AddDeclareTransactionResult>;
|
|
10749
|
+
declare function signMessage(walletWSF: WalletWithStarknetFeatures$1, typedData: TypedData): Promise<Signature$1>;
|
|
10750
|
+
declare function supportedSpecs(walletWSF: WalletWithStarknetFeatures$1): Promise<SpecVersion[]>;
|
|
10751
|
+
declare function supportedWalletApi(walletWSF: WalletWithStarknetFeatures$1): Promise<API_VERSION$1[]>;
|
|
10744
10752
|
declare function subscribeWalletEvent(walletWSF: WalletWithStarknetFeatures$1, callback: (change: StandardEventsChangeProperties$1) => void): () => void;
|
|
10745
10753
|
declare function strk20Balances(walletWSF: WalletWithStarknetFeatures$1, tokens: Address[]): Promise<STRK20_BALANCE_ENTRY[]>;
|
|
10746
10754
|
declare function strk20PrepareInvoke(walletWSF: WalletWithStarknetFeatures$1, actions: STRK20_ACTION$1[], simulate?: boolean): Promise<STRK20_CALL_AND_PROOF$1>;
|
|
@@ -10891,4 +10899,4 @@ declare class Logger {
|
|
|
10891
10899
|
*/
|
|
10892
10900
|
declare const logger: Logger;
|
|
10893
10901
|
|
|
10894
|
-
export { type Abi, type AbiEntry, type AbiEntryType, type AbiEnum, type AbiEnums, type AbiEvent, type AbiEvents, type AbiInterfaces, AbiParser1, AbiParser2, AbiParserInterface, type AbiStruct, type AbiStructs, Account, type AccountHooks, AccountInterface, type AccountInvocationItem, type AccountInvocations, type AccountInvocationsFactoryDetails, type AccountOptions, type AllowArray, type ApiEstimateFeeResponse, type Args, type ArgsOrCalldata, type ArgsOrCalldataWithOptions, type ArraySignatureType, type AsyncContractFunction, type BLOCK_HASH, type BLOCK_NUMBER, BatchClient, type BatchClientOptions, type BigNumberish, type Block$1 as Block, type BlockIdentifier, type BlockNumber, BlockStatus, BlockTag, type BlockTransactionTrace, type BlockTransactionsTracesWithInitialReads, type BlockWithTxHashes, BrotherIdImpl, type BrotherIdProviderMethods, type BrotherProfile, type Builtins, type ByteArray, type ByteCode, type CairoAssembly, CairoByteArray, CairoBytes31, type CairoContract, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoFelt, CairoFelt252, CairoFixedArray, CairoInt128, CairoInt16, CairoInt32, CairoInt64, CairoInt8, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoUint128, CairoUint16, CairoUint256, CairoUint32, CairoUint512, CairoUint64, CairoUint8, CairoUint96, type CairoVersion, type Call, type CallContractResponse, CallData, type CallDetails, type CallOptions, type CallResult, type Calldata, type CommonContractOptions, type CompiledContract, type CompiledSierra, type CompiledSierraCasm, type CompilerVersion, type CompleteDeclareContractPayload, type CompressedProgram, Contract, type ContractClass, type ContractClassIdentifier, type ContractClassPayload, type ContractClassResponse, type ContractEntryPointFields, type ContractFunction, ContractInterface, type ContractOptions, type ContractVersion, type DeclareAndDeployContractPayload, type DeclareContractPayload, type DeclareContractResponse, type DeclareContractTransaction, type DeclareDeployUDCResponse, type DeclareSignerDetails, type DeclareTransactionReceiptResponse, type DeclaredTransaction, type DeployAccountContractPayload, type DeployAccountContractTransaction, type DeployAccountSignerDetails, type DeployAccountTransactionReceiptResponse, type DeployAndInvokeTransaction, type DeployContractResponse, type DeployContractUDCResponse, type DeployTransaction, type DeployTransactionReceiptResponse, type DeployedAccountTransaction, Deployer, type DeployerCall, DeployerInterface, type Details, EDAMode, EDataAvailabilityMode, ESubscriptionTag, ETH_ADDRESS, ETraceFlag, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, ETransactionVersion2, ETransactionVersion3, ETxnResponseFlag, type EVENTS_CHUNK, type EmittedEvent, EntryPointType, type EntryPointsByType, type ErrorReceiptResponseHelper, type EstimateFeeBulk, type EstimateFeeResponseBulkOverhead, type EstimateFeeResponseOverhead, EthSigner, type Event$1 as Event, type EventEntry, type EventFilter, type ExecutableDeployAndInvokeTransaction, type ExecutableDeployTransaction, type ExecutableInvokeTransaction, type ExecutableUserInvoke, type ExecutableUserTransaction, type ExecuteOptions, type ExecutionParameters, type FEE_ESTIMATE, type FELT, type FactoryParams, type FastExecuteAccountMethods, type FastExecuteProviderMethods, type FastExecuteResponse, type FastWaitForTransactionOptions, type FeeEstimate, type FeeMode, type FormatResponse, type FunctionAbi, type GasPrices, type GetBlockResponse, type GetTransactionReceiptResponse, type GetTransactionResponse, type GetTxReceiptResponseWithoutHelper, type HexCalldata, type Hint, type INITIAL_READS, Int, type InterfaceAbi, type Invocation, type Invocations, type InvocationsDetails, type InvocationsDetailsWithNonce, type InvocationsSignerDetails, type InvokeFunctionResponse, type InvokeTransaction, type InvokeTransactionReceiptResponse, type InvokedTransaction, type L1HandlerTransactionReceiptResponse, type L1_HANDLER_TXN, type LedgerPathCalculation, LedgerSigner111 as LedgerSigner, LedgerSigner111, LedgerSigner221, LedgerSigner231, type LegacyCompiledContract, type LegacyContractClass, type LegacyEvent, LibraryError, Literal, type LoadedContract, type LogLevel, LogLevelIndex, type Methods, type MultiDeployContractResponse, type MultiType, NON_ZERO_PREFIX, type Nonce, type OptionalPayload, type OutsideCall, type OutsideExecution, type OutsideExecutionOptions, OutsideExecutionTypesV1, OutsideExecutionTypesV2, OutsideExecutionVersion, type OutsideTransaction, type PRE_CONFIRMED_STATE_UPDATE, type PRICE_UNIT, type ParsedEvent, type ParsedEvents, type ParsedStruct, type ParsingStrategy, type PaymasterDetails, type PaymasterFeeEstimate, PaymasterInterface, type PaymasterOptions, PaymasterRpc, type PaymasterRpcOptions, type PaymasterTimeBounds, type PluginConfig, PluginManager, type PreConfirmedBlock, type PreConfirmedStateUpdate, type PreparedDeployAndInvokeTransaction, type PreparedDeployTransaction, type PreparedInvokeTransaction, type PreparedTransaction, type Program, RpcProvider as Provider, type ProviderHooks, ProviderInterface, type ProviderOptions, type ProviderOrAccount, type PythonicHints, type RESOURCE_PRICE, index$4 as RPC, rpc_0_10_2 as RPC0102, rpc_0_10_3 as RPC0103, rpc_0_9_0 as RPC09, RPCResponseParser, type RPC_ERROR, type RPC_ERROR_SET, type RawArgs, type RawArgsArray, type RawArgsObject, type RawCalldata, type Receipt, ReceiptTx, type ReconnectOptions, type RequiredKeysOf, type ResourceBounds, type ResourceBoundsBN, type ResourceBoundsOverhead, ResponseParser, type RevertedTransactionReceiptResponse, type RevertedTransactionReceiptResponseHelper, RpcChannel, RpcError, RpcProvider, type RpcProviderOptions, type SIMULATION_FLAG, type STATE_UPDATE, type STRK20_ACTION, type STRK20_CALL_AND_PROOF, type STRK20_SHADOW_ACCOUNT_INVOKE_ACTION, type SierraContractClass, type SierraContractEntryPointFields, type SierraEntryPointsByType, type SierraProgramDebugInfo, type Signature, Signer, SignerInterface, type Simplify, type SimulateTransaction, type SimulateTransactionDetails, type SimulateTransactionOverhead, type SimulateTransactionOverheadResponse, type SimulateTransactionResponse, type SimulationFlags, type StarkProfile, type StarknetIdAccountMethods, StarknetIdImpl, type StarknetIdProviderMethods, type StarknetPlugin, type StateUpdate, type StateUpdateResponse, type StorageResponse, type SubscribeEventsParams, type SubscribeNewHeadsParams, type SubscribeNewTransactionReceiptsParams, type SubscribeNewTransactionsParams, type SubscribeTransactionStatusParams, Subscription, type SubscriptionBlockIdentifier, type SubscriptionNewHeadsEvent, type SubscriptionNewTransactionEvent, type SubscriptionNewTransactionReceiptsEvent, type SubscriptionOptions, type SubscriptionStarknetEventsEvent, type SubscriptionTransactionStatusEvent, type SuccessfulTransactionReceiptResponse, type SuccessfulTransactionReceiptResponseHelper, type TXN_EXECUTION_STATUS, type TXN_HASH, type TXN_STATUS, TimeoutError, type TipAnalysisOptions, type TipEstimate, type TipType, type TokenData, TransactionExecutionStatus, TransactionFinalityStatus, type TransactionReceipt, type TransactionReceiptCallbacks, type TransactionReceiptCallbacksDefault, type TransactionReceiptCallbacksDefined, type TransactionReceiptStatus, type TransactionReceiptValue, type TransactionStatus, type TransactionStatusReceiptSets, type TransactionTrace, TransactionType, type TransactionWithHash, type Tupled, type TypedContractV2, UINT_128_MAX, UINT_128_MIN, UINT_256_HIGH_MAX, UINT_256_HIGH_MIN, UINT_256_LOW_MAX, UINT_256_LOW_MIN, UINT_256_MAX, UINT_256_MIN, UINT_512_MAX, UINT_512_MIN, Uint, type Uint256, type Uint512, type UniversalDeployerContractPayload, type UniversalDetails, type UserInvoke, type UserTransaction, type V3DeclareSignerDetails, type V3DeployAccountSignerDetails, type V3InvocationsSignerDetails, type V3TransactionDetails, ValidateType, WalletAccount, WalletAccountV5, WalletAccountV6, WebSocketChannel, type WebSocketModule, WebSocketNotConnectedError, type WebSocketOptions, type WeierstrassSignatureType, type WithOptions, addAddressPadding, brotherId, byteArray, cairo, compareVersions, config, constants, contractClassResponseToLegacyCompiledContract, contractLoader, createAbiParser, createTransactionReceipt, defaultDeployer, defaultPlugins, ec, encode, eth, index as events, extractContractHashes, fastExecute, fastParsingStrategy, getAbiVersion, type getBlockTransactionsTracesOptions, getChecksumAddress, type getContractVersionOptions, type getEstimateFeeBulkOptions, getGasPrices, getLedgerPathBuffer111 as getLedgerPathBuffer, getLedgerPathBuffer111, getLedgerPathBuffer221, type getSimulateTransactionOptions, getTipStatsFromBlocks, index$3 as hash, hdParsingStrategy, isAccount, isFileSystemAvailable, isNoConstructorValid, isPreConfirmedBlock, isPreConfirmedStateUpdate, isPreConfirmedTransaction, isRPC08Plus_ResourceBounds, isRPC08Plus_ResourceBoundsBN, isSierra, isSupportedSpecVersion, isV3Tx, isVersion, json, legacyDeployer, logger, merkle, num, outsideExecution, parseCalldataField, paymaster, provider, selector, shortString, src5, index$1 as stark, starknetId, starknetId$1 as starknetIdPlugin, toAnyPatchVersion, toApiVersion, toReleaseVersion, index$2 as transaction, typedData, uint256$1 as uint256, units, v2 as v2hash, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, verifyMessageInStarknet, type waitForTransactionOptions, connect as wallet, connectV5 as walletV5, connectV6 as walletV6 };
|
|
10902
|
+
export { type Abi, type AbiEntry, type AbiEntryType, type AbiEnum, type AbiEnums, type AbiEvent, type AbiEvents, type AbiInterfaces, AbiParser1, AbiParser2, AbiParserInterface, type AbiStruct, type AbiStructs, Account, type AccountHooks, AccountInterface, type AccountInvocationItem, type AccountInvocations, type AccountInvocationsFactoryDetails, type AccountOptions, type AllowArray, type ApiEstimateFeeResponse, type Args, type ArgsOrCalldata, type ArgsOrCalldataWithOptions, type ArraySignatureType, type AsyncContractFunction, type BLOCK_HASH, type BLOCK_NUMBER, BatchClient, type BatchClientOptions, type BigNumberish, type Block$1 as Block, type BlockIdentifier, type BlockNumber, BlockStatus, BlockTag, type BlockTransactionTrace, type BlockTransactionsTracesWithInitialReads, type BlockWithTxHashes, BrotherIdImpl, type BrotherIdProviderMethods, type BrotherProfile, type Builtins, type ByteArray, type ByteCode, type CairoAssembly, CairoByteArray, CairoBytes31, type CairoContract, CairoCustomEnum, type CairoEnum, type CairoEnumRaw, type CairoEvent, type CairoEventDefinition, type CairoEventVariant, CairoFelt, CairoFelt252, CairoFixedArray, CairoInt128, CairoInt16, CairoInt32, CairoInt64, CairoInt8, CairoOption, CairoOptionVariant, CairoResult, CairoResultVariant, CairoUint128, CairoUint16, CairoUint256, CairoUint32, CairoUint512, CairoUint64, CairoUint8, CairoUint96, type CairoVersion, type Call, type CallContractResponse, CallData, type CallDetails, type CallOptions, type CallResult, type Calldata, type CommonContractOptions, type CompiledContract, type CompiledSierra, type CompiledSierraCasm, type CompilerVersion, type CompleteDeclareContractPayload, type CompressedProgram, Contract, type ContractClass, type ContractClassIdentifier, type ContractClassPayload, type ContractClassResponse, type ContractEntryPointFields, type ContractFunction, ContractInterface, type ContractOptions, type ContractVersion, type DeclareAndDeployContractPayload, type DeclareContractPayload, type DeclareContractResponse, type DeclareContractTransaction, type DeclareDeployUDCResponse, type DeclareSignerDetails, type DeclareTransactionReceiptResponse, type DeclaredTransaction, type DeployAccountContractPayload, type DeployAccountContractTransaction, type DeployAccountSignerDetails, type DeployAccountTransactionReceiptResponse, type DeployAndInvokeTransaction, type DeployContractResponse, type DeployContractUDCResponse, type DeployTransaction, type DeployTransactionReceiptResponse, type DeployedAccountTransaction, Deployer, type DeployerCall, DeployerInterface, type Details, EDAMode, EDataAvailabilityMode, ESubscriptionTag, ETH_ADDRESS, ETraceFlag, ETransactionExecutionStatus, ETransactionStatus, ETransactionVersion, ETransactionVersion2, ETransactionVersion3, ETxnResponseFlag, type EVENTS_CHUNK, type EmittedEvent, EntryPointType, type EntryPointsByType, type ErrorReceiptResponseHelper, type EstimateFeeBulk, type EstimateFeeResponseBulkOverhead, type EstimateFeeResponseOverhead, EthSigner, type Event$1 as Event, type EventEntry, type EventFilter, type ExecutableDeployAndInvokeTransaction, type ExecutableDeployTransaction, type ExecutableInvokeTransaction, type ExecutableUserInvoke, type ExecutableUserTransaction, type ExecuteOptions, type ExecutionParameters, type FEE_ESTIMATE, type FELT, type FactoryParams, type FastExecuteAccountMethods, type FastExecuteProviderMethods, type FastExecuteResponse, type FastWaitForTransactionOptions, type FeeEstimate, type FeeMode, type FormatResponse, type FunctionAbi, type GasPrices, type GetBlockResponse, type GetTransactionReceiptResponse, type GetTransactionResponse, type GetTxReceiptResponseWithoutHelper, type HexCalldata, type Hint, type INITIAL_READS, Int, type InterfaceAbi, type Invocation, type Invocations, type InvocationsDetails, type InvocationsDetailsWithNonce, type InvocationsSignerDetails, type InvokeFunctionResponse, type InvokeTransaction, type InvokeTransactionReceiptResponse, type InvokedTransaction, type L1HandlerTransactionReceiptResponse, type L1_HANDLER_TXN, type LedgerPathCalculation, LedgerSigner111 as LedgerSigner, LedgerSigner111, LedgerSigner221, LedgerSigner231, type LegacyCompiledContract, type LegacyContractClass, type LegacyEvent, LibraryError, Literal, type LoadedContract, type LogLevel, LogLevelIndex, type Methods, type MultiDeployContractResponse, type MultiType, NON_ZERO_PREFIX, type Nonce, type OptionalPayload, type OutsideCall, type OutsideExecution, type OutsideExecutionOptions, OutsideExecutionTypesV1, OutsideExecutionTypesV2, OutsideExecutionVersion, type OutsideTransaction, type PRE_CONFIRMED_STATE_UPDATE, type PRICE_UNIT, type ParsedEvent, type ParsedEvents, type ParsedStruct, type ParsingStrategy, type PaymasterDetails, type PaymasterFeeEstimate, PaymasterInterface, type PaymasterOptions, PaymasterRpc, type PaymasterRpcOptions, type PaymasterTimeBounds, type PluginConfig, PluginManager, type PreConfirmedBlock, type PreConfirmedStateUpdate, type PreparedDeployAndInvokeTransaction, type PreparedDeployTransaction, type PreparedInvokeTransaction, type PreparedTransaction, type Program, RpcProvider as Provider, type ProviderHooks, ProviderInterface, type ProviderOptions, type ProviderOrAccount, type PythonicHints, type RESOURCE_PRICE, index$4 as RPC, rpc_0_10_2 as RPC0102, rpc_0_10_3 as RPC0103, rpc_0_10_4 as RPC0104, rpc_0_9_0 as RPC09, RPCResponseParser, type RPC_ERROR, type RPC_ERROR_SET, type RawArgs, type RawArgsArray, type RawArgsObject, type RawCalldata, type Receipt, ReceiptTx, type ReconnectOptions, type RequiredKeysOf, type ResourceBounds, type ResourceBoundsBN, type ResourceBoundsOverhead, ResponseParser, type RevertedTransactionReceiptResponse, type RevertedTransactionReceiptResponseHelper, RpcChannel, RpcError, RpcProvider, type RpcProviderOptions, type SIMULATION_FLAG, type STATE_UPDATE, type STRK20_ACTION, type STRK20_CALL_AND_PROOF, type STRK20_SHADOW_ACCOUNT_INVOKE_ACTION, type SierraContractClass, type SierraContractEntryPointFields, type SierraEntryPointsByType, type SierraProgramDebugInfo, type Signature, Signer, SignerInterface, type Simplify, type SimulateTransaction, type SimulateTransactionDetails, type SimulateTransactionOverhead, type SimulateTransactionOverheadResponse, type SimulateTransactionResponse, type SimulationFlags, type StarkProfile, type StarknetIdAccountMethods, StarknetIdImpl, type StarknetIdProviderMethods, type StarknetPlugin, type StateUpdate, type StateUpdateResponse, type StorageResponse, type SubscribeEventsParams, type SubscribeNewHeadsParams, type SubscribeNewTransactionReceiptsParams, type SubscribeNewTransactionsParams, type SubscribeTransactionStatusParams, Subscription, type SubscriptionBlockIdentifier, type SubscriptionNewHeadsEvent, type SubscriptionNewTransactionEvent, type SubscriptionNewTransactionReceiptsEvent, type SubscriptionOptions, type SubscriptionStarknetEventsEvent, type SubscriptionTransactionStatusEvent, type SuccessfulTransactionReceiptResponse, type SuccessfulTransactionReceiptResponseHelper, type TXN_EXECUTION_STATUS, type TXN_HASH, type TXN_STATUS, TimeoutError, type TipAnalysisOptions, type TipEstimate, type TipType, type TokenData, TransactionExecutionStatus, TransactionFinalityStatus, type TransactionReceipt, type TransactionReceiptCallbacks, type TransactionReceiptCallbacksDefault, type TransactionReceiptCallbacksDefined, type TransactionReceiptStatus, type TransactionReceiptValue, type TransactionStatus, type TransactionStatusReceiptSets, type TransactionTrace, TransactionType, type TransactionWithHash, type Tupled, type TypedContractV2, UINT_128_MAX, UINT_128_MIN, UINT_256_HIGH_MAX, UINT_256_HIGH_MIN, UINT_256_LOW_MAX, UINT_256_LOW_MIN, UINT_256_MAX, UINT_256_MIN, UINT_512_MAX, UINT_512_MIN, Uint, type Uint256, type Uint512, type UniversalDeployerContractPayload, type UniversalDetails, type UserInvoke, type UserTransaction, type V3DeclareSignerDetails, type V3DeployAccountSignerDetails, type V3InvocationsSignerDetails, type V3TransactionDetails, ValidateType, WalletAccount, WalletAccountV5, WalletAccountV6, WebSocketChannel, type WebSocketModule, WebSocketNotConnectedError, type WebSocketOptions, type WeierstrassSignatureType, type WithOptions, addAddressPadding, brotherId, byteArray, cairo, compareVersions, config, constants, contractClassResponseToLegacyCompiledContract, contractLoader, createAbiParser, createTransactionReceipt, defaultDeployer, defaultPlugins, ec, encode, eth, index as events, extractContractHashes, fastExecute, fastParsingStrategy, getAbiVersion, type getBlockTransactionsTracesOptions, getChecksumAddress, type getContractVersionOptions, type getEstimateFeeBulkOptions, getGasPrices, getLedgerPathBuffer111 as getLedgerPathBuffer, getLedgerPathBuffer111, getLedgerPathBuffer221, type getSimulateTransactionOptions, getTipStatsFromBlocks, index$3 as hash, hdParsingStrategy, isAccount, isFileSystemAvailable, isNoConstructorValid, isPreConfirmedBlock, isPreConfirmedStateUpdate, isPreConfirmedTransaction, isRPC08Plus_ResourceBounds, isRPC08Plus_ResourceBoundsBN, isSierra, isSupportedSpecVersion, isV3Tx, isVersion, json, legacyDeployer, logger, merkle, num, outsideExecution, parseCalldataField, paymaster, provider, selector, shortString, src5, index$1 as stark, starknetId, starknetId$1 as starknetIdPlugin, toAnyPatchVersion, toApiVersion, toReleaseVersion, index$2 as transaction, typedData, uint256$1 as uint256, units, v2 as v2hash, v3 as v3hash, validateAndParseAddress, validateChecksumAddress, verifyMessageInStarknet, type waitForTransactionOptions, connect as wallet, connectV5 as walletV5, connectV6 as walletV6 };
|