Skip to main content
GET
Get earnings for user by date

授权

POLY_API_KEY
string
header
必填

Your API key

POLY_ADDRESS
string
header
必填

Ethereum address associated with the API key

POLY_SIGNATURE
string
header
必填

HMAC signature of the request

POLY_PASSPHRASE
string
header
必填

API key passphrase

POLY_TIMESTAMP
string
header
必填

Unix timestamp of the request

查询参数

date
string<date>
必填

Date in YYYY-MM-DD format

signature_type
enum<integer>

Signature type for address derivation (required for API KEY auth):

  • 0: EOA
  • 1: POLY_PROXY
  • 2: POLY_GNOSIS_SAFE
可用选项:
0,
1,
2
maker_address
string

Maker address to query earnings for

sponsored
boolean
默认值:false

If true, returns sponsored-only earnings

next_cursor
string

Pagination cursor from previous response

响应

Successfully retrieved user earnings

Paginated list of user earnings

limit
integer
必填

Maximum number of items per page

count
integer
必填

Number of items in the current response

next_cursor
string
必填

Cursor for the next page. "LTE=" indicates the last page.

data
object[]
必填