Merge pull request #167 from GMGNAI/feat-quote-exist-auth

docs(order-quote): order quote now uses normal auth, no private key needed
This commit is contained in:
GMGN.AI
2026-06-24 16:21:20 +08:00
committed by GitHub
5 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -475,7 +475,7 @@ export class OpenApiClient {
slippage: number
): Promise<unknown> {
const query = { chain, from_address, input_token, output_token, input_amount, slippage };
return this.authSignedRequest("GET", "/v1/trade/quote", query, null);
return this.authExistRequest("GET", "/v1/trade/quote", query);
}
// ---- Swap endpoints (signed auth) ----