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_HEADER
schema defined in the JSON-RPC spec.
-
-
Method Summary
Modifier and Type Method Description abstract BlockStatus
getStatus()
abstract Felt
getBlockHash()
abstract Integer
getBlockNumber()
abstract Felt
getNewRoot()
-
Methods inherited from class com.swmansion.starknet.data.types.Block
getL1DataAvailabilityMode, getL1DataGasPrice, getL1GasPrice, getParentHash, 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()
-
getBlockNumber
abstract Integer getBlockNumber()
-
getNewRoot
abstract Felt getNewRoot()
-
-
-
-