GET
/
v0
/
aave
/
historical_transactions
/
get
from compassapisdk import CompassAPISDK, models


with CompassAPISDK(
    api_key_auth="<YOUR_API_KEY_HERE>",
) as compass_api_sdk:

    res = compass_api_sdk.aave_v3.historical_transactions(chain=models.AaveHistoricalTransactionsChain.ARBITRUM_MAINNET, user_address="0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B")

    # Handle response
    print(res)
{
  "offset": 123,
  "limit": 123,
  "transactions": [
    {
      "id": "<string>",
      "timestamp": 123,
      "txHash": "<string>",
      "amount": 123,
      "borrowRateMode": 1,
      "reserve": {
        "symbol": "1INCH",
        "decimals": 123,
        "name": "<string>",
        "underlyingAsset": "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45"
      },
      "assetPriceUSD": 123,
      "action": "<string>",
      "block": 123
    }
  ]
}

Authorizations

x-api-key
string
header
required

Your Compass API Key. Get your key here.

Query Parameters

offset
integer
default:0

The offset of the first item to return.

limit
integer
default:100

The number of items to return.

chain
enum<string>
default:arbitrum:mainnet
required

The chain to use.

Available options:
base:mainnet,
ethereum:mainnet,
arbitrum:mainnet
user_address
string
default:0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B
required

The address of the user to get historical transactions for.

Response

200
application/json

Successful Response

Response model for getting Aave historical transactions.