I am writing a web app that shows current info about bounties and child bounties. From what i understand if there is a bounty with a value of 5 DOT, I can create N child bounties which values sum up to 5 DOT (assuming curators fee 0). Now let's say that I create a child bounty of value 0.5 DOT and this child bounty was already paid to some beneficiary.
How can check how much DOTs is left to spend for next child bounties? (4.5 DOT in my example)
Thank you! :)