Skip to main content
Version: testnet (v0.73)

ReferralSet

Data relating to a referral set.

type ReferralSet {
id: ID!
referrer: ID!
createdAt: Timestamp!
updatedAt: Timestamp!
stats(
epoch: Int
referee: ID
): ReferralSetStats
}

Fields

ReferralSet.id ● ID! non-null scalar

Unique ID of the created set.

ReferralSet.referrer ● ID! non-null scalar

Party that created the set.

ReferralSet.createdAt ● Timestamp! non-null scalar

Timestamp as RFC3339Nano when the referral set was created.

ReferralSet.updatedAt ● Timestamp! non-null scalar

Timestamp as RFC3339Nano when the referral set was updated.

ReferralSet.stats ● ReferralSetStats object

Referral set statistics for the latest or specific epoch. If provided the results can be filtered for a specific referee

ReferralSet.stats.epoch ● Int scalar
ReferralSet.stats.referee ● ID scalar

Member of

ReferralSetEdge object