inputs: &[ (1, 0, 0, inscription.clone()), (2, 0, 0, inscription.clone()), (3, 0, 0, inscription.clone()), ], outputs: 1, ..Default::default() }); rpc_server.mine_blocks(1); let server = TestServer::spawn_with_server_args(&rpc_server, &["--index-sats"], &["--enable-json-api"]); let response = server.json_request(format!("/output/{}:0", reveal_txid)); assert_eq!(response.status(), StatusCode::OK); let output_json: OutputJson = serde_json::from_str(&response.text().unwrap()).unwrap(); pretty_assert_eq!( output_json, OutputJson { value: 3 * 50 * COIN_VALUE, script_pubkey: "".to_string(), address: None, transaction: reveal_txid.to_string(), sat_ranges: Some(vec![ (5000000000, 10000000000,), (10000000000, 15000000000,), (15000000000, 20000000000,), ],), inscriptions: vec![ InscriptionId { txid: reveal_txid, index: 0 }, InscriptionId { txid: reveal_txid,