I'm writing a mobile app with Tezos and I'm struggling to understand how to fetch information, so that I can let the user know that the operation should be considered confirmed.
I got my operation hash from Tezos RPC and I've used Conseil to get the blockId. I've read another answer on this stackexchange that said "a fitness score of 900 or more is equal to 30 endorsements" which I've heard is considered "confirmed". So I fetched the block details from conseil and I got back:
"fitness": "01,0000000000037f4f"
What format is this in and how do I convert it to decimal?
Will 900 always equal 30 endorsements? Is it safe to hardcode that logic or do I need to compute that from some metrics from the network etc.