rddl-network / tendermint-explorer

Blockchain explorer for Tendermint. Supports JSON transactions and UTF-8
https://github.com/dappforce/tendermint-explorer
0 stars 0 forks source link

Set num_txs in block header #8

Closed jmastr closed 1 year ago

jmastr commented 1 year ago

The block header expects the field num_txs, which our RPC endpoint does not send. We can use the actual transactions:

      "data": {
        "txs": [
          "ey...",
          "ey..."
        ]
      },

and count the entries.