Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

WebSocket subscribe on Address transaction #15

@SergeyEsipov

Description

@SergeyEsipov

"bitcoinAddress: new transaction concerning received from network. This event is published in the bitcoinAddress room."

How to use it?

I send:

io.emit('subscribe', "LTU2cds4aSdXFip9sV4gXphnhxGQjgfjmg");

and then:

io.on("LTU2cds4aSdXFip9sV4gXphnhxGQjgfjmg", function(data) {

console.log("New transaction LTU2cds4aSdXFip9sV4gXphnhxGQjgfjmg: ",data)

}).

But nothing happens. Transactions in the blockchain appear, but I do not get them.

Litecore works:
info: ::ffff:127.0.0.1 web socket subscribe: LTU2cds4aSdXFip9sV4gXphnhxGQjgfjmg

What am I doing wrong? Or how to do it? Just do not understand from the documentation .. :(

Please, help me.
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions