cc.youchain.protocol.core.methods.response.YOUBlockNumber Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
YOUChain Common library in JAVA.
package cc.youchain.protocol.core.methods.response;
import java.math.BigInteger;
import cc.youchain.utils.Numeric;
import cc.youchain.protocol.core.Response;
/**
* you_blockNumber.
*/
public class YOUBlockNumber extends Response {
public BigInteger getBlockNumber() {
return Numeric.decodeQuantity(getResult());
}
}