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)
| Code | Location | Notes |
|---|---|---|
fr | Frankfurt | Recommended |
fr2 | Frankfurt 2 | |
ams | Amsterdam | Recommended |
ams2 | Amsterdam 2 | |
la | San Francisco | |
ny | New York | |
jp | Tokyo | |
sg | Singapore | |
lim | Limburg | |
lit | Lithuania |
fr (Frankfurt).
Recommendations
| Use Case | Recommended Target |
|---|---|
| Testing and development | Default RPC |
| Production (general) | Helius Sender |
| Production (latency sensitive) | Astralane Iris |
| Production (existing RPC setup) | Custom RPC |
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:
send_mode (server) | SendTarget (client) |
|---|---|
"rpc" | sendTargetRpc(url) |
"helius_sender" | sendTargetHeliusSender() |
"astralane" | sendTargetAstralane(...) |

