cryptocadet
  • 👋Welcome
  • Admin API
    • /admin/gen-ref
    • /admin/update-ref
    • /admin/gen-ref-sol
    • /admin/update-ref-sol
    • /admin/update-watchlist
    • /admin/cancel-subscription
    • /admin/update-walletAddress
    • /admin/update-solAddress
    • /admin/update-pubKey
    • /admin/update-secretKey
  • User API
    • /user/get-user
    • /user/get-ref
    • /user/options
    • /user/get-proxy
    • /user/config
    • /user/price
    • /user/customPrice
Powered by GitBook
On this page
  1. User API

/user/get-ref

Returns the wallet address and referral percentage of the referral code.

await axios.post(`https://api.cryptocadet.app/api/user/get-ref`, {
apiKey,
refCode
})

apiKey: Vxusewjwhjwrhkwwj181ksl

refCode: 84xh24p

Status: 200

Data: {walletAddress, percent}

Previous/user/get-userNext/user/options

Last updated 10 months ago