Updated Herald API (markdown)
parent
23cf89db1d
commit
bc754f218e
1 changed files with 4 additions and 4 deletions
|
@ -50,13 +50,13 @@ Responses are similar:
|
||||||
|
|
||||||
**Subscriptions**
|
**Subscriptions**
|
||||||
------
|
------
|
||||||
These
|
The following APIs are for subscriptions:
|
||||||
- `blockchain.address.subscribe`
|
- `blockchain.address.subscribe` notifies whenever an address is touched, ie it received a new tx or one of its txs has been spent - in mempool or in a new block.
|
||||||
- `blockchain.address.unsubscribe`
|
- `blockchain.address.unsubscribe`
|
||||||
- `blockchain.scripthash.subscribe`
|
- `blockchain.scripthash.subscribe`
|
||||||
- `blockchain.scripthash.unsubscribe`
|
- `blockchain.scripthash.unsubscribe`
|
||||||
- `blockchain.headers.subscribe`
|
- `blockchain.headers.subscribe` notifies with new block headers as new blocks are found
|
||||||
- `server.peers.subscribe`
|
- `server.peers.subscribe` notifies when the hub peers (federated hubs) changes
|
||||||
|
|
||||||
|
|
||||||
**Methods**
|
**Methods**
|
||||||
|
|
Loading…
Reference in a new issue