![](/_next/image?url=%2Fimages%2Fgradient-top-bg.png&w=1920&q=75)
context.mine_blocks(1); context.index.assert_inscription_location( inscription_id, SatPoint { outpoint: OutPoint { txid, vout: 0 }, offset: 0, }, Some(50 * COIN_VALUE), ); let send_txid = context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(2, 0, 0, Default::default()), (2, 1, 0, Default::default())], ..Default::default() }); context.mine_blocks(1); context.index.assert_inscription_location( inscription_id, SatPoint { outpoint: OutPoint { txid: send_txid, vout: 0, }, offset: 50 * COIN_VALUE, }, Some(50 * COIN_VALUE), ); } } #[test] fn one_input_fee_spent_inscriptions_are_tracked_correctly() { for context in Context::configurations() { context.mine_blocks(1); let txid = context.rpc_server.broadcast_tx(TransactionTemplate { inputs: &[(1, 0, 0, inscription("text/plain", "hello").to_witness())],
Inscription #44972190
Collection
Ord
Owner
bc1pfjrvq5...ja9s74lf9xID
93db2cb927...1855f3dfi0
Detail
History
Sign Up for our Newsletter
And be the first to know about any updates!