Class PendingBlockWithTransactionHashes
-
- 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 PendingBlockWithTransactionHashes extends BlockWithTransactionHashes implements PendingBlock
-
-
Field Summary
Fields Modifier and Type Field Description private final List<Felt>
transactionHashes
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 PendingBlockWithTransactionHashes(List<Felt> transactionHashes, Integer timestamp, Felt sequencerAddress, Felt parentHash, ResourcePrice l1GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion)
-
Method Summary
Modifier and Type Method Description List<Felt>
getTransactionHashes()
Integer
getTimestamp()
Felt
getSequencerAddress()
Felt
getParentHash()
ResourcePrice
getL1GasPrice()
ResourcePrice
getL1DataGasPrice()
L1DAMode
getL1DataAvailabilityMode()
String
getStarknetVersion()
-
-
Constructor Detail
-
PendingBlockWithTransactionHashes
PendingBlockWithTransactionHashes(List<Felt> transactionHashes, Integer timestamp, Felt sequencerAddress, Felt parentHash, ResourcePrice l1GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion)
-
-
Method Detail
-
getTransactionHashes
List<Felt> getTransactionHashes()
-
getTimestamp
Integer getTimestamp()
-
getSequencerAddress
Felt getSequencerAddress()
-
getParentHash
Felt getParentHash()
-
getL1GasPrice
ResourcePrice getL1GasPrice()
-
getL1DataGasPrice
ResourcePrice getL1DataGasPrice()
-
getL1DataAvailabilityMode
L1DAMode getL1DataAvailabilityMode()
-
getStarknetVersion
String getStarknetVersion()
-
-
-
-