-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Using the example code from the documentation (https://developer.bitcoin.com/slp/docs/js/socket). I no longer get mempool entries. If I do the same query at https://slpsocket.bitcoin.com/channel I get entries. Making a query for "transactions" works fine.
Using version: 4.15.0
yarn init
yarn add slp-sdk
let SLPSDK = require('slp-sdk');
let SLP = new SLPSDK();
let socket = new SLP.Socket({
callback: () => {
console.log("connected")
},
wsURL: "wss://ws.bitcoin.com"
});
socket.listen(
{
v: 3,
q: { find: {} }
},
msg => {
console.log(msg)
}
);Any ideas?
Bitbox sdk works fine:
yarn init
yarn add bitbox-sdk
let BITBOX = require('bitbox-sdk').BITBOX;
let bitbox = new BITBOX();
let socket = new bitbox.Socket({
callback: () => {
console.log("connected")
},
wsURL: "wss://ws.bitcoin.com"
})
socket.listen(
{
v: 3,
q: { find: {} }
},
msg => {
console.log(msg)
}
)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels