MadFi
Search
K

Bounties

Get a list of all open MadFi bounties
Returns all the open bounties where the sponsor had a lens handle and created a lens post to promote (not all bounties are created by lens profiles, and not all bounties have an associated lens post)

GET /bounties

https://api.madfi.xyz/prod/bounties
Example response:
[
{
"handle": "carlosbeltran.lens",
"ownedBy": "0x28ff8e457feF9870B9d1529FE68Fbb95C3181f64",
"publicationId": "0x01a6-0x0120",
"bountyURL": "https://creators.madfinance.xyz/bounties/6413b80021a8053bc227e559",
"reward": 5,
"rewardRemainingPct": 0.2,
"rewardToken": {
"address": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
"symbol": "USDC"
},
"createdAt": 1679013887666,
"id": "6413b80021a8053bc227e559"
}
]
key
type
description
ownedBy
string
the address that owns the handle
publicationId
string
the lens publication id for the bounty’s associated post in format profileId-pubId
bountyURL
string
the URL to the bounty on the MadFi platform
reward
number
the decimal value for the reward for each accepted bid
rewardRemainingPct
number
the float representation for the remaining rewards of the total budget (ex: 0.2 = 20% remaining)
rewardToken
object
the address and symbol for the reward token (always on polygon)
createdAt
number
the UTC timestamp for when the bounty was created
id
string
the MadFi internal id for the bounty