Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
sell_token_id
— token ID being sold (use empty string for TRX)buy_token_id
— token ID being purchased (use empty string for TRX)
Response
sell_token_id
— token ID being soldbuy_token_id
— token ID being purchasedprices
— array of recent price points containing:sell_token_quantity
— quantity of sell tokenbuy_token_quantity
— quantity of buy tokentimestamp
— when this price point was recorded
Use case
Thewallet/getmarketpricebypair
method is used for:
- Getting current market rates for trading pair price calculations.
- Building price tracking and charting applications for TRON DEX.
- Implementing automated trading strategies based on market prices.
- Displaying real-time pricing information in trading interfaces.
- Analyzing price trends and market volatility for specific token pairs.
Trading pairs on TRON DEX consist of TRX and TRC-10 tokens. Use an empty string for token ID when referring to TRX. The prices array contains recent transaction data that reflects the actual trading activity and market-determined prices.
Body
application/json