** Swing with closing position with raydium clmm with
Я пишу эту статью, чтобы помочь пользователям устранения устранения общей проблемы в закрытии Raydium CLMM с помощью основных платежей Solana.
Проблема обусловлена хорошо известным ограничением на Raydium SDK, что предотвращает его соблюдение и выявление событий, связанных с закрытыми позициями. This scoop is not particularly especially for which -libloring subscription or functionalness of the implementation, and the election of the dyseny, made by the raydium, for the optimization of proceedings and the sacral.
Ponimania Problems
When you close the location of the CLMM bassin, with the adjusts in the Solana, the SDK creation of the new cooker (or “Sobiti”), which represents the closure. The topic is not less, registrated and fell from the blockchain, but this trades cannot be identified or used by Raydium SDK.
It is believed, this is the delivery of the coomanda to touch the transaction in the stake and minimize the treats to the chronicles. To the sooty, it indicates that such policies, as you, should be handed to give a statement on the object of the sable that to close the place.
PROPOSITION PROPOSE
To solve this problem, the polls can use the “GetTransaction” function of the Raydium sdk txManager 'module, to make a countertop with closed position:
Javascript
Const {txManager} = require ('raydium-sdk');
// Create a new transaction object for closed place
Const Transaction = TxManager.Creatranation ({
CLMMPOOL: 'Clmm_pool',
Kliblilization: Pravda,
});
// Revet an object
Const transactionobj = Wat txManager.gettxbyhash (transaction.hash);
// Close place
Transactionobj.close ();
Obrate you need to make a txManager` module on Raydium sdk and use it in your code.
ADOLITY COVES
- Revenge that you use the last version of the Raydium SDK, so the repair can be unattended in the pre -trial versions.
- Если у вас все еще есть проблема, попробуйте увеличить тайм -аут события или позволить вам внести коррекцию ошибок, чтобы помочь диагностировать проблему.
- Remember that this is a prefare that you have already taken the transaction of the transaction. To go out in the future, dissatisfaction with the use of the strength of the strength, such as the chronicles in the database or the centhralized regulation for the chronicles.
The follow -up of these Shaga and Ponimania Raydium SDK, the polls can not solve the “transaction” can not find the “coat” in your closure in the pool of the raydium clmm.
Leave a Reply