From 83880910dc3e9fc0ce8f6509be35e84216a0ded9 Mon Sep 17 00:00:00 2001 From: Braydon Fuller Date: Wed, 18 May 2016 11:22:36 -0400 Subject: [PATCH] docs: add documentation for addresstxid event --- docs/services/bitcoind.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/services/bitcoind.md b/docs/services/bitcoind.md index b07fe2d6..d38f303e 100644 --- a/docs/services/bitcoind.md +++ b/docs/services/bitcoind.md @@ -298,12 +298,14 @@ node.services.bitcoind.on('block', function(blockHash) { For details on instantiating a bus for a node, see the [Bus Documentation](../bus.md). - Name: `bitcoind/rawtransaction` - Name: `bitcoind/hashblock` +- Name: `bitcoind/addresstxid`, Arguments: [address, address...] **Examples:** ```js bus.subscribe('bitcoind/rawtransaction'); bus.subscribe('bitcoind/hashblock'); +bus.subscribe('bitcoind/addresstxid', ['13FMwCYz3hUhwPcaWuD2M1U2KzfTtvLM89']); bus.on('bitcoind/rawtransaction', function(transactionHex) { //... @@ -312,4 +314,9 @@ bus.on('bitcoind/rawtransaction', function(transactionHex) { bus.on('bitcoind/hashblock', function(blockhashHex) { //... }); + +bus.on('bitcoind/addresstxid', function(data) { + // data.address; + // data.txid; +}); ```