Live status of transaction

This commit is contained in:
2020-12-27 23:27:35 +01:00
parent 8168674516
commit 7f8ae69e2e
12 changed files with 791 additions and 127 deletions

11
Socket Events.md Normal file
View File

@@ -0,0 +1,11 @@
# Socket events
## Invoice status
### Requests
* `subscribe` - Subscribe to a invoices progress. Returns `true` if successful.
* `selector` - Your selector
### Events
* `status` - Status changed (see PaymentStatus enum)
* `confirmationUpdate` - When there is a new confirmation on the transaction
* `count` - Count of confirmations