Integrate Fibrous SDK
Supported Protocols
Fetch a list of protocols supported by Fibrous Finance api
The supportedProtocols
function returns a list of protocols (AMMs) that are supported by Fibrous Finance on a specific chain.
Function Signature
Example Usage
Parameters
Parameter | Type | Description |
---|---|---|
chainName | string | The chain name to get supported protocols for (e.g., “starknet”, “scroll”, “base”) |
Response
Returns a Promise that resolves to a Record mapping protocol names to their IDs. The response includes: