pub fn decode_transaction( tx_hex: &str, ) -> Result<TypedTransaction, Box<dyn Error>>
Decodes a signed transaction back to its typed form