
post
/v4/config/encode
Beta feature (not production ready yet) - Encodes campaign parameters into the transaction payload used to create the campaign on-chain.
Query parameters
extendbooleandefault: falseWhether you want to also extend configs to test it works
signerAddressstringAddress of the wallet signing the campaign creation. Used as the address for the feeRebate lookup; falls back to config.creator when omitted or null.
Request body
post
https://api.merkl.xyz/v4/config/encode?extend=curl -X POST "https://api.merkl.xyz/v4/config/encode?extend=false"
Live request: this will call https://api.merkl.xyz/ for real.