Class GenerateEntryFunctionPayloadData
- Namespace
- Aptos
- Assembly
- Aptos.dll
Represents a payload data for an entry function.
public class GenerateEntryFunctionPayloadData : GenerateTransactionPayloadDataWithAbi
- Inheritance
-
GenerateEntryFunctionPayloadData
- Inherited Members
Constructors
GenerateEntryFunctionPayloadData(GenerateEntryFunctionPayloadData, EntryFunctionAbi?)
public GenerateEntryFunctionPayloadData(GenerateEntryFunctionPayloadData data, EntryFunctionAbi? abi = null)
Parameters
GenerateEntryFunctionPayloadData(string, List<object>?, List<object>?, EntryFunctionAbi?)
Represents a payload data for an entry function.
public GenerateEntryFunctionPayloadData(string function, List<object>? functionArguments = null, List<object>? typeArguments = null, EntryFunctionAbi? abi = null)
Parameters
function
stringThe function to be called on the module. This should be in the format of "address::module_name::function_name".
functionArguments
List<object>A list of either strings or TransactionArgument objects representing the function arguments. If the function arguments are strings, they will be converted to TransactionArgument objects using the ConvertArgument(object?, TypeTag, List<TypeTag>) method.
typeArguments
List<object>A list of TypeTag objects representing the type arguments of the function.
abi
EntryFunctionAbiThe ABI of the function that will be used to check the type and function arguments of the transaction.