Skip to main content
GET
Tagged KLend flow totals of a memo code, grouped by groupBy

Path Parameters

code
string
required

Distributor code, matched case-insensitively

Required string length: 5
Example:

"ex4mp"

Query Parameters

newWalletsOnly
enum<string>
default:false

Only wallets with no recorded capital flow on any product before their first flow tagged with this code (historyStatus no-prior-recorded). Also accepts other truthy/falsy strings such as "1"/"0", "yes"/"no", "on"/"off".

Available options:
true,
false
includeFirstRecordedFlows
enum<string>
default:false

/wallets only: add firstRecordedFlows, each wallet's first recorded flow per product. It reads the wallet's whole flow history, so limit is at most 25. Also accepts other truthy/falsy strings such as "1"/"0", "yes"/"no", "on"/"off".

Available options:
true,
false
wallet
string

Valid base58-encoded address

Example:

"VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd"

groupBy
enum<string>
default:day
Available options:
day,
week,
month,
market,
kind
minDepositUsd
number | null
Required range: x >= 0
limit
integer
default:25
Required range: 1 <= x <= 100
paginationToken
string
Maximum string length: 2048
start

Date input (ISO 8601 string or epoch in ms)

Example:

"2024-01-01T00:00:00.000Z"

end

Date input (ISO 8601 string or epoch in ms)

Example:

"2024-01-01T00:00:00.000Z"

Response

OK

result
object[]
required