sign_request
Locally compute a signed JWT for a Goldpopcon API request using your secret key. Returns the JWT, query hash, and a ready-to-use curl command for debugging or testing API integration.
Instructions
실제 키로 요청 하나의 JWT 를 로컬 계산한다(디버깅용). secret_key 는 로컬에서만 쓰이고 어디로도 전송되지 않는다. 결과에 JWT·query_hash·바로 쓸 curl 을 준다.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | POST 본문 객체. 생략 시 스펙 예제 | |
| query | No | ||
| server | No | production | 임의 base url. 기본 production(스펙의 유일한 서버). 실거래 없이 시험하려면 operationId 를 demoBuyAsset/demoSellAsset 으로 바꾼다 | |
| accessKey | Yes | gpk_... 액세스 키 | |
| secretKey | Yes | sk_... 시크릿 키. 로컬 계산에만 사용 | |
| pathParams | No | 경로 파라미터. 예: {"asset":"gold"} | |
| ttlSeconds | No | ||
| operationId | Yes |