프로젝트

일반

사용자정보

GetTnkSettlement » 이력 » 개정판 2

개정판 1 (이름없음, 2021/06/04 05:10) → 개정판 2/17 (이름없음, 2021/06/04 05:28)

h1. getTnkSettlement 

 h2. *요청 필드* 

 <pre><code class="c"> 
 getTnkSettlement( 
 settlementRequest: SettlementRequest 
 ): SettlementResponse 
 </code></pre> 

 *SettlementRequest* 

 | field | type | description | 
 | command | String | %{color: #000000;}응답 Command 유형 (값: "tnkSettlement")% | 
 | did | String | snplab의 did | 
 | end | Long! |   | 
 | start | Long! |   | 

 *SettlementResponse* 

 | field | type | description | 
 | command | String | 응답 Command 유형 | 
 | result | [SettlementResult] |   | 

 *SettlementResult* 

 | field | type | description | 
 | income | Long | 수입 | 
 | reward | Long | 리워드 | 
 | seqId | String | 순서 | 
 | tiestamp | Long | 시간 | 

 *요청 예시* 

 <pre> 
 query{ 
 getTnkSettlement(settlementRequest:{ 
 did:"NfoPEFaG1adkCpijR85L66"  
 command: "tnkSettlement"  
 start:-1 
 end: -1 
 }){ 
 command 
 result{ 
 reward 
 income 
 seqId 
 timestamp 
 } 
 } 
 } 
 </pre> 

 *응답 예시* 

 <pre> 
 { 
 "data": { 
   "uploadHtml": { 
   "command": "uploadHtml", 
   "result": [ 
     { 
     "originalFilename": "aaa.html", 
     "fullUrlPath": "https://cdn.myd.world/cec283c40561141e910b094a5469ed24/html/g14Ofo/aaa.html"  
     } 
   ]} 
   } 
 }</pre> GetTnkSettlement
클립보드 이미지 추가 (최대 크기: 97.7 MB)