# getBlockTransactionCount Retrieves the count of transactions within a block. ## Usage ```js tronWeb.trx.getBlockTransactionCount(blockHeightOrBlockHash) ``` ## Parameters | Parameters | Parameter Description | Data Type | |--------------|------------------------------------------------------------------------|----------------| | Block Height or Block Hash | The height of the block or the block hash you wish to obtain transaction count data for. | Integer/string | ## Return Object ## Example ```js > await tronWeb.trx.getBlockTransactionCount(16012520); > 35 > await tronWeb.trx.getBlockTransactionCount("0000000000f454e84edbee2365fbf1bf34bc98283ded06e68311bb6e5bea3cf6"); > 35 ```