public class CollectUtils
extends java.lang.Object
| Constructor and Description |
|---|
CollectUtils(org.nervos.ckb.service.Api api) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.nervos.ckb.transaction.CellsWithPrivateKey> |
collectInputs(java.util.List<Sender> senders) |
java.util.List<org.nervos.ckb.transaction.CellsWithPrivateKey> |
collectInputs(java.util.List<Sender> senders,
org.nervos.ckb.address.CodeHashType codeHashType) |
java.util.List<org.nervos.ckb.type.cell.CellOutput> |
generateOutputs(java.util.List<Receiver> receivers,
java.lang.String changeAddress,
java.math.BigInteger fee) |
java.util.List<org.nervos.ckb.type.cell.CellOutput> |
generateOutputs(java.util.List<Receiver> receivers,
java.lang.String changeAddress,
java.math.BigInteger fee,
org.nervos.ckb.address.CodeHashType codeHashType) |
public java.util.List<org.nervos.ckb.transaction.CellsWithPrivateKey> collectInputs(java.util.List<Sender> senders) throws java.io.IOException
java.io.IOExceptionpublic java.util.List<org.nervos.ckb.transaction.CellsWithPrivateKey> collectInputs(java.util.List<Sender> senders, org.nervos.ckb.address.CodeHashType codeHashType) 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, java.math.BigInteger fee) 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, java.math.BigInteger fee, org.nervos.ckb.address.CodeHashType codeHashType) throws java.io.IOException
java.io.IOException