This page uses machine translation from English, which may contain errors or unclear language. For the most accurate information, please see the original English version. Some content may be in the original English due to frequent updates. Help us improve this page's translation by joining our effort on Crowdin. (Crowdin translation page, Contributing guide)
Address
Utils for compressing public key.
Import necessary classes from the Web3j and kaia libraries(web3j-ext
)
For convert from compressed public key
to an AccountPublicKey
with {x, y}
format, use AccountKeyPublicUtils.decompressKey
For compressing AccountKeyPublic
to compressed public key
string, uses AccountKeyPublicUtils.toCompressedPublicKey