decode_hex_response

Function decode_hex_response 

Source
pub fn decode_hex_response(
    encoded_response: &str,
) -> Result<Vec<u8>, BlockchainRpcClientError>
Expand description

Decodes a hexadecimal string response from a blockchain RPC call.

ยงErrors

Returns an BlockchainRpcClientError::AbiDecodingError if the hex decoding fails.