/v1/referral/{address}/earnings
Referral earnings breakdown for an address
Request
https://api.xrpl.to/v1/referral/rPsio2HNepLMEQFfY4uHC86wmZwud9q8Ut/earnings| Path parameter | Value | Description |
|---|---|---|
| address | An XRPL account, its r-address |
curl 'https://api.xrpl.to/v1/referral/rPsio2HNepLMEQFfY4uHC86wmZwud9q8Ut/earnings'
Response
https://api.xrpl.to/v1/referral/rPsio2HNepLMEQFfY4uHC86wmZwud9q8Ut/earnings{ "success": true, "earnings": { "lifetimeDrops": 0, "lifetimeXrp": 0, "lifetimeVolume": 0, "lifetimeVolumeXrp": 0, "pendingReferrer": { "drops": 0, "xrp": 0, "feeCount": 0 }, "pendingRecruit": { "drops": 0, "xrp": 0, "feeCount": 0 }, "totalPaid": { "drops": 0, "xrp": 0, "count": 0 }, "payouts": [] } }
What it does
Referral earnings breakdown for an address