![](/_next/image?url=%2Fimages%2Fgradient-top-bg.png&w=1920&q=75)
.run_and_deserialize_output::<send::Output>() .transaction; rpc_server.mine_blocks(1); let output = CommandBuilder::new("wallet inscriptions") .rpc_server(&rpc_server) .run_and_deserialize_output::<Vec<inscriptions::Output>>(); assert_eq!(output.len(), 1); assert_eq!(output[0].inscription, inscription); assert_eq!(output[0].location, format!("{txid}:0:0").parse().unwrap()); } #[test] fn inscriptions_includes_locked_utxos() { let rpc_server = test_bitcoincore_rpc::spawn(); create_wallet(&rpc_server); rpc_server.mine_blocks(1); let (inscription, reveal) = inscribe(&rpc_server); rpc_server.mine_blocks(1); rpc_server.lock(OutPoint { txid: reveal, vout: 0, }); let output = CommandBuilder::new("wallet inscriptions") .rpc_server(&rpc_server) .run_and_deserialize_output::<Vec<inscriptions::Output>>(); assert_eq!(output.len(), 1); assert_eq!(output[0].inscription, inscription); assert_eq!(output[0].location, format!("{reveal}:0:0").parse().unwrap());
Inscription #44976653
Collection
Ord
Owner
bc1pkla3vx...2kjs8t8uayID
1caf436fb5...e2060955i0
Detail
History
Sign Up for our Newsletter
And be the first to know about any updates!