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

Image Ordinals not found when using ordhook+ordinals-api but they exist in Hiro explorer #387

Open
dwasyluk opened this issue Nov 21, 2024 · 0 comments
Assignees

Comments

@dwasyluk
Copy link

I have ordhook running with ordinals-api running as an observer on port 20456. For some reason image ordinals don't seem to be getting indexed. For example https://api.hiro.so/ordinals/v1/inscriptions?id=3b6825e0c3e7401ef46ccfbe88a37d0a76db70ad9bc0ad2842704faeccce61b3i0 shows the ordinal but my local instance of ordinals-api shows no results ({"limit":20,"offset":0,"total":0,"results":[]}) when visiting http://localhost:3000/ordinals/v1/inscriptions?id=3b6825e0c3e7401ef46ccfbe88a37d0a76db70ad9bc0ad2842704faeccce61b3i0.

In my local Postgres ordinals.chain_tip shows 845758 so this inscription should be indexed. I have both ordinals and brc20 sections configured in my Ordhook.toml:

[ordinals]
# Configuration for indexing Ordinals
enabled = true
start_block = 0  # Block height to start indexing from
index_transactions = true  # Enable transaction-level indexing if needed
track_transfers = true  # Track transfer events of Ordinals

[brc20]
# Configuration for indexing BRC20 tokens
enabled = true
start_block = 0  # Block height to start indexing from
track_mints = true  # Track minting events for BRC20 tokens
track_transfers = true  # Track transfer events for BRC20 tokens
track_burns = true  # Track burning events for BRC20 tokens

Why aren't image inscriptions behing written to the database? I'm using the release version of Ordhook (v2.2.5) and the master branch of Ordinals-api. Please help.

@github-project-automation github-project-automation bot moved this to 🆕 New in Ordinals Nov 21, 2024
@dwasyluk dwasyluk changed the title Image Ordinals not found when using ordhook+ordinal-api but they exist in Hiro explorer Image Ordinals not found when using ordhook+ordinals-api but they exist in Hiro explorer Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants