Sell tokens
Mirrors GraphQL sellTokens. Requires HMAC signing.
Authorizations
Headers
Optional. Replaying the same key for the same user returns the cached result without a second sell.
HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Required for API-key authenticated requests (JWT/OAuth session auth is exempt).
Request timestamp in epoch milliseconds. Required with x-signature for API-key auth. Rejected if drift exceeds 5 minutes.
Body
OpenAPI: McpWalletBuySellBodyDto. GraphQL: WalletBuySellOperationArgs. Sell with SL/TP requires exactly one open BUY for the mint unless using linked manage-trade flows.
Amount for the operation
Token mint address (optional; defaults to SOL)
Destination address (required for withdraw)
Optional stop-loss on the open BUY affected by this operation
Optional take-profit on the open BUY for this mint