What are the possible lengths for addresses and seeds?
As this is important for designing a database to store these values.
What are the possible lengths for addresses and seeds?
As this is important for designing a database to store these values.
The 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.
– mihi
Jan 14 '18 at 17:20