Namespace: RPCSPEC06
Namespaces​
Type Aliases​
Methods​
Ƭ Methods: ReadMethods
& WriteMethods
& TraceMethods
Defined in​
src/types/api/rpcspec_0_6/methods.ts:330
ABI​
Ƭ ABI: (FUNCTION
| CONSTRUCTOR
| L1_HANDLER
| EVENT
| STRUCT
| ENUM
| INTERFACE
| IMPL
)[]
TypeScript Representation of Cairo1 v2+ Starknet Contract ABI
starknet_metadata.json - tags/v0.5.0
'starknet-specs' (OpenRpc protocol types) https://github.com/starkware-libs/starknet-specs
Defined in​
src/types/api/rpcspec_0_6/contract.ts:10
ContractClass​
Ƭ ContractClass: CONTRACT_CLASS
| DEPRECATED_CONTRACT_CLASS
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:46
SimulateTransaction​
Ƭ SimulateTransaction: Object
Type declaration​
Name | Type |
---|---|
transaction_trace | TRANSACTION_TRACE |
fee_estimation | FEE_ESTIMATE |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:48
SimulateTransactionResponse​
Ƭ SimulateTransactionResponse: SimulateTransaction
[]
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:52
FeeEstimate​
Ƭ FeeEstimate: FEE_ESTIMATE
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:54
TransactionWithHash​
Ƭ TransactionWithHash: TXN
& { transaction_hash
: TXN_HASH
}
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:56
BlockHashAndNumber​
Ƭ BlockHashAndNumber: Object
Type declaration​
Name | Type |
---|---|
block_hash | BLOCK_HASH |
block_number | BLOCK_NUMBER |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:58
BlockWithTxs​
Ƭ BlockWithTxs: BLOCK_WITH_TXS
| PENDING_BLOCK_WITH_TXS
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:60
BlockWithTxHashes​
Ƭ BlockWithTxHashes: BLOCK_WITH_TX_HASHES
| PENDING_BLOCK_WITH_TX_HASHES
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:62
StateUpdate​
Ƭ StateUpdate: STATE_UPDATE
| PENDING_STATE_UPDATE
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:64
BlockTransactionsTraces​
Ƭ BlockTransactionsTraces: { transaction_hash
: FELT
; trace_root
: TRANSACTION_TRACE
}[]
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:66
Syncing​
Ƭ Syncing: false
| SYNC_STATUS
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:68
Events​
Ƭ Events: EVENTS_CHUNK
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:70
EmittedEvent​
Ƭ EmittedEvent: EMITTED_EVENT
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:71
Event​
Ƭ Event: EVENT
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:72
InvokedTransaction​
Ƭ InvokedTransaction: Object
Type declaration​
Name | Type |
---|---|
transaction_hash | TXN_HASH |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:74
DeclaredTransaction​
Ƭ DeclaredTransaction: Object
Type declaration​
Name | Type |
---|---|
transaction_hash | TXN_HASH |
class_hash | FELT |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:76
DeployedAccountTransaction​
Ƭ DeployedAccountTransaction: Object
Type declaration​
Name | Type |
---|---|
transaction_hash | TXN_HASH |
contract_address | FELT |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:78
ContractAddress​
Ƭ ContractAddress: ADDRESS
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:81
Felt​
Ƭ Felt: FELT
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:82
Nonce​
Ƭ Nonce: FELT
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:83
TransactionHash​
Ƭ TransactionHash: TXN_HASH
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:84
TransactionTrace​
Ƭ TransactionTrace: TRANSACTION_TRACE
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:85
BlockHash​
Ƭ BlockHash: BLOCK_HASH
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:86
TransactionReceipt​
Ƭ TransactionReceipt: TXN_RECEIPT
| PENDING_TXN_RECEIPT
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:87
Receipt​
Ƭ Receipt: TXN_RECEIPT
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:88
PendingReceipt​
Ƭ PendingReceipt: PENDING_TXN_RECEIPT
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:89
EventFilter​
Ƭ EventFilter: EVENT_FILTER
& RESULT_PAGE_REQUEST
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:90
SimulationFlags​
Ƭ SimulationFlags: SIMULATION_FLAG
[]
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:91
L1Message​
Ƭ L1Message: MSG_FROM_L1
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:92
BaseTransaction​
Ƭ BaseTransaction: BROADCASTED_TXN
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:93
ChainId​
Ƭ ChainId: CHAIN_ID
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:94
Transaction​
Ƭ Transaction: TXN
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:95
TransactionStatus​
Ƭ TransactionStatus: Object
Type declaration​
Name | Type |
---|---|
finality_status | TXN_STATUS |
execution_status? | TXN_EXECUTION_STATUS |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:96
ResourceBounds​
Ƭ ResourceBounds: RESOURCE_BOUNDS_MAPPING
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:100
FeePayment​
Ƭ FeePayment: FEE_PAYMENT
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:101
PriceUnit​
Ƭ PriceUnit: PRICE_UNIT
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:102
StorageDiffs​
Ƭ StorageDiffs: CONTRACT_STORAGE_DIFF_ITEM
[]
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:105
DeprecatedDeclaredClasses​
Ƭ DeprecatedDeclaredClasses: FELT
[]
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:106
NonceUpdates​
Ƭ NonceUpdates: NONCE_UPDATE
[]
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:107
ReplacedClasses​
Ƭ ReplacedClasses: REPLACED_CLASS
[]
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:108
ETransactionType​
Ƭ ETransactionType: ValuesType
<typeof ETransactionType
>
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:111
src/types/api/rpcspec_0_6/nonspec.ts:119
ESimulationFlag​
Ƭ ESimulationFlag: ValuesType
<typeof ESimulationFlag
>
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:121
src/types/api/rpcspec_0_6/nonspec.ts:126
ETransactionStatus​
Ƭ ETransactionStatus: ValuesType
<typeof ETransactionStatus
>
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:128
src/types/api/rpcspec_0_6/nonspec.ts:135
ETransactionFinalityStatus​
Ƭ ETransactionFinalityStatus: ValuesType
<typeof ETransactionFinalityStatus
>
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:137
src/types/api/rpcspec_0_6/nonspec.ts:142
ETransactionExecutionStatus​
Ƭ ETransactionExecutionStatus: ValuesType
<typeof ETransactionExecutionStatus
>
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:144
src/types/api/rpcspec_0_6/nonspec.ts:149
EBlockTag​
Ƭ EBlockTag: ValuesType
<typeof EBlockTag
>
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:151
src/types/api/rpcspec_0_6/nonspec.ts:156
EDataAvailabilityMode​
Ƭ EDataAvailabilityMode: ValuesType
<typeof EDataAvailabilityMode
>
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:159
src/types/api/rpcspec_0_6/nonspec.ts:164
EDAMode​
Ƭ EDAMode: ValuesType
<typeof EDAMode
>
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:167
src/types/api/rpcspec_0_6/nonspec.ts:172
ETransactionVersion​
Ƭ ETransactionVersion: ValuesType
<typeof ETransactionVersion
>
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:178
src/types/api/rpcspec_0_6/nonspec.ts:189
ETransactionVersion2​
Ƭ ETransactionVersion2: ValuesType
<typeof ETransactionVersion2
>
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:194
src/types/api/rpcspec_0_6/nonspec.ts:203
ETransactionVersion3​
Ƭ ETransactionVersion3: ValuesType
<typeof ETransactionVersion3
>
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:208
src/types/api/rpcspec_0_6/nonspec.ts:213
Variables​
ETransactionType​
• Const
ETransactionType: Object
Type declaration​
Name | Type |
---|---|
DECLARE | "DECLARE" |
DEPLOY | "DEPLOY" |
DEPLOY_ACCOUNT | "DEPLOY_ACCOUNT" |
INVOKE | "INVOKE" |
L1_HANDLER | "L1_HANDLER" |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:111
src/types/api/rpcspec_0_6/nonspec.ts:119
ESimulationFlag​
• Const
ESimulationFlag: Object
Type declaration​
Name | Type |
---|---|
SKIP_VALIDATE | "SKIP_VALIDATE" |
SKIP_FEE_CHARGE | "SKIP_FEE_CHARGE" |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:121
src/types/api/rpcspec_0_6/nonspec.ts:126
ETransactionStatus​
• Const
ETransactionStatus: Object
Type declaration​
Name | Type |
---|---|
RECEIVED | "RECEIVED" |
REJECTED | "REJECTED" |
ACCEPTED_ON_L2 | "ACCEPTED_ON_L2" |
ACCEPTED_ON_L1 | "ACCEPTED_ON_L1" |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:128
src/types/api/rpcspec_0_6/nonspec.ts:135
ETransactionFinalityStatus​
• Const
ETransactionFinalityStatus: Object
Type declaration​
Name | Type |
---|---|
ACCEPTED_ON_L2 | "ACCEPTED_ON_L2" |
ACCEPTED_ON_L1 | "ACCEPTED_ON_L1" |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:137
src/types/api/rpcspec_0_6/nonspec.ts:142
ETransactionExecutionStatus​
• Const
ETransactionExecutionStatus: Object
Type declaration​
Name | Type |
---|---|
SUCCEEDED | "SUCCEEDED" |
REVERTED | "REVERTED" |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:144
src/types/api/rpcspec_0_6/nonspec.ts:149
EBlockTag​
• Const
EBlockTag: Object
Type declaration​
Name | Type |
---|---|
PENDING | "pending" |
LATEST | "latest" |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:151
src/types/api/rpcspec_0_6/nonspec.ts:156
EDataAvailabilityMode​
• Const
EDataAvailabilityMode: Object
Type declaration​
Name | Type |
---|---|
L1 | "L1" |
L2 | "L2" |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:159
src/types/api/rpcspec_0_6/nonspec.ts:164
EDAMode​
• Const
EDAMode: Object
Type declaration​
Name | Type |
---|---|
L1 | 0 |
L2 | 1 |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:167
src/types/api/rpcspec_0_6/nonspec.ts:172
ETransactionVersion​
• Const
ETransactionVersion: Object
V Transaction versions HexString F Fee Transaction Versions HexString (2 ** 128 + TRANSACTION_VERSION)
Type declaration​
Name | Type |
---|---|
V0 | "0x0" |
V1 | "0x1" |
V2 | "0x2" |
V3 | "0x3" |
F0 | "0x100000000000000000000000000000000" |
F1 | "0x100000000000000000000000000000001" |
F2 | "0x100000000000000000000000000000002" |
F3 | "0x100000000000000000000000000000003" |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:178
src/types/api/rpcspec_0_6/nonspec.ts:189
ETransactionVersion2​
• Const
ETransactionVersion2: Object
Old Transaction Versions
Type declaration​
Name | Type |
---|---|
V0 | "0x0" |
V1 | "0x1" |
V2 | "0x2" |
F0 | "0x100000000000000000000000000000000" |
F1 | "0x100000000000000000000000000000001" |
F2 | "0x100000000000000000000000000000002" |
Defined in​
src/types/api/rpcspec_0_6/nonspec.ts:194
src/types/api/rpcspec_0_6/nonspec.ts:203
ETransactionVersion3​
• Const
ETransactionVersion3: Object
V3 Transaction Versions
Type declaration​
Name | Type |
---|---|
V3 | "0x3" |
F3 | "0x100000000000000000000000000000003" |