Class BlockTraceResult
java.lang.Object
org.hyperledger.besu.plugin.data.BlockTraceResult
Represents the result of tracing a block, containing information about the transaction traces.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for constructing a BlockTraceResult. -
Constructor Summary
ConstructorsConstructorDescriptionBlockTraceResult(List<TransactionTraceResult> transactionTraceResults) Constructs a BlockTraceResult with the given list of transaction trace results. -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockTraceResult.Builderbuilder()Creates a new builder to construct a BlockTraceResult.static BlockTraceResultempty()Creates an empty BlockTraceResult with no transaction trace results.booleaninthashCode()toString()Get the list of transaction trace results for this block.
-
Constructor Details
-
BlockTraceResult
Constructs a BlockTraceResult with the given list of transaction trace results.- Parameters:
transactionTraceResults- The list of transaction trace results to be associated with this block.
-
-
Method Details
-
empty
Creates an empty BlockTraceResult with no transaction trace results.- Returns:
- An empty BlockTraceResult.
-
transactionTraceResults
Get the list of transaction trace results for this block.- Returns:
- The list of transaction trace results.
-
equals
-
hashCode
-
toString
-
builder
Creates a new builder to construct a BlockTraceResult.- Returns:
- A new BlockTraceResult.Builder instance.
-