Get User Supply Mining Reward Distributions
Query to get user's all reward distributions, including mining token address, if the mining reward has been claimed or not claimed, and the reward amount in the corresponding cycle. (To pass parameters to obtain specific information, please click 「Test」and fill in the address information in the Query parameters section.)
Path parameters
addressstringOptional
Query of the user address.
Query parameters
addressstringOptional
Query of the user address.
Responses
200
Return the user's all reward cycles, including those that have been claimed and those that have not been claimed. Filter out the cycles where claimed is false, that is, the unclaimed reward cycles.
application/json
400
Bad Request
application/json
get
GET /mining/distributions HTTP/1.1
Host: openapi.just.network
Accept: */*
{
"code": 0,
"data": {
"Phase 22": {
"tokenAddress": "TPYmHEhy5n8TCEfYGqW2rPxsghSfzghPDn",
"amount": ":0x6933158b3c05",
"claimed": true,
"index": ":0x0659",
"merkleIndex": ":0x00",
"proof": [
[
[
":0x6b734d20b9ca2a0dda57b184789dbb6df2d2993049a9365b6eafe932cd435255"
]
]
],
"merkleRoot": ":0x3fdc21ab4fed9e13714fa852ff2e659f9e32af553f4426810ff75e38ccf17a97"
}
},
"message": "SUCCESS"
}
Last updated