Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report unbound inscription locations as zeros #438

Open
rafaelcr opened this issue Feb 18, 2025 · 1 comment · Fixed by #445
Open

report unbound inscription locations as zeros #438

rafaelcr opened this issue Feb 18, 2025 · 1 comment · Fixed by #445
Assignees
Labels
bug Something isn't working

Comments

@rafaelcr
Copy link
Collaborator

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"
   ]
}
@rafaelcr
Copy link
Collaborator Author

Reopening because this might be affected by an off-by-one error in ordinals dot com or something we're missing in our indexer ordinals/ord#4237

@rafaelcr rafaelcr reopened this Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant