funcArgsToXdrSCValues

fun funcArgsToXdrSCValues(functionName: String, arguments: Map<String, Any?>): List<SCValXdr>

Convert function arguments from native Kotlin types to XDR.

This is a power-user helper that exposes the type conversion logic. Use this when you want control over conversion timing or need to inspect the XDR before invoking.

Return

List of SCValXdr ready to pass to invokeWithXdr

Parameters

functionName

The function name

arguments

Map of argument names to native Kotlin values

Throws

if contract spec not loaded

Samples