Skip to main content

encode_chain_rpc_json_response

Function encode_chain_rpc_json_response 

Source
pub fn encode_chain_rpc_json_response(
    request_id: &str,
    request_tag: u8,
    json_rpc: &str,
) -> Vec<u8> 
Expand description

Encode a chain RPC response from raw JSON-RPC text using the correct chain protocol envelope for request_tag.