core icon indicating copy to clipboard operation
core copied to clipboard

feat: add chains in `SPOT_PRICES_SUPPORT_INFO`

Open khanti42 opened this issue 1 month ago • 0 comments

Explanation

Summary

This PR updates the SPOT_PRICES_SUPPORT_INFO map to add native token spot-price support for several additional EVM chains. These entries ensure the Token Prices Service (Codefi v2) can correctly resolve the CAIP-2/CAIP-19 identifiers required for native asset pricing.

What’s Included

Added new chain mappings

The following networks are now explicitly supported with proper CAIP identifiers:

  • Lukso (chainId 42 → 0x2a)
  • XDC Network (chainId 50 → 0x32)
  • Lens (chainId 232 → 0xe8)
  • Fraxtal (chainId 252 → 0xfc)
  • Flow EVM (chainId 747 → 0x2eb)
  • Soneium (chainId 1868 → 0x74c)
  • Abstract (chainId 2741 → 0xab5)
  • Plasma (chainId 9745 → 0x2611)
  • ApeChain (chainId 33139 → 0x8173)
  • EDU Chain (chainId 41923 → 0xa3c3)
  • Hemi (chainId 43111 → 0xa867)
  • Berachain (chainId 80094 → 0x138de)
  • Plume Network (chainId 98866 → 0x18232)
  • Katana (chainId 747474 → 0xb67d2)
  • XRPL EVM (chainId 1,440,000 → 0x15f900)

References

Checklist

  • [x] I've updated the test suite for new or updated code as appropriate
  • [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • [x] I've communicated my changes to consumers by updating changelogs for packages I've changed
  • [ ] I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

[!NOTE] Extends SPOT_PRICES_SUPPORT_INFO with CAIP-19 mappings for multiple EVM chains to enable native token spot prices.

  • Token Prices Service (Codefi v2):
    • Extend SPOT_PRICES_SUPPORT_INFO with CAIP-19 mappings for: Lukso (0x2a), XDC (0x32), Lens (0xe8), Fraxtal (0xfc), Flow EVM (0x2eb), Soneium (0x74c), Abstract (0xab5), Plasma (0x2611), ApeChain (0x8173), EDU Chain (0xa3c3), Hemi (0xa867), Berachain (0x138de), Plume (0x18232), Katana (0xb67d2), XRPL EVM (0x15f900).
  • Changelog:
    • Note added for new chain mappings enabling native token USD balance.

Written by Cursor Bugbot for commit bf134e35aa6221f5704f01e4b4f1e425fd621b91. This will update automatically on new commits. Configure here.

khanti42 avatar Dec 11 '25 09:12 khanti42