Function evm_adapters::sputnik::vicinity [−][src]
pub async fn vicinity<M: Middleware>(
provider: &M,
pin_block: Option<u64>
) -> Result<MemoryVicinity, M::Error>
Expand description
Given an ethers provider and a block, it proceeds to construct a MemoryVicinity
from
the live chain data returned by the provider.