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