Leaderboard
curl --request GET \
--url https://api.counsel.markets/leaderboardimport requests
url = "https://api.counsel.markets/leaderboard"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.counsel.markets/leaderboard', 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://api.counsel.markets/leaderboard",
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://api.counsel.markets/leaderboard"
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://api.counsel.markets/leaderboard")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.counsel.markets/leaderboard")
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{
"distinct_accounts": 123,
"total_volume_xrp": 123,
"tagged_volume_xrp": 123,
"takeout_collected_xrp": 123,
"total_bets": 123,
"source_tag": 2606220005,
"rows": [
{
"account": "<string>",
"volume_xrp": 123,
"pnl_xrp": 123,
"bets": 123,
"markets": 123
}
],
"generated_at": "2023-11-07T05:31:56Z"
}Classement
Classement
Volume attribué par SourceTag et nombre de comptes actifs distincts, plus le takeout réellement collecté. Lignes classées par P&L réalisé.
GET
/
leaderboard
Leaderboard
curl --request GET \
--url https://api.counsel.markets/leaderboardimport requests
url = "https://api.counsel.markets/leaderboard"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.counsel.markets/leaderboard', 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://api.counsel.markets/leaderboard",
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://api.counsel.markets/leaderboard"
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://api.counsel.markets/leaderboard")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.counsel.markets/leaderboard")
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{
"distinct_accounts": 123,
"total_volume_xrp": 123,
"tagged_volume_xrp": 123,
"takeout_collected_xrp": 123,
"total_bets": 123,
"source_tag": 2606220005,
"rows": [
{
"account": "<string>",
"volume_xrp": 123,
"pnl_xrp": 123,
"bets": 123,
"markets": 123
}
],
"generated_at": "2023-11-07T05:31:56Z"
}Le classement global.
distinct_accounts et tagged_volume_xrp sont les métriques d’attribution Make Waves (SourceTag porté sur chaque transaction counsel). takeout_collected_xrp est la métrique infalsifiable : les frais réels collectés sur les marchés réglés et non annulés, qu’un wash trader ne peut pas fabriquer. Les lignes sont classées par P&L réalisé, et les seeds ainsi que les marchés annulés sont exclus du volume.Réponse
200 - application/json
Leaderboard
Distinct active accounts carrying counsel's SourceTag (the Make Waves metric).
Volume attributed to counsel's SourceTag.
Takeout actually collected on settled, non-void markets. The un-fakeable metric.
Exemple:
2606220005
Show child attributes
Show child attributes