Represents a ckb address with associated script and prefix.
Creates an instance of Address.
The script associated with the address.
The address prefix.
Static
Creates an Address instance from an AddressLike object.
An AddressLike object or an instance of Address.
An Address instance.
Creates an Address instance from an address string.
The address string to parse.
A Client instance or a record of Client instances keyed by prefix.
A promise that resolves to an Address instance.
Will throw an error if the address prefix is unknown or mismatched.
Creates an Address instance from a script and client.
The script-like object.
The client instance used to fetch the address prefix.
Converts the Address instance to a string.
The address as a string.
Represents a ckb address with associated script and prefix.