Function decode_tx
Source pub fn decode_tx(data: &[u8]) -> Result<Params, Box<ParseError>>
Expand description
Decodes a transaction from a byte slice
§Arguments
data - Byte slice containing the encoded transaction
§Returns
Result<Params, Box<ParseError>> - The decoded transaction or an error if decoding fails