Wallet Protocol Earnings
Get wallet earnings in a protocol
Path Parameters
- protocolCode string requiredExample: uniswap-v2
- walletAddress string requiredExample: 0x0b6971e7d1edf1dfe4d501151d59a1f7ee30651e
Query Parameters
- startDate string requiredExample: 2022-01-01
- endDate string requiredExample: 2022-03-31
Responses
- 200
200 response
- application/json
- Schema
- Example (from schema)
Schema
- walletAddress string
- startDate string
- endDate
- lifetimeEarnings number
- protocolCode string
- poolAddress
dailyEarnings object[]
date stringpoolName stringpoolAddress stringtransactionCountfeeEarnedInUSD numberfeeEarnedInToken
{
"walletAddress": "string",
"startDate": "string",
"endDate": {},
"lifetimeEarnings": 0,
"protocolCode": "string",
"poolAddress": {},
"dailyEarnings": [
{
"date": "string",
"poolName": "string",
"poolAddress": "string",
"transactionCount": {},
"feeEarnedInUSD": 0,
"feeEarnedInToken": {}
}
]
}