š§° API Integrations
š¦ DefiLlama
Open and transparent DeFi analytics
DefiLlama is the largest TVL aggregator for DeFi (Decentralized Finance). Our data is fully open-source and maintained by a team of passionate individuals and contributors from hundreds of protocols.
Integration
- Demo: turboeth.xyz/integration/defi-llama
- Code: github.com/turbo-eth/template-web3-app/tree/integrations/integrations/defi-llama
Folder Structure:
integrations/defi-llama/
āā components/
ā āā form-chart.tsx
ā āā form-current-price.tsx
ā āā form-historical-price.tsx
ā āā form-percentage-change.tsx
ā āā index.ts
ā āā output-data.tsx
āā hooks/
ā āā coins/
ā ā āā index.ts
ā ā āā use-chart.ts
ā ā āā use-current-token-price.ts
ā ā āā use-historical-token-price.ts
ā ā āā use-token-percentage-change.ts
āā utils/
ā āā index.ts
ā āā types.ts
āā index.ts
āā README.md