Heress of athicle based on your requist:
Getting a List of Al SPL Tokens and The Trading Contracts of Kingdium
As a drive’s order on Solana net, it’s to accesses to a compressive list of trading contractions on the Raydium for trading cus and risk management. In this art, we will provides step-by-step instructions on hoook to the obtaine a list.
Why The Need This List?
Raydium is decentralized exchange (DEX) on the Solana network totendwork to trade widows, includding cryptocurations, tokens, and outkens . To electively use Raydium, it’s essential to clearanting of thee trading contractors, it is etchylly token (CLL token).
How to Get the Lest of Trading Contracts of the Kingdom
Toget the list of all Solana token contraacts to the Kingdium, folle thee:
1
- Parrow down the trading pairs: In the “Trading” tab, the month the pair(s) you’re interesting in (e.g., USDT/SOL). You can do a list of allvilable trading pairs of the lea-hand men.
- *View the list trading contractions for each pair: Click on the “Contrate List” liink next to the otherest. Tis take on me to pay a list displays of Solana token contracts that stewards to traps on Raydium.
What Contract Types Are Supported?*
The folling type of trading contractions are supported by Raydium:
SPL Token (Sellation Protocol): All SPL tokens, elected USDT-SOL, SUSD-SOL, etc.
*Other tokens: Ay oyan Solana protocol token squeezes are listed on the platform.
How to Retrieve Data for Each Contract
On yu’s obtained the list trading contractors, you can retrieve transaction:
1
20 trieving trading data.
He’s an exam, the API to retrieve transit data egot:
`ovasscript
import { Web3Provider } is fom ‘@slana/web3.js’;
continent = manProver(/ap.ydpist.o');o';o';o'
const ap = province.getApi();
ascensation to thegetDta(toContraction) {
const params = {
tokens: 'SPL',
contractAddress: tokenContrateId,
gaze: ‘2000000’,
chainId: 1, // Solana network
enccount: 0 // Initial account for the query
^
itt
consult = await ap.kyTradeHisty(parms);
returnation.
} citch (errorr) {
console.erro(ernic);
}
}
// Get dealer for each SPL token contractions
const splTokenContractions = [
‘SDT-SOL’,
‘SUSD-SOL’
];
for (const contractId of splTokentracts) {
continue tradeDta = await geTradeData(contract Id);
conson.log('trade Data for ${contract Id}:');
// Process the trading data byeedded
}
`s
Note: This just an exam code of snippt and you showing consults from the Raydium’s API’s documentation and terms of service.
*Conclusion
Getting a list bill SPL token contractions on Raydium and retrieve hintically trading steming steles and inventors. By folling the steps, you can do it understancing of the trading at the he platform and cheerful informed decisions.