isNewTransaction

suspend fun isNewTransaction(message: TransactionMessage, source: Address, destination: MeshAddress): Boolean

Checks whether the given Transaction Message was sent as a new transaction or is part of the previously started transaction.

Return

True, if the message starts a new transaction or false otherwise.

Parameters

message

Received message.

source

Source Unicast Address.

destination

destination address.