TransactionScanner extension

Transaction extension - wallet attribute collection methods

on

Properties

assetIds Set<String>
assetIds found in transactioins. TODO confirm unit == assetId
no setter

Methods

filterAddresses({required Set<ShelleyAddress> addressSet}) Set<ShelleyAddress>
filter addresses to those found in this wallet
sumCurrencies({required Set<ShelleyAddress> addressSet}) Map<AssetId, Coin>
return a map of all currencies with their net quantity change for a given set of addresses (i.e. a specific wallet). An AssetId is the hex representation of a policyId concatenated to the coin name in hex (i.e. unit).