Interface ProcessedBlock
-
- All Implemented Interfaces:
-
com.swmansion.starknet.data.types.Block,com.swmansion.starknet.data.types.StarknetResponse
public interface ProcessedBlock implements Block
Represents a processed block.
Corresponds to the
BLOCK_HEADERschema defined in the JSON-RPC spec.
-
-
Method Summary
Modifier and Type Method Description abstract BlockStatusgetStatus()abstract FeltgetBlockHash()abstract FeltgetParentHash()abstract FeltgetNewRoot()abstract FeltgetEventCommitment()abstract FeltgetTransactionCommitment()abstract FeltgetReceiptCommitment()abstract FeltgetStateDiffCommitment()abstract UIntgetEventCount()abstract UIntgetTransactionCount()abstract UIntgetStateDiffLength()-
Methods inherited from class com.swmansion.starknet.data.types.Block
getBlockNumber, getL1DataAvailabilityMode, getL1DataGasPrice, getL1GasPrice, getL2GasPrice, getSequencerAddress, getStarknetVersion, getTimestamp -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getStatus
abstract BlockStatus getStatus()
-
getBlockHash
abstract Felt getBlockHash()
-
getParentHash
abstract Felt getParentHash()
-
getNewRoot
abstract Felt getNewRoot()
-
getEventCommitment
abstract Felt getEventCommitment()
-
getTransactionCommitment
abstract Felt getTransactionCommitment()
-
getReceiptCommitment
abstract Felt getReceiptCommitment()
-
getStateDiffCommitment
abstract Felt getStateDiffCommitment()
-
getEventCount
abstract UInt getEventCount()
-
getTransactionCount
abstract UInt getTransactionCount()
-
getStateDiffLength
abstract UInt getStateDiffLength()
-
-
-
-