Adds the provided label for the provided key. If the label collides with an existing label, for a different key it will be suffixed with a number.
Adds the provided label for the provided key unless a label for that key was added previously.
Adds labels for all {@link KeyLike}s it finds on the provided object If the label collides with an existing label, for a different key it will be suffixed with a number.
Clears all address labels collected so far and instructs the {@link ammanClient} to do the same.
Resolves all labeled addresses from the amman relay and updates the local labels.
knownLabes all known labels after the update
Returns a function that allows comparing the provided key with another and can be used for assertion tools like {@link spok | https://github.com/thlorenz/spok }.
Resolves a known label for the provided key or address
label for the address or undefined
if not found
Resolves the {@link PublicKey}s for the given signers/keypairs.
resolvedKeys which are labels for known public keys or the public key
Resolves all addresses labeled with the {@link label}.
addresses or empty if none found
Resolves a known label for the provided key or address querying the amman relay if it isn't found in the cache.
label for the address or undefined
if not found
Resolves an address for the provided label querying the amman relay if it isn't found in the cache.
addresses labeled with the {@link label}
Generated using TypeDoc
Manages address labels in order to improve logging and provide them to tools like the solana explorer.