getReferralRewards
getReferralRewards<
ThrowOnError>(options?:Options<GetReferralRewardsData,ThrowOnError,unknown>):RequestResult<GetReferralRewardsResponses,GetReferralRewardsErrors,ThrowOnError>
Defined in: src/client/sdk.gen.ts:2012
Your referral rewards
The authenticated account’s own People Nearby referral rewards: total earned, owed and sent in whole ZETA, the individual grants, and whether a payout can currently reach this account. All amounts are decimal strings because aZETA exceeds the precision of a JSON number. An account that has earned nothing gets 200 with zeros and an empty list.
Type Parameters
| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<GetReferralRewardsResponses, GetReferralRewardsErrors, ThrowOnError>