Gets a list of supported protocols for a specific blockchain network.
const protocols = getProtocolsForChainId(1, 'api-key');// Returns ['Uniswap', 'Sushi', ...] for Ethereum mainnet Copy
const protocols = getProtocolsForChainId(1, 'api-key');// Returns ['Uniswap', 'Sushi', ...] for Ethereum mainnet
The numeric identifier of the blockchain network
The Graph API key for accessing protocol data
Array of protocol names supported on the specified chain
Gets a list of supported protocols for a specific blockchain network.
Example