Skip to main content
Version: pre-release (v0.78)

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.

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 deprecated (string)
    referralDiscountFactors object

    Referral discount factors for the various fees.

    infrastructureDiscountFactor string

    Proportion of the referee's infrastructure fee to be discounted.

    liquidityDiscountFactor string

    Proportion of the referee's liquidity fee to be discounted.

    makerDiscountFactor string

    Proportion of the referee's maker fee to be discounted.

    referralRewardFactor deprecated (string)
    referralRewardFactors object

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

    infrastructureRewardFactor string

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

    liquidityRewardFactor string

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

    makerRewardFactor string

    Proportion of the maker fees to be rewarded.

    tierNumber uint64

    The tier number. It's set by the core, and used in the party fee stats API.

  • ]
  • 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...