Referrals
Get trading activity of a referrer's referred clients
Changed onPer-level window totals plus a page of direct (L1) referrals, each carrying the L2 clients it referred. Carries no commission figures: the accrual ledger those would come from does not exist yet.
get/api/v1/referrals/activity
Request
- Base URLhttps://api.mainnet.aptoslabs.com/decibel
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
referrer_accountstring required
The referrer's wallet address (not a subaccount address)
daysinteger
Trailing UTC days to cover. Defaults to 14, clamped to 90.
limitinteger
Direct (L1) clients per page. Defaults to 25, clamped to 200.
offsetinteger
Direct (L1) clients to skip. Clamped to 10000.
Response
Referral activity summary and client page
Changes
- info
endpoint added
- info