MoveAndUp

Here is an article based on your request:

Receiving a list of all SPL tokens and their trade contracts at Raydium

Solana: How to get a list of all SPL tokens and their token contract which have been traded on Raydium?

As a salesman, investor or investor in the Solana network, in this article we will provide step -by -step instructions on how to get such a list.

** Why do I need this list?

Raydium is a popular decentralized exchange (DEX) in the Solana network, which allows users to trade various resources, including cryptocurrencies, tokens and other digital resources. To effectively use, it is necessary to clearly understand the commercial contracts that it supports,

How to get a list of trade contracts at Raydium

Raydium, according to these steps:

  • Log in to the Raidium account :

  • In the left menu you can find a list of all available commercial courses.

. This will take you to the List of Solana’s contracts that traded at Raydium.

** What types of contracts are supported?

Raydium:

* SPL token (Solana protocol) : All SPL tokens, including USDT-SOL, SUSD-SOL etc.

* Other token token : Any other Solan protocol token that was replaced on the platform.

How to download commercial data for each contract

After obtaining a list of trade contracts at Raydium,

1.

  • Use a library or third -party service :

Here is an example of how you can use the API interface to download commercial data for each contract:

`Javascript

Import {web3provider} with "@Solana/Web3.js";

Const provider = new web3provider ('

Const API = supplier. Getapi ();

Async Gettradedata function (tokencontractid) {

Const Params = {

Tokenaddress: "SPL",

Contracts: tokencontantid,

Gas: "2000000",

Chainid: 1, // Solana Network

Account: 0 // initial query account

};

to try {

Const

Returnal result;

} Catch (error) {

Console.error (error);

}

}

// get commercial data for each SPL token contract

Const Spltokencontacts = [

"USDT-SOL",

"SUSD-SOL"

];

for (Const Contractid with Spltokencontracts) {

Const Handedata = wait for Gettradedata (Carmaceid);

console.log ('commercial data for $ {contract}:);

// process commercial data if necessary

}

`

Note:

Application

Obtaining a list of all SPL token contracts to Raydium and recovering your traders and investors. Understanding commercial activities in the field of commercial activities