pub fn decode_and_verify_signed_rlp(
    b: impl AsRef<[u8]>
) -> Result<(TypedTransaction, H256, H160, Signature)>
Available on crate feature evm only.
Expand description

Decodes the RLP-encoded signed “ethers_core::types::transaction::eip2718::TypedTransaction” bytes. And verifies the decoded signature. It returns the typed transaction, transaction hash, its signer address, and the signature. ref. https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sendrawtransaction