GET
/
v1
/
aave
/
historical_transactions
Typescript (SDK)
import { CompassApiSDK } from "@compass-labs/api-sdk";

const compassApiSDK = new CompassApiSDK({
  apiKeyAuth: "<YOUR_API_KEY_HERE>",
});

async function run() {
  const result = await compassApiSDK.aaveV3.aaveHistoricalTransactions({});

  console.log(result);
}

run();
{
  "offset": 123,
  "limit": 123,
  "transactions": [
    {
      "id": "<string>",
      "timestamp": 123,
      "txHash": "<string>",
      "amount": 1,
      "borrowRateMode": 1,
      "reserve": {
        "symbol": "1INCH",
        "decimals": 123,
        "name": "<string>",
        "underlyingAsset": "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45"
      },
      "assetPriceUSD": 1,
      "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.

Required range: 0 < x <= 1000
chain
enum<string>
default:base
required
Available options:
arbitrum,
base,
ethereum
user_address
string
default:0x3254f3b1918637ba924e3F18968Cb74219974b63
required

The address of the user to get historical transactions for.

Response

200
application/json

Successful Response

Response model for getting Aave historical transactions.