fun timestamp(time: Instant, tolerance: Duration = 30.seconds, notary: PublicKey = DUMMY_NOTARY.owningKey): Unit
Adds a timestamp command to the transaction.
time
- The Instant of the TimestampCommand.tolerance
- The tolerance of the TimestampCommand.notary
- The notary to sign the command.fun timestamp(data: TimestampCommand, notary: PublicKey = DUMMY_NOTARY.owningKey): Unit
Adds a timestamp command to the transaction.
data
- The TimestampCommand.notary
- The notary to sign the command.