Skip to content

Commit

Permalink
fixed a missing ] in jsonrpc subscribe example (#4585)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickkuo authored Sep 13, 2022
1 parent fbda25a commit e308aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/build/pubsub.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}
```
Expand Down

0 comments on commit e308aaa

Please sign in to comment.