What are the possible lengths for addresses and seeds?
As this is important for designing a database to store these values.
Iota Stack Exchange is a question and answer site for users of Iota, the open-source cryptocurrency for IoT that does not use a blockchain. It only takes a minute to sign up.
Sign up to join this communityThe address are usually 90 characters long, which includes 9 characters of checksum. (meaning char(90)
column is a good fit)
(but api does accept 81 character address which are without checksum in various functions)
The seed is 81 characters long, but sometimes it can be less. However for addresses less than 81 characters long, it will need to be padded with '9'. So we should still use char(81)
.
9
at the end). When using the API, the seed has to be exactly 81 characters long.