Actions
GetMyDSettlement » 이력 » 개정판 2
« 뒤로 |
개정판 2/19
(비교(diff))
| 다음 »
이름없음, 2021/06/04 05:35
getMyDSettlement¶
*요청 필드*¶
getMyDSettlement(
did: String
): MyDSettlementResponse
*SettlementRequest*
field | type | description |
command | String | 응답 Command 유형 (값: "tnkSettlement") |
did | String | snplab의 did |
end | Long! | |
start | Long! |
*MyDSettlementResponse*
field | type | description |
command | String | 응답 Command 유형 |
result | ["MyDSettlementResult":#] |
*MyDSettlementResult*
field | type | description |
countMonth | Int | 월 |
countYear | Int | 년 |
didCount | Int | did개수 |
id | Int | 번호 |
lastUpdate | String | 최근 업테이트 날짜 |
rewardAmount | Int | reward 양 |
*요청 예시*
query{ getMyDSettlement(did:"NfoPEFaG1adkCpijR85L66"){ command result{ lastUpdate countYear id rewardAmount didCount countMonth } } }
*응답 예시*
{ "data": { "getTnkSettlement": { "command": "tnkSettlement", "result": [ { "reward": 1000, "income": 500, "seqId": "abcde", "timestamp": 12345 }, { "reward": 1000, "income": 1000, "seqId": "A2CPI2SYK2SEFS", "timestamp": 1612536898501 }, { "reward": 99, "income": 498, "seqId": "456024733", "timestamp": 1616655942901 }, { "reward": 99, "income": 498, "seqId": "833980294", "timestamp": 1616723555879 }, { "reward": 55, "income": 112, "seqId": "54335360300", "timestamp": 1616738812323 }, { "reward": 56, "income": 114, "seqId": "54335501700", "timestamp": 1616739598350 }, { "reward": 55, "income": 112, "seqId": "54335533700", "timestamp": 1616739781805 }, { "reward": 61, "income": 123, "seqId": "54335540400", "timestamp": 1616739840867 }, { "reward": 51, "income": 104, "seqId": "54335504600", "timestamp": 1616740716371 }, { "reward": 50, "income": 101, "seqId": "54335537800", "timestamp": 1616740818279 }, { "reward": 54, "income": 110, "seqId": "54386912900", "timestamp": 1617004694897 }, { "reward": 50, "income": 101, "seqId": "54386992000", "timestamp": 1617004925268 } ] } } }
이름없음이(가) 약 4년 전에 변경 · 2 revisions