pub fn encode_tx_result_response(resp: &TxResultResponse) -> Result<Vec<u8>>
Encode a TxResult response.