Complete documentation for all methods, parameters, and return types in the Saros Finance SDK.
Calculate the output amount for a swap
Execute a token swap
Create a new liquidity pool
Get information about a liquidity pool
Add liquidity to a pool
Remove liquidity from a pool
Get a list of available staking pools
Get a list of available farming pools
Stake LP tokens in a farming pool
Unstake LP tokens from a farming pool
Claim rewards from a farming pool
Get information about multiple token accounts
Get the associated token account for a mint and owner
Create an associated token account
Check if an associated token account exists
Get information about a Solana account
Get the latest blockhash
Send a transaction to the Solana network
Generate a Solana connection object
Convert token balance to Wei format
Get information about a token mint
Get information about a token account
Get token account information by mint address
Format a balance with decimals
Format a pool weight
Can't find what you're looking for? Check out our guides and community resources.