Get current volume discount program
GEThttps://vega-data.nodes.guru:3008/api/v2/volume-discount-programs/current
Get the current volume discount program for the network. This program may not be active if it has ended and has not been replaced by another.
Request
Responses
- 200
- 500
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
currentVolumeDiscountProgram object
{
"currentVolumeDiscountProgram": {
"benefitTiers": [
{
"minimumRunningNotionalTakerVolume": "string",
"volumeDiscountFactor": "string"
}
],
"endOfProgramTimestamp": "string",
"endedAt": "string",
"id": "string",
"version": "string",
"windowLength": "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/volume-discount-programs/current' \
-H 'Accept: application/json'
ResponseClear