How this differs from cost-effective incentives

- Tickets purchased as a cost-effective incentive are 1 in 1,000,000
- Free to Play entries can vary. If we have 1,000 free to play entries, odds for a free to play entry to win is 1 in 1,000,000,000 (1/000000 * 1/1000).
Eligibility Rules
Frequency
A wallet is eligible to enter if:- It has no entry in the current active jackpot round, or
- Its last entry (any round) was at least 6 hours ago.
Geo-Blocking
These countries need to be blocked: https://docs.megapot.io/appendix/faq#what-regions-are-geoblockedSybil Attack Protection
World mini app
Only verified humans should be eligible on World mini app. The sign-in implementation of World can get the verification level.Farcaster and Base mini app
Only users with > 0.6 Neynar score should be eligible.Authentication
All API requests require a valid API key. Please reach out to @patricklung on Telegram or @pl on Farcaster to get an API key. Include your API key in one of these ways: Header Method (Recommended) For example:API Endpoints
Check eligibility
GET/api/v1/giveaways/daily-ticket-pool/{walletAddress}
Check eligibility for the provided wallet.
Response 200:
- 400 Invalid wallet address
- 403 Forbidden (not in giveaways allowlist)
- 500 Internal error
Check eligibility and claim an entry
POST/api/v1/giveaways/daily-ticket-pool/{walletAddress}
Check eligibility and, if eligible, insert an entry for the active round.
Request Body (optional):
refBypass(boolean): Whentrue, bypasses the standard eligibility check and issues a free entry for the active round.- An active jackpot round is still required. If none exists, the request returns
400with{"error":"No active jackpot round"}. - API key and giveaways allowlist are still enforced.
- Accepted values:
true/falsebooleans; also accepts string/number equivalents ("true","1",1).
- An active jackpot round is still required. If none exists, the request returns
- 400 Invalid wallet address or no active round
- 403 Forbidden (not in giveaways allowlist)
- 500 Internal error
Active Round
GET/api/v1/daily-ticket-pool/active-round
Returns the active round id, latest pool transaction (if any), all entries for the round, and totalEntries for the round.
Example Request:
- Returns
{ "message": "No active round" }with status 200 if there is no active round.
Active Round (Wallet Filter)
GET/api/v1/daily-ticket-pool/active-round/{walletAddress}
Returns the active round id, latest pool transaction (if any), entries for the provided wallet only, and totalEntries for the round (not filtered by wallet).
Parameters:
walletAddress(path parameter): Ethereum wallet address
Latest Completed Round
GET/api/v1/daily-ticket-pool/round
Returns latest completed round data: pool transaction, entries, totalEntries, and winner.
Example Request:
Specific Round
GET/api/v1/daily-ticket-pool/round/{roundId}
Returns a specific round’s pool transaction, entries, and totalEntries. Includes winner only if the round is not active.
Parameters:
roundId(path parameter): Jackpot round id
Specific Round (Wallet Filter)
GET/api/v1/daily-ticket-pool/round/{roundId}/{walletAddress}
Returns a specific round’s pool transaction and entries for the provided wallet address only, plus totalEntries for the round (not filtered by wallet). Includes winner only if the round is not active.
Parameters:
roundId(path parameter): Jackpot round idwalletAddress(path parameter): Ethereum wallet address
Wallet Entries (All Rounds)
GET/api/v1/daily-ticket-pool/{walletAddress}
Returns all Daily Ticket Pool entries for the provided wallet across rounds.
Parameters:
walletAddress(path parameter): Ethereum wallet address
Error Codes
Usage Examples
JavaScript/Node.js
Best Practices
- Validate wallet addresses before making API calls
- Implement appropriate error handling for all possible response scenarios
- Secure your API keys; avoid exposing them in client-side code or public repositories
- Implement rate limiting to avoid overwhelming the API
