Kit
Type aliases

Address

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

Type ParameterDefault type
TAddress extends stringstring

On this page