Simulation des étapes qu'exécute NBXplorer pour détecter un paiement entrant.
POST /v1/cryptos/BTC/derivations/xpub6CUGRUo… → 200
GET /unused → bc1q…e5f6 (index m/0/2, jamais utilisée)
ws://localhost:24444/v1/cryptos/BTC/events → connexion ouverte
0.005 BTC → bc1q…e5f6 — détectée dans le mempool (0-conf)
type: "unconfirmedTransaction" — 500 000 satoshis
type: "newTransaction" — confirmations: 1 — hauteur: 840001
Commande #4821 → statut : PAYÉ (0.005 BTC)