transaction{txid}
1 Sat Range
.*"
),
);
}
#[test]
fn unbound_output_receives_unbound_inscriptions() {
let server = TestServer::new_with_regtest_with_index_sats();
server.mine_blocks(1);
server.bitcoin_rpc_server.broadcast_tx(TransactionTemplate {
inputs: &[(1, 0, 0, Default::default())],
fee: 50 * 100_000_000,
..Default::default()
});
server.mine_blocks(1);
let txid = server.bitcoin_rpc_server.broadcast_tx(TransactionTemplate {
inputs: &[(
2,
1,
0,
inscription("text/plain;charset=utf-8", "hello").to_witness(),
)],
..Default::default()
});
server.mine_blocks(1);
let inscription_id = InscriptionId { txid, index: 0 };
server.assert_response_regex(
format!("/inscription/{}", inscription_id),