[][src]Function web3::confirm::wait_for_confirmations

pub async fn wait_for_confirmations<T, V, F>(
    eth: Eth<T>,
    eth_filter: EthFilter<T>,
    poll_interval: Duration,
    confirmations: usize,
    check: V
) -> Result<()> where
    T: Transport,
    V: ConfirmationCheck<Check = F>,
    F: Future<Output = Result<Option<U64>>>, 

Should be used to wait for confirmations