func Args To Xdr SCValues
Converts function arguments to XDR SCVal objects based on the function specification.
This is the primary method that dramatically simplifies contract interaction by automatically converting native Kotlin types to XDR based on the contract spec.
Return
List of SCVal objects in the correct order for the function
Parameters
function Name
The function name
args
Map of argument names to values
Throws
if the function is not found or required arguments are missing