Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request GET \ --url https://api.odin.fun/v1/user/{principal}/referral_earnings_stats \ --header 'Authorization: Bearer <token>'
{ "data": { "user": "<string>", "earnings": 123, "trades": 123, "users": 123, "volume": 123 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes