Class AssetConfigureTransactionBuilder<T extends AssetConfigureTransactionBuilder<T>>
- java.lang.Object
-
- com.algorand.algosdk.builder.transaction.TransactionParametersBuilder<T>
-
- com.algorand.algosdk.builder.transaction.TransactionBuilder<T>
-
- com.algorand.algosdk.builder.transaction.AssetCreateTransactionBuilder<T>
-
- com.algorand.algosdk.builder.transaction.AssetConfigureTransactionBuilder<T>
-
public class AssetConfigureTransactionBuilder<T extends AssetConfigureTransactionBuilder<T>> extends AssetCreateTransactionBuilder<T>
Build an asset configure transaction. Required parameters: assetIndex genesisHash Optional parameters: manager reserve freeze clawback Optional global parameters fee/flatFee note genesisID group lease You may only set addresses which are not zero for the existing asset. Do not set assetUnitName, assetName, url, metadataHash, assetDecimals, assetTotal or defaultFrozen.
-
-
Field Summary
Fields Modifier and Type Field Description protected BigInteger
assetIndex
protected boolean
strictEmptyAddressChecking
-
Fields inherited from class com.algorand.algosdk.builder.transaction.AssetCreateTransactionBuilder
assetDecimals, assetName, assetTotal, assetUnitName, clawback, defaultFrozen, freeze, manager, metadataHash, reserve, url
-
Fields inherited from class com.algorand.algosdk.builder.transaction.TransactionBuilder
group, type
-
Fields inherited from class com.algorand.algosdk.builder.transaction.TransactionParametersBuilder
fee, firstValid, flatFee, genesisHash, genesisID, lastValid, lease, note, rekeyTo, sender
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyTo(Transaction txn)
T
assetIndex(Integer assetIndex)
Set the assetIndex.T
assetIndex(Long assetIndex)
Set the assetIndex.T
assetIndex(BigInteger assetIndex)
Set the assetIndex.static AssetConfigureTransactionBuilder<?>
Builder()
Initialize aAssetConfigureTransactionBuilder
.T
strictEmptyAddressChecking(boolean strictEmptyAddressChecking)
Whether to disallow empty admin accounts from being set.-
Methods inherited from class com.algorand.algosdk.builder.transaction.AssetCreateTransactionBuilder
assetDecimals, assetName, assetTotal, assetTotal, assetTotal, assetUnitName, clawback, clawback, clawback, defaultFrozen, freeze, freeze, freeze, manager, manager, manager, metadataHash, metadataHashB64, metadataHashUTF8, reserve, reserve, reserve, url
-
Methods inherited from class com.algorand.algosdk.builder.transaction.TransactionBuilder
build, group, group, groupB64, groupUTF8
-
Methods inherited from class com.algorand.algosdk.builder.transaction.TransactionParametersBuilder
fee, fee, fee, firstValid, firstValid, firstValid, flatFee, flatFee, flatFee, genesisHash, genesisHash, genesisHashB64, genesisHashUTF8, genesisID, lastValid, lastValid, lastValid, lease, lease, leaseB64, leaseUTF8, lookupParams, note, noteB64, noteUTF8, rekey, rekey, rekey, sender, sender, sender, suggestedParams
-
-
-
-
Field Detail
-
assetIndex
protected BigInteger assetIndex
-
strictEmptyAddressChecking
protected boolean strictEmptyAddressChecking
-
-
Method Detail
-
Builder
public static AssetConfigureTransactionBuilder<?> Builder()
Initialize aAssetConfigureTransactionBuilder
.
-
applyTo
protected void applyTo(Transaction txn)
- Overrides:
applyTo
in classAssetCreateTransactionBuilder<T extends AssetConfigureTransactionBuilder<T>>
-
assetIndex
public T assetIndex(BigInteger assetIndex)
Set the assetIndex.- Parameters:
assetIndex
- The assetIndex.- Returns:
- This builder.
-
assetIndex
public T assetIndex(Integer assetIndex)
Set the assetIndex.- Parameters:
assetIndex
- The assetIndex.- Returns:
- This builder.
-
assetIndex
public T assetIndex(Long assetIndex)
Set the assetIndex.- Parameters:
assetIndex
- The assetIndex.- Returns:
- This builder.
-
strictEmptyAddressChecking
public T strictEmptyAddressChecking(boolean strictEmptyAddressChecking)
Whether to disallow empty admin accounts from being set. They cannot be reset to the correct address later- Parameters:
strictEmptyAddressChecking
- The strictEmptyAddressChecking value.- Returns:
- This builder.
-
-