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

Was this helpful?

  1. Integrations
  2. Solflare Notifications

Sending Notifications

PreviousSolflare NotificationsNextUser's Perspective

Last updated 2 years ago

Was this helpful?

Apps that want to use our notification protocol will receive access to a notification dashboard from where they can send notifications. They will be able to see several subscribed public keys, their casts, and other general statistics.

Apart from the dashboard, we provide API endpoints that let apps integrate notifications in their custom business flows.

Apps can send two types of notifications - broadcast and unicast.

  • Broadcast notifications are sent to all public keys subscribed to the app.

  • Unicast notifications are sent to a single targeted public key that is subscribed to the dApp.

Broadcast notifications are not sent immediately; they are subject to review before being sent to users.

Notification contains

Field
Mandatory
Note

Title

Y

Body

Y

Icon

Y

Only shown on web

Image

N

Only shown on mobile

Action URL

N

Only works on web

Platform

Y

Cast time

Y*

For broadcast notifications

Topic

Y

Target Public Key

Y*

For unicast notifications

Notification Topics

There are 3 default Notification Topics, users have options to opt-out of specific topics.

Currently, we have:

General - Used for marketing and general announcements

Security - Used for announcements about security issues

Transactional - Used when targeting specific/single user(s) about some event/transaction, etc.

⚡
Creating a cast