pub trait ConvertTx<RawTx>:
Send
+ Sync
+ 'static {
type Tx;
type Error;
// Required method
fn convert(&self, raw: RawTx) -> Result<Self::Tx, Self::Error>;
}Available on crate feature
node-api only.Expand description
Converts a raw transaction into an executable transaction.
This trait abstracts the conversion logic (e.g., decoding, signature recovery) that is parallelized in the engine.