Function getProtocolInfoByName

Retrieves protocol information for a specific protocol by its name.

const info = getProtocolInfoByName('Uniswap', 'api-key');
  • Parameters

    • protocolName: Protocol

      The name of the protocol to get information for

    • theGraphApiKey: string

      The Graph API key for accessing protocol data

    Returns undefined | ProtocolInfo

    Protocol configuration and information