pub trait EthApiOverrideClient<B>: ClientT{
// Provided methods
fn sign_typed_data_v4(
&self,
address: Address,
data: TypedData,
) -> impl Future<Output = Result<String, Error>> + Send { ... }
fn simulate_v1(
&self,
opts: SeismicSimulatePayload<SeismicCallRequest>,
block_number: Option<BlockId>,
) -> impl Future<Output = Result<Vec<SimulatedBlock<B>>, Error>> + Send { ... }
fn call(
&self,
request: SeismicCallRequest,
block_number: Option<BlockId>,
state_overrides: Option<StateOverride>,
block_overrides: Option<Box<BlockOverrides>>,
) -> impl Future<Output = Result<Bytes, Error>> + Send { ... }
fn send_raw_transaction(
&self,
bytes: SeismicRawTxRequest,
) -> impl Future<Output = Result<B256, Error>> + Send { ... }
fn estimate_gas(
&self,
request: SeismicTransactionRequest,
block_number: Option<BlockId>,
state_override: Option<StateOverride>,
) -> impl Future<Output = Result<U256, Error>> + Send { ... }
}
Expand description
Client implementation for the EthApiOverride
RPC API.
Provided Methods§
Sourcefn sign_typed_data_v4(
&self,
address: Address,
data: TypedData,
) -> impl Future<Output = Result<String, Error>> + Send
fn sign_typed_data_v4( &self, address: Address, data: TypedData, ) -> impl Future<Output = Result<String, Error>> + Send
Returns the account and storage values of the specified account including the Merkle-proof. This call can be used to verify that the data you are pulling from is not tampered with.
Sourcefn simulate_v1(
&self,
opts: SeismicSimulatePayload<SeismicCallRequest>,
block_number: Option<BlockId>,
) -> impl Future<Output = Result<Vec<SimulatedBlock<B>>, Error>> + Send
fn simulate_v1( &self, opts: SeismicSimulatePayload<SeismicCallRequest>, block_number: Option<BlockId>, ) -> impl Future<Output = Result<Vec<SimulatedBlock<B>>, Error>> + Send
eth_simulateV1
executes an arbitrary number of transactions on top of the requested state.
The transactions are packed into individual blocks. Overrides can be provided.
Sourcefn call(
&self,
request: SeismicCallRequest,
block_number: Option<BlockId>,
state_overrides: Option<StateOverride>,
block_overrides: Option<Box<BlockOverrides>>,
) -> impl Future<Output = Result<Bytes, Error>> + Send
fn call( &self, request: SeismicCallRequest, block_number: Option<BlockId>, state_overrides: Option<StateOverride>, block_overrides: Option<Box<BlockOverrides>>, ) -> impl Future<Output = Result<Bytes, Error>> + Send
Executes a new message call immediately without creating a transaction on the block chain.
Sourcefn send_raw_transaction(
&self,
bytes: SeismicRawTxRequest,
) -> impl Future<Output = Result<B256, Error>> + Send
fn send_raw_transaction( &self, bytes: SeismicRawTxRequest, ) -> impl Future<Output = Result<B256, Error>> + Send
Sends signed transaction, returning its hash.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.