GetNonce » 이력 » 버전 1
이름없음, 2021/12/21 10:39
1 | 1 | 이름없음 | h1. GetNonce |
---|---|---|---|
2 | |||
3 | <pre><code class="java"> |
||
4 | getNonce( |
||
5 | param: BaseRequest |
||
6 | ): NonceResponse |
||
7 | </code></pre> |
||
8 | |||
9 | --- |
||
10 | |||
11 | *BaseRequest* |
||
12 | |||
13 | |_. field |_. type |_. description |_. note | |
||
14 | | did | String | 사용자 did | | |
||
15 | | command | String | | | |
||
16 | |||
17 | *NonceResponse* |
||
18 | |||
19 | |_. field |_. type |_. description |_. note | |
||
20 | | nonce | String | | | |
||
21 | | command | String | | | |
||
22 | |||
23 | --- |
||
24 | |||
25 | *Request Example* |
||
26 | |||
27 | <pre><code class="java"> |
||
28 | query { |
||
29 | getNonce(param: { |
||
30 | did: "G5rw9qAMbozGxySHkMaztD" |
||
31 | command: "getNonce" |
||
32 | }) { |
||
33 | nonce |
||
34 | } |
||
35 | } |
||
36 | </code></pre> |
||
37 | |||
38 | *Response Example* |
||
39 | |||
40 | <pre><code class="java"> |
||
41 | { |
||
42 | "data": { |
||
43 | "getNonce": { |
||
44 | "nonce": "0a821689-60cb-440f-a6ea-631f00b7e42c" |
||
45 | } |
||
46 | } |
||
47 | } |
||
48 | </code></pre> |