# How do I tell if I've minted a block

**URL:** <https://forum.cardano.org/t/how-do-i-tell-if-ive-minted-a-block/59450>\
**Category:** Operate a Stake Pool\
**Created:** [1 May 2021 22:23 UTC](https://forum.cardano.org/t/how-do-i-tell-if-ive-minted-a-block/59450 "2021-05-01T22:23:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cardsfan7189](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/cardsfan7189/32/26736_2.png) [@cardsfan7189](https://forum.cardano.org/u/cardsfan7189)\
**Post date:** [1 May 2021 22:23 UTC](https://forum.cardano.org/t/how-do-i-tell-if-ive-minted-a-block/59450/1 "2021-05-01T22:23:04Z")

</div>

Right now just running against testnet, so I don’t expect to be minting any blocks for now (runnng 1BP and one relay). However, I didn’t see any options in the cardano-cli that would provide any block balance. Would the log, at Info or Notice level, show this happening? I see sites like [adapools.org](http://adapools.org) that will show the number of blocks minted on mainnnet, but I was hoping there could be a more localized procedure to check how many blocks my pool has minted, or to alert on when I have minted a block. If I jump to mainnet, I would like that option.

---

<div class="post-metadata">

**Author:** ![ADA4Good](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/ada4good/32/39440_2.png) [@ADA4Good](https://forum.cardano.org/u/ADA4Good)\
**Post date:** [1 May 2021 22:38 UTC](https://forum.cardano.org/t/how-do-i-tell-if-ive-minted-a-block/59450/2 "2021-05-01T22:38:39Z")

</div>

I think cntools are a nice set to use. will give you all the block info you need:

[Welcome to Guild Operators Documentation! (cardano-community.github.io)](https://cardano-community.github.io/guild-operators/#/README)

---

<div class="post-metadata">

**Author:** ![laplasz](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/laplasz/32/15238_2.png) [@laplasz](https://forum.cardano.org/u/laplasz)\
**Post date:** [2 May 2021 09:36 UTC](https://forum.cardano.org/t/how-do-i-tell-if-ive-minted-a-block/59450/3 "2021-05-02T09:36:21Z")

</div>

Hi!

There are several ways to get this info - (and yes the ultimate is using cntools as @ADA4Good suggested)

- checking the logs of the node  
for that Froge related trace option should be enabled in config ` "TraceForge": true,`  
grep `TraceNodeIsLeader` log event in the log - that means your node was a slot leader hense creating a block
- check the prometheus metrics contains the Forge prefix (by defult it is enabled and listening on port 12798)  
curl “[http://127.0.0.1:12798/metrics](http://127.0.0.1:12798/metrics)” | grep -i “forge”
- use rt-view to visualize these metrics [GitHub - input-output-hk/cardano-rt-view: RTView: real-time watching for Cardano nodes](https://github.com/input-output-hk/cardano-rt-view)
- use gLiveView (part of cntools) for same purposes [guild-operators/gliveview.md at alpha · cardano-community/guild-operators · GitHub](https://github.com/cardano-community/guild-operators/blob/alpha/docs/Scripts/gliveview.md)
- use cncli (part of cntools) to validate the block creation [GitHub - AndrewWestberg/cncli: A community-based cardano-node CLI tool](https://github.com/AndrewWestberg/cncli)
