Package org.web3j.protocol.core
Interface DefaultBlockParameter
-
- All Known Implementing Classes:
DefaultBlockParameterName
,DefaultBlockParameterNumber
public interface DefaultBlockParameter
Wrapper for parameter that takes either a block number or block name as inputSee the specification for further information.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getValue()
static DefaultBlockParameter
valueOf(java.lang.String blockName)
static DefaultBlockParameter
valueOf(java.math.BigInteger blockNumber)
-
-
-
Method Detail
-
valueOf
static DefaultBlockParameter valueOf(java.math.BigInteger blockNumber)
-
valueOf
static DefaultBlockParameter valueOf(java.lang.String blockName)
-
getValue
java.lang.String getValue()
-
-