Referrals
Get an affiliate's accrued commission
Changed onWhat the affiliate has earned: today, since Monday, and over all time, plus a daily breakdown carrying the tier and any anti-farming penalty that was in force each day.
This is not what is claimable. Claimable commission is an on-chain campaign allocation and comes from the campaigns endpoints; this is the off-chain ledger of what is owed.
get/api/v1/referrals/commissions
Request
- Base URLhttps://api.mainnet.aptoslabs.com/decibel
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
affiliate_accountstring required
The affiliate's wallet address (not a subaccount address)
daysinteger
Trailing UTC days of daily breakdown to return. Defaults to 30, clamped to 180.
Response
The affiliate's accrued commission
Changes
- info
endpoint added
- info