pub trait EthApiTypes:
Send
+ Sync
+ Clone {
type Error: Into<ErrorObject<'static>> + FromEthApiError + AsEthApiError + FromEvmError + Error + Send + Sync;
type NetworkTypes: Network<TransactionResponse = WithOtherFields<Transaction>, HeaderResponse = Header, ReceiptResponse = WithOtherFields<TransactionReceipt<AnyReceiptEnvelope<Log>>>>;
}
Expand description
Network specific eth
API types.
Required Associated Types§
sourcetype Error: Into<ErrorObject<'static>> + FromEthApiError + AsEthApiError + FromEvmError + Error + Send + Sync
type Error: Into<ErrorObject<'static>> + FromEthApiError + AsEthApiError + FromEvmError + Error + Send + Sync
Extension of EthApiError
, with network specific errors.
sourcetype NetworkTypes: Network<TransactionResponse = WithOtherFields<Transaction>, HeaderResponse = Header, ReceiptResponse = WithOtherFields<TransactionReceipt<AnyReceiptEnvelope<Log>>>>
type NetworkTypes: Network<TransactionResponse = WithOtherFields<Transaction>, HeaderResponse = Header, ReceiptResponse = WithOtherFields<TransactionReceipt<AnyReceiptEnvelope<Log>>>>
Blockchain primitive types, specific to network, e.g. block and transaction.
Object Safety§
This trait is not object safe.