Merkl Developer Portal logo
get

/v4/campaigns/{id}/storing-ids

Get the storingId(s) backing a campaign as a tree. The root node's storingIds belong to the campaign itself, and its subCampaigns array recursively lists every sub-campaign. The same storingId may appear in more than one node. Stateless campaigns return an empty storingIds array.

Path parameters

idstring
required

Campaign ID: the numeric hash of {distributionChainId}{campaignId}, or the composite {distributionChainId}-{campaignId}.

Responses

200
Response for status 200
Schema
object
campaignIdstring
required
Onchain campaign id
storingIdsstring[]
required
Indexing storingId(s) owned by this campaign only (not children's).
subCampaignsany[]
required
Direct sub-campaign nodes; [] for leaves. Always present.
Example
{
  "campaignId": "string",
  "storingIds": [
    "string"
  ],
  "subCampaigns": [
    null
  ]
}