Get total earnings for user by date
Returns the summed total rewards earnings for a user on a provided day, grouped by asset address.
Requires CLOB L2 Auth headers.
Authorizations
Your API key
Ethereum address associated with the API key
HMAC signature of the request
API key passphrase
Unix timestamp of the request
Query Parameters
Date in YYYY-MM-DD format
Signature type for address derivation (required for API KEY auth):
- 0: EOA
- 1: POLY_PROXY
- 2: POLY_GNOSIS_SAFE
0, 1, 2 Maker address to query earnings for
If true, aggregates both native and sponsored earnings
Response
Successfully retrieved total user earnings
Date of the earnings
Address of the reward asset
Address of the maker
Total amount of earnings in the asset
Exchange rate of the asset
Native rewards included in the total, when the breakdown is returned
Sponsored rewards included in the total, when the breakdown is returned