How to get_unconfirm_balance of counterparty token

Does anyone know how to get get unconfirmed balance of token ?!

I checked get_balances method that take confirmed balance only

I saw this issue https://github.com/CounterpartyXCP/counterparty-lib/issues/786
Perhap noone mantain this repo, sosad

Many thanks

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.