Merkl Developer Portal logo
get

/v4/leaves/{recipient}/debt

Returns the outstanding overdistribution clawback debt for an address, per (chain, token): owed, recovered so far, and remaining. Empty array if the address has no configured debt.

Path parameters

recipientstring
required

Wallet address to check outstanding clawback debt for

Responses

200
Response for status 200
Schema
object[]
chainIdnumber
tokensstring[]Reward tokens the debt is mutualized across
owedstringTotal shared debt in raw token units
recoveredstringAmount recovered so far across all the group's tokens, in raw units
remainingstringAmount still owed in raw token units (owed - recovered; negative if over-recovered)
Example
[
  {
    "chainId": 0,
    "tokens": [
      "string"
    ],
    "owed": "string",
    "recovered": "string",
    "remaining": "string"
  }
]