I am sending a zero-value transaction (using IOTA JavaScript library) with message: The IOTA distributed ledger operates on ternary messages. These types of messages are represented by trits {-1,0,1}, and which is a base-3 numbering system. Within IOTA we also have the concept of a tryte which is 3 trits and which can represent 27 states. These states are then named with uppercase letters (A-Z) and the "9". The message "Hello", for example, is translated into the trytes of "RBTC9D9DCD"

After converting it into trytes, I want to check the length of this message in trytes. I know that the payload length is 2187 trytes. How can I check if this message is of 2187 trytes or more than that?

Thanks in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.