> ## Documentation Index
> Fetch the complete documentation index at: https://docs.amberdata.io/llms.txt
> Use this file to discover all available pages before exploring further.

# DeFi Transactions

# Definition

DeFi Transaction features provide in-depth views of lending protocols and the way they operate.

[**Protocol**](/http/defi/lending-protocol): Shows what is happening in the protocol over a fixed period. This may include:

* Protocol actions (collateral, deposits, repays, borrows, withdraws, liquidations)
* Asset IDs, asset symbols, or markets
* Borrow Rates or Debts
* Wallet addresses of the user or repayer.

  ***

[**Asset/Pool**](/http/defi/lending-assets): Retrieves information about all of the actions that occurred for a specific asset on a protocol within a certain period. This may include:

* Asset actions (collateral, deposits, repays, borrows, withdraws, liquidations)
* User
* Swaps or mints
* Amount of token(s)

***

[**Wallet**](/http/defi/lending-wallets): Retrieves information about the actions taken by a specific wallet/user on the protocol within a certain period. This may include:

* Wallet actions (collateral, deposits, repays, borrows, withdraws, liquidations)
* Borrow Rates or Debts
* Transaction amounts
* Asset IDs, asset symbols, or markets

***

[**Governance:**](/http/defi/lending-governance) Retrieves information about the governance actions that occurred for the protocol within a period. This may include:

* Vote support (true or false)
* Voting Power
* User
* Proposal ID or description

***

# Details

Not every lending protocol has every lens, and different exchanges may use differing terminology. For example, the **Asset lens for Aave** is the structural equivalent of the **Pool lens for Uniswap v2**, since Uniswap uses asset pairs (asset\_asset) to create a pool.

***

# API Endpoints

[/defi/lending/\{protocolId}/protocol](/http/defi/lending-protocol)

[/defi/lending/\{protocolId}/assets/\{asset}](/http/defi/lending-assets)

[/defi/lending/\{protocolId}/wallets/\{walletAddress}](/http/defi/lending-wallets)

[/defi/lending/\{protocolId}/governance](/http/defi/lending-governance)

***

# Availability

DeFi Lens endpoints are available via REST API for historical (time series) data, which goes back to the creation date of the lending protocol.

***

***
