com.r3corda.core.testing / TransactionDSL / timestamp

timestamp

fun timestamp(time: Instant, tolerance: Duration = 30.seconds): Unit

Adds a timestamp command to the transaction.

Parameters

time - The Instant of the TimestampCommand.

tolerance - The tolerance of the TimestampCommand.