Referral
useGetReferralCode
Software Development Kits
[EVM] React Components SDK
- Overview
- Getting started
- Theming
- Wallet connect
- Framework Guides
- Page Components
- Block Components
[EVM] React Hooks SDK
[EVM] Core SDK
[EVM] Perp SDK
Referral
useGetReferralCode
Obtain referral code via account_id
.
const { referral_code, error, isLoading } = useGetReferralCode("<account_id>");