What is a Send Target?
ASendTarget tells the SDK where to submit your signed transaction. The LaserSell SDKs support four targets, each optimized for different use cases.
Available Targets
Default RPC
Uses the Solana public mainnet beta endpoint (https://api.mainnet-beta.solana.com). This endpoint is rate limited and best suited for testing only.
Custom RPC
Specify your own RPC endpoint URL. Recommended for production with a private RPC provider such as Helius or Chainstack (free tiers available).Helius Sender
Routes through the Helius Sender/fast endpoint for optimized transaction landing. No API key required for Helius Sender.
Astralane Iris
Routes through the Astralane Iris gateway. Requires an Astralane API key and supports regional endpoints for latency optimization.Available Regions (Astralane)
If no region is specified, the SDK defaults to
fr (Frankfurt).
Recommendations
For automated trading bots, Helius Sender or Astralane Iris provide the best transaction landing rates. Avoid using the public Solana RPC in production as it is heavily rate limited.
Send Mode vs Send Target
Thesend_mode field on BuildSellTxRequest and BuildBuyTxRequest tells the server which endpoint context to optimize the transaction for. The SendTarget controls where your client submits the signed transaction. For best results, align them:

