pub enum JsonRpcMethod {
Show 43 variants
SpecVersion,
GetBlockWithTxHashes,
GetBlockWithTxs,
GetBlockWithReceipts,
GetStateUpdate,
GetStorageAt,
GetMessagesStatus,
GetTransactionStatus,
GetTransactionByHash,
GetTransactionByBlockIdAndIndex,
GetTransactionReceipt,
GetClass,
GetClassHashAt,
GetClassAt,
GetBlockTransactionCount,
Call,
EstimateFee,
EstimateMessageFee,
BlockNumber,
BlockHashAndNumber,
ChainId,
Syncing,
GetEvents,
GetNonce,
GetStorageProof,
AddInvokeTransaction,
AddDeclareTransaction,
AddDeployAccountTransaction,
TraceTransaction,
SimulateTransactions,
TraceBlockTransactions,
SubscribeNewHeads,
SubscriptionNewHeads,
SubscribeEvents,
SubscriptionEvents,
SubscribeTransactionStatus,
SubscriptionTransactionStatus,
SubscribeNewTransactionReceipts,
SubscriptionNewTransactionReceipts,
SubscribeNewTransactions,
SubscriptionNewTransaction,
SubscriptionReorg,
Unsubscribe,
}Expand description
All JSON-RPC methods as listed by the official specification.
Variants§
SpecVersion
The starknet_specVersion method.
GetBlockWithTxHashes
The starknet_getBlockWithTxHashes method.
GetBlockWithTxs
The starknet_getBlockWithTxs method.
GetBlockWithReceipts
The starknet_getBlockWithReceipts method.
GetStateUpdate
The starknet_getStateUpdate method.
GetStorageAt
The starknet_getStorageAt method.
GetMessagesStatus
The starknet_getMessagesStatus method.
GetTransactionStatus
The starknet_getTransactionStatus method.
GetTransactionByHash
The starknet_getTransactionByHash method.
GetTransactionByBlockIdAndIndex
The starknet_getTransactionByBlockIdAndIndex method.
GetTransactionReceipt
The starknet_getTransactionReceipt method.
GetClass
The starknet_getClass method.
GetClassHashAt
The starknet_getClassHashAt method.
GetClassAt
The starknet_getClassAt method.
GetBlockTransactionCount
The starknet_getBlockTransactionCount method.
Call
The starknet_call method.
EstimateFee
The starknet_estimateFee method.
EstimateMessageFee
The starknet_estimateMessageFee method.
BlockNumber
The starknet_blockNumber method.
BlockHashAndNumber
The starknet_blockHashAndNumber method.
ChainId
The starknet_chainId method.
Syncing
The starknet_syncing method.
GetEvents
The starknet_getEvents method.
GetNonce
The starknet_getNonce method.
GetStorageProof
The starknet_getStorageProof method.
AddInvokeTransaction
The starknet_addInvokeTransaction method.
AddDeclareTransaction
The starknet_addDeclareTransaction method.
AddDeployAccountTransaction
The starknet_addDeployAccountTransaction method.
TraceTransaction
The starknet_traceTransaction method.
SimulateTransactions
The starknet_simulateTransactions method.
TraceBlockTransactions
The starknet_traceBlockTransactions method.
SubscribeNewHeads
The starknet_subscribeNewHeads method.
SubscriptionNewHeads
The starknet_subscriptionNewHeads method.
SubscribeEvents
The starknet_subscribeEvents method.
SubscriptionEvents
The starknet_subscriptionEvents method.
SubscribeTransactionStatus
The starknet_subscribeTransactionStatus method.
SubscriptionTransactionStatus
The starknet_subscriptionTransactionStatus method.
SubscribeNewTransactionReceipts
The starknet_subscribeNewTransactionReceipts method.
SubscriptionNewTransactionReceipts
The starknet_subscriptionNewTransactionReceipts method.
SubscribeNewTransactions
The starknet_subscribeNewTransactions method.
SubscriptionNewTransaction
The starknet_subscriptionNewTransaction method.
SubscriptionReorg
The starknet_subscriptionReorg method.
Unsubscribe
The starknet_unsubscribe method.
Trait Implementations§
Source§impl Clone for JsonRpcMethod
impl Clone for JsonRpcMethod
Source§fn clone(&self) -> JsonRpcMethod
fn clone(&self) -> JsonRpcMethod
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more