Skip to content

corndao/aave-data-service

Repository files navigation

Data Service for AAVE BOS Component

AAVE NEAR BOS: https://near.org/aave-v3.near/widget/AAVE

Run locally

  • yarn i
  • yarn start
  • App server will run on localhost:8080

Deploy to cloudflare pages

  • yarn deploy

Support Chains

  • Ethereum Mainnet (1)
  • Arbitrum One (42161)
  • Polygon Mainnet (137)
  • ZkEVM Testnet (1442)

APIs

  • markets

    • GET /:chainId/markets
    • Get all available AAVE markets
    • chainId: AAVE supported chain ID
  • deposits

    • GET /:chainId/deposits/:user
    • Get user deposits
    • chainId: AAVE supported chain ID
    • user: user address
  • debts

    • GET /:chainId/debts/:user
    • Get user debts
    • chainId: AAVE supported chain ID
    • user: user address
  • health factor

    • GET /:chainId/health/:user
    • Estimate user's new health factor after certain action
    • chainId: AAVE supported chain ID
    • user: user address
    • query params
      • action: deposit | withdraw | borrow | repay
      • amount: token USD value
      • asset: token address

Releases

No releases published

Packages

No packages published

Languages