Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Filtering entities from the ledgerForum ↗

Filtering entities from the ledger

App Development1 posts2 viewsLast activity Jun 2026
JU
Justin_AtwellOP
Jun 2026

I’m trying to filter entities on the ledger side prior to returning the records.

Is there any way to filter entities being returned on the ledger directly? This is what I have below for EventFormat, but I’d like to filter deeper on types or individual parties

private EventFormat buildEventFormat(String partyId) {
        return new EventFormat(
                Map.of(
                        partyId,
                        new CumulativeFilter(
                                Map.of(),
                                Map.of(),
                                Optional.of(Filter.Wildcard.HIDE_CREATED_EVENT_BLOB)
                        )
                ),
                Optional.empty(),
                true
        );
    }
← Back to Discussions