Tried connecting BlueWallet version 5.1.1 for android with a watch-only zpub, see pasted -vvvv below:
INFO - [192.168.84.165:34930] connected peer #1
TRACE - RPC Request("{\"jsonrpc\":\"2.0\",\"method\":\"server.version\",\"params\":[\"bluewallet\",\"1.4\"],\"id\":1}\n")
TRACE - RPC PeriodicUpdate
TRACE - RPC Request("[{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"01b4d39c76ead4e45a2f3be387ed4a5f0b9cefabbe1b2363a14540df9971e842\"],\"id\":2},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"62b7d1e41d33471d4f4d9f27cfedd0bccc26dd57c70c1475f4f0d55961636fe1\"],\"id\":3},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"adab95d70b81214d1d9ac2b6c5ef8c0efcb74efdbb75213d5bf5ff8be91af816\"],\"id\":4},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"86796e178b8a4d9038476699d38a7294689e98af54e0f077840c0007a3a1067f\"],\"id\":5},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"1ff427e4336230489eb8e66b4007d3dc00c8ef805cad67a181563b1bbc1cf198\"],\"id\":6},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"1d0ffe14649ef62049300068dc207b2073f4de01ab9b5068d66c72ebeb9e3b1c\"],\"id\":7},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"64fa038fd381334872d0ff176951126df374ad4fb83038be3cf390e32262dcff\"],\"id\":8},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"6603cb4dd3d53130bad44d66e5a8de2826c5018d0163b7af74495f08e3658ccc\"],\"id\":9},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"c9dc542aaa32b0f5d5fcc821f7bd65d07d5ec110732c39155c61437fa309e5aa\"],\"id\":10},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"bb1b64b3aa9dd50933aec722f79b553ae9a2f00fceabcc65d855f1f71863d088\"],\"id\":11},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"15681acb745b10ab3971d76f55a869c8c760d7858c72e3fe006aafd78618a7a0\"],\"id\":12},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"8e9a1d9f35d4165736a15115794d51d3d1d9762a22130bc9dd48548a01e30ba4\"],\"id\":13},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"2c37c70d58f921e0cf9e882438601d5572254994df40befee908dbe9c72f70ae\"],\"id\":14},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"20a25b6b5eccad253d6adbb95bbaef47059d0dc6bbd545a47256b0dc22e0040e\"],\"id\":15},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"8281b32daa220f6516fb908049422fb8fa49ee9ae54b53fcdd2c8796394d94cf\"],\"id\":16},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"3b4276fcbd060ecb4a51af0af59c320e6d1ae94d27b9c659b21cf0201bddd59b\"],\"id\":17},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"78ef534eee314cce25d73751af11ee994bf5b618710d63e479d0375885e7e40a\"],\"id\":18},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"82c0fd46bcb1ec1859742c57c62410d1ac7c9cf1f066fdb8452020cdda8755e4\"],\"id\":19},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"509ebb024d74a8396c541c092618162d180b95d81dd19ff75fefd083ab2244bb\"],\"id\":20},{\"jsonrpc\":\"2.0\",\"method\":\"blockchain.scripthash.get_history\",\"params\":[\"910172a3c740ec7b7e2e96ac70cb28212e3d255445978838321ceeaebf830cfb\"],\"id\":21}]\n")
ERROR - [192.168.84.165:34930] connection handling failed: Error: invalid command: [{"id":2,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["01b4d39c76ead4e45a2f3be387ed4a5f0b9cefabbe1b2363a14540df9971e842"]},{"id":3,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["62b7d1e41d33471d4f4d9f27cfedd0bccc26dd57c70c1475f4f0d55961636fe1"]},{"id":4,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["adab95d70b81214d1d9ac2b6c5ef8c0efcb74efdbb75213d5bf5ff8be91af816"]},{"id":5,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["86796e178b8a4d9038476699d38a7294689e98af54e0f077840c0007a3a1067f"]},{"id":6,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["1ff427e4336230489eb8e66b4007d3dc00c8ef805cad67a181563b1bbc1cf198"]},{"id":7,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["1d0ffe14649ef62049300068dc207b2073f4de01ab9b5068d66c72ebeb9e3b1c"]},{"id":8,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["64fa038fd381334872d0ff176951126df374ad4fb83038be3cf390e32262dcff"]},{"id":9,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["6603cb4dd3d53130bad44d66e5a8de2826c5018d0163b7af74495f08e3658ccc"]},{"id":10,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["c9dc542aaa32b0f5d5fcc821f7bd65d07d5ec110732c39155c61437fa309e5aa"]},{"id":11,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["bb1b64b3aa9dd50933aec722f79b553ae9a2f00fceabcc65d855f1f71863d088"]},{"id":12,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["15681acb745b10ab3971d76f55a869c8c760d7858c72e3fe006aafd78618a7a0"]},{"id":13,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["8e9a1d9f35d4165736a15115794d51d3d1d9762a22130bc9dd48548a01e30ba4"]},{"id":14,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["2c37c70d58f921e0cf9e882438601d5572254994df40befee908dbe9c72f70ae"]},{"id":15,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["20a25b6b5eccad253d6adbb95bbaef47059d0dc6bbd545a47256b0dc22e0040e"]},{"id":16,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["8281b32daa220f6516fb908049422fb8fa49ee9ae54b53fcdd2c8796394d94cf"]},{"id":17,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["3b4276fcbd060ecb4a51af0af59c320e6d1ae94d27b9c659b21cf0201bddd59b"]},{"id":18,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["78ef534eee314cce25d73751af11ee994bf5b618710d63e479d0375885e7e40a"]},{"id":19,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["82c0fd46bcb1ec1859742c57c62410d1ac7c9cf1f066fdb8452020cdda8755e4"]},{"id":20,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["509ebb024d74a8396c541c092618162d180b95d81dd19ff75fefd083ab2244bb"]},{"id":21,"jsonrpc":"2.0","method":"blockchain.scripthash.get_history","params":["910172a3c740ec7b7e2e96ac70cb28212e3d255445978838321ceeaebf830cfb"]}]
DEBUG - [192.168.84.165:34930] shutting down connection
INFO - [192.168.84.165:34930] disconnected peer #1
Perhaps related to https://github.com/chris-belcher/electrum-personal-server/issues/186 ?
yeah, looks like electrs doesnts support jsonrpc2.0 batching as well.
am I the only one who read the spec before implementing 馃槀
I prepared some workarounds meanwhile
https://github.com/BlueWallet/BlueWallet/pull/940
@Overtorment Thanks for reporting this issue!
I was testing mostly with Electrum client, which IIRC didn't use batching :)
Most helpful comment
yeah, looks like electrs doesnts support jsonrpc2.0 batching as well.
am I the only one who read the spec before implementing 馃槀