Skip to Content
Anuma SDKClientInternalFunctionsgetReferralRewards

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 ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options?

Options<GetReferralRewardsData, ThrowOnError, unknown>

Returns

RequestResult<GetReferralRewardsResponses, GetReferralRewardsErrors, ThrowOnError>

Last updated on