Build an unsigned sell transaction to swap tokens for SOL or USD1 via one of the supported DEXs.
The response contains a base64-encoded unsigned VersionedTransaction. Sign it locally with your keypair and submit it to the network.
Your LaserSell API key. Obtain one from the LaserSell dashboard.
Token mint address (base58).
"So11111111111111111111111111111111111111112"
Your wallet public key (base58).
"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
Amount to sell in the token's atomic units.
1000000
Desired output asset.
SOL, USD1 "SOL"
Maximum slippage tolerance in basis points (e.g., 2000 = 20%).
2000
Routing mode hint.
fast, secure Pre-resolved market context. Omit to let the server resolve automatically.
Transaction send mode.
helius_sender, astralane, rpc Optional priority fee tip in lamports.
Partner fee recipient wallet (base58 pubkey).
Partner fee in basis points (max 50 = 0.5%). Mutually exclusive with partner_fee_lamports.
x <= 50Partner fee as flat SOL lamports (max 50,000,000). Mutually exclusive with partner_fee_bps.
x <= 50000000Unsigned sell transaction built successfully.