Function getProtocolConfigByBeacon

Gets the protocol configuration for a given beacon identifier.

const config = getProtocolConfigByBeacon('uniswap', 'api-key');
  • Parameters

    • beacon: string

      The beacon identifier string

    • theGraphApiKey: string

      The Graph API key for accessing protocol data

    Returns undefined | null | ProtocolInfo

    The protocol configuration object or null if not found