Get User Data of Resource Rent
Query to get the list of user energy rental information.
Query parameters
addressesstringOptional
Query of the user addresses. (To query multiple addresses at the same time, please use ‘,’ to separate multiple addresses.)
pageNointeger · int64Optional
Page number.
pageSizeinteger · int64Optional
Page size, maximum 1000.
minStrxBalancestringOptional
Minimum amount of sTRX held.
maxRemainingRentAmountstringOptional
Maximum remaining rent amount.
Responses
200
Returns the list of user energy rental information.
application/json
400
Bad Request
application/json
get
GET /lend/rentResource/account HTTP/1.1
Host: openapi.just.network
Accept: */*
{
"code": 0,
"data": {
"totalPage": 1,
"list": [
{
"rentRemainAmount": 0,
"receiver": "TWdWEHRLPBVGsXhwjSUv45XwnsfUHXydJa",
"delegatedAmount": 0,
"rentAmountPerDay": 0,
"rentType": "Energy",
"renter": "TWdWEHRLPBVGsXhwjSUv45XwnsfUHXydJa"
}
],
"totalCount": 1
},
"message": "SUCCESS"
}
Last updated