Skip to content

docs(supported-chains): add Tron network support and enhance currency documentation#73

Open
aimensahnoun wants to merge 1 commit into03-03-docs_resources_point_supported-chains_cards_to_specific_section_anchors_improve_navigation_in_resources_supported-chains-and-currencies.mdx_by_updating_card_destinations_from_generic_page-level_links_to_section-level_anchors_so_from
03-03-docs_resources_refine_chains_currencies_and_token_list_with_tron-safe_updates_improve_resource_pages_for_supported_chains_currencies_and_token_discovery_while_preserving_required_tron_coverage_and_improving_navigation_clarity._-
Open

docs(supported-chains): add Tron network support and enhance currency documentation#73
aimensahnoun wants to merge 1 commit into03-03-docs_resources_point_supported-chains_cards_to_specific_section_anchors_improve_navigation_in_resources_supported-chains-and-currencies.mdx_by_updating_card_destinations_from_generic_page-level_links_to_section-level_anchors_so_from
03-03-docs_resources_refine_chains_currencies_and_token_list_with_tron-safe_updates_improve_resource_pages_for_supported_chains_currencies_and_token_discovery_while_preserving_required_tron_coverage_and_improving_navigation_clarity._-

Conversation

@aimensahnoun
Copy link
Member

@aimensahnoun aimensahnoun commented Mar 3, 2026

TL;DR

Added comprehensive Tron network support documentation and enhanced the supported chains and currencies guide with practical examples and API usage patterns.

What changed?

  • Updated the main description to clarify support for "EVM-compatible chains and select non-EVM support (Tron)" instead of just "major EVM chains"
  • Added dedicated Tron network documentation section with mainnet availability, TRX native token, USDT TRC-20 support, and network ID details
  • Included warning about Tron's TRC-20 token standard and T... address format differences
  • Added currency code examples showing native/ERC20 formats (ETH-mainnet, USDC-base) and Tron format (USDT-tron)
  • Provided API query examples for getting all currencies, filtering by network/symbol, and fetching conversion routes
  • Enhanced the token list page with a comparison between Token List and Currencies API usage patterns
  • Added direct links to API endpoints with improved card-based navigation

How to test?

  • Verify the Tron network information displays correctly in the documentation
  • Test the provided API query examples against the Request Network API endpoints
  • Confirm all internal links and external API references work properly
  • Review the currency code examples for accuracy across different networks

Why make this change?

This change provides developers with clearer guidance on Request Network's expanded chain support, particularly the addition of Tron for USDT payments. The enhanced documentation includes practical examples and API usage patterns that make it easier for developers to integrate with the platform and understand the differences between EVM and non-EVM implementations.

…fe updates

Improve resource pages for supported chains/currencies and token discovery while preserving required Tron coverage and improving navigation clarity.
- update `supported-chains-and-currencies` with clearer coverage wording:
  EVM-compatible chains + select non-EVM support (Tron)
- keep and structure Tron-specific support details where relevant
  (network, token standard, address-format warning, examples)
- convert key references from generic links to cards for better UX
- update card targets to section-level anchors where possible to reduce navigation friction
- keep currencies endpoint references visible and actionable
- update `token-list` by removing outdated AI warning and simplifying usage flow
- replace raw usage URL text with a dedicated “Request Token List JSON” card
- keep legacy token-list structure/content intact
- add concise “Token List vs Currencies API” guidance with endpoint cards
- remove unnecessary SDK-source reference line to keep page focused
This was referenced Mar 3, 2026
Copy link
Member Author

aimensahnoun commented Mar 3, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@aimensahnoun aimensahnoun self-assigned this Mar 3, 2026
@aimensahnoun aimensahnoun changed the title docs(resources): refine chains/currencies and token list with Tron-safe updates Improve resource pages for supported chains/currencies and token discovery while preserving required Tron coverage and improving navigation clarity. - update `supported-chains docs(supported-chains): add Tron network support and enhance currency documentation Mar 3, 2026
@aimensahnoun aimensahnoun marked this pull request as ready for review March 3, 2026 14:39
@greptile-apps
Copy link

greptile-apps bot commented Mar 3, 2026

Greptile Summary

This PR enhances the Request Network documentation by adding comprehensive Tron network support details to resources/supported-chains-and-currencies.mdx and improving the resources/token-list.mdx page with a cleaner structure and a "Token List vs Currencies API" comparison section. The changes give developers clearer guidance on the EVM vs. non-EVM split and practical API usage patterns.

Key changes:

  • Added a dedicated Tron section (mainnet, TRX, USDT TRC-20, network ID tron) with a TRC-20/address-format warning
  • Added Currency Codes and Examples and API Query Examples sections with curl snippets
  • Replaced the plain token list URL with a Card component and added a comparison section to token-list.mdx
  • Removed the AI-generated content disclaimer from token-list.mdx

Issues found:

  • The firstOnly=true query parameter used in the "Filter by network and symbol" curl example is not a clearly documented API parameter and should be verified before publishing

Confidence Score: 4/5

  • Safe to merge after verifying that the firstOnly query parameter is officially supported by the API.
  • The PR contains documentation-only changes with accurate content and good structure. The Tron network section is well-placed and doesn't create confusion about payment types. The main concern is a single unverified API query parameter (firstOnly=true) in one example that should be confirmed against the OpenAPI specification before publishing. This is a straightforward verification task with low implementation risk.
  • resources/supported-chains-and-currencies.mdx — verify the firstOnly query parameter against the official API specification

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Developer needs currency info] --> B{Payment type?}
    B --> C[ERC20 / Native]
    B --> D[Conversion Payment]
    B --> E[Tron / USDT TRC-20]
    B --> F[Crosschain]
    B --> G[Crypto-to-fiat]

    C --> H[Token List\nrequest-token-list JSON\n500+ tokens]
    C --> I[GET /v2/currencies\nfilter by network & symbol]

    D --> J[Invoice currency: USD/EUR/CNY/GBP/JPY]
    D --> K[Payment currency: USDC/USDT/DAI/FAU]
    D --> L[GET /v2/currencies/currencyId/conversion-routes]

    E --> M[Network ID: tron\nCurrency: USDT-tron\nAddress format: T...]

    H --> N[Use for static metadata\n& broad catalog browsing]
    I --> O[Use for runtime filtering\n& conversion-route discovery]
Loading

Last reviewed commit: b5a3a67

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 files reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Comment on lines +143 to +144
curl -X GET 'https://api.request.network/v2/currencies?network=base&symbol=USDC&firstOnly=true' \
-H 'x-api-key: YOUR_API_KEY'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The firstOnly=true query parameter in this example should be verified against the Request Network API specification before publishing. If this parameter is not officially documented in the OpenAPI spec, the example could mislead developers. Please confirm this parameter is supported by checking the API documentation at https://api.request.network/open-api/, or remove it from the example if it is not part of the official API.

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