/admin/gen-ref

Generates a new referral code for a given wallet address. Remember to replace parameters with your own values.

await axios.post(`https://api.cryptocadet.app/api/admin/gen-ref`, {
apiKey, 
secretKey, 
walletAddress, 
percent, 
uid
})

apiKey: Vxusewjwhjwrhkwwj181ksl

secretKey: sk-wwh284h2ksjfshshshsjh

walletAddress: 0x2jskEWGJkjd1384haah04716jx000

percent: 3

uid: XP27shj24190ws

Last updated