Skip to main content
GET
/
protocols
/
lending
/
aave
/
execute
/
chains
Get enabled chains for AAVE deposits
curl --request GET \
  --url http://localhost:4000/v1/protocols/lending/aave/execute/chains \
  --header 'Authorization: <api-key>'
{
  "mainnets": [
    {
      "chainId": 43114,
      "name": "Avalanche Mainnet",
      "isTestnet": false
    }
  ],
  "testnets": [
    {
      "chainId": 43113,
      "name": "Avalanche Fuji Testnet",
      "isTestnet": true
    }
  ],
  "testnetsEnabled": true
}

Authorizations

Authorization
string
header
required

Use this format: ApiKey <your_api_key>

Response

200 - application/json

List of enabled chains

mainnets
object[]
testnets
object[]
testnetsEnabled
boolean
Example:

true