Class ProcessedBlockWithTransactions
-
- 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 ProcessedBlockWithTransactions extends BlockWithTransactions implements ProcessedBlock
-
-
Field Summary
Fields Modifier and Type Field Description private final BlockStatus
status
private final List<Transaction>
transactions
private final Felt
parentHash
private final Felt
blockHash
private final Integer
blockNumber
private final Felt
newRoot
private final Integer
timestamp
private final Felt
sequencerAddress
private final ResourcePrice
l1GasPrice
private final ResourcePrice
l1DataGasPrice
private final L1DAMode
l1DataAvailabilityMode
private final String
starknetVersion
-
Constructor Summary
Constructors Constructor Description ProcessedBlockWithTransactions(BlockStatus status, List<Transaction> transactions, Felt parentHash, Felt blockHash, Integer blockNumber, Felt newRoot, Integer timestamp, Felt sequencerAddress, ResourcePrice l1GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion)
-
Method Summary
Modifier and Type Method Description BlockStatus
getStatus()
List<Transaction>
getTransactions()
Felt
getParentHash()
Felt
getBlockHash()
Integer
getBlockNumber()
Felt
getNewRoot()
Integer
getTimestamp()
Felt
getSequencerAddress()
ResourcePrice
getL1GasPrice()
ResourcePrice
getL1DataGasPrice()
L1DAMode
getL1DataAvailabilityMode()
String
getStarknetVersion()
-
-
Constructor Detail
-
ProcessedBlockWithTransactions
ProcessedBlockWithTransactions(BlockStatus status, List<Transaction> transactions, Felt parentHash, Felt blockHash, Integer blockNumber, Felt newRoot, Integer timestamp, Felt sequencerAddress, ResourcePrice l1GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion)
-
-
Method Detail
-
getStatus
BlockStatus getStatus()
-
getTransactions
List<Transaction> getTransactions()
-
getParentHash
Felt getParentHash()
-
getBlockHash
Felt getBlockHash()
-
getBlockNumber
Integer getBlockNumber()
-
getNewRoot
Felt getNewRoot()
-
getTimestamp
Integer getTimestamp()
-
getSequencerAddress
Felt getSequencerAddress()
-
getL1GasPrice
ResourcePrice getL1GasPrice()
-
getL1DataGasPrice
ResourcePrice getL1DataGasPrice()
-
getL1DataAvailabilityMode
L1DAMode getL1DataAvailabilityMode()
-
getStarknetVersion
String getStarknetVersion()
-
-
-
-