pub trait EvmClientTrait {
// Required methods
fn get_transaction_receipt<'life0, 'async_trait>(
&'life0 self,
transaction_hash: String,
) -> Pin<Box<dyn Future<Output = Result<EVMTransactionReceipt, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_logs_for_blocks<'life0, 'async_trait>(
&'life0 self,
from_block: u64,
to_block: u64,
addresses: Option<Vec<String>>,
) -> Pin<Box<dyn Future<Output = Result<Vec<EVMReceiptLog>, Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Extended functionality specific to EVM-compatible blockchains