public class UDTCellCollector
extends java.lang.Object
| Constructor and Description |
|---|
UDTCellCollector(org.nervos.ckb.service.Api api) |
| Modifier and Type | Method and Description |
|---|---|
UDTCollectResult |
collectInputs(java.util.List<java.lang.String> addresses,
org.nervos.ckb.type.transaction.Transaction tx,
java.math.BigInteger feeRate,
int initialLength,
java.lang.String typeHash,
java.math.BigInteger udtAmount) |
java.math.BigInteger |
getUdtBalanceWithAddress(java.lang.String address,
java.lang.String typeHash) |
java.math.BigInteger |
getUdtBalanceWithLockHash(java.lang.String lockHash,
java.lang.String typeHash) |
public UDTCollectResult collectInputs(java.util.List<java.lang.String> addresses, org.nervos.ckb.type.transaction.Transaction tx, java.math.BigInteger feeRate, int initialLength, @NonNull java.lang.String typeHash, java.math.BigInteger udtAmount) throws java.io.IOException
java.io.IOExceptionpublic java.math.BigInteger getUdtBalanceWithAddress(java.lang.String address,
@NonNull
java.lang.String typeHash)
throws java.io.IOException
java.io.IOExceptionpublic java.math.BigInteger getUdtBalanceWithLockHash(java.lang.String lockHash,
@NonNull
java.lang.String typeHash)
throws java.io.IOException
java.io.IOException