ordinals-api icon indicating copy to clipboard operation
ordinals-api copied to clipboard

Inaccurate total returned in transfers per block

Open forgxyz opened this issue 1 year ago • 1 comments

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

  • Total = 2
  • Results = 4
    • Of which, cursed inscriptions = 2

@WHYTEWYLL @sam-xyz

forgxyz avatar May 08 '24 18:05 forgxyz