Class ProcessedBlockWithTransactionHashes
-
- All Implemented Interfaces:
-
com.swmansion.starknet.data.types.Block
,com.swmansion.starknet.data.types.ProcessedBlock
,com.swmansion.starknet.data.types.StarknetResponse
@Serializable() public final class ProcessedBlockWithTransactionHashes extends BlockWithTransactionHashes implements ProcessedBlock
-
-
Field Summary
Fields Modifier and Type Field Description private final BlockStatus
status
private final List<Felt>
transactionHashes
private final Felt
blockHash
private final Integer
blockNumber
private final Felt
newRoot
private final Integer
timestamp
private final Felt
sequencerAddress
private final Felt
parentHash
private final ResourcePrice
l1GasPrice
private final ResourcePrice
l1DataGasPrice
private final L1DAMode
l1DataAvailabilityMode
private final String
starknetVersion
-
Constructor Summary
Constructors Constructor Description ProcessedBlockWithTransactionHashes(BlockStatus status, List<Felt> transactionHashes, Felt blockHash, Integer blockNumber, Felt newRoot, Integer timestamp, Felt sequencerAddress, Felt parentHash, ResourcePrice l1GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion)
-
Method Summary
Modifier and Type Method Description BlockStatus
getStatus()
List<Felt>
getTransactionHashes()
Felt
getBlockHash()
Integer
getBlockNumber()
Felt
getNewRoot()
Integer
getTimestamp()
Felt
getSequencerAddress()
Felt
getParentHash()
ResourcePrice
getL1GasPrice()
ResourcePrice
getL1DataGasPrice()
L1DAMode
getL1DataAvailabilityMode()
String
getStarknetVersion()
-
-
Constructor Detail
-
ProcessedBlockWithTransactionHashes
ProcessedBlockWithTransactionHashes(BlockStatus status, List<Felt> transactionHashes, Felt blockHash, Integer blockNumber, Felt newRoot, Integer timestamp, Felt sequencerAddress, Felt parentHash, ResourcePrice l1GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion)
-
-
Method Detail
-
getStatus
BlockStatus getStatus()
-
getTransactionHashes
List<Felt> getTransactionHashes()
-
getBlockHash
Felt getBlockHash()
-
getBlockNumber
Integer getBlockNumber()
-
getNewRoot
Felt getNewRoot()
-
getTimestamp
Integer getTimestamp()
-
getSequencerAddress
Felt getSequencerAddress()
-
getParentHash
Felt getParentHash()
-
getL1GasPrice
ResourcePrice getL1GasPrice()
-
getL1DataGasPrice
ResourcePrice getL1DataGasPrice()
-
getL1DataAvailabilityMode
L1DAMode getL1DataAvailabilityMode()
-
getStarknetVersion
String getStarknetVersion()
-
-
-
-