Gets the protocol configuration for a given beacon identifier.
const config = getProtocolConfigByBeacon('uniswap', 'api-key'); Copy
const config = getProtocolConfigByBeacon('uniswap', 'api-key');
The beacon identifier string
The Graph API key for accessing protocol data
The protocol configuration object or null if not found
Gets the protocol configuration for a given beacon identifier.
Example