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_getDomainReverseKey

Returns a domain's reverse registry Solana account public key.

Parameters

  • domain string required: The domain name to query for.

Result

The result will be an RPCResponse JSON object with field:

  • result string: A base58-encoded Solana public key.

Example

{
  "jsonrpc": "2.0",
  "method": "sns_getDomainReverseKey",
  "params": [
    "bonfida.sol"
  ],
  "id": 42
}
{
  "jsonrpc": "2.0",
  "result": "DqgmWxe2PPrfy45Ja3UPyFGwcbRzkRuwXt3NyxjX8krg",
  "id": 42
}

Previoussns_reverse_lookup

Last updated 3 months ago