GetTransactionCountByBlockNum

Get transaction count in a block by block number (Confirmed state).

This method will use 30 Compute Units.


Parameters

  • num - Int32 - Required - Block height

Returns

count - int64 : the number of transactions in the block

// Result
{
	"count": 409
}
curl https://mainnet.tron.validationcloud.io/v1/<YOUR_API_KEY_HERE>/walletsolidity/gettransactioncountbyblocknum \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"num":75957003}'

Last updated

Was this helpful?