Namespace: RPC
types.RPC
Namespaces​
Enumerations​
- ETransactionType
- ESimulationFlag
- ETransactionStatus
- ETransactionFinalityStatus
- ETransactionExecutionStatus
- EBlockTag
- EDataAvailabilityMode
Type Aliases​
Methods​
Ƭ Methods: ReadMethods
& WriteMethods
& TraceMethods
Defined in​
src/types/api/rpcspec/methods.ts:42
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/contract.ts:10
ContractClass​
Ƭ ContractClass: CONTRACT_CLASS
| DEPRECATED_CONTRACT_CLASS
Defined in​
src/types/api/rpcspec/nonspec.ts:40
SimulateTransactionResponse​
Ƭ SimulateTransactionResponse: { transaction_trace
: TRANSACTION_TRACE
; fee_estimation
: FEE_ESTIMATE
}[]
Defined in​
src/types/api/rpcspec/nonspec.ts:42
FeeEstimate​
Ƭ FeeEstimate: FEE_ESTIMATE
Defined in​
src/types/api/rpcspec/nonspec.ts:47
TransactionWithHash​
Ƭ TransactionWithHash: TXN
& { transaction_hash
: TXN_HASH
}
Defined in​
src/types/api/rpcspec/nonspec.ts:49
BlockHashAndNumber​
Ƭ BlockHashAndNumber: Object
Type declaration​
Name | Type |
---|---|
block_hash | BLOCK_HASH |
block_number | BLOCK_NUMBER |
Defined in​
src/types/api/rpcspec/nonspec.ts:51
BlockWithTxs​
Ƭ BlockWithTxs: BLOCK_WITH_TXS
| PENDING_BLOCK_WITH_TXS
Defined in​
src/types/api/rpcspec/nonspec.ts:53
BlockWithTxHashes​
Ƭ BlockWithTxHashes: BLOCK_WITH_TX_HASHES
| PENDING_BLOCK_WITH_TX_HASHES
Defined in​
src/types/api/rpcspec/nonspec.ts:55
StateUpdate​
Ƭ StateUpdate: STATE_UPDATE
| PENDING_STATE_UPDATE
Defined in​
src/types/api/rpcspec/nonspec.ts:57
BlockTransactionsTraces​
Ƭ BlockTransactionsTraces: { transaction_hash
: FELT
; trace_root
: TRANSACTION_TRACE
}[]
Defined in​
src/types/api/rpcspec/nonspec.ts:59
Syncing​
Ƭ Syncing: false
| SYNC_STATUS
Defined in​
src/types/api/rpcspec/nonspec.ts:61
Events​
Ƭ Events: EVENTS_CHUNK
Defined in​
src/types/api/rpcspec/nonspec.ts:63
InvokedTransaction​
Ƭ InvokedTransaction: Object
Type declaration​
Name | Type |
---|---|
transaction_hash | TXN_HASH |
Defined in​
src/types/api/rpcspec/nonspec.ts:65
DeclaredTransaction​
Ƭ DeclaredTransaction: Object
Type declaration​
Name | Type |
---|---|
transaction_hash | TXN_HASH |
class_hash | FELT |
Defined in​
src/types/api/rpcspec/nonspec.ts:67
DeployedAccountTransaction​
Ƭ DeployedAccountTransaction: Object
Type declaration​
Name | Type |
---|---|
transaction_hash | TXN_HASH |
contract_address | FELT |
Defined in​
src/types/api/rpcspec/nonspec.ts:69
ContractAddress​
Ƭ ContractAddress: ADDRESS
Defined in​
src/types/api/rpcspec/nonspec.ts:72
Felt​
Ƭ Felt: FELT
Defined in​
src/types/api/rpcspec/nonspec.ts:73
Nonce​
Ƭ Nonce: FELT
Defined in​
src/types/api/rpcspec/nonspec.ts:74
TransactionHash​
Ƭ TransactionHash: TXN_HASH
Defined in​
src/types/api/rpcspec/nonspec.ts:75
TransactionTrace​
Ƭ TransactionTrace: TRANSACTION_TRACE
Defined in​
src/types/api/rpcspec/nonspec.ts:76
BlockHash​
Ƭ BlockHash: BLOCK_HASH
Defined in​
src/types/api/rpcspec/nonspec.ts:77
TransactionReceipt​
Ƭ TransactionReceipt: TXN_RECEIPT
| PENDING_TXN_RECEIPT
Defined in​
src/types/api/rpcspec/nonspec.ts:78
EventFilter​
Ƭ EventFilter: EVENT_FILTER
& RESULT_PAGE_REQUEST
Defined in​
src/types/api/rpcspec/nonspec.ts:79
SimulationFlags​
Ƭ SimulationFlags: SIMULATION_FLAG
[]
Defined in​
src/types/api/rpcspec/nonspec.ts:80
L1Message​
Ƭ L1Message: MSG_FROM_L1
Defined in​
src/types/api/rpcspec/nonspec.ts:81
BaseTransaction​
Ƭ BaseTransaction: BROADCASTED_TXN
Defined in​
src/types/api/rpcspec/nonspec.ts:82
ChainId​
Ƭ ChainId: CHAIN_ID
Defined in​
src/types/api/rpcspec/nonspec.ts:83
Transaction​
Ƭ Transaction: TXN
Defined in​
src/types/api/rpcspec/nonspec.ts:84
TransactionStatus​
Ƭ TransactionStatus: Object
Type declaration​
Name | Type |
---|---|
finality_status | TXN_STATUS |
execution_status? | TXN_EXECUTION_STATUS |
Defined in​
src/types/api/rpcspec/nonspec.ts:85
StorageDiffs​
Ƭ StorageDiffs: CONTRACT_STORAGE_DIFF_ITEM
[]
Defined in​
src/types/api/rpcspec/nonspec.ts:91
DeprecatedDeclaredClasses​
Ƭ DeprecatedDeclaredClasses: FELT
[]
Defined in​
src/types/api/rpcspec/nonspec.ts:92
NonceUpdates​
Ƭ NonceUpdates: NONCE_UPDATE
[]
Defined in​
src/types/api/rpcspec/nonspec.ts:93
ReplacedClasses​
Ƭ ReplacedClasses: REPLACED_CLASS
[]