Skip to content

Conversation

@Patel-Raj11
Copy link
Collaborator

@Patel-Raj11 Patel-Raj11 commented Dec 18, 2025

This PR contains following changes:

  1. Trustlists crawler now parses stanzas for MPTs as MPTs will be supported in manually published Trustlists following the release of xls26 package. PR that introduced the change.

  2. Parses and persists MPTokenMetadata from MPTokenIssuance ledger objects if the metadata follows XLS-89.

  3. Parses MPToken ledger objects to figure out holders and supply metrics for MPT.

  4. Implements the following /v2 HTTPS and api_version: 2 Websocket endpoints that would server both IOU and MPT:
    a. /v2/token/:token
    b. /v2/tokens
    c. /v2/tokens/iou
    d. /v2/tokens/mpt
    e. /v2/token/:token/holders
    f. /v2, /v2/info, /v2/server
    g. /v2/ledger

  5. Adds such warning messages, if existing endpoints like/token/TEM:r9r1xhbV3Z2jBWirCWrNNBcWZbWAHYgFiZ are used:

  • token endpoint is being deprecated and will be removed on MM-DD-YYYY. Prefer HTTP /v2/token endpoint or WebSocket token command with api_version: 2 instead

We need to decide on the deprecation date for /v1 endpoints. Do you have any suggestions?

TODO

  1. Compute and Persist - price, exchanges, marketcap , takers and volume metrics for MPT. We planned to pick this up when MPT DEX PR is merged in and available on some public network.
  2. Expose corresponding /v2 endpoints for the following APIs:
    a. /tokens/exchanges/:base/:quote
    b. /token/:token/series/:metric

@Patel-Raj11 Patel-Raj11 marked this pull request as ready for review December 18, 2025 16:07
@Patel-Raj11 Patel-Raj11 requested a review from Mwni December 18, 2025 16:09
@Mwni
Copy link
Collaborator

Mwni commented Jan 1, 2026

Well done, @Patel-Raj11 !

@Mwni Mwni merged commit 0b9a58c into develop Jan 1, 2026
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.

3 participants