cuprate_test_utils::rpc::data::other

Constant POP_BLOCKS_REQUEST

Source
pub const POP_BLOCKS_REQUEST: &str = r#"{
  "nblocks": 6
}"#;
Expand description

Documentation, response.

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

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