A Human-Readable Part (HRP).
The number “1” is a separator (the last digit 1 seen is considered the separator).
Base-32 encoded string for the data part of the address (the 20-byte address itself).
A 6-character base-32 encoded error correction code using the BCH algorithm.
This produces an address such as this:
/* X-Chain address */
/* P-Chain address */
In this case, the Bech32 breakdown is as follows:
An HRP of “avax”.
The separator “1”.
The base32 address part of “kj06lhgx84h39snsljcey3tpc046ze68”.
A correction code of “mek3g5”.
Note: the chainid is not considered part of the HRP of the Bech32 address. Both of these addresses represent the same private key, but on different chains.
The error correction code can be used to detect up to 4 errors with certainty in the entire address. While it can automatically correct these errors, because it is uncertain how many errors may exist in the address when typed, it is inadvisable to correct them simply make suggestions where the errors MAY occur to the users. Automatic correct can result in assets being sent to the wrong place.
For any additional questions, please view our other knowledge base articles or contact a support team member via the chat button. Examples are for illustrative purposes only.