Class GenerateTransactionPayloadDataWithAbi
- Namespace
- Aptos
- Assembly
- Aptos.dll
public abstract class GenerateTransactionPayloadDataWithAbi : GeneratePayloadData
- Inheritance
-
GenerateTransactionPayloadDataWithAbi
- Derived
- Inherited Members
Constructors
GenerateTransactionPayloadDataWithAbi(string, List<object>?, List<object>?, EntryFunctionAbi?)
protected GenerateTransactionPayloadDataWithAbi(string function, List<object>? functionArguments, List<object>? typeArguments = null, EntryFunctionAbi? abi = null)
Parameters
Fields
Abi
The ABI of the function that will be used to check the type and function arguments of the transaction.
public EntryFunctionAbi? Abi
Field Value
Remarks
If the ABI is not provided, a remote ABI will be fetch from the blockchain.
Function
The function to be called on the module. This should be in the format of "address::module_name::function_name".
public string Function
Field Value
FunctionArguments
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.
public List<object>? FunctionArguments
Field Value
Remarks
The function arguments are expected to be in the same order and type as the function's expected ABI.