report unbound inscription locations as zeros
To be consistent with ordinals.com, we should report the location and output of unbound inscriptions as zeros, for example https://ordinals.com/inscription/001e4a35c2fd86700f753a847fdeabd0f8f6aa8c106be9e3b4062fe1d3bce4f2i0
Our response right now is:
{
"id":"001e4a35c2fd86700f753a847fdeabd0f8f6aa8c106be9e3b4062fe1d3bce4f2i0",
"number":86007045,
"address":null,
"genesis_address":null,
"genesis_block_height":884356,
"genesis_block_hash":"000000000000000000020549f2c41dfe2df2563d763241214e99aaa3ec78023d",
"genesis_tx_id":"001e4a35c2fd86700f753a847fdeabd0f8f6aa8c106be9e3b4062fe1d3bce4f2",
"genesis_fee":"830",
"genesis_timestamp":1739905698000,
"tx_id":"001e4a35c2fd86700f753a847fdeabd0f8f6aa8c106be9e3b4062fe1d3bce4f2",
"location":"297e09f870185e6e6df6cb42a5cae6c4b0540a59abadd0619339704a2eceb69d:0:312500000",
"output":"297e09f870185e6e6df6cb42a5cae6c4b0540a59abadd0619339704a2eceb69d:0",
"value":"0",
"offset":"312500000",
"sat_ordinal":"1894386847040783",
"sat_rarity":"common",
"sat_coinbase_height":721018,
"mime_type":"",
"content_type":"",
"content_length":0,
"timestamp":1739905698000,
"curse_type":"unrecognized_field",
"recursive":false,
"recursion_refs":null,
"parent":"feecbffa3544c385c406243831ec525ee8c460d382f7b948e64fdefed9a4b865i719",
"delegate":null,
"metadata":null,
"meta_protocol":null,
"charms":[
"unbound"
]
}
Reopening because this might be affected by an off-by-one error in ordinals dot com or something we're missing in our indexer https://github.com/ordinals/ord/issues/4237
Can this be closed as https://github.com/hirosystems/bitcoin-indexer/pull/507 PR was merged?
Now our API report the location and output of unbound inscriptions as zeros https://api.hiro.so/ordinals/v1/inscriptions/001e4a35c2fd86700f753a847fdeabd0f8f6aa8c106be9e3b4062fe1d3bce4f2i0, but the location third value is different:
- our end
:282631 - ordinals.com
:103710