1

I am trying to stream my dex offers, but I keep getting 406 : not applicable

To Reproduce

// "stellar-sdk": "^5.0.2",
let StellarSdk = require('stellar-sdk')
let server = new StellarSdk.Server('https://horizon.stellar.org');

server.offers()
    .forAccount("GBNEOJ5TZEDXEE2IYKXQ2HQEIZUQGVLS74KNZ72MAWMNPA4IKFC7BHR7")
    .stream({
        onmessage: (currentOffers) => {
            console.log(currentOffers);
        },
        onerror: (err) => {
            console.log(err)
        }
    })

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.