Package com.algorand.algosdk.transaction
Class MethodCallParams
- java.lang.Object
-
- com.algorand.algosdk.transaction.MethodCallParams
-
public class MethodCallParams extends Object
MethodCallParams is an object that holds all parameters necessary to invokeAtomicTransactionComposer.addMethodCall(MethodCallParams)
-
-
Field Summary
Fields Modifier and Type Field Description Long
appID
TEALProgram
approvalProgram
List<AppBoxReference>
boxReferences
TEALProgram
clearProgram
Long
extraPages
BigInteger
fee
BigInteger
firstValid
BigInteger
flatFee
List<Address>
foreignAccounts
List<Long>
foreignApps
List<Long>
foreignAssets
Digest
genesisHash
String
genesisID
StateSchema
globalStateSchema
BigInteger
lastValid
byte[]
lease
StateSchema
localStateSchema
Method
method
List<Object>
methodArgs
byte[]
note
Transaction.OnCompletion
onCompletion
Address
rekeyTo
Address
sender
TxnSigner
signer
-
Constructor Summary
Constructors Modifier Constructor Description protected
MethodCallParams(Long appID, Method method, List<Object> methodArgs, Address sender, Transaction.OnCompletion onCompletion, byte[] note, byte[] lease, String genesisID, Digest genesisHash, BigInteger firstValid, BigInteger lastValid, BigInteger fee, BigInteger flatFee, Address rekeyTo, TxnSigner signer, List<Address> fAccounts, List<Long> fAssets, List<Long> fApps, List<AppBoxReference> boxes, TEALProgram approvalProgram, TEALProgram clearProgram, StateSchema globalStateSchema, StateSchema localStateSchema, Long extraPages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TransactionWithSigner>
createTransactions()
Create the transactions which will carry out the specified method call.
-
-
-
Field Detail
-
appID
public final Long appID
-
onCompletion
public final Transaction.OnCompletion onCompletion
-
method
public final Method method
-
boxReferences
public final List<AppBoxReference> boxReferences
-
approvalProgram
public final TEALProgram approvalProgram
-
clearProgram
public final TEALProgram clearProgram
-
globalStateSchema
public final StateSchema globalStateSchema
-
localStateSchema
public final StateSchema localStateSchema
-
extraPages
public final Long extraPages
-
signer
public final TxnSigner signer
-
sender
public final Address sender
-
fee
public final BigInteger fee
-
flatFee
public final BigInteger flatFee
-
firstValid
public final BigInteger firstValid
-
lastValid
public final BigInteger lastValid
-
note
public final byte[] note
-
lease
public final byte[] lease
-
rekeyTo
public final Address rekeyTo
-
genesisID
public final String genesisID
-
genesisHash
public final Digest genesisHash
-
-
Constructor Detail
-
MethodCallParams
protected MethodCallParams(Long appID, Method method, List<Object> methodArgs, Address sender, Transaction.OnCompletion onCompletion, byte[] note, byte[] lease, String genesisID, Digest genesisHash, BigInteger firstValid, BigInteger lastValid, BigInteger fee, BigInteger flatFee, Address rekeyTo, TxnSigner signer, List<Address> fAccounts, List<Long> fAssets, List<Long> fApps, List<AppBoxReference> boxes, TEALProgram approvalProgram, TEALProgram clearProgram, StateSchema globalStateSchema, StateSchema localStateSchema, Long extraPages)
-
-
Method Detail
-
createTransactions
public List<TransactionWithSigner> createTransactions()
Create the transactions which will carry out the specified method call.The list of transactions returned by this function will have the same length as method.getTxnCallCount().
-
-