Address<TAddress>: Brand<EncodedString<TAddress, "base58">, "Address">

Represents a string that validates as a Solana address. Functions that require well-formed addresses should specify their inputs in terms of this type.

Whenever you need to validate an arbitrary string as a base58-encoded address, use the address, assertIsAddress, or isAddress functions in this package.

Type Parameters

  • TAddress extends string = string