Companion

object Companion

Properties

Link copied to clipboard
Link copied to clipboard
const val LENGTH: Int = 32
Link copied to clipboard
const val LONG_STRING_LENGTH: Int = 64
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Convenience method for creating an AccountAddress from all known inputs.

Link copied to clipboard

Parses relaxed address formats. Use fromStringStrict when input must satisfy canonical AIP-40 formatting.

Link copied to clipboard

NOTE: This function has strict parsing behavior. For relaxed behavior, please use the [fromString] function.

Link copied to clipboard
fun isValid(input: String, strict: Boolean = false): Boolean

Check if the string is a valid AccountAddress.