/v1/referral/{address}/fees
Referral fee history; response includes asReferrerTotal/asRecruitTotal for paging
Request
https://api.xrpl.to/v1/referral/rPsio2HNepLMEQFfY4uHC86wmZwud9q8Ut/fees| Path parameter | Value | Description |
|---|---|---|
| address | An XRPL account, its r-address |
| Query parameter | Value | Description |
|---|---|---|
| limit | int (default 50, max 100) | |
| offset | int (default 0) |
curl 'https://api.xrpl.to/v1/referral/rPsio2HNepLMEQFfY4uHC86wmZwud9q8Ut/fees'
Response
https://api.xrpl.to/v1/referral/rPsio2HNepLMEQFfY4uHC86wmZwud9q8Ut/fees{ "success": true, "fees": { "asReferrerTotal": 0, "asRecruitTotal": 1, "asReferrer": [], "asRecruit": [ { "txHash": "4E7788DF5DE10CB9E88D01D46F863783F193391F19C3F4109EEEDFC87FDEF54C", "referrer": null, "feeDrops": 20100, "feeXrp": 0.0201, "rebateDrops": 0, "rebateXrp": 0, "rebateActive": false, "paid": true, "time": 1774075191000, "paidTxHash": null } ] } }
What it does
Referral fee history; response includes asReferrerTotal/asRecruitTotal for paging