Class EthBlock.Block
java.lang.Object
org.web3j.protocol.core.methods.response.EthBlock.Block
- Enclosing class:
- EthBlock
-
Constructor Summary
ConstructorsConstructorDescriptionBlock()Block(String number, String hash, String parentHash, String nonce, String sha3Uncles, String logsBloom, String transactionsRoot, String stateRoot, String receiptsRoot, String author, String miner, String mixHash, String difficulty, String totalDifficulty, String extraData, String size, String gasLimit, String gasUsed, String timestamp, List<EthBlock.TransactionResult> transactions, List<String> uncles, List<String> sealFields, String baseFeePerGas, String withdrawalsRoot, List<EthBlock.Withdrawal> withdrawals) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetHash()getMiner()getNonce()getSize()inthashCode()voidvoidsetBaseFeePerGas(String baseFeePerGas) voidsetDifficulty(String difficulty) voidsetExtraData(String extraData) voidsetGasLimit(String gasLimit) voidsetGasUsed(String gasUsed) voidvoidsetLogsBloom(String logsBloom) voidvoidsetMixHash(String mixHash) voidvoidvoidsetParentHash(String parentHash) voidsetReceiptsRoot(String receiptsRoot) voidsetSealFields(List<String> sealFields) voidsetSha3Uncles(String sha3Uncles) voidvoidsetStateRoot(String stateRoot) voidsetTimestamp(String timestamp) voidsetTotalDifficulty(String totalDifficulty) voidsetTransactions(List<EthBlock.TransactionResult> transactions) voidsetTransactionsRoot(String transactionsRoot) voidvoidsetWithdrawals(List<EthBlock.Withdrawal> withdrawals) voidsetWithdrawalsRoot(String withdrawalsRoot)
-
Constructor Details
-
Block
public Block() -
Block
public Block(String number, String hash, String parentHash, String nonce, String sha3Uncles, String logsBloom, String transactionsRoot, String stateRoot, String receiptsRoot, String author, String miner, String mixHash, String difficulty, String totalDifficulty, String extraData, String size, String gasLimit, String gasUsed, String timestamp, List<EthBlock.TransactionResult> transactions, List<String> uncles, List<String> sealFields, String baseFeePerGas, String withdrawalsRoot, List<EthBlock.Withdrawal> withdrawals)
-
-
Method Details
-
getNumber
-
getNumberRaw
-
setNumber
-
getHash
-
setHash
-
getParentHash
-
setParentHash
-
getNonce
-
getNonceRaw
-
setNonce
-
getSha3Uncles
-
setSha3Uncles
-
getLogsBloom
-
setLogsBloom
-
getTransactionsRoot
-
setTransactionsRoot
-
getStateRoot
-
setStateRoot
-
getReceiptsRoot
-
setReceiptsRoot
-
getAuthor
-
setAuthor
-
getMiner
-
setMiner
-
getMixHash
-
setMixHash
-
getDifficulty
-
getDifficultyRaw
-
setDifficulty
-
getTotalDifficulty
-
getTotalDifficultyRaw
-
setTotalDifficulty
-
getExtraData
-
setExtraData
-
getSize
-
getSizeRaw
-
setSize
-
getGasLimit
-
getGasLimitRaw
-
setGasLimit
-
getGasUsed
-
getGasUsedRaw
-
setGasUsed
-
getTimestamp
-
getTimestampRaw
-
setTimestamp
-
getTransactions
-
setTransactions
-
getUncles
-
setUncles
-
getSealFields
-
setSealFields
-
getBaseFeePerGas
-
setBaseFeePerGas
-
getBaseFeePerGasRaw
-
getWithdrawalsRoot
-
setWithdrawalsRoot
-
getWithdrawals
-
setWithdrawals
-
equals
-
hashCode
public int hashCode()
-