diff --git a/apis/whitelist.ts b/apis/whitelist.ts
new file mode 100644
index 00000000..36ee2e1f
--- /dev/null
+++ b/apis/whitelist.ts
@@ -0,0 +1,14 @@
+import { WHITE_LIST_API } from 'utils/constants'
+
+export type WhiteListedResp = {
+ found: boolean
+}
+
+export const fetchIsWhiteListed = async (wallet: string) => {
+ const data = await fetch(`${WHITE_LIST_API}isWhiteListed?wallet=${wallet}`)
+ const body = await data.json()
+ if (body.error) {
+ throw { error: body.error, status: data.status }
+ }
+ return body.found
+}
diff --git a/components/rewards/RewardsPage.tsx b/components/rewards/RewardsPage.tsx
index 9e7040a2..17168b38 100644
--- a/components/rewards/RewardsPage.tsx
+++ b/components/rewards/RewardsPage.tsx
@@ -7,6 +7,7 @@ import Button, { LinkButton } from '@components/shared/Button'
import Modal from '@components/shared/Modal'
import { Disclosure } from '@headlessui/react'
import {
+ CheckIcon,
ChevronDownIcon,
ChevronRightIcon,
ClockIcon,
@@ -25,6 +26,8 @@ import SheenLoader from '@components/shared/SheenLoader'
import { abbreviateAddress } from 'utils/formatting'
import { PublicKey } from '@solana/web3.js'
import { useTranslation } from 'next-i18next'
+import { useIsWhiteListed } from 'hooks/useIsWhiteListed'
+import { XMarkIcon } from '@heroicons/react/24/outline'
export type RewardsLeaderboardItem = {
points: number
@@ -147,7 +150,7 @@ const Season = ({
const { t } = useTranslation(['common', 'rewards'])
const { wallet } = useWallet()
const [topAccountsTier, setTopAccountsTier] = useState('seed')
-
+ const { data: isWhiteListed } = useIsWhiteListed()
const {
data: walletRewardsData,
isFetching: fetchingWalletRewardsData,
@@ -197,7 +200,15 @@ const Season = ({
Season 1 starts in:{' '} - 4 days + 4 days +