Transaction 04e31d3c6114aca4caca2e5cbfc0dfab935cdce7e597e6d667c88566a51cfe7f
1 Input
-
8701999c5e86b500c790b1d1c7ff4a92b488da3cbda2528c72c4fe7c8bccab85:1
OP_DATA_32(32) c84317fdf575036c27d508cbdfe4a2b5a83f2045d5ec53c8715615334f1fecb4OP_CHECKSIG(172)OP_0(0)OP_IF(99)OP_DATA_3(3) ordOP_DATA_1(1)OP_DATA_24(24) text/plain;charset=utf-8OP_0(0)OP_PUSHDATA2(77) use { super::*, bitcoin::blockdata::{ opcodes, script::{self, Instruction, Instructions}, }, }; pub(crate) const PROTOCOL_ID: [u8; 3] = *b"ord"; pub(crate) const BODY_TAG: [u8; 0] = []; pub(crate) const CONTENT_TYPE_TAG: [u8; 1] = [1]; pub(crate) const POINTER_TAG: [u8; 1] = [2]; pub(crate) const PARENT_TAG: [u8; 1] = [3]; pub(crate) const METADATA_TAG: [u8; 1] = [5]; pub(crate) const METAPROTOCOL_TAG: [u8; 1] = [7]; pub(crate) const CONTENT_ENCODING_TAG: [u8; 1] = [9]; type Result<T> = std::resultOP_PUSHDATA2(77) ::Result<T, script::Error>; type RawEnvelope = Envelope<Vec<Vec<u8>>>; pub(crate) type ParsedEnvelope = Envelope<Inscription>; #[derive(Debug, Default, PartialEq, Clone)] pub(crate) struct Envelope<T> { pub(crate) payload: T, pub(crate) input: u32, pub(crate) offset: u32, pub(crate) pushnum: bool, } fn remove_field(fields: &mut BTreeMap<&[u8], Vec<&[u8]>>, field: &[u8]) -> Option<Vec<u8>> { let values = fields.get_mut(field)?; if values.is_empty() { None } else { let value = values.remove(0OP_DATA_12(12) ).to_vec();OP_ENDIF(104)
1 Outputs
- 04e31d3c6114aca4caca2e5cbfc0dfab935cdce7e597e6d667c88566a51cfe7f:0
value 546
address bc1prqscrqkpfkew3x6lp6qncuku8nyqwls7r29zk3z2z57cwvcae7jsl2982w