Check your referral earnings
referral_statsSee how many swaps and how much volume your referrer account has routed, and estimated earnings. Fees are paid on-chain to your NEAR account automatically.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"referrer": "<referrer>"
},
"name": "referral_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| referrer | Yes | Optional: your NEAR account (e.g. 'myagent.near'). You earn 1/3 of the service fee on every swap routed with it. The user pays the same. |