TestServer::new_with_sat_index().assert_response_regex( format!("/output/{txid}:4294967295"), StatusCode::OK, format!( ".*Output {txid}:4294967295.*

Output {txid}:4294967295

value
0
script pubkey
transaction
{txid}

0 Sat Ranges

.*" ), ); } #[test] fn null_output_receives_lost_sats() { let server = TestServer::new_with_sat_index(); server.mine_blocks_with_subsidy(1, 0); let txid = "0000000000000000000000000000000000000000000000000000000000000000"; server.assert_response_regex( format!("/output/{txid}:4294967295"), StatusCode::OK, format!( ".*Output {txid}:4294967295.*

Output {txid}:4294967295

value
5000000000
script pubkey