GET /referral/{address}/earnings
GET

/v1/referral/{address}/earnings

Referral earnings breakdown for an address

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/referral/rPsio2HNepLMEQFfY4uHC86wmZwud9q8Ut/earnings
Path parameterValueDescription
addressAn XRPL account, its r-address
curl 'https://api.xrpl.to/v1/referral/rPsio2HNepLMEQFfY4uHC86wmZwud9q8Ut/earnings'

Response

200Example response4 ms · just now · 0.4 KB · 25 lines
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

OpenAPI