From 444bd588b5cb855e79b212c785f30ae4f199cd1c Mon Sep 17 00:00:00 2001 From: Uday Mehtani Date: Thu, 22 Dec 2022 20:59:40 +0530 Subject: [PATCH] Fixes issue #1216 Signed-off-by: Uday Mehtani --- .../how-to/use-besu-api/rpc-pubsub.md | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/docs/public-networks/how-to/use-besu-api/rpc-pubsub.md b/docs/public-networks/how-to/use-besu-api/rpc-pubsub.md index 11b2fda17a7..869d7c2a6c9 100644 --- a/docs/public-networks/how-to/use-besu-api/rpc-pubsub.md +++ b/docs/public-networks/how-to/use-besu-api/rpc-pubsub.md @@ -147,36 +147,36 @@ notifications include transaction hashes. Example notification with the `{"includeTransactions": true}` parameter included: - ```json - { - "jsonrpc": "2.0", - "method": "eth_subscription", - "params":{ - "subscription":"0x1", - "result": { - .... - "transactions":[ - { - "blockHash":"0xa30ee4d7c271ae5150aec494131c5f1f34089c7aa8fb58bd8bb916a55275bb90", - "blockNumber":"0x63", - "from":"0xfe3b557e8fb62b89f4916b721be55ceb828dbd73", - "gas":"0x5208", - "gasPrice":"0x3b9aca00", - "hash":"0x11f66c3e96a92e3c14c1c33ad77381221bf8b58a887b4fed6aee456fc6f39b24", - "input":"0x", - "nonce":"0x1", - "to":"0x627306090abab3a6e1400e9345bc60c78a8bef57", - "transactionIndex":"0x0", - "value":"0x56bc75e2d63100000", - "v":"0xfe8", - "r":"0x4b57d179c74885ef5f9326fd000665ea7fae44095c1e2016a2817fc671beb8cc", - "s":"0x7ec060b115746dda392777df07ae1feacc0b83b3646f0a3de9a5fc3615af9bb8", - } - ], - }, - } - } - ``` + ```json + { + "jsonrpc": "2.0", + "method": "eth_subscription", + "params":{ + "subscription":"0x1", + "result": { + .... + "transactions":[ + { + "blockHash":"0xa30ee4d7c271ae5150aec494131c5f1f34089c7aa8fb58bd8bb916a55275bb90", + "blockNumber":"0x63", + "from":"0xfe3b557e8fb62b89f4916b721be55ceb828dbd73", + "gas":"0x5208", + "gasPrice":"0x3b9aca00", + "hash":"0x11f66c3e96a92e3c14c1c33ad77381221bf8b58a887b4fed6aee456fc6f39b24", + "input":"0x", + "nonce":"0x1", + "to":"0x627306090abab3a6e1400e9345bc60c78a8bef57", + "transactionIndex":"0x0", + "value":"0x56bc75e2d63100000", + "v":"0xfe8", + "r":"0x4b57d179c74885ef5f9326fd000665ea7fae44095c1e2016a2817fc671beb8cc", + "s":"0x7ec060b115746dda392777df07ae1feacc0b83b3646f0a3de9a5fc3615af9bb8", + } + ], + }, + } + } + ``` ### Logs