Get fees statistics for a party
Get accumulated fees, rewards, and applied discount information. A party ID must be supplied as filter.
Path Parameters
partyId string required
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"
}
GET /api/v2/fees/stats/parties/:partyId
Request
Request
curl / cURL
curl -L -X GET 'https://vega-data.nodes.guru:3008/api/v2/fees/stats/parties/:partyId' \
-H 'Accept: application/json'
python / requests
curl -L -X GET 'https://vega-data.nodes.guru:3008/api/v2/fees/stats/parties/:partyId' \
-H 'Accept: application/json'
go / native
curl -L -X GET 'https://vega-data.nodes.guru:3008/api/v2/fees/stats/parties/:partyId' \
-H 'Accept: application/json'
nodejs / axios
curl -L -X GET 'https://vega-data.nodes.guru:3008/api/v2/fees/stats/parties/:partyId' \
-H 'Accept: application/json'