POST /clearing/claim
A net creditor claims its net credit from the ClearingHouse once the cycle’s debtors have paid, or once unpaid debits have been taken from collateral. This endpoint submits claimNetCreditFor and pays the gas. The request carries no signature: the payout goes to creditor for the amount the committed Merkle leaf fixes, so the caller can only choose which claim is submitted.
Send cycleId to claim one cycle. Leave it out and the facilitator claims every open credit the creditor has, up to 20 cycles in one call.
POST /clearing/claim/verify takes the same body with cycleId required, runs every check without broadcasting, and answers with the /verify response shape.
Request body
CAIP-2 network ID. When omitted, the facilitator uses the first network it serves whose core knows the cycle or holds an open credit. Send it.
The cycle’s text ID:
cycle_id_text from GET /core/participants/{participant}/positions. Omit to claim every open credit.Responses
Every request the facilitator can parse returns200. Read success.
For a call without
cycleId, true means the sweep ran. Read each entry of claims for its own outcome.Single claim only. The committed net credit, in base units. In a cycle marked as a shortfall the on-chain payout can be a pro rata share of this.
claimed, already_claimed, cycle_finalized, not_claimable_yet, or a reason code from the table below.