Solana: Get Balance from Liquidity Account

Here is an article with a step -step instructions on how to download WSOL Balance (also known as WUSD) in the Raydium liquidity account:

WSOL Balance Recovery to Raydium: Step by Step **

As a newcomer in programming, you may not know different platforms and tools available for cryptocurrency trading. In this article, we will show you how to regain the balance of your WSOL (WUSD) on Raydium liquidity account.

Preliminary requirements:

  • You have already funded your Raydium portfolio with Fiat Currency.

  • You connected the Raydium wallet with a reputable replacement or platform, such as Binance or Uniswap.

  • You can access your API for your Raydium account.

Step 1: Include access to API and get an access marker

To interact with API Raydium, you must include access to API and get an access marker. Make the following steps:

  • Enter the Raydium dashboard.

  • Click “Settings” (transmission icon)> “API keys”.

  • Click “Create a New API key”.

  • Enter the name of your API key and click “Create”.

  • Select the API endpoint you want to use (eg /API/V1/account) and click" Generation of an Access Marker ".

Step 2: Configure API URL

Solana: Get Balance from Liquidity Account

request

Once you have received the access marker, you can configure the API request to restore WSOL balance. API's end point is:

http

Replace /api/v1/concentration/liquidity/wsol.

Step 3: Send a request http

Use a tool like Curl or Postman to send HTTP to the end point of API. Here is an example using Curl:

Bash

Curl -x get \

\

-H "Authorization: Warter '\

-H 'content type: app/json'

Replace 'for an actual access marker.

Step 4: Go answer

API will include the JSON site containing WSOL balance. You can analyze this answer using Curl or other selected tool. Here's an example:

Bash

Curl -x get \

\

-H "Authorization: Warter '\

-H 'content type: app/json'

The answer will be in JSON format, such as:

`Json

{

"Liquidity": {

"Wsol": {

"Total": "0.0000000000000000000001" // WSOL Balance in Basic Currency Units (eg USD)

}

}

}

Application:

Thanks to these steps, you have successfully regained the WSOL balance in Raydium’s liquidity account. Be sure to provide a safe access marker and do not share it with anyone.

I hope this article will help you regain your balance effectively! If you have any questions or need further help, you can ask.

© 版权声明
THE END
喜欢就支持一下吧
点赞9 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片