Skip to main content
GET
Referral Config

Endpoint

GET /api/referrals/config Returns the EIP-712 domain values and the standard reward rates. Probe this endpoint to detect whether referrals are enabled on a deployment. Any non-200 means the feature is unavailable there. Read chainId and distributor from here at runtime rather than hardcoding them.

Usage Example

Response Structure

The generated API panel lists the response schema for status codes: 200, 503. Error responses return an error field.

Response

Successful response

result
object