You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the the data/block info received is not a JSON object as stated in the README.md, but a plan string. Here is what I got from io.socket Java debugging output:
socket received: type 'message', data '2["block","000000000000000000075609555b5e588082f37aca1cb0d2cf5419a4c033cd28"]'
In fact, only the block id is passed to the listener as a string:
in the WebSocket API section of the README.md, there is the following statement:
block
: new block received from network. This event is published in the inv room. Data will be a app/models/Block object. Sample output:But the the data/block info received is not a JSON object as stated in the README.md, but a plan string. Here is what I got from io.socket Java debugging output:
In fact, only the block id is passed to the listener as a string:
Would you mind updating the README.md to reflect the actual API output?
I've tested this on test-insight.bitpay.com and insight.bitpay.com. Both with same results.
Thanks.
The text was updated successfully, but these errors were encountered: