From 954198e9d9dead03b62b928f00ade8ec494ddd2b Mon Sep 17 00:00:00 2001 From: Elad Gildnur Date: Tue, 3 Dec 2024 12:56:18 +0200 Subject: [PATCH] Add generic parser for tx hash --- mainnet-1/specs/tendermint.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/mainnet-1/specs/tendermint.json b/mainnet-1/specs/tendermint.json index e818b27c4..2ebbfd0b1 100644 --- a/mainnet-1/specs/tendermint.json +++ b/mainnet-1/specs/tendermint.json @@ -275,7 +275,13 @@ "subscription": false, "stateful": 0 }, - "extra_compute_units": 0 + "extra_compute_units": 0, + "parsers": [ + { + "parse_path": ".params.[0]", + "parse_type": "BLOCK_HASH" + } + ] }, { "name": "commit", @@ -479,7 +485,13 @@ "subscription": false, "stateful": 0 }, - "extra_compute_units": 0 + "extra_compute_units": 0, + "parsers": [ + { + "parse_path": ".params.[0]", + "parse_type": "BLOCK_HASH" + } + ] }, { "name": "tx_search",