Class PreConfirmedBlockWithTransactions
-
- All Implemented Interfaces:
-
com.swmansion.starknet.data.types.Block,com.swmansion.starknet.data.types.PreConfirmedBlock,com.swmansion.starknet.data.types.StarknetResponse
@Serializable() public final class PreConfirmedBlockWithTransactions extends BlockWithTransactions implements PreConfirmedBlock
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Transaction>transactionsprivate final IntegerblockNumberprivate final Integertimestampprivate final FeltsequencerAddressprivate final ResourcePricel1GasPriceprivate final ResourcePricel2GasPriceprivate final ResourcePricel1DataGasPriceprivate final L1DAModel1DataAvailabilityModeprivate final StringstarknetVersion
-
Constructor Summary
Constructors Constructor Description PreConfirmedBlockWithTransactions(List<Transaction> transactions, Integer blockNumber, Integer timestamp, Felt sequencerAddress, ResourcePrice l1GasPrice, ResourcePrice l2GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion)
-
Method Summary
Modifier and Type Method Description List<Transaction>getTransactions()IntegergetBlockNumber()IntegergetTimestamp()FeltgetSequencerAddress()ResourcePricegetL1GasPrice()ResourcePricegetL2GasPrice()ResourcePricegetL1DataGasPrice()L1DAModegetL1DataAvailabilityMode()StringgetStarknetVersion()-
-
Constructor Detail
-
PreConfirmedBlockWithTransactions
PreConfirmedBlockWithTransactions(List<Transaction> transactions, Integer blockNumber, Integer timestamp, Felt sequencerAddress, ResourcePrice l1GasPrice, ResourcePrice l2GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion)
-
-
Method Detail
-
getTransactions
List<Transaction> getTransactions()
-
getBlockNumber
Integer getBlockNumber()
-
getTimestamp
Integer getTimestamp()
-
getSequencerAddress
Felt getSequencerAddress()
-
getL1GasPrice
ResourcePrice getL1GasPrice()
-
getL2GasPrice
ResourcePrice getL2GasPrice()
-
getL1DataGasPrice
ResourcePrice getL1DataGasPrice()
-
getL1DataAvailabilityMode
L1DAMode getL1DataAvailabilityMode()
-
getStarknetVersion
String getStarknetVersion()
-
-
-
-