Class ProcessedBlockWithTransactionHashes
-
- 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 ProcessedBlockWithTransactionHashes extends BlockWithTransactionHashes implements ProcessedBlock
-
-
Field Summary
Fields Modifier and Type Field Description private final BlockStatusstatusprivate final List<Felt>transactionHashesprivate final FeltblockHashprivate final IntegerblockNumberprivate final FeltnewRootprivate final Integertimestampprivate final FeltsequencerAddressprivate final FeltparentHashprivate 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 ProcessedBlockWithTransactionHashes(BlockStatus status, List<Felt> transactionHashes, Felt blockHash, Integer blockNumber, Felt newRoot, Integer timestamp, Felt sequencerAddress, Felt parentHash, 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<Felt>getTransactionHashes()FeltgetBlockHash()IntegergetBlockNumber()FeltgetNewRoot()IntegergetTimestamp()FeltgetSequencerAddress()FeltgetParentHash()ResourcePricegetL1GasPrice()ResourcePricegetL2GasPrice()ResourcePricegetL1DataGasPrice()L1DAModegetL1DataAvailabilityMode()StringgetStarknetVersion()FeltgetEventCommitment()FeltgetTransactionCommitment()FeltgetReceiptCommitment()FeltgetStateDiffCommitment()UIntgetEventCount()UIntgetTransactionCount()UIntgetStateDiffLength()-
-
Constructor Detail
-
ProcessedBlockWithTransactionHashes
ProcessedBlockWithTransactionHashes(BlockStatus status, List<Felt> transactionHashes, Felt blockHash, Integer blockNumber, Felt newRoot, Integer timestamp, Felt sequencerAddress, Felt parentHash, 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()
-
getTransactionHashes
List<Felt> getTransactionHashes()
-
getBlockHash
Felt getBlockHash()
-
getBlockNumber
Integer getBlockNumber()
-
getNewRoot
Felt getNewRoot()
-
getTimestamp
Integer getTimestamp()
-
getSequencerAddress
Felt getSequencerAddress()
-
getParentHash
Felt getParentHash()
-
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()
-
-
-
-