Get current active rewards configurations
curl --request GET \
--url https://clob.polymarket.com/rewards/markets/currentimport requests
url = "https://clob.polymarket.com/rewards/markets/current"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://clob.polymarket.com/rewards/markets/current', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://clob.polymarket.com/rewards/markets/current",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://clob.polymarket.com/rewards/markets/current"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://clob.polymarket.com/rewards/markets/current")
.asString();require 'uri'
require 'net/http'
url = URI("https://clob.polymarket.com/rewards/markets/current")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"limit": 500,
"count": 1,
"next_cursor": "LTE=",
"data": [
{
"condition_id": "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af",
"rewards_max_spread": 99,
"rewards_min_size": 10,
"rewards_config": [
{
"id": 0,
"asset_address": "0x9c4E1703476E875070EE25b56A58B008CFb8FA78",
"start_date": "2024-03-01",
"end_date": "2500-12-31",
"rate_per_day": 2,
"total_rewards": 92
},
{
"id": 0,
"asset_address": "0x69308FB512518e39F9b16112fA8d994F4e2Bf8bB",
"start_date": "2024-03-01",
"end_date": "2500-12-31",
"rate_per_day": 1,
"total_rewards": 46
}
],
"sponsored_daily_rate": 0.5,
"sponsors_count": 2,
"native_daily_rate": 2.5,
"total_daily_rate": 3
}
]
}{
"error": "Invalid next_cursor"
}{
"error": "Internal server error"
}获取当前有效的奖励配置
Returns all current active rewards configurations grouped by market.
When sponsored=true, returns sponsored reward configurations instead.
Results are paginated (500 items per page). Use next_cursor to fetch subsequent pages. A next_cursor value of “LTE=” indicates the last page.
GET
/
rewards
/
markets
/
current
Get current active rewards configurations
curl --request GET \
--url https://clob.polymarket.com/rewards/markets/currentimport requests
url = "https://clob.polymarket.com/rewards/markets/current"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://clob.polymarket.com/rewards/markets/current', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://clob.polymarket.com/rewards/markets/current",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://clob.polymarket.com/rewards/markets/current"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://clob.polymarket.com/rewards/markets/current")
.asString();require 'uri'
require 'net/http'
url = URI("https://clob.polymarket.com/rewards/markets/current")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"limit": 500,
"count": 1,
"next_cursor": "LTE=",
"data": [
{
"condition_id": "0xbd31dc8a20211944f6b70f31557f1001557b59905b7738480ca09bd4532f84af",
"rewards_max_spread": 99,
"rewards_min_size": 10,
"rewards_config": [
{
"id": 0,
"asset_address": "0x9c4E1703476E875070EE25b56A58B008CFb8FA78",
"start_date": "2024-03-01",
"end_date": "2500-12-31",
"rate_per_day": 2,
"total_rewards": 92
},
{
"id": 0,
"asset_address": "0x69308FB512518e39F9b16112fA8d994F4e2Bf8bB",
"start_date": "2024-03-01",
"end_date": "2500-12-31",
"rate_per_day": 1,
"total_rewards": 46
}
],
"sponsored_daily_rate": 0.5,
"sponsors_count": 2,
"native_daily_rate": 2.5,
"total_daily_rate": 3
}
]
}{
"error": "Invalid next_cursor"
}{
"error": "Internal server error"
}查询参数
If true, returns sponsored reward configurations instead of standard ones
Pagination cursor from previous response
响应
Successfully retrieved current rewards configurations
此页面对您有帮助吗?
⌘I