Get available protocols

Learn how to List available protocols

Description

Sentry supports many protocols. To list available protocols, the following route can be used.

Endpoint

GET https://sentry.aleno.ai/protocols

Query parameters

NamerequiredTypeDescription

chainId

required

string

ID of target chain

Payload

No payload.

CURL example

curl -X GET \
  'https://sentry.aleno.ai/protocols?chainId=eth' \
  -H 'accept: application/json'

Result

Returns list of Protocol objects supported on Sentry.

{
    "data": [
        {
            "id": "uniswap_v3",
            "chainId": "eth",
            "baseProtocolId": "uniswap_v3",
            "name": "Uniswap V3"
        },
        {
            "id": "uniswap_v2",
            "chainId": "eth",
            "baseProtocolId": "uniswap_v2",
            "name": "Uniswap V2"
        },
        {
            "id": "curve",
            "chainId": "eth",
            "baseProtocolId": "curve",
            "name": "Curve"
        },
        {
            "id": "balancer_ethereum",
            "chainId": "eth",
            "baseProtocolId": "balancer_ethereum",
            "name": "Balancer"
        },
        {
            "id": "sushiswap",
            "chainId": "eth",
            "baseProtocolId": "uniswap_v2",
            "name": "SushiSwap V2"
        },
        ...
    ]
}

Last updated