Class ProcessedBlockWithTransactions
-
- 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 ProcessedBlockWithTransactions extends BlockWithTransactions implements ProcessedBlock
-
-
Field Summary
Fields Modifier and Type Field Description private final BlockStatusstatusprivate final List<Transaction>transactionsprivate final FeltparentHashprivate final FeltblockHashprivate final IntegerblockNumberprivate final FeltnewRootprivate final Integertimestampprivate final FeltsequencerAddressprivate final ResourcePricel1GasPriceprivate final ResourcePricel2GasPriceprivate final ResourcePricel1DataGasPriceprivate final L1DAModel1DataAvailabilityModeprivate final StringstarknetVersionprivate final FelteventCommitmentprivate final FelttransactionCommitmentprivate final FeltreceiptCommitmentprivate final FeltstateDiffCommitmentprivate final UInteventCountprivate final UInttransactionCountprivate final UIntstateDiffLength
-
Constructor Summary
Constructors Constructor Description ProcessedBlockWithTransactions(BlockStatus status, List<Transaction> transactions, Felt parentHash, Felt blockHash, Integer blockNumber, Felt newRoot, Integer timestamp, Felt sequencerAddress, ResourcePrice l1GasPrice, ResourcePrice l2GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion, Felt eventCommitment, Felt transactionCommitment, Felt receiptCommitment, Felt stateDiffCommitment, UInt eventCount, UInt transactionCount, UInt stateDiffLength)
-
Method Summary
Modifier and Type Method Description BlockStatusgetStatus()List<Transaction>getTransactions()FeltgetParentHash()FeltgetBlockHash()IntegergetBlockNumber()FeltgetNewRoot()IntegergetTimestamp()FeltgetSequencerAddress()ResourcePricegetL1GasPrice()ResourcePricegetL2GasPrice()ResourcePricegetL1DataGasPrice()L1DAModegetL1DataAvailabilityMode()StringgetStarknetVersion()FeltgetEventCommitment()FeltgetTransactionCommitment()FeltgetReceiptCommitment()FeltgetStateDiffCommitment()UIntgetEventCount()UIntgetTransactionCount()UIntgetStateDiffLength()-
-
Constructor Detail
-
ProcessedBlockWithTransactions
ProcessedBlockWithTransactions(BlockStatus status, List<Transaction> transactions, Felt parentHash, Felt blockHash, Integer blockNumber, Felt newRoot, Integer timestamp, Felt sequencerAddress, ResourcePrice l1GasPrice, ResourcePrice l2GasPrice, ResourcePrice l1DataGasPrice, L1DAMode l1DataAvailabilityMode, String starknetVersion, Felt eventCommitment, Felt transactionCommitment, Felt receiptCommitment, Felt stateDiffCommitment, UInt eventCount, UInt transactionCount, UInt stateDiffLength)
-
-
Method Detail
-
getStatus
BlockStatus getStatus()
-
getTransactions
List<Transaction> getTransactions()
-
getParentHash
Felt getParentHash()
-
getBlockHash
Felt getBlockHash()
-
getBlockNumber
Integer getBlockNumber()
-
getNewRoot
Felt getNewRoot()
-
getTimestamp
Integer getTimestamp()
-
getSequencerAddress
Felt getSequencerAddress()
-
getL1GasPrice
ResourcePrice getL1GasPrice()
-
getL2GasPrice
ResourcePrice getL2GasPrice()
-
getL1DataGasPrice
ResourcePrice getL1DataGasPrice()
-
getL1DataAvailabilityMode
L1DAMode getL1DataAvailabilityMode()
-
getStarknetVersion
String getStarknetVersion()
-
getEventCommitment
Felt getEventCommitment()
-
getTransactionCommitment
Felt getTransactionCommitment()
-
getReceiptCommitment
Felt getReceiptCommitment()
-
getStateDiffCommitment
Felt getStateDiffCommitment()
-
getEventCount
UInt getEventCount()
-
getTransactionCount
UInt getTransactionCount()
-
getStateDiffLength
UInt getStateDiffLength()
-
-
-
-