Retrieves detailed protocol information for a specific blockchain network.
const protocols = getProtocolInfoByChainId(1, 'api-key');// Returns array of protocol details for Ethereum mainnet Copy
const protocols = getProtocolInfoByChainId(1, 'api-key');// Returns array of protocol details for Ethereum mainnet
The numeric identifier of the blockchain network
The Graph API key for accessing protocol data
Array of protocol details supported on the specified chain
Retrieves detailed protocol information for a specific blockchain network.
Example