Referrals
Get a referrer's sub-affiliates
Changed onDirect referrals who went on to refer others, with their downline size and that downline's window volume. Carries no override amounts: the accrual ledger they would come from does not exist yet.
get/api/v1/referrals/sub-affiliates
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 the network-volume column covers. Defaults to 30, clamped to 90.
limitinteger
Sub-affiliates per page. Defaults to 25, clamped to 200.
offsetinteger
Sub-affiliates to skip. Clamped to 10000.
Response
Sub-affiliate totals and a page of rows
Changes
- info
endpoint added
- info