Canton dAppBooster
    Preparing search index...

    One holding contract a party owns, as useHoldings and readHoldings report it. A locked one is escrowed, which is why the two are summed apart, and contractId is what a transfer or an allocation names as its input.

    const spendable = holdings.filter((holding) => !holding.isLocked)
    
    interface Holding {
        amount: string;
        contractId: string;
        instrumentId: InstrumentId;
        isLocked: boolean;
    }
    Index
    amount: string
    contractId: string
    instrumentId: InstrumentId
    isLocked: boolean