Skip to main content

cast_send

Function cast_send 

Source
pub(crate) async fn cast_send<N: Network, P: Provider<N>>(
    provider: P,
    tx: N::TransactionRequest,
    opts: &SendOptions,
) -> Result<B256>
where N::TransactionRequest: Default + FoundryTransactionBuilder<N>, N::ReceiptResponse: UIfmt + UIfmtReceiptExt,
Expand description

Sends a transaction through provider, which signs it (a wallet-filled provider or an unlocked RPC account).