ic_web3_rs::confirm

Function send_transaction_with_confirmation

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

Sends transaction and returns future resolved after transaction is confirmed