Admin

Add campaign participants

Changed on

Call setParticipants(wallets, true). The participant sync would enroll whitelisted wallets on its own within a tick; this is for enrolling immediately, or for a wallet that is not in the whitelist. Rejects the whole request if any wallet is malformed, since the contract reverts the whole batch.

post/admin/campaign/participants/add

Request

Request body

walletsstring[]

Response

A successful response.

tx_hashstring
already_setstring[]

Wallets already enrolled before this call. They are still sent: setParticipants is idempotent, and the contract reverts the whole batch on a zero address, not on a repeat.

Changes