Get fees statistics for a party
GEThttps://vega-data.nodes.guru:3008/api/v2/fees/stats/parties/:partyId
Get accumulated fees, rewards, and applied discount information. A party ID must be supplied as filter.
Request
Path Parameters
partyId stringrequired
Restrict fees statistics to those for the given party.
Query Parameters
assetId string
Restrict fees statistics to those related to the given asset.
fromEpoch uint64
Epoch to filter from (included). If omitted, to epoch
must not be set. If both omitted, the most recent epoch's data is returned.
toEpoch uint64
Epoch to filter to (included). If omitted, the range goes from from epoch
to the most recent epoch.
Responses
- 200
- 500
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
feesStatsForParty object[]
{
"feesStatsForParty": [
{
"assetId": "string",
"refereesDiscountApplied": "string",
"totalMakerFeesReceived": "string",
"totalRewardsReceived": "string",
"volumeDiscountApplied": "string"
}
]
}
An internal server error
- application/json
- Schema
- Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
- application/json
- Schema
- Example (from schema)
Schema
code int32
details object[]
message string
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
- curl
- python
- go
- nodejs
- CURL
curl -L -X GET 'https://vega-data.nodes.guru:3008/api/v2/fees/stats/parties/:partyId' \
-H 'Accept: application/json'
ResponseClear