Referrals
Get the builder fees an owner collected
Changed onAll-time total plus a daily series over the window, for fills whose builder_code is one of the owner's subaccounts. Perps only.
get/api/v1/referrals/builder-fees
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 builder's wallet address (not a subaccount address). Named like the other referral reads so the web backend's passthrough injects it the same way.
daysinteger
Trailing UTC days for the daily series. Defaults to 30, clamped to 90.
Response
Builder fees collected by the owner
Changes
- info
endpoint added
- info