Skip to main content

cast_send_raw

Function cast_send_raw 

Source
pub(crate) async fn cast_send_raw<N: Network, P: Provider<N>>(
    provider: &P,
    raw_tx: &[u8],
    sync: bool,
) -> Result<(B256, Option<String>)>
where N::TransactionRequest: FoundryTransactionBuilder<N>, N::ReceiptResponse: UIfmt + UIfmtReceiptExt,
Expand description

Sends a raw transaction using the RPC method selected by sync.