Skip to main content

Events for dETH minted from balance report

Events are data points created every time something happens within the protocol. Every time a new house is created, a new KNOT created, dETH minted, SLOT slashed and more, this is the data feed for parsing what happned where.
Let's query all of the times dETH was minted from a balance report:

{
events(where: {
key: "DETH_REWARDS_MINTED"
}, orderBy: blockNumber, orderDirection: desc) {
id
blockNumber
blsPubKeyForKnot
key
value
}
}

Here's the output for the above query:

{
"data": {
"events": [
{
"id": "0x3c050cf3774c8e3abc7ad0d1e6ad0efb304d5f4dcede85a9915cc2305cc42295",
"blockNumber": "6678539",
"blsPubKeyForKnot": "0xb933b8813a8f8ca2b61f8852bad7cd63d16f54107ac4303d2a1c6378cff200d6662f1ed8efb870400e4c803d44957fdc",
"key": "DETH_REWARDS_MINTED",
"value": "41532762000000000"
},
{
"id": "0x1d21fc7331b98f963f3c3c2341fbf03e1e92baf35701daf753a75c83bdce0ff6",
"blockNumber": "6678538",
"blsPubKeyForKnot": "0xb9180b1c0138f7cdedec643b9272787c15ef26fba3ba586e00986652c8d1d79050b1f1d0114394376b997dc154b9e9ac",
"key": "DETH_REWARDS_MINTED",
"value": "47989473000000000"
}
]
}
}