Buy tokens
Mirrors GraphQL buyTokens.
Authorizations
Headers
HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Optional -- when omitted, HMAC verification is skipped.
Request timestamp in epoch milliseconds. Required when x-signature is provided. Rejected if drift exceeds 5 minutes.
Body
OpenAPI: McpWalletBuySellBodyDto. GraphQL: WalletBuySellOperationArgs in apps/gql-main/src/wallet/args/walletOperation.args.ts.
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