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 |
getCapacityWithAddress(java.lang.String address,
org.nervos.ckb.address.CodeHashType codeHashType) |
java.math.BigInteger |
getCapacityWithLockHash(java.lang.String lockHash) |
CollectedCells |
getCellInputs(java.lang.String lockHash,
java.math.BigInteger needCapacity) |
CollectedCells |
getCellInputs(java.lang.String lockHash,
java.math.BigInteger needCapacity,
java.math.BigInteger fee) |
public CellCollector(Api api)
public CollectedCells getCellInputs(java.lang.String lockHash, java.math.BigInteger needCapacity, java.math.BigInteger fee) throws java.io.IOException
java.io.IOExceptionpublic CollectedCells getCellInputs(java.lang.String lockHash, java.math.BigInteger needCapacity) throws java.io.IOException
java.io.IOExceptionpublic java.math.BigInteger getCapacityWithAddress(java.lang.String address)
throws java.io.IOException
java.io.IOExceptionpublic java.math.BigInteger getCapacityWithAddress(java.lang.String address,
org.nervos.ckb.address.CodeHashType codeHashType)
throws java.io.IOException
java.io.IOExceptionpublic java.math.BigInteger getCapacityWithLockHash(java.lang.String lockHash)
throws java.io.IOException
java.io.IOException