# Dapp Notifications

Sending.Network (SDN) provides a universal inbox to receive messages from dapps and wallets. This way, users can receive time-sensitive dapp messages, like an NFT floor price drop or an imminent liquidation in a lending protocol position. There would be tremendous user scenarios for such communication. A decentralized exchange can notify users when the desired gas price is reached, or an NFT marketplace sends out heads-up notifications of NFT auctions, saving users’ effort from regularly checking.

<figure><img src="/files/ND66OomFHF4SqvInRcsf" alt=""><figcaption><p>Overview</p></figcaption></figure>

Below we provide a specific use case describing how the user can receive a decentralized exchange (DEX) notification inside the wallet app when the desired gas price is reached.

### **Use Case Name**

Receiving DEX gas price notification from wallet

### **Actors**

1. DEX
2. Wallet app
3. User
4. Sending.Network protocol

### **Preconditions**

1. The DEX has integrated the Sending.Network protocol.
2. The wallet app has integrated the Sending.Network protocol.

### **Basic Flow of Events**

1. The use case begins when a user authenticates in the DEX.
2. The user sets a target gas price as a notification condition.
3. When the gas price is met, DEX calls Sending.Network service message interface to send out a notification message to the user's wallet address.
4. The wallet receives the DEX message.
5. The wallet displays the message.
6. The use case ends successfully.

<figure><img src="/files/BUIPV1wI6JtsyUzSn1r2" alt=""><figcaption><p>Flow Chart</p></figcaption></figure>

### **Post-conditions**

The user successfully receives the DEX gas price notification and the message has been saved in the wallet app.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sending-network.gitbook.io/sending.network/use-cases/dapp-notifications.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
