[][src]Function web3::confirm::send_transaction_with_confirmation

pub async fn send_transaction_with_confirmation<T>(
    transport: T,
    tx: TransactionRequest,
    poll_interval: Duration,
    confirmations: usize
) -> Result<TransactionReceipt> where
    T: Transport

Sends transaction and returns future resolved after transaction is confirmed