stroopsToI128ScVal

fun stroopsToI128ScVal(stroops: BigInteger): SCValXdr

Converts stroops (BigInteger) to I128 ScVal.

Delegates to Scv.toInt128 which handles the full 128-bit range correctly, including values larger than Long.MAX_VALUE.

Return

SCValXdr I128 representation

Parameters

stroops

The amount in stroops (must be within I128 range)

Throws

if the value is outside the I128 range