Canton dAppBooster
    Preparing search index...
    • Every standard holding the connected party owns, one entry per contract, read again whenever the party changes. Imported from @bootnodedev/canton-dappbooster/connect. Pair it with sumHoldings to get one row per instrument, which is what a token list wants.

      Returns UseHoldingsResult

      with no <CantonConnectProvider> above it. A failed read lands in error instead.

      const { holdings } = useHoldings()
      const tokens = sumHoldings(holdings ?? [])