diff --git a/crates/anvil/src/eth/otterscan/api.rs b/crates/anvil/src/eth/otterscan/api.rs
index 636140f13ffe..400f99193aec 100644
--- a/crates/anvil/src/eth/otterscan/api.rs
+++ b/crates/anvil/src/eth/otterscan/api.rs
@@ -8,9 +8,7 @@ use crate::eth::{
EthApi,
};
use alloy_primitives::{Address, Bytes, B256, U256};
-use alloy_rpc_types::{
- Block, BlockId, BlockNumberOrTag as BlockNumber, Transaction, WithOtherFields,
-};
+use alloy_rpc_types::{Block, BlockId, BlockNumberOrTag as BlockNumber};
use alloy_rpc_types_trace::parity::{
Action, CallAction, CreateAction, CreateOutput, RewardAction, TraceOutput,
};
@@ -240,7 +238,7 @@ impl EthApi {
&self,
address: Address,
nonce: U256,
- ) -> Result