Reconcile an HTS supply decrease caused by a holder wipe

Both a treasury burn and an administrative wipe reduce token supply on Hedera. They debit different holdings and require different token authorities.

Identify the debited holding and authority

The SDK example constructs a wipe of twelve smallest fungible units from a non-treasury account. A wipe requires the token’s wipe key. A conventional token burn consumes items held in treasury and uses its supply key. For NFTs identify the affected serials instead of supplying a fungible amount.

const wipe = new TokenWipeTransaction()
  .setTokenId(tokenId)
  .setAccountId(holderId)
  .setAmount(12);

Check the supply and account deltas together

For a successful wipe of twelve against a holder with 40 units and supply 1000, the expected isolated results are holder 28 and supply 988. No twelve-unit treasury credit should be created by the indexer. If the selected account is the treasury or lacks the necessary units, inspect the failed receipt without applying any token movement.

Sources