
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
idstringrequired
Campaign ID: the numeric hash of {distributionChainId}{campaignId}, or the composite {distributionChainId}-{campaignId}.
Responses
200Response for status 200
Schema
object
campaignIdstringrequired
Onchain campaign idstoringIdsstring[]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
]
}get
https://api.merkl.xyz/v4/campaigns//storing-idscurl -X GET "https://api.merkl.xyz/v4/campaigns/7772424586270261909/storing-ids"