Checks if a protocol is an Algebra protocol based on its subgraph URL.
The subgraph URL to check
The Graph API key for accessing protocol data
True if the protocol is an Algebra protocol, false otherwise
const isAlgebra = isAlgebraProtocolBySubgraph('https://api.thegraph.com/...', 'api-key'); Copy
const isAlgebra = isAlgebraProtocolBySubgraph('https://api.thegraph.com/...', 'api-key');
Checks if a protocol is an Algebra protocol based on its subgraph URL.