SNS Guide
CtrlK
  • Welcome
  • SNS Basics
    • The Name Registry
  • TLD
    • X (formerly Twitter)
  • On-Chain Resolution
  • Web Resolution
  • Domain Records
  • Tokenization
  • SNS Improvement Protocol
  • SNS SDK
    • Introduction
    • Quick Start - Integration
    • Registration
    • Sales & Listings
      • Fixed Price Offers (Listings)
      • Unsolicited Offers
      • Category Offers
      • P2P Offers
    • Resolve Domains
    • Lookup Methods
      • Direct Lookup
      • Reverse Lookup
    • Get all registered domains
    • Get all domains of wallet
    • Primary Domains
    • Domain Record Methods
      • V1 Records (Deprecated)
      • V2 Records
    • X Handle Methods
    • Subdomains
      • Subdomain Registrars
    • Delete Domains
  • SNS API
    • Introduction
    • Domains
    • Primary Domains
    • Categories
    • Users
    • Listings
    • Sales
    • Trade Volume
    • Owners
    • Images
    • SNS Quicknode API
      • sns_getAllDomainsForOwner
      • sns_getDomainData
      • sns_getDomainKey
      • sns_getDomainRecordKey
      • sns_getFavouriteDomain
      • sns_getRegistrationTransaction
      • sns_getSubdomains
      • sns_getSupportedRecords
      • sns_resolveDomain
      • sns_reverse_lookup
      • sns_getDomainReverseKey
Powered by GitBook
On this page
  • Parameters
  • Result
  • Example
  1. SNS API
  2. SNS Quicknode API

sns_reverse_lookup

Returns the domain name associated with a raw SNS account.

Parameters

  • domain_key string required: The base58-encoded public key of the Solana account to reverse lookup.

Result

The result will be an RPCResponse JSON object with field:

  • value string: The domain name.

Example

{
  "jsonrpc": "2.0",
  "method": "sns_reverseLookup",
  "params": [
    "Crf8hzfthWGbGbLTVCiqRqV5MVnbpHB1L9KQMd6gsinb"
  ],
  "id": 42
}
{
  "jsonrpc": "2.0",
  "result": "bonfida",
  "id": 42
}

Previoussns_resolveDomainNextsns_getDomainReverseKey

Last updated 3 months ago