Skip to main content
Version: 5.19.5

Namespace: RPC

types.RPC

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:12


ChainId

Ƭ ChainId: OPENRPC.CHAIN_ID

Defined in

src/types/api/rpc.ts:22


CallResponse

Ƭ CallResponse: OPENRPC.CallResponse

Defined in

src/types/api/rpc.ts:23


ContractAddress

Ƭ ContractAddress: ADDRESS

Defined in

src/types/api/rpc.ts:24


Felt

Ƭ Felt: FELT

Defined in

src/types/api/rpc.ts:25


Nonce

Ƭ Nonce: OPENRPC.Nonce

Defined in

src/types/api/rpc.ts:26


ContractClass

Ƭ ContractClass: OPENRPC.ContractClass | OPENRPC.DeprecatedContractClass

Defined in

src/types/api/rpc.ts:27


StateUpdate

Ƭ StateUpdate: OPENRPC.StateUpdate

Defined in

src/types/api/rpc.ts:28


Transaction

Ƭ Transaction: OPENRPC.Transaction

Defined in

src/types/api/rpc.ts:29


PendingTransactions

Ƭ PendingTransactions: OPENRPC.PendingTransactions

Defined in

src/types/api/rpc.ts:30


TransactionHash

Ƭ TransactionHash: OPENRPC.TransactionHash

Defined in

src/types/api/rpc.ts:31


Trace

Ƭ Trace: OPENRPC.Trace

Defined in

src/types/api/rpc.ts:32


Traces

Ƭ Traces: OPENRPC.Traces

Defined in

src/types/api/rpc.ts:33


BlockHash

Ƭ BlockHash: OPENRPC.BlockHash

Defined in

src/types/api/rpc.ts:34


BlockHashAndNumber

Ƭ BlockHashAndNumber: OPENRPC.BlockHashAndNumber

Defined in

src/types/api/rpc.ts:35


EstimateFeeResponse

Ƭ EstimateFeeResponse: OPENRPC.EstimatedFee

Defined in

src/types/api/rpc.ts:36


GetBlockWithTxHashesResponse

Ƭ GetBlockWithTxHashesResponse: OPENRPC.BlockWithTxHashes

Defined in

src/types/api/rpc.ts:37


GetBlockWithTxs

Ƭ GetBlockWithTxs: OPENRPC.BlockWithTxs

Defined in

src/types/api/rpc.ts:38


GetStorageAtResponse

Ƭ GetStorageAtResponse: OPENRPC.Storage

Defined in

src/types/api/rpc.ts:39


TransactionReceipt

Ƭ TransactionReceipt: OPENRPC.TransactionReceipt

Defined in

src/types/api/rpc.ts:40


GetTransactionByHashResponse

Ƭ GetTransactionByHashResponse: OPENRPC.Transaction

Defined in

src/types/api/rpc.ts:41


GetTransactionByBlockIdAndIndex

Ƭ GetTransactionByBlockIdAndIndex: OPENRPC.Transaction

Defined in

src/types/api/rpc.ts:42


GetTransactionCountResponse

Ƭ GetTransactionCountResponse: number

Defined in

src/types/api/rpc.ts:43


GetBlockNumberResponse

Ƭ GetBlockNumberResponse: OPENRPC.BlockNumber

Defined in

src/types/api/rpc.ts:44


GetSyncingStatsResponse

Ƭ GetSyncingStatsResponse: OPENRPC.SyncingStatus

Defined in

src/types/api/rpc.ts:45


EventFilter

Ƭ EventFilter: OPENRPC.EventFilter

Defined in

src/types/api/rpc.ts:46


GetEventsResponse

Ƭ GetEventsResponse: OPENRPC.Events

Defined in

src/types/api/rpc.ts:47


InvokedTransaction

Ƭ InvokedTransaction: OPENRPC.InvokedTransaction

Defined in

src/types/api/rpc.ts:48


DeclaredTransaction

Ƭ DeclaredTransaction: OPENRPC.DeclaredTransaction

Defined in

src/types/api/rpc.ts:49


DeployedTransaction

Ƭ DeployedTransaction: OPENRPC.DeployedTransaction

Defined in

src/types/api/rpc.ts:50


SimulationFlags

Ƭ SimulationFlags: OPENRPC.SimulationFlags

Defined in

src/types/api/rpc.ts:51


EstimatedFee

Ƭ EstimatedFee: OPENRPC.EstimatedFee

Defined in

src/types/api/rpc.ts:52


Methods

Ƭ Methods: OPENRPC.Methods

Defined in

src/types/api/rpc.ts:53


Storage

Ƭ Storage: OPENRPC.Storage

Defined in

src/types/api/rpc.ts:54


SimulateTransactionResponse

Ƭ SimulateTransactionResponse: OPENRPC.SimulatedTransactions

Defined in

src/types/api/rpc.ts:55


BaseTransaction

Ƭ BaseTransaction: OPENRPC.BaseTransaction & { version: string }

Defined in

src/types/api/rpc.ts:60


StorageDiffs

Ƭ StorageDiffs: CONTRACT_STORAGE_DIFF_ITEM[]

Defined in

src/types/api/rpc.ts:63


DeprecatedDeclaredClasses

Ƭ DeprecatedDeclaredClasses: FELT[]

Defined in

src/types/api/rpc.ts:64


Nonces

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

Defined in

src/types/api/rpc.ts:65


ReplacedClasses

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

Defined in

src/types/api/rpc.ts:69

Variables

TransactionType

Const TransactionType: typeof TXN_TYPE = TXN_TYPE

Defined in

src/types/api/rpc.ts:56


SimulationFlag

Const SimulationFlag: typeof SIMULATION_FLAG = SIMULATION_FLAG

Defined in

src/types/api/rpc.ts:57


TransactionFinalityStatus

Const TransactionFinalityStatus: typeof TXN_FINALITY_STATUS = TXN_FINALITY_STATUS

Defined in

src/types/api/rpc.ts:58


TransactionExecutionStatus

Const TransactionExecutionStatus: typeof TXN_EXECUTION_STATUS = TXN_EXECUTION_STATUS

Defined in

src/types/api/rpc.ts:59