reth_rpc/eth/helpers/
spec.rs

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