Manage referral codes for the UniDex platform
getCodeInfo
: Get information about a referral codeclaimCode
: Generate calldata to claim a referral code{"error": "Missing action"}
){"error": "Missing code"}
){"error": "Missing code or userAddress"}
){"error": "Invalid userAddress"}
){"error": "Referral code is already claimed"}
)Successful response
The response is of type object
.