cuprate_test_utils::rpc::data::other

Constant GET_LIMIT_RESPONSE

Source
pub const GET_LIMIT_RESPONSE: &str = r#"{
  "limit_down": 1280000,
  "limit_up": 1280000,
  "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_LIMIT_RESPONSE);