From e308aaa720de1c5dddc81ab88cd9027a85f564cb Mon Sep 17 00:00:00 2001 From: Patrick Kuo Date: Tue, 13 Sep 2022 13:22:12 +0100 Subject: [PATCH] fixed a missing `]` in jsonrpc subscribe example (#4585) --- doc/src/build/pubsub.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/build/pubsub.md b/doc/src/build/pubsub.md index 7fc629db0cd7d..ca4d68490ef8d 100644 --- a/doc/src/build/pubsub.md +++ b/doc/src/build/pubsub.md @@ -161,7 +161,7 @@ We provide a few operators for combining filters: ### Subscribe Here is an example of subscribing to a stream of `MoveEvent` emitted by the `0x2::devnet_nft` package, which is created by the [Sui CLI client](cli-client.md#creating-example-nfts) `create-example-nft` command: ```shell ->> {"jsonrpc":"2.0", "id": 1, "method": "sui_subscribeEvent", "params": [{"All":[{"EventType":"MoveEvent"}, {"Package":"0x2"}, {"Module":"devnet_nft"}]}} +>> {"jsonrpc":"2.0", "id": 1, "method": "sui_subscribeEvent", "params": [{"All":[{"EventType":"MoveEvent"}, {"Package":"0x2"}, {"Module":"devnet_nft"}]}]} << {"jsonrpc":"2.0","result":3121662727959200,"id":1} ```