getSolanaName()
getSolanaName(
rpcUrl
,address
):Promise
<null
|string
>
Defined in: packages/pulsar-solana/src/utils/snsUtils.ts:41
Performs a reverse lookup to find the .sol domain name for a given wallet address. Results are cached to avoid redundant network requests.
Parameters
rpcUrl
string
The RPC endpoint URL.
address
string
The public key of the wallet as a string.
Returns
Promise
<null
| string
>
The .sol domain name (e.g., “bonfida.sol”) or null if not found.
Last updated on