Historical

Campaign reward diff between two trees (BETA)

Historical Campaign Diff<p>Computes the difference in reward breakdowns for a given campaign between two merkle trees. Each tree is selected either by date (closest root on or before the date, via <code>startDate</code>/<code>endDate</code>) or by an explicit root hash (<code>startRoot</code>/<code>endRoot</code>). Returns per-recipient, per-reason breakdown diffs with non-zero changes only.</p><p><strong>Authentication:</strong> Requires a valid API key passed via the <code>Authorization</code> header.</p><p>⚠️ <strong>Beta:</strong> this endpoint is in beta. The behavior, response shape and data format may change at any time without notice. Historical data is only available from the configured cutoff date onwards.</p>

get/v4/historical/campaign/{campaignId}

Request

  • Base URL: https://api.merkl.xyz (the document declares no server; this is the origin it was published from)
  • URL: https://api.merkl.xyz/v4/historical/campaign/{campaignId}
  • Auth: apiKey (a scheme the document does not define)

Path parameters

campaignIdstring required

Query parameters

string numeric required
OR
number required
startDatestring

ISO date or unix timestamp. One of startDate or startRoot required.

endDatestring

ISO date or unix timestamp. One of endDate or endRoot required.

startRootstring

Start merkle root hash. One of startDate or startRoot required.

endRootstring

End merkle root hash. One of endDate or endRoot required.

Response

Response for status 200

Changes

No recorded changes to this operation across all 36 revisions of this API.