프로젝트

일반

사용자정보

GetTnkSettlement » 이력 » 버전 2

이름없음, 2021/06/04 05:28

1 2 이름없음
h1. getTnkSettlement
2
3
h2. *요청 필드*
4
5
<pre><code class="c">
6
getTnkSettlement(
7
settlementRequest: SettlementRequest
8
): SettlementResponse
9
</code></pre>
10
11
*SettlementRequest*
12
13
| field | type | description |
14
| command | String | %{color: #000000;}응답 Command 유형 (값: "tnkSettlement")% |
15
| did | String | snplab의 did |
16
| end | Long! |   |
17
| start | Long! |   |
18
19
*SettlementResponse*
20
21
| field | type | description |
22
| command | String | 응답 Command 유형 |
23
| result | [SettlementResult] |   |
24
25
*SettlementResult*
26
27
| field | type | description |
28
| income | Long | 수입 |
29
| reward | Long | 리워드 |
30
| seqId | String | 순서 |
31
| tiestamp | Long | 시간 |
32
33
*요청 예시*
34
35
<pre>
36
query{
37
getTnkSettlement(settlementRequest:{
38
did:"NfoPEFaG1adkCpijR85L66" 
39
command: "tnkSettlement" 
40
start:-1
41
end: -1
42
}){
43
command
44
result{
45
reward
46
income
47
seqId
48
timestamp
49
}
50
}
51
}
52
</pre>
53
54
*응답 예시*
55
56
<pre>
57
{
58
"data": {
59
  "uploadHtml": {
60
  "command": "uploadHtml",
61
  "result": [
62
    {
63
    "originalFilename": "aaa.html",
64
    "fullUrlPath": "https://cdn.myd.world/cec283c40561141e910b094a5469ed24/html/g14Ofo/aaa.html" 
65
    }
66
  ]}
67
  }
68
}</pre>
클립보드 이미지 추가 (최대 크기: 97.7 MB)