use alloy_primitives::BlockNumber;
use alloy_rpc_types::{Block, BlockNumberOrTag};
#[derive(Debug)]
pub struct Client {}
pub trait BackendClient {
type Error;
async fn block_number(&self) -> Result<BlockNumber, Self::Error>;
async fn block_by_number(&self, number: BlockNumberOrTag)
-> Result<Option<Block>, Self::Error>;
}