Get current volume rebate program
GEThttps://api.testnet.vega.rocks/api/v2/volume-rebate-programs/current
Get the current volume rebate program for the network. This program may not be active if it has ended and has not been replaced by another.
Responses
- 200
- 500
- default
A successful response.
- application/json
- Schema
- Example (from schema)
Schema
currentVolumeRebateProgram object
{
"currentVolumeRebateProgram": {
"benefitTiers": [
{
"additionalMakerRebate": "string",
"minimumPartyMakerVolumeFraction": "string",
"tierNumber": "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 'https://api.testnet.vega.rocks/api/v2/volume-rebate-programs/current' \
-H 'Accept: application/json'
ResponseClear