post

/v4/config/decode/args/createCampaign

Decodes arguments of the create campaign function back to the original campaign configuration.

Request body

object
distributionChainIdnumber | string
required
Chain ID where the campaign is being created
argsany
required
Arguments of the call to the createCampaign function

Responses

200
Response for status 200
Schema
any
Example
null
post
https://api.merkl.xyz/v4/config/decode/args/createCampaign
Merkl API
curl -X POST "https://api.merkl.xyz/v4/config/decode/args/createCampaign" \
  -H "Content-Type: application/json" \
  -d '{ "distributionChainId": 0, "args": null }'
Current params
{
  "body": {
    "distributionChainId": 0,
    "args": null
  }
}
Live request — this will call https://api.merkl.xyz/ for real.