Generating subgraph studio api key

  1. Go on subgraph studio and connect your wallet and complete the account creation flow if it's the first time. If not connect a wallet that already has an account

  2. Sign the message from your wallet to verify ownership

  3. Click on "API Keys"

  4. Create a new api key

  5. Give your API key a name and then set the spending limit

  6. Copy the API key and pass it in the subgraphApiKey prop in the widget

  7. You can additionally add a whitelisted domain list so the key only works on specific domains

Last updated