cuprate_test_utils::rpc::data::other

Constant GET_ALT_BLOCKS_HASHES_RESPONSE

Source
pub const GET_ALT_BLOCKS_HASHES_RESPONSE: &str = r#"{
  "blks_hashes": ["8ee10db35b1baf943f201b303890a29e7d45437bd76c2bd4df0d2f2ee34be109"],
  "credits": 0,
  "status": "OK",
  "top_hash": "",
  "untrusted": false
}"#;
Expand description

Documentation, request.

use cuprate_test_utils::rpc::data::other::*;
use serde_json::{to_value, Value};

let value = serde_json::from_str::<Value>(&GET_ALT_BLOCKS_HASHES_RESPONSE);