hirosystems / ordinals-api

Bitcoin Ordinals API
Apache License 2.0
199 stars 62 forks source link

Inaccurate total returned in transfers per block #354

Open forgxyz opened 4 months ago

forgxyz commented 4 months ago

Cross-posting from Discord

Total does not align with the actual number of results available. Imo, it should be all available ordinals transfers and you can include a second number that is number of cursed ordinals, if that is the desired behavior. I only see one definition for total in the stacks api and it is "The number of all available list items" (https://github.com/hirosystems/docs/blob/main/docs/stacks-blockchain-api/feature-guides/pagination.md?plain=1#L10) which is not accurate for the ordinals transfers API.

For example block 774485

@WHYTEWYLL @sam-xyz

lgalabru commented 3 months ago

Thanks for the feedback @forgxyz! I'm moving this issue to the ordinals-api for better tracking.