public class CellCollector
extends java.lang.Object
| Constructor and Description |
|---|
CellCollector(Api api) |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getCapacityWithAddress(java.lang.String address) |
java.math.BigInteger |
getCapacityWithLockHash(java.lang.String lockHash) |
CollectedCells |
getCellInputs(java.lang.String lockHash,
java.math.BigInteger needCapacity) |
public CellCollector(Api api)
public CollectedCells getCellInputs(java.lang.String lockHash, java.math.BigInteger needCapacity)
public java.math.BigInteger getCapacityWithAddress(java.lang.String address)
throws java.io.IOException
java.io.IOExceptionpublic java.math.BigInteger getCapacityWithLockHash(java.lang.String lockHash)