reth_rpc/eth/helpers/
spec.rs

1use alloy_primitives::U256;
2use reth_rpc_convert::RpcConvert;
3use reth_rpc_eth_api::{helpers::EthApiSpec, RpcNodeCore};
4use reth_rpc_eth_types::EthApiError;
5
6use crate::EthApi;
7
8impl<N, Rpc> EthApiSpec for EthApi<N, Rpc>
9where
10    N: RpcNodeCore,
11    Rpc: RpcConvert<Primitives = N::Primitives, Error = EthApiError>,
12{
13    fn starting_block(&self) -> U256 {
14        self.inner.starting_block()
15    }
16}