ic_web3_rs::helpers

Function to_response_from_slice

Source
pub fn to_response_from_slice(response: &[u8]) -> Result<Response>
Expand description

Parse bytes slice into JSON-RPC response. It looks for arbitrary_precision feature as a temporary workaround for https://github.com/tomusdrw/rust-web3/issues/460.