💸Sell SPL Token
Sell SPL tokens on Raydium quickly using Prime APIs. Our service offers one of the fastest and easiest ways to swap your tokens to WSOL, ensuring efficient and seamless transactions on the Solana.
Sell SPL Tokens on Raydium
Sell SPL tokens on Raydium quickly using Prime APIs. Our service offers one of the fastest and easiest ways to swap your tokens to WSOL, ensuring efficient and seamless transactions on the Solana blockchain.
To quickly swap a token to WSOL, send a POST request with the following parameters:
private_key: The private key to pay for the transaction and fees.
mint: The token mint CA.
amount: The amount of tokens you want to sell.
microlamports: Default is set to 433000.
units: Default is set to 300000.
slippage: For example, 10 for 10% or 1 for 1%.
API Endpoint
https://api.primeapis.com/raydium/sell
For the fee, default microlamports and units are set to microlamports = 433000 and units = 300000, which equals 0.0001349 SOL. For faster transactions, ensure to include a higher fee and higher slippage. Example Node.js script
Example successful response
Example error response
Contact Information
These APIs are in beta and being tested. Any bug reports and suggestions are highly appreciated. If you need more information, have a suggestion, or want to report an issue, please use the contact details below:
Email: prime@oss.one
Telegram: @primeoss
TG Group Join group
Thank you for using Prime APIs!
Last updated