Class PendingBlockWithReceipts
-
- 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 PendingBlockWithReceipts extends BlockWithReceipts implements PendingBlock
-
-
Field Summary
Fields Modifier and Type Field Description private final List<TransactionWithReceipt>
transactionsWithReceipts
private final Integer
timestamp
private final Felt
sequencerAddress
private final Felt
parentHash
private final ResourcePrice
l1GasPrice
private final ResourcePrice
l2GasPrice
private final ResourcePrice
l1DataGasPrice
private final L1DAMode
l1DataAvailabilityMode
private final String
starknetVersion
-
Constructor Summary
Constructors Constructor Description PendingBlockWithReceipts(List<TransactionWithReceipt> transactionsWithReceipts, Integer timestamp, Felt sequencerAddress, Felt parentHash, ResourcePrice l1GasPrice, ResourcePrice l2GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion)
-
Method Summary
Modifier and Type Method Description List<TransactionWithReceipt>
getTransactionsWithReceipts()
Integer
getTimestamp()
Felt
getSequencerAddress()
Felt
getParentHash()
ResourcePrice
getL1GasPrice()
ResourcePrice
getL2GasPrice()
ResourcePrice
getL1DataGasPrice()
L1DAMode
getL1DataAvailabilityMode()
String
getStarknetVersion()
-
-
Constructor Detail
-
PendingBlockWithReceipts
PendingBlockWithReceipts(List<TransactionWithReceipt> transactionsWithReceipts, Integer timestamp, Felt sequencerAddress, Felt parentHash, ResourcePrice l1GasPrice, ResourcePrice l2GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion)
-
-
Method Detail
-
getTransactionsWithReceipts
List<TransactionWithReceipt> getTransactionsWithReceipts()
-
getTimestamp
Integer getTimestamp()
-
getSequencerAddress
Felt getSequencerAddress()
-
getParentHash
Felt getParentHash()
-
getL1GasPrice
ResourcePrice getL1GasPrice()
-
getL2GasPrice
ResourcePrice getL2GasPrice()
-
getL1DataGasPrice
ResourcePrice getL1DataGasPrice()
-
getL1DataAvailabilityMode
L1DAMode getL1DataAvailabilityMode()
-
getStarknetVersion
String getStarknetVersion()
-
-
-
-