toDuration

fun toDuration(duration: ULong): SCValXdr

Build a SCValXdr with the type of SCValTypeXdr.SCV_DURATION.

Return

SCValXdr with the type of SCValTypeXdr.SCV_DURATION

Parameters

duration

duration to convert (uint64)