cc.youchain.protocol.core.methods.response.YOUGetBalance 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_getBalance.
*/
public class YOUGetBalance extends Response {
public BigInteger getBalance() {
return Numeric.decodeQuantity(getResult());
}
}