Referral Manager
Learn how to earn referral rewards for each mint when you display Highlight projects on your site
API url: https://api.highlight.xyz:8080/
Graphql query:
mutation ClaimMintTo($data: MintClaimInput!, $vectorId: String!) {
claimMintTo(data: $data, vectorId: $vectorId) {
contract {
chainId
address
args
method
value
gasLimit
}
}
}
where MintClaimInput = {
numTokensToMint: number;
referrer?: string; // here's where you'd pass the referrer address
mintData?: string; // you can ignore this field
}Last updated