Namespace: RPC
types.RPC
Type Aliases​
Response​
Ƭ Response: Object
Type declaration​
Name | Type |
---|---|
id | number |
jsonrpc | string |
result? | any |
error? | { code : string ; message : string } |
error.code | string |
error.message | string |
Defined in​
ChainId​
Ƭ ChainId: OPENRPC.CHAIN_ID
Defined in​
CallResponse​
Ƭ CallResponse: OPENRPC.CallResponse
Defined in​
ContractAddress​
Ƭ ContractAddress: ADDRESS
Defined in​
Felt​
Ƭ Felt: FELT
Defined in​
Nonce​
Ƭ Nonce: OPENRPC.Nonce
Defined in​
ContractClass​
Ƭ ContractClass: OPENRPC.ContractClass
| OPENRPC.DeprecatedContractClass
Defined in​
StateUpdate​
Ƭ StateUpdate: OPENRPC.StateUpdate
Defined in​
Transaction​
Ƭ Transaction: OPENRPC.Transaction
Defined in​
PendingTransactions​
Ƭ PendingTransactions: OPENRPC.PendingTransactions
Defined in​
TransactionHash​
Ƭ TransactionHash: OPENRPC.TransactionHash
Defined in​
Trace​
Ƭ Trace: OPENRPC.Trace
Defined in​
Traces​
Ƭ Traces: OPENRPC.Traces
Defined in​
BlockHash​
Ƭ BlockHash: OPENRPC.BlockHash
Defined in​
BlockHashAndNumber​
Ƭ BlockHashAndNumber: OPENRPC.BlockHashAndNumber
Defined in​
EstimateFeeResponse​
Ƭ EstimateFeeResponse: OPENRPC.EstimatedFee
Defined in​
GetBlockWithTxHashesResponse​
Ƭ GetBlockWithTxHashesResponse: OPENRPC.BlockWithTxHashes
Defined in​
GetBlockWithTxs​
Ƭ GetBlockWithTxs: OPENRPC.BlockWithTxs
Defined in​
GetStorageAtResponse​
Ƭ GetStorageAtResponse: OPENRPC.Storage
Defined in​
TransactionReceipt​
Ƭ TransactionReceipt: OPENRPC.TransactionReceipt
Defined in​
GetTransactionByHashResponse​
Ƭ GetTransactionByHashResponse: OPENRPC.Transaction
Defined in​
GetTransactionByBlockIdAndIndex​
Ƭ GetTransactionByBlockIdAndIndex: OPENRPC.Transaction
Defined in​
GetTransactionCountResponse​
Ƭ GetTransactionCountResponse: number
Defined in​
GetBlockNumberResponse​
Ƭ GetBlockNumberResponse: OPENRPC.BlockNumber
Defined in​
GetSyncingStatsResponse​
Ƭ GetSyncingStatsResponse: OPENRPC.SyncingStatus
Defined in​
EventFilter​
Ƭ EventFilter: OPENRPC.EventFilter
Defined in​
GetEventsResponse​
Ƭ GetEventsResponse: OPENRPC.Events
Defined in​
InvokedTransaction​
Ƭ InvokedTransaction: OPENRPC.InvokedTransaction
Defined in​
DeclaredTransaction​
Ƭ DeclaredTransaction: OPENRPC.DeclaredTransaction
Defined in​
DeployedTransaction​
Ƭ DeployedTransaction: OPENRPC.DeployedTransaction
Defined in​
SimulationFlags​
Ƭ SimulationFlags: OPENRPC.SimulationFlags
Defined in​
EstimatedFee​
Ƭ EstimatedFee: OPENRPC.EstimatedFee
Defined in​
Methods​
Ƭ Methods: OPENRPC.Methods
Defined in​
Storage​
Ƭ Storage: OPENRPC.Storage
Defined in​
SimulateTransactionResponse​
Ƭ SimulateTransactionResponse: OPENRPC.SimulatedTransactions
Defined in​
BaseTransaction​
Ƭ BaseTransaction: OPENRPC.BaseTransaction
& { version
: string
}
Defined in​
StorageDiffs​
Ƭ StorageDiffs: CONTRACT_STORAGE_DIFF_ITEM
[]
Defined in​
DeprecatedDeclaredClasses​
Ƭ DeprecatedDeclaredClasses: FELT
[]
Defined in​
Nonces​
Ƭ Nonces: { contract_address
: ADDRESS
; nonce
: FELT
}[]
Defined in​
ReplacedClasses​
Ƭ ReplacedClasses: { contract_address
: ADDRESS
; class_hash
: FELT
}[]
Defined in​
Variables​
TransactionType​
• Const
TransactionType: typeof TXN_TYPE
= TXN_TYPE
Defined in​
SimulationFlag​
• Const
SimulationFlag: typeof SIMULATION_FLAG
= SIMULATION_FLAG
Defined in​
TransactionFinalityStatus​
• Const
TransactionFinalityStatus: typeof TXN_FINALITY_STATUS
= TXN_FINALITY_STATUS
Defined in​
TransactionExecutionStatus​
• Const
TransactionExecutionStatus: typeof TXN_EXECUTION_STATUS
= TXN_EXECUTION_STATUS