Package org.web3j.protocol.core
Class DefaultBlockParameterNumber
- java.lang.Object
-
- org.web3j.protocol.core.DefaultBlockParameterNumber
-
- All Implemented Interfaces:
DefaultBlockParameter
public class DefaultBlockParameterNumber extends java.lang.Object implements DefaultBlockParameter
DefaultBlockParameter implementation that takes a numeric value.
-
-
Constructor Summary
Constructors Constructor Description DefaultBlockParameterNumber(long blockNumber)
DefaultBlockParameterNumber(java.math.BigInteger blockNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigInteger
getBlockNumber()
java.lang.String
getValue()
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceDefaultBlockParameter
-
getBlockNumber
public java.math.BigInteger getBlockNumber()
-
-