pub enum ProviderResponseData {
Show 37 variants
SpecVersion(String),
GetBlockWithTxHashes(MaybePreConfirmedBlockWithTxHashes),
GetBlockWithTxs(MaybePreConfirmedBlockWithTxs),
GetBlockWithReceipts(MaybePreConfirmedBlockWithReceipts),
GetStateUpdate(MaybePreConfirmedStateUpdate),
GetStorageAt(Felt),
GetMessagesStatus(Vec<MessageStatus>),
GetTransactionStatus(TransactionStatus),
GetTransactionByHash(Transaction),
GetTransactionByBlockIdAndIndex(Transaction),
GetTransactionReceipt(TransactionReceiptWithBlockInfo),
GetClass(ContractClass),
GetClassHashAt(Felt),
GetClassAt(ContractClass),
GetBlockTransactionCount(u64),
Call(Vec<Felt>),
EstimateFee(Vec<FeeEstimate>),
EstimateMessageFee(FeeEstimate),
BlockNumber(u64),
BlockHashAndNumber(BlockHashAndNumber),
ChainId(Felt),
Syncing(SyncStatusType),
GetEvents(EventsPage),
GetNonce(Felt),
GetStorageProof(StorageProof),
AddInvokeTransaction(InvokeTransactionResult),
AddDeclareTransaction(DeclareTransactionResult),
AddDeployAccountTransaction(DeployAccountTransactionResult),
TraceTransaction(TransactionTrace),
SimulateTransactions(Vec<SimulatedTransaction>),
TraceBlockTransactions(Vec<TransactionTraceWithHash>),
SubscribeNewHeads(SubscriptionId),
SubscribeEvents(SubscriptionId),
SubscribeTransactionStatus(SubscriptionId),
SubscribeNewTransactionReceipts(SubscriptionId),
SubscribeNewTransactions(SubscriptionId),
Unsubscribe(bool),
}Expand description
Typed response data for Provider responses.
Variants§
SpecVersion(String)
Response data for starknet_specVersion.
GetBlockWithTxHashes(MaybePreConfirmedBlockWithTxHashes)
Response data for starknet_getBlockWithTxHashes.
GetBlockWithTxs(MaybePreConfirmedBlockWithTxs)
Response data for starknet_getBlockWithTxs.
GetBlockWithReceipts(MaybePreConfirmedBlockWithReceipts)
Response data for starknet_getBlockWithReceipts.
GetStateUpdate(MaybePreConfirmedStateUpdate)
Response data for starknet_getStateUpdate.
GetStorageAt(Felt)
Response data for starknet_getStorageAt.
GetMessagesStatus(Vec<MessageStatus>)
Response data for starknet_getMessagesStatus.
GetTransactionStatus(TransactionStatus)
Response data for starknet_getTransactionStatus.
GetTransactionByHash(Transaction)
Response data for starknet_getTransactionByHash.
GetTransactionByBlockIdAndIndex(Transaction)
Response data for starknet_getTransactionByBlockIdAndIndex.
GetTransactionReceipt(TransactionReceiptWithBlockInfo)
Response data for starknet_getTransactionReceipt.
GetClass(ContractClass)
Response data for starknet_getClass.
GetClassHashAt(Felt)
Response data for starknet_getClassHashAt.
GetClassAt(ContractClass)
Response data for starknet_getClassAt.
GetBlockTransactionCount(u64)
Response data for starknet_getBlockTransactionCount.
Call(Vec<Felt>)
Response data for starknet_call.
EstimateFee(Vec<FeeEstimate>)
Response data for starknet_estimateFee.
EstimateMessageFee(FeeEstimate)
Response data for starknet_estimateMessageFee.
BlockNumber(u64)
Response data for starknet_blockNumber.
BlockHashAndNumber(BlockHashAndNumber)
Response data for starknet_blockHashAndNumber.
ChainId(Felt)
Response data for starknet_chainId.
Syncing(SyncStatusType)
Response data for starknet_syncing.
GetEvents(EventsPage)
Response data for starknet_getEvents.
GetNonce(Felt)
Response data for starknet_getNonce.
GetStorageProof(StorageProof)
Response data for starknet_getStorageProof.
AddInvokeTransaction(InvokeTransactionResult)
Response data for starknet_addInvokeTransaction.
AddDeclareTransaction(DeclareTransactionResult)
Response data for starknet_addDeclareTransaction.
AddDeployAccountTransaction(DeployAccountTransactionResult)
Response data for starknet_addDeployAccountTransaction.
TraceTransaction(TransactionTrace)
Response data for starknet_traceTransaction.
SimulateTransactions(Vec<SimulatedTransaction>)
Response data for starknet_simulateTransactions.
TraceBlockTransactions(Vec<TransactionTraceWithHash>)
Response data for starknet_traceBlockTransactions.
SubscribeNewHeads(SubscriptionId)
Response data for starknet_subscribeNewHeads.
SubscribeEvents(SubscriptionId)
Response data for starknet_subscribeEvents.
SubscribeTransactionStatus(SubscriptionId)
Response data for starknet_subscribeTransactionStatus.
SubscribeNewTransactionReceipts(SubscriptionId)
Response data for starknet_subscribeNewTransactionReceipts.
SubscribeNewTransactions(SubscriptionId)
Response data for starknet_subscribeNewTransactions.
Unsubscribe(bool)
Response data for starknet_unsubscribe.
Trait Implementations§
Source§impl Clone for ProviderResponseData
impl Clone for ProviderResponseData
Source§fn clone(&self) -> ProviderResponseData
fn clone(&self) -> ProviderResponseData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more