Skip to main content
Version: 5.14.1

Namespace: RPC

types.RPC

Enumerations​

Type Aliases​

Response​

Ƭ Response: Object

Type declaration​

NameType
idnumber
jsonrpcstring
result?any
error?{ code: string ; message: string }
error.codestring
error.messagestring

Defined in​

src/types/api/rpc.ts:4


ChainId​

Ƭ ChainId: OPENRPC.CHAIN_ID

Defined in​

src/types/api/rpc.ts:14


CallResponse​

Ƭ CallResponse: OPENRPC.CallResponse

Defined in​

src/types/api/rpc.ts:15


ContractAddress​

Ƭ ContractAddress: ADDRESS

Defined in​

src/types/api/rpc.ts:16


Felt​

Ƭ Felt: FELT

Defined in​

src/types/api/rpc.ts:17


Nonce​

Ƭ Nonce: OPENRPC.Nonce

Defined in​

src/types/api/rpc.ts:18


ContractClass​

Ƭ ContractClass: OPENRPC.ContractClass | OPENRPC.DeprecatedContractClass

Defined in​

src/types/api/rpc.ts:19


StateUpdate​

Ƭ StateUpdate: OPENRPC.StateUpdate

Defined in​

src/types/api/rpc.ts:20


Transaction​

Ƭ Transaction: OPENRPC.Transaction

Defined in​

src/types/api/rpc.ts:21


PendingTransactions​

Ƭ PendingTransactions: OPENRPC.PendingTransactions

Defined in​

src/types/api/rpc.ts:22


TransactionHash​

Ƭ TransactionHash: OPENRPC.TransactionHash

Defined in​

src/types/api/rpc.ts:23


Trace​

Ƭ Trace: OPENRPC.Trace

Defined in​

src/types/api/rpc.ts:24


Traces​

Ƭ Traces: OPENRPC.Traces

Defined in​

src/types/api/rpc.ts:25


BlockHash​

Ƭ BlockHash: OPENRPC.BlockHash

Defined in​

src/types/api/rpc.ts:26


BlockHashAndNumber​

Ƭ BlockHashAndNumber: OPENRPC.BlockHashAndNumber

Defined in​

src/types/api/rpc.ts:27


EstimateFeeResponse​

Ƭ EstimateFeeResponse: OPENRPC.EstimatedFee

Defined in​

src/types/api/rpc.ts:28


GetBlockWithTxHashesResponse​

Ƭ GetBlockWithTxHashesResponse: OPENRPC.BlockWithTxHashes

Defined in​

src/types/api/rpc.ts:29


GetBlockWithTxs​

Ƭ GetBlockWithTxs: OPENRPC.BlockWithTxs

Defined in​

src/types/api/rpc.ts:30


GetStorageAtResponse​

Ƭ GetStorageAtResponse: OPENRPC.Storage

Defined in​

src/types/api/rpc.ts:31


TransactionReceipt​

Ƭ TransactionReceipt: OPENRPC.TransactionReceipt

Defined in​

src/types/api/rpc.ts:32


GetTransactionByHashResponse​

Ƭ GetTransactionByHashResponse: OPENRPC.Transaction

Defined in​

src/types/api/rpc.ts:33


GetTransactionByBlockIdAndIndex​

Ƭ GetTransactionByBlockIdAndIndex: OPENRPC.Transaction

Defined in​

src/types/api/rpc.ts:34


GetTransactionCountResponse​

Ƭ GetTransactionCountResponse: number

Defined in​

src/types/api/rpc.ts:35


GetBlockNumberResponse​

Ƭ GetBlockNumberResponse: OPENRPC.BlockNumber

Defined in​

src/types/api/rpc.ts:36


GetSyncingStatsResponse​

Ƭ GetSyncingStatsResponse: OPENRPC.SyncingStatus

Defined in​

src/types/api/rpc.ts:37


EventFilter​

Ƭ EventFilter: OPENRPC.EventFilter

Defined in​

src/types/api/rpc.ts:38


GetEventsResponse​

Ƭ GetEventsResponse: OPENRPC.Events

Defined in​

src/types/api/rpc.ts:39


InvokedTransaction​

Ƭ InvokedTransaction: OPENRPC.InvokedTransaction

Defined in​

src/types/api/rpc.ts:40


DeclaredTransaction​

Ƭ DeclaredTransaction: OPENRPC.DeclaredTransaction

Defined in​

src/types/api/rpc.ts:41


DeployedTransaction​

Ƭ DeployedTransaction: OPENRPC.DeployedTransaction

Defined in​

src/types/api/rpc.ts:42


SimulationFlags​

Ƭ SimulationFlags: OPENRPC.SimulationFlags

Defined in​

src/types/api/rpc.ts:43


BroadcastedTransaction​

Ƭ BroadcastedTransaction: OPENRPC.BroadcastedTransaction

Defined in​

src/types/api/rpc.ts:44


EstimatedFee​

Ƭ EstimatedFee: OPENRPC.EstimatedFee

Defined in​

src/types/api/rpc.ts:45


Methods​

Ƭ Methods: OPENRPC.Methods

Defined in​

src/types/api/rpc.ts:46


Storage​

Ƭ Storage: OPENRPC.Storage

Defined in​

src/types/api/rpc.ts:47


SimulateTransactionResponse​

Ƭ SimulateTransactionResponse: OPENRPC.SimulatedTransactions

Defined in​

src/types/api/rpc.ts:48


StorageDiffs​

Ƭ StorageDiffs: CONTRACT_STORAGE_DIFF_ITEM[]

Defined in​

src/types/api/rpc.ts:59


DeprecatedDeclaredClasses​

Ƭ DeprecatedDeclaredClasses: FELT[]

Defined in​

src/types/api/rpc.ts:60


Nonces​

Ƭ Nonces: { contract_address: ADDRESS ; nonce: FELT }[]

Defined in​

src/types/api/rpc.ts:61


ReplacedClasses​

Ƭ ReplacedClasses: { contract_address: ADDRESS ; class_hash: FELT }[]

Defined in​

src/types/api/rpc.ts:65