Morpho Rewards Emission
How to get the Rewards Emission data:
Query this endpoint: https://rewards.morpho.org/v1/programs
One will likely have this kind of output:
{
"data": [
{
"id": "0x2923a47dfacb9296e95586241349f77cbd7b48b992597011901080320cfe5957",
"creator": "0x0C2553e4B9dFA9f83b1A6D3EAB96c4bAaB42d430",
"start": "1714525200",
"end": "1717030800",
"created_at": "1713968975",
"blacklist": [],
"type": "market-reward",
"distributor": {
"id": "0x330eefa8a787552DC5cAd3C3cA644844B1E61Ddb-1",
"address": "0x330eefa8a787552DC5cAd3C3cA644844B1E61Ddb",
"chain_id": 1
},
"asset": {
"id": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0-1",
"address": "0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
"chain_id": 1
},
"market_id": "0x423cb007534ac88febb8ce39f544ab303e8b757f8415ed891fc76550f8f4c965",
"supply_rate_per_year": "37758620689655172413",
"borrow_rate_per_year": "0",
"collateral_rate_per_year": "0",
"chain_id": 1
},
{
"id": "0x961a5019e6ad194215cbce0e1fa02ffc3d3b7645e14907b69caea9e3f0c1f0ab",
"creator": "0xe02F8E39b8cFA7d3b62307E46077669010883459",
"start": "1714676400",
"end": "1719514800",
"created_at": "1714633439",
"blacklist": [],
"type": "market-reward",
"distributor": {
"id": "0x330eefa8a787552DC5cAd3C3cA644844B1E61Ddb-1",
"address": "0x330eefa8a787552DC5cAd3C3cA644844B1E61Ddb",
"chain_id": 1
},
"asset": {
"id": "0x31429d1856aD1377A8A0079410B297e1a9e214c2-1",
"address": "0x31429d1856aD1377A8A0079410B297e1a9e214c2",
"chain_id": 1
},
"market_id": "0xcc7b191903e4750ad71898a1594d912adbb5bb1c6effcde9c38f0a798112edd1",
"supply_rate_per_year": "1955357142857142857142857",
"borrow_rate_per_year": "0",
"collateral_rate_per_year": "0",
"chain_id": 1
},
...
]
}