Skip to content

Commit f8ab33d

Browse files
committed
feat: update readme for push notifications
Signed-off-by: Ales Verbic <[email protected]>
1 parent 967990a commit f8ab33d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,3 +255,11 @@ Only output transactions with outputs matching a particular stake address
255255
```bash
256256
$ snek -filter-type chainsync.transaction -filter-address stake1u9f9v0z5zzlldgx58n8tklphu8mf7h4jvp2j2gddluemnssjfnkzz
257257
```
258+
259+
### Push notifications
260+
261+
The example shows how push notification output can be used with filtering options. In this example, push notifications will be sent to the block events. Push notifications will be sent to the specified project_id in the serviceAccount.json file. Please refer to https://github.com/blinklabs-io/snek-mobile for more details on how to send push notifications to snek-mobile.
262+
263+
```bash
264+
$ snek -filter-type chainsync.block -output push -output-push-serviceAccountFilePath /path/to/serviceAccount.json
265+
```

0 commit comments

Comments
 (0)