Rewards
Provide historical trading rewards
Query parameters
epochinteger · int64OptionalExample:
The distribution epoch sequence number. -1 for latest.
3
accountAddressstring · min: 42 · max: 42OptionalExample:
Account address for the rewards distribution
inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r
Pattern: ^inj1[0-9a-zA-Z]{38}$
Responses
200
OK response.
application/json
400
Bad Request response.
application/vnd.goa.error
404
Not Found response.
application/vnd.goa.error
500
Internal Server Error response.
application/vnd.goa.error
get
GET /api/exchange/account/v1/rewards HTTP/1.1
Host: inj-indexer.nownodes.io
Accept: */*
{
"rewards": [
{
"accountAddress": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r",
"distributedAt": 1544614248000,
"rewards": [
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
}
]
},
{
"accountAddress": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r",
"distributedAt": 1544614248000,
"rewards": [
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
}
]
},
{
"accountAddress": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r",
"distributedAt": 1544614248000,
"rewards": [
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
}
]
},
{
"accountAddress": "inj1cml96vmptgw99syqrrz8az79xer2pcgp0a885r",
"distributedAt": 1544614248000,
"rewards": [
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
},
{
"amount": "1000000000000000000",
"denom": "USDT"
}
]
}
]
}