Create a new campaign and deploy it onchain
Authorization header using the Bearer scheme. Learn more about JWT tokens in the Coinbase Developer Portal.
Unique identifier to ensure request idempotency
Blockchain network identifier
8453
Address that will own the campaign
"0x1234567890123456789012345678901234567890"
Reward percentage applied to the reward operations (1-10000, cannot be 0). Only applicable for CAMPAIGN_TYPE_CASHBACK_REWARDS.
500
Type of campaign. Defaults to CAMPAIGN_TYPE_CASHBACK_REWARDS if not provided.
CAMPAIGN_TYPE_CASHBACK_REWARDS "CAMPAIGN_TYPE_CASHBACK_REWARDS"
Optional list of maximum reward amounts for specific tokens. Only applicable for CAMPAIGN_TYPE_CASHBACK_REWARDS.
[
{
"tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "100.00"
}
]Optional immutable maximum reward percentage applied to the smart contract (0-10000). Defaults to 10000 (no cap) if not provided. Only applicable for CAMPAIGN_TYPE_CASHBACK_REWARDS.
1000
A successful response.
The deployed campaign contract address
"0xabcdefabcdefabcdefabcdefabcdefabcdefabcd"