cuprate_test_utils ::rpc ::data ::other Constant SEND_RAW_TRANSACTION_RESPONSE Copy item path Source pub const SEND_RAW_TRANSACTION_RESPONSE: &str = r#"{
"credits": 0,
"double_spend": false,
"fee_too_low": false,
"invalid_input": false,
"invalid_output": false,
"low_mixin": false,
"not_relayed": false,
"overspend": false,
"reason": "",
"sanity_check_failed": false,
"status": "Failed",
"too_big": false,
"too_few_outputs": false,
"top_hash": "",
"tx_extra_too_big": false,
"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>(& SEND_RAW_TRANSACTION_RESPONSE);