Function: getContractArgument()
function getContractArgument(contextTx, arg): ResolvedOperation;
Function to get a specific argument of a contract from the context of a transaction.
Parameters
• contextTx: L2TxResolved
The context of the transaction.
• arg: number
The index of the argument.
Returns
The argument of the contract at the specified index as a ResolvedOperation.