Uses of Class
org.sol4k.utilities.AddressFormatException
-
-
Uses of AddressFormatException in org.sol4k.utilities
Subclasses of AddressFormatException in org.sol4k.utilities Modifier and Type Class Description static classAddressFormatException.InvalidCharacterThis exception is thrown byBase58when you try to decode data and a character isn't valid.static classAddressFormatException.InvalidChecksumThis exception is thrown byBase58when you try to decode data and the checksum isn't valid.static classAddressFormatException.InvalidDataLengthThis exception is thrown byBase58when you try to decode data and the data isn't of the right size.static classAddressFormatException.InvalidPrefixThis exception is thrown by theEncodedPrivateKeyhierarchy of classes when you try and decode an address or private key with an invalid prefix (version header or human-readable part).static classAddressFormatException.UnexpectedWitnessVersionThis exception is thrown bySegwitAddresswhen you try to decode data and the witness version doesn't match the Bech32 encoding as per BIP350.static classAddressFormatException.WrongNetworkThis exception is thrown by theEncodedPrivateKeyhierarchy of classes when you try and decode an address with a prefix (version header or human-readable part) that used by another network (usually: mainnet vs testnet).Methods in org.sol4k.utilities that throw AddressFormatException Modifier and Type Method Description static byte[]Base58. decode(String input)Decodes the given base58 string into the original data bytes.static BigIntegerBase58. decodeToBigInteger(String input)
-