Constant cuprate_test_utils::rpc::data::other::GET_HEIGHT_RESPONSE

source ยท
pub const GET_HEIGHT_RESPONSE: &str = r#"{
  "hash": "68bb1a1cff8e2a44c3221e8e1aff80bc6ca45d06fa8eff4d2a3a7ac31d4efe3f",
  "height": 3195160,
  "status": "OK",
  "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_HEIGHT_RESPONSE);