Builds a transaction payload based on the provided arguments and returns a transaction payload.
This function uses the RemoteABI by default, but can also utilize a specified ABI.
When we call our generateTransactionPayload
function with the relevant type properties,
Typescript can infer the return type based on the appropriate function overload.
The input data for generating the transaction payload.
TransactionPayload - The generated transaction payload, which can be of type TransactionPayloadScript, TransactionPayloadMultiSig, or TransactionPayloadEntryFunction.
Builds a transaction payload based on the data argument and returns a transaction payload - TransactionPayloadScript | TransactionPayloadMultiSig | TransactionPayloadEntryFunction
This uses the RemoteABI by default, and the remote ABI can be skipped by using generateTransactionPayloadWithABI
Param: args.data
GenerateTransactionPayloadData
Returns
TransactionPayload