previoulsy i could, but i no more keep track of UTXOs .
i only keep track of
address, hash160, unspent output count, amount.
so every vout is +1
and every vin is -1
same goes with amount.
every vout amount is old amount + new amount
every vin amount is old amount - new amount
@btctousd81 How do you read segwit addresses?
you mean bech32 (starting "bc1") ? then i dont think that bitcoin-core supports it yet for rpc. so cant read/parse those addresses using rpc.
but if you mean P2SH (starting with a "3") then those are p2sh addresses those can be returned by bitcoin-core json/rpc .