Hi,
I tried sending out this message to WebSocket to listen the events from the given offset. Got a WebSocket connection closure. I can’t find any example in DAML docs, is this the right way?
daml json-api --ledger-host localhost --ledger-port 6865 --http-port 7575 --application-id IouApp --websocket-config maxDuration=120,heartBeatPer=5
Message sent:
[{"offset": "00000000000000080000000000000000"}, {"templateIds":["e7d9277285b7bca99a69d3658c542ce24ba35f38b6234c462f33f37322380901:TestingToolkit.Master:Master", "e7d9277285b7bca99a69d3658c542ce24ba35f38b6234c462f33f37322380901:TestingToolkit.Master:Wallet", "e7d9277285b7bca99a69d3658c542ce24ba35f38b6234c462f33f37322380901:TestingToolkit.Coin:Coin"]}]
Received
CloseReason[1000]