Skip to content

Add experimental FT and NFT REST API endpoints#1705

Open
peterargue wants to merge 2 commits intomasterfrom
peter/add-ft-nft-endpoints
Open

Add experimental FT and NFT REST API endpoints#1705
peterargue wants to merge 2 commits intomasterfrom
peter/add-ft-nft-endpoints

Conversation

@peterargue
Copy link
Copy Markdown
Contributor

Summary

  • Adds 8 new experimental REST API endpoints for fungible and non-fungible tokens: list tokens, global transfers, token details, and token holders for both FT and NFT
  • Adds corresponding OpenAPI schemas: FungibleToken, NonFungibleToken, holder models, and paginated response wrappers
  • Reuses existing FungibleTokenTransfer/NonFungibleTokenTransfer schemas for the global transfer endpoints

New Endpoints

  • GET /experimental/v1/ft — list fungible tokens (filterable by label)
  • GET /experimental/v1/ft/transfers — global FT transfers
  • GET /experimental/v1/ft/{token} — single FT details
  • GET /experimental/v1/ft/{token}/holders — FT holders
  • GET /experimental/v1/nft — list NFT collections (filterable by label)
  • GET /experimental/v1/nft/transfers — global NFT transfers
  • GET /experimental/v1/nft/{token} — single NFT details
  • GET /experimental/v1/nft/{token}/holders — NFT holders

Test plan

  • Validate OpenAPI spec with a linter/viewer (e.g. Swagger Editor)
  • Verify schema references resolve correctly
  • Review endpoint design with team

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA b629033.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant