Solflare Wallet
  • ☀️Introduction
    • The Power of Self-Custody
    • Benefits of Non-Custodial Wallets
    • Digital Wallet Best Practices
    • Bigger Picture
  • Onboarding
    • 📞Mobile
      • Generate a New Wallet
      • Connect a Ledger Wallet
      • Import any Solana Wallet
    • 🖥️Web App & Extension
      • Generate a New Wallet
      • Import Your Ledger Device
      • Import Your Keystone Device
      • Import any Solana Wallet
    • 🚶Next Steps
  • Integrations
    • ⛓️Integrate Solflare
      • MetaMask
      • Using the Solana Wallet Adapter
      • Solflare Wallet SDK
    • 🎭Profile Picture Protocol
      • Get a Wallet's Profile Picture
      • Set NFT as Profile Picture
      • Remove a Profile Picture
    • ⚡Solflare Notifications
      • Sending Notifications
      • User's Perspective
        • Notification Center
        • Receiving Notifications
        • Subscription Management
      • API Endpoints
        • Broadcast Endpoint
        • Unicast Endpoint
        • List Casts Endpoint
        • View Cast Endpoint
        • Check Public Key Subscription Status for Domain
    • 🖼️NFT Standard
      • URI JSON Schema
      • CDN hosted files
      • Collections
      • Additional Attributes Specification
      • Order of JSON Fields
    • 🔗Deeplinks
      • Provider Methods
        • Connect
        • Disconnect
        • SignAndSendTransaction
        • SignAllTransactions
        • SignTransaction
        • SignMessage
      • Other Methods
        • Browse
      • Handling Sessions
      • Specifying Redirects
      • Encryption
      • Limitations
Powered by GitBook
On this page
  1. Integrations
  2. ⚡Solflare Notifications
  3. API Endpoints

Check Public Key Subscription Status for Domain

PreviousView Cast EndpointNextNFT Standard

Last updated 2 years ago

Was this helpful?

CtrlK

Was this helpful?

No authorization header is required.

POST /v1/connector/public-key/check
{
  "domain": "localhost",
  "publicKey": "GC5F...k6gZ",
}
Response
{
  "data": {
    "domain": "localhost",
    "providedPublicKey": { //or null
      "publicKey": "GC5F...k6gZ",
      "account": "123...",
      "preferences": ["general", "security", "transactional"]
    },
    "account": {
      "_id": "123..",
      "name": "Localhost",
      "status": "active",
      "type": "provider",
      "logo": "https://localhost/logo.png",
      ...
    },
  }
}