Class PendingBlockWithTransactions
-
- All Implemented Interfaces:
-
com.swmansion.starknet.data.types.Block
,com.swmansion.starknet.data.types.PendingBlock
,com.swmansion.starknet.data.types.StarknetResponse
@Serializable() public final class PendingBlockWithTransactions extends BlockWithTransactions implements PendingBlock
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Transaction>
transactions
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 PendingBlockWithTransactions(List<Transaction> transactions, Integer timestamp, Felt sequencerAddress, Felt parentHash, ResourcePrice l1GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion)
-
Method Summary
Modifier and Type Method Description List<Transaction>
getTransactions()
Integer
getTimestamp()
Felt
getSequencerAddress()
Felt
getParentHash()
ResourcePrice
getL1GasPrice()
ResourcePrice
getL1DataGasPrice()
L1DAMode
getL1DataAvailabilityMode()
String
getStarknetVersion()
-
-
Constructor Detail
-
PendingBlockWithTransactions
PendingBlockWithTransactions(List<Transaction> transactions, Integer timestamp, Felt sequencerAddress, Felt parentHash, ResourcePrice l1GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion)
-
-
Method Detail
-
getTransactions
List<Transaction> getTransactions()
-
getTimestamp
Integer getTimestamp()
-
getSequencerAddress
Felt getSequencerAddress()
-
getParentHash
Felt getParentHash()
-
getL1GasPrice
ResourcePrice getL1GasPrice()
-
getL1DataGasPrice
ResourcePrice getL1DataGasPrice()
-
getL1DataAvailabilityMode
L1DAMode getL1DataAvailabilityMode()
-
getStarknetVersion
String getStarknetVersion()
-
-
-
-