Skip to main content
Version: mainnet (v0.75)

Get current referral program

GET 

/api/v2/referral-programs/current

Get the current referral program for the network. This program may not be active if it has ended and has not been replaced by another.

Request

Responses

A successful response.

Schema
    currentReferralProgram object

    Referral program currently activated on the network.

    benefitTiers object[]

    Defined tiers in increasing order. First element will give Tier 1, second element will give Tier 2, and so on.

  • Array [
  • minimumEpochs string

    Required number of epochs a party must have been in a referral set to access this tier.

    minimumRunningNotionalTakerVolume string

    Required running notional taker volume in quantum units for parties to access this tier.

    referralDiscountFactor string

    Proportion of the referee's taker fees to be discounted.

    referralRewardFactor string

    Proportion of the referee's taker fees to be rewarded to the referrer.

  • ]
  • endOfProgramTimestamp int64

    Timestamp in Unix nanoseconds, after which when the current epoch ends, the program will end and benefits will be disabled.

    endedAt int64

    Timestamp, in Unix nanoseconds, when the program ended.

    id string

    Unique ID generated from the proposal that created this program.

    stakingTiers object[]

    Defined benefit tiers ordered by increasing reward multiplier. Determines the level of benefit a party can expect based on their staking.

  • Array [
  • minimumStakedTokens string

    Required number of governance tokens ($VEGA) a referrer must have staked to receive the multiplier.

    referralRewardMultiplier string

    Multiplier applied to the referral reward factor when calculating referral rewards due to the referrer.

  • ]
  • version uint64

    Incremental version of the program. It is incremented after each program update.

    windowLength uint64

    Number of epochs over which the referral set's running volume is evaluated.

Loading...