Analytics

Get Distributor TVL

Changed on

TVL time-series attributed to a distributor (builder code), with optional top wallets.

get/v2/metrics/distributor/{distributorId}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

distributorIdstring required

Distributor ID (builder code)

Query parameters

startDatestring date-time required

Start of range (RFC 3339)

endDatestring date-time required

End of range (RFC 3339)

stepinteger nullable

Bucket size in seconds (default 900)

opportunityIdsUuidUUID[] nullable

Optional opportunity UUID filter

[
  "248df4b7-aa70-47b8-a036-33ac447e668d"
]
productIdsUuidUUID[] nullable

Optional product UUID filter

[
  "248df4b7-aa70-47b8-a036-33ac447e668d"
]
includeTopWalletsboolean

Include the top 50 wallets by attributed TVL

Response

OK

Example response

{
  "asOf": [
    {
      "opportunityId": "248df4b7-aa70-47b8-a036-33ac447e668d"
    }
  ]
}

Changes