net.corda.core.transactions / FilteredTransaction

# FilteredTransaction

`class FilteredTransaction`

Class representing merkleized filtered transaction.

### Parameters

`filteredLeaves` - Leaves included in a filtered transaction.
`partialMerkleTree` - Merkle branch needed to verify filteredLeaves.

### Constructors

<init> | `FilteredTransaction(filteredLeaves: FilteredLeaves, partialMerkleTree: PartialMerkleTree)` Class representing merkleized filtered transaction.

### Properties

filteredLeaves | `val filteredLeaves: FilteredLeaves`
partialMerkleTree | `val partialMerkleTree: PartialMerkleTree`

### Functions

verify | `fun verify(merkleRootHash: SecureHash): Boolean` Runs verification of Partial Merkle Branch with merkleRootHash.

### Companion Object Functions

buildMerkleTransaction | `fun buildMerkleTransaction(wtx: WireTransaction, filterFuns: FilterFuns): FilteredTransaction` Construction of filtered transaction with Partial Merkle Tree.