Class AssetDestroyTransactionBuilder<T extends AssetDestroyTransactionBuilder<T>>
- java.lang.Object
-
- com.algorand.algosdk.builder.transaction.TransactionParametersBuilder<T>
-
- com.algorand.algosdk.builder.transaction.TransactionBuilder<T>
-
- com.algorand.algosdk.builder.transaction.AssetDestroyTransactionBuilder<T>
-
public class AssetDestroyTransactionBuilder<T extends AssetDestroyTransactionBuilder<T>> extends TransactionBuilder<T>
Build an asset destroy transaction. Required parameters: assetIndex genesisHash Optional global parameters fee/flatFee note genesisID group lease
-
-
Field Summary
Fields Modifier and Type Field Description protected BigInteger
assetIndex
-
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AssetDestroyTransactionBuilder()
-
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 AssetDestroyTransactionBuilder<?>
Builder()
Initialize aAssetDestroyTransactionBuilder
.-
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
-
-
Method Detail
-
Builder
public static AssetDestroyTransactionBuilder<?> Builder()
Initialize aAssetDestroyTransactionBuilder
.
-
applyTo
protected void applyTo(Transaction txn)
- Specified by:
applyTo
in classTransactionBuilder<T extends AssetDestroyTransactionBuilder<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.
-
-