getSequenceNumber

abstract fun getSequenceNumber(): Int
Message counter (optional, 0 by default used for the first deploy)
This field is required, because we need to protect the smart contract against "replay attacks"
Learn more: https://ton.org/docs/develop/smart-contracts/guidelines/external-messages
uint32 sequence_number = 4;

Return

The sequenceNumber.