![](/_next/image?url=%2Fimages%2Fgradient-top-bg.png&w=1920&q=75)
inputs: &[ ( 2, 0, 0, Inscription { content_type: Some("text/plain".into()), body: Some("hello".into()), parent: Some(parent_inscription_id.parent_value()), ..Default::default() } .to_witness(), ), (2, 1, 0, Default::default()), ], ..Default::default() }); server.mine_blocks(1); let inscription_id = InscriptionId { txid, index: 0 }; server.assert_response_regex( format!("/children/{parent_inscription_id}"), StatusCode::OK, format!(".*<title>Inscription 0 Children</title>.*<h1><a href=/inscription/{parent_inscription_id}>Inscription 0</a> Children</h1>.*<div class=thumbnails>.*<a href=/inscription/{inscription_id}><iframe .* src=/preview/{inscription_id}></iframe></a>.*"), ); } #[test] fn inscriptions_page_shows_max_four_children() { let server = TestServer::new_with_regtest(); server.mine_blocks(1); let parent_txid = server.bitcoin_rpc_server.broadcast_tx(TransactionTemplate {
Inscription #44972460
Collection
Ord
Owner
bc1pdruyrv...paws00p5uhID
3a14fa6c4f...16905722i0
Detail
History
Sign Up for our Newsletter
And be the first to know about any updates!