import { useClient } from "@alphscan/sdk-react";
function MyComponent() {
const client = useClient();
const handleFetch = async () => {
const { tokens } = await client.token.list({ page: 1, pageSize: 10 });
const { plans } = await client.plan.list();
};
return <button onClick={handleFetch}>Fetch</button>;
}