GetMyDSettlement » 이력 » 버전 13
이름없음, 2021/06/10 02:17
1 | 6 | 이름없음 | h1. %{color: #000000;}GetMyDSettlement% |
---|---|---|---|
2 | 2 | 이름없음 | |
3 | 13 | 이름없음 | %{color: #000000;}*매달* MyD(개인데이터) 거래 시 사용자에게 지급된 리워드, snplab의 수입 기록 리스트를 *전체 조회*<notextile></notextile>합니다.% |
4 | 7 | 이름없음 | |
5 | 3 | 이름없음 | h2. %{color: #000000;}요청 필드% |
6 | 2 | 이름없음 | |
7 | <pre><code class="c"> |
||
8 | getMyDSettlement( |
||
9 | did: String |
||
10 | ): MyDSettlementResponse |
||
11 | </code></pre> |
||
12 | |||
13 | 5 | 이름없음 | *did* |
14 | |||
15 | 2 | 이름없음 | | %{color: #000000;}field% | %{color: #000000;}type% | %{color: #000000;}description% | |
16 | | %{color: #000000;}did% | %{color: #000000;}String% | %{color: #000000;}snplab의 did% | |
||
17 | 1 | 이름없음 | |
18 | 2 | 이름없음 | *%{color: #000000;}MyDSettlementResponse%* |
19 | 3 | 이름없음 | |
20 | 1 | 이름없음 | | %{color: #000000;}field% | %{color: #000000;}type% | %{color: #000000;}description% | |
21 | 5 | 이름없음 | | %{color: #000000;}command% | %{color: #000000;}String% | %{color: #000000;}요청Command 유형(값: "rewardDebt")% | |
22 | 4 | 이름없음 | | %{color: #000000;}result% | %{color: #000000;}[MyDSettlementResult]% | | |
23 | 2 | 이름없음 | |
24 | 3 | 이름없음 | *%{color: #000000;}MyDSettlementResult%* |
25 | 2 | 이름없음 | |
26 | | %{color: #000000;}field% | %{color: #000000;}type% | %{color: #000000;}description% | |
||
27 | | %{color: #000000;}countMonth% | %{color: #000000;}Int% | %{color: #000000;}월% | |
||
28 | | %{color: #000000;}countYear% | %{color: #000000;}Int% | %{color: #000000;}년% | |
||
29 | | %{color: #000000;}didCount% | %{color: #000000;}Int% | %{color: #000000;}did개수% | |
||
30 | | %{color: #000000;}id% | %{color: #000000;}Int% | %{color: #000000;}번호% | |
||
31 | | %{color: #000000;}lastUpdate% | %{color: #000000;}String% | %{color: #000000;}최근 업테이트 날짜% | |
||
32 | | %{color: #000000;}rewardAmount% | %{color: #000000;}Int% | %{color: #000000;}reward 양% | |
||
33 | |||
34 | 3 | 이름없음 | *%{color: #000000;}요청 예시%* |
35 | 2 | 이름없음 | |
36 | 1 | 이름없음 | <pre> |
37 | query{ |
||
38 | 7 | 이름없음 | getMyDSettlement(did:"NfoPEFaG1adkCpijR85L66"){ |
39 | command |
||
40 | result{ |
||
41 | lastUpdate |
||
42 | countYear |
||
43 | id |
||
44 | rewardAmount |
||
45 | didCount |
||
46 | countMonth |
||
47 | } |
||
48 | } |
||
49 | 1 | 이름없음 | } |
50 | </pre> |
||
51 | |||
52 | *%{color: #000000;}응답 예시%* |
||
53 | |||
54 | 2 | 이름없음 | <pre> |
55 | { |
||
56 | 4 | 이름없음 | "data": { |
57 | "getMyDSettlement": { |
||
58 | "command": "rewardDebt", |
||
59 | "result": [ |
||
60 | { |
||
61 | "lastUpdate": "2021-01-31T14:50Z", |
||
62 | "countYear": 2021, |
||
63 | "id": 7, |
||
64 | "rewardAmount": 1840, |
||
65 | "didCount": 806, |
||
66 | "countMonth": 1 |
||
67 | }, |
||
68 | { |
||
69 | "lastUpdate": "2021-02-28T14:50Z", |
||
70 | "countYear": 2021, |
||
71 | "id": 8, |
||
72 | "rewardAmount": 0, |
||
73 | "didCount": 806, |
||
74 | "countMonth": 2 |
||
75 | }, |
||
76 | { |
||
77 | "lastUpdate": "2021-03-31T14:50Z", |
||
78 | "countYear": 2021, |
||
79 | "id": 85, |
||
80 | "rewardAmount": 3978735, |
||
81 | "didCount": 806, |
||
82 | "countMonth": 3 |
||
83 | }, |
||
84 | { |
||
85 | "lastUpdate": "2021-04-30T14:50Z", |
||
86 | "countYear": 2021, |
||
87 | "id": 260, |
||
88 | "rewardAmount": 1504427013, |
||
89 | "didCount": 806, |
||
90 | "countMonth": 4 |
||
91 | }, |
||
92 | { |
||
93 | "lastUpdate": "2021-05-31T14:50Z", |
||
94 | "countYear": 2021, |
||
95 | "id": 385, |
||
96 | "rewardAmount": 1509552913, |
||
97 | "didCount": 806, |
||
98 | "countMonth": 5 |
||
99 | }, |
||
100 | { |
||
101 | "lastUpdate": "2021-06-01T14:50Z", |
||
102 | "countYear": 2021, |
||
103 | "id": 389, |
||
104 | "rewardAmount": 1509554113, |
||
105 | "didCount": 806, |
||
106 | "countMonth": 6 |
||
107 | } |
||
108 | ] |
||
109 | } |
||
110 | } |
||
111 | 2 | 이름없음 | } |
112 | </pre> |