import { claimERC20 } from "thirdweb/extensions/airdrop";
import { sendTransaction } from "thirdweb";
 
const tokenAddress = "0x..."; // Address of airdropped tokens to claim
const recipient = "0x..."; // Address of the allowlisted recipient
 
const claimTransaction = claimERC20({
  contract,
  tokenAddress,
  recipient,
});
 
await sendTransaction({ claimTransaction, account });