public class CollectUtils
extends java.lang.Object
| Constructor and Description |
|---|
CollectUtils(org.nervos.ckb.service.Api api) |
CollectUtils(org.nervos.ckb.service.Api api,
boolean skipDataAndType) |
| Modifier and Type | Method and Description |
|---|---|
CollectResult |
collectInputs(java.util.List<java.lang.String> addresses,
org.nervos.ckb.type.transaction.Transaction transaction,
java.math.BigInteger feeRate,
int initialLength) |
CollectResult |
collectInputsWithIndexer(java.util.List<java.lang.String> addresses,
java.util.List<org.nervos.ckb.type.cell.CellOutput> cellOutputs,
java.math.BigInteger feeRate,
int initialLength) |
java.util.List<org.nervos.ckb.type.cell.CellOutput> |
generateOutputs(java.util.List<Receiver> receivers,
java.lang.String changeAddress) |
public CollectUtils(org.nervos.ckb.service.Api api)
public CollectUtils(org.nervos.ckb.service.Api api,
boolean skipDataAndType)
public CollectResult collectInputs(java.util.List<java.lang.String> addresses, org.nervos.ckb.type.transaction.Transaction transaction, java.math.BigInteger feeRate, int initialLength) throws java.io.IOException
java.io.IOExceptionpublic CollectResult collectInputsWithIndexer(java.util.List<java.lang.String> addresses, java.util.List<org.nervos.ckb.type.cell.CellOutput> cellOutputs, java.math.BigInteger feeRate, int initialLength) throws java.io.IOException
java.io.IOExceptionpublic java.util.List<org.nervos.ckb.type.cell.CellOutput> generateOutputs(java.util.List<Receiver> receivers, java.lang.String changeAddress)