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

feat: support inscription transfers #37

Merged
merged 13 commits into from
Apr 12, 2023
Merged

feat: support inscription transfers #37

merged 13 commits into from
Apr 12, 2023

Conversation

rafaelcr
Copy link
Collaborator

@rafaelcr rafaelcr commented Apr 5, 2023

@rafaelcr rafaelcr temporarily deployed to Preview April 5, 2023 18:37 — with GitHub Actions Inactive
@github-actions
Copy link

github-actions bot commented Apr 5, 2023

Vercel deployment URL: https://ordinals-eruo7az9x-blockstack.vercel.app 🚀

@jack-linden
Copy link

Wasn't sure if I should create an issue for this if the dev is still in progress or add to an existing issue.

Checking on the vercel branch docs - the new endpoint is specific to a singular inscription (sub-resource of /inscription/:id). Would it be possible to also include an endpoint that allows for more broadly querying the inscription_transfer data set (e.g., all transfers by block_height, all transfers for a list of inscription ids, etc.).

/inscription_transfers?block_height=800800
/inscription_transfers?inscription_id=xyzi0&inscription_id=abci0

If this isn't the appropriate place for this request LMK and I can move it elsewhere.

@rafaelcr
Copy link
Collaborator Author

rafaelcr commented Apr 6, 2023

That's a good idea @jack-linden , could you open an issue for this? I could build it after we ship this PR. We won't need re-indexing for that new endpoint so it could be a quick upgrade.

@rafaelcr rafaelcr merged commit ebeb805 into develop Apr 12, 2023
@rafaelcr rafaelcr deleted the feat/transfers branch April 12, 2023 14:41
blockstack-devops pushed a commit that referenced this pull request Apr 12, 2023
## [0.1.0-beta.7](v0.1.0-beta.6...v0.1.0-beta.7) (2023-04-12)

### Features

* support inscription transfers ([#37](#37)) ([ebeb805](ebeb805))
@blockstack-devops
Copy link

🎉 This PR is included in version 0.1.0-beta.7 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

blockstack-devops pushed a commit that referenced this pull request May 15, 2023
## [0.1.0](v0.0.1...v0.1.0) (2023-05-15)

### Features

* /ordinals prefix ([38d6c6b](38d6c6b))
* accept inscription number on endpoints ([952bf8e](952bf8e))
* add rarity filter ([41f9207](41f9207))
* add status endpoint ([e42b351](e42b351))
* address array param ([5d3bc4b](5d3bc4b))
* btc indexer poc, update types and tables ([#7](#7)) ([6ff2bd9](6ff2bd9))
* chain tip cache for index ([7019f98](7019f98))
* configurable event server body limit ([1a37769](1a37769))
* consume inscription reveals from chainhook node ([#13](#13)) ([a99b4a4](a99b4a4))
* filter by array of ids or numbers ([34721b0](34721b0))
* filter by block hash ([ed73b78](ed73b78))
* filter by coinbase block height range ([5698ebc](5698ebc))
* filter by genesis block height range ([4f11c44](4f11c44))
* filter by genesis timestamp range ([67a0e9e](67a0e9e))
* filter by inscription number range ([f8453b6](f8453b6))
* filter by mime type ([f0093c7](f0093c7))
* filter by rarity array ([4037af3](4037af3))
* filter by sat ordinal range ([377ebb0](377ebb0))
* inscription cache control ([b9370d8](b9370d8))
* inscriptions index with filters ([790cbf7](790cbf7))
* move to new inscription_feed predicate ([#41](#41)) ([efa4a62](efa4a62))
* order index by ordinal, height, rarity ([aba47af](aba47af))
* resume indexing from last observed block height ([fc4a549](fc4a549))
* return current tx_id ([a503f73](a503f73))
* return genesis_address ([ee1e4ea](ee1e4ea))
* return genesis_timestamp ([d46eb0f](d46eb0f))
* sat endpoint ([ff7608b](ff7608b))
* shows inscription_id on sats ([1028a13](1028a13))
* support authorized chainhook events ([a2ff106](a2ff106))
* support inscription transfers ([#37](#37)) ([ebeb805](ebeb805))

### Bug Fixes

* add inscription number to responses ([d4d36c2](d4d36c2))
* add vercel.json ([ae66a07](ae66a07))
* adjust payloads ([#21](#21)) ([d6d91e9](d6d91e9))
* allow max limit of 60 ([2391a75](2391a75))
* buffers ([ae45e06](ae45e06))
* cache inscription counts for mime_type and sat_rarity ([#55](#55)) ([f4fb4c7](f4fb4c7))
* complete sat ordinal data ([56389b5](56389b5))
* env default values ([867fc63](867fc63))
* expand int column sizes ([0e425ff](0e425ff))
* increase out-of-order log level to error ([#42](#42)) ([56ca661](56ca661))
* inscription number filtering ([adb5cf6](adb5cf6))
* set starting block height to 767430 ([84ce95e](84ce95e))
* use bignumber.js for sat percentiles ([8914e27](8914e27))
* use materialized view total count correctly ([#64](#64)) ([939f6b9](939f6b9))
* use pre-calculated inscription count for unfiltered results ([#48](#48)) ([3e7a4f4](3e7a4f4))
@blockstack-devops
Copy link

🎉 This PR is included in version 0.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

g0drlc added a commit to g0drlc/btc-ordinals-api that referenced this pull request Jul 14, 2024
## [0.1.0-beta.7](hirosystems/ordinals-api@v0.1.0-beta.6...v0.1.0-beta.7) (2023-04-12)

### Features

* support inscription transfers ([#37](hirosystems/ordinals-api#37)) ([ebeb805](hirosystems/ordinals-api@ebeb805))
g0drlc added a commit to g0drlc/btc-ordinals-api that referenced this pull request Jul 14, 2024
## [0.1.0](hirosystems/ordinals-api@v0.0.1...v0.1.0) (2023-05-15)

### Features

* /ordinals prefix ([38d6c6b](hirosystems/ordinals-api@38d6c6b))
* accept inscription number on endpoints ([952bf8e](hirosystems/ordinals-api@952bf8e))
* add rarity filter ([41f9207](hirosystems/ordinals-api@41f9207))
* add status endpoint ([e42b351](hirosystems/ordinals-api@e42b351))
* address array param ([5d3bc4b](hirosystems/ordinals-api@5d3bc4b))
* btc indexer poc, update types and tables ([#7](hirosystems/ordinals-api#7)) ([6ff2bd9](hirosystems/ordinals-api@6ff2bd9))
* chain tip cache for index ([7019f98](hirosystems/ordinals-api@7019f98))
* configurable event server body limit ([1a37769](hirosystems/ordinals-api@1a37769))
* consume inscription reveals from chainhook node ([#13](hirosystems/ordinals-api#13)) ([a99b4a4](hirosystems/ordinals-api@a99b4a4))
* filter by array of ids or numbers ([34721b0](hirosystems/ordinals-api@34721b0))
* filter by block hash ([ed73b78](hirosystems/ordinals-api@ed73b78))
* filter by coinbase block height range ([5698ebc](hirosystems/ordinals-api@5698ebc))
* filter by genesis block height range ([4f11c44](hirosystems/ordinals-api@4f11c44))
* filter by genesis timestamp range ([67a0e9e](hirosystems/ordinals-api@67a0e9e))
* filter by inscription number range ([f8453b6](hirosystems/ordinals-api@f8453b6))
* filter by mime type ([f0093c7](hirosystems/ordinals-api@f0093c7))
* filter by rarity array ([4037af3](hirosystems/ordinals-api@4037af3))
* filter by sat ordinal range ([377ebb0](hirosystems/ordinals-api@377ebb0))
* inscription cache control ([b9370d8](hirosystems/ordinals-api@b9370d8))
* inscriptions index with filters ([790cbf7](hirosystems/ordinals-api@790cbf7))
* move to new inscription_feed predicate ([#41](hirosystems/ordinals-api#41)) ([efa4a62](hirosystems/ordinals-api@efa4a62))
* order index by ordinal, height, rarity ([aba47af](hirosystems/ordinals-api@aba47af))
* resume indexing from last observed block height ([fc4a549](hirosystems/ordinals-api@fc4a549))
* return current tx_id ([a503f73](hirosystems/ordinals-api@a503f73))
* return genesis_address ([ee1e4ea](hirosystems/ordinals-api@ee1e4ea))
* return genesis_timestamp ([d46eb0f](hirosystems/ordinals-api@d46eb0f))
* sat endpoint ([ff7608b](hirosystems/ordinals-api@ff7608b))
* shows inscription_id on sats ([1028a13](hirosystems/ordinals-api@1028a13))
* support authorized chainhook events ([a2ff106](hirosystems/ordinals-api@a2ff106))
* support inscription transfers ([#37](hirosystems/ordinals-api#37)) ([ebeb805](hirosystems/ordinals-api@ebeb805))

### Bug Fixes

* add inscription number to responses ([d4d36c2](hirosystems/ordinals-api@d4d36c2))
* add vercel.json ([ae66a07](hirosystems/ordinals-api@ae66a07))
* adjust payloads ([#21](hirosystems/ordinals-api#21)) ([d6d91e9](hirosystems/ordinals-api@d6d91e9))
* allow max limit of 60 ([2391a75](hirosystems/ordinals-api@2391a75))
* buffers ([ae45e06](hirosystems/ordinals-api@ae45e06))
* cache inscription counts for mime_type and sat_rarity ([#55](hirosystems/ordinals-api#55)) ([f4fb4c7](hirosystems/ordinals-api@f4fb4c7))
* complete sat ordinal data ([56389b5](hirosystems/ordinals-api@56389b5))
* env default values ([867fc63](hirosystems/ordinals-api@867fc63))
* expand int column sizes ([0e425ff](hirosystems/ordinals-api@0e425ff))
* increase out-of-order log level to error ([#42](hirosystems/ordinals-api#42)) ([56ca661](hirosystems/ordinals-api@56ca661))
* inscription number filtering ([adb5cf6](hirosystems/ordinals-api@adb5cf6))
* set starting block height to 767430 ([84ce95e](hirosystems/ordinals-api@84ce95e))
* use bignumber.js for sat percentiles ([8914e27](hirosystems/ordinals-api@8914e27))
* use materialized view total count correctly ([#64](hirosystems/ordinals-api#64)) ([939f6b9](hirosystems/ordinals-api@939f6b9))
* use pre-calculated inscription count for unfiltered results ([#48](hirosystems/ordinals-api#48)) ([3e7a4f4](hirosystems/ordinals-api@3e7a4f4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants