Skip to content

Commit e420cad

Browse files
authored
Merge pull request #45 from ethereumfollowprotocol/leaderboard-all
leaderboard all
2 parents cce2a4a + 2d6bc89 commit e420cad

File tree

1 file changed

+38
-0
lines changed
  • src/content/docs/api/Leaderboard

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: All
3+
description: Ethereum Follow Protocol API v1
4+
---
5+
6+
#### /leaderboard/all
7+
Get addresses and ens names of all leaderboard records.
8+
9+
10+
#### Sample Query
11+
```sh
12+
curl https://api.ethfollow.xyz/api/v1/leaderboard/all
13+
```
14+
15+
```jsonc
16+
// sample response
17+
{
18+
"results": [
19+
{
20+
"address": "0x0ad4bb5ceabfdb5020b01e6dc5e32526eb10e5d1",
21+
"name": "0xsailormoon.eth"
22+
},
23+
{
24+
"address": "0xd1efdd037566b0c75cebace9150d26ea0153faa9",
25+
"name": "designer.eth"
26+
},
27+
{
28+
"address": "0x4d982788c01402c4e0f657e1192d7736084ae5a8",
29+
"name": "garypalmerjr.eth"
30+
},
31+
{
32+
"address": "0x14546125429faac7f3aa78da1807069692ec7464",
33+
"name": "grado.eth"
34+
},
35+
...
36+
]
37+
}
38+
```

0 commit comments

Comments
 (0)