Class ProcessedBlockWithReceipts
-
- 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 ProcessedBlockWithReceipts extends BlockWithReceipts implements ProcessedBlock
-
-
Field Summary
Fields Modifier and Type Field Description private final BlockStatusstatusprivate final List<TransactionWithReceipt>transactionsWithReceiptsprivate final FeltblockHashprivate final IntegerblockNumberprivate final FeltnewRootprivate final Integertimestampprivate final FeltsequencerAddressprivate final FeltparentHashprivate final ResourcePricel1GasPriceprivate final ResourcePricel2GasPriceprivate final ResourcePricel1DataGasPriceprivate final L1DAModel1DataAvailabilityModeprivate final StringstarknetVersion
-
Constructor Summary
Constructors Constructor Description ProcessedBlockWithReceipts(BlockStatus status, List<TransactionWithReceipt> transactionsWithReceipts, Felt blockHash, Integer blockNumber, Felt newRoot, Integer timestamp, Felt sequencerAddress, Felt parentHash, ResourcePrice l1GasPrice, ResourcePrice l2GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion)
-
Method Summary
Modifier and Type Method Description BlockStatusgetStatus()List<TransactionWithReceipt>getTransactionsWithReceipts()FeltgetBlockHash()IntegergetBlockNumber()FeltgetNewRoot()IntegergetTimestamp()FeltgetSequencerAddress()FeltgetParentHash()ResourcePricegetL1GasPrice()ResourcePricegetL2GasPrice()ResourcePricegetL1DataGasPrice()L1DAModegetL1DataAvailabilityMode()StringgetStarknetVersion()-
-
Constructor Detail
-
ProcessedBlockWithReceipts
ProcessedBlockWithReceipts(BlockStatus status, List<TransactionWithReceipt> transactionsWithReceipts, Felt blockHash, Integer blockNumber, Felt newRoot, Integer timestamp, Felt sequencerAddress, Felt parentHash, ResourcePrice l1GasPrice, ResourcePrice l2GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion)
-
-
Method Detail
-
getStatus
BlockStatus getStatus()
-
getTransactionsWithReceipts
List<TransactionWithReceipt> getTransactionsWithReceipts()
-
getBlockHash
Felt getBlockHash()
-
getBlockNumber
Integer getBlockNumber()
-
getNewRoot
Felt getNewRoot()
-
getTimestamp
Integer getTimestamp()
-
getSequencerAddress
Felt getSequencerAddress()
-
getParentHash
Felt getParentHash()
-
getL1GasPrice
ResourcePrice getL1GasPrice()
-
getL2GasPrice
ResourcePrice getL2GasPrice()
-
getL1DataGasPrice
ResourcePrice getL1DataGasPrice()
-
getL1DataAvailabilityMode
L1DAMode getL1DataAvailabilityMode()
-
getStarknetVersion
String getStarknetVersion()
-
-
-
-