You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get the top traders leaderboard sorted by 7-day trading volume.
99
+
100
+
**Response Format:**
101
+
```json
102
+
[
103
+
{
104
+
"rank": 1,
105
+
"walletAddress": "0x742d...8b4c",
106
+
"volumeUSD": 850000
107
+
},
108
+
{
109
+
"rank": 2,
110
+
"walletAddress": "0x8f3a...2d1e",
111
+
"volumeUSD": 720000
112
+
}
113
+
]
114
+
```
115
+
116
+
### Token Verification
117
+
118
+
#### `GET /api/v1/tokens/verify/:address`
119
+
120
+
Check if a Stellar contract address is officially verified and safe to trade.
121
+
122
+
**Response Format:**
123
+
```json
124
+
{
125
+
"isVerified": true,
126
+
"riskLevel": "LOW"
127
+
}
128
+
```
129
+
130
+
**Parameters:**
131
+
- `address` (path): Stellar contract address to verify
132
+
133
+
### Network Fees
134
+
135
+
#### `GET /api/v1/network/fees`
136
+
137
+
Get current Stellar network fee estimates.
138
+
139
+
**Response Format:**
140
+
```json
141
+
{
142
+
"success": true,
143
+
"data": {
144
+
"baseFee": 100,
145
+
"priorityFee": 500,
146
+
"estimatedTotal": 600
147
+
},
148
+
"timestamp": "2024-01-15T10:30:00.000Z"
149
+
}
150
+
```
151
+
152
+
**Note:** This endpoint includes a 30-second cache header for performance optimization.
153
+
154
+
### Background Jobs
155
+
156
+
The API includes a background indexer job that runs every 5 minutes to sync blockchain data. This is automatically initialized when the server starts and logs "Syncing Blockchain Data..." during each run.
@ApiOperation({summary: 'Search for tokens by symbol',description: 'Search for tokens using a symbol query parameter'})
14
22
@ApiQuery({name: 'search',required: false,description: 'Token symbol to search for'})
@@ -80,4 +88,27 @@ export class TokensController {
80
88
timestamp: newDate().toISOString()
81
89
};
82
90
}
91
+
92
+
@Get('verify/:address')
93
+
@ApiOperation({summary: 'Verify if a token contract address is whitelisted',description: 'Check if a Stellar contract address is officially verified and safe to trade'})
0 commit comments