This isn’t something that’s part of the codebase, but if your software is generating the sends, you can decrement a local db entry each time a send is broadcast or you could query on get_mempool and and subtract any unconfirmed sends you find there for a given address.