GetNonce » 이력 » 버전 2
이름없음, 2022/01/05 02:57
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 | 2 | 이름없음 | | index | String | 사용자 verkey | | |
15 | 1 | 이름없음 | | 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 | 2 | 이름없음 | did: "9Dq5ZBptrf7Kgxe3K2Xw3aFwHSdoStiUrs98QPRgbrbt" |
31 | command: "getNonce" |
||
32 | 1 | 이름없음 | }) { |
33 | nonce |
||
34 | } |
||
35 | } |
||
36 | </code></pre> |
||
37 | |||
38 | *Response Example* |
||
39 | |||
40 | <pre><code class="java"> |
||
41 | { |
||
42 | "data": { |
||
43 | "getNonce": { |
||
44 | 2 | 이름없음 | "nonce": "0a821689-60cb-440f-a6ea-631f00b7e42c" |
45 | 1 | 이름없음 | } |
46 | } |
||
47 | } |
||
48 | </code></pre> |