curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/walletsolidity/gettransactioncountbyblocknum \
--header 'Content-Type: application/json' \
--data '{
"num": 70000000
}'
{
"count": 42,
"blockNumber": 70000000
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/walletsolidity/gettransactioncountbyblocknum \
--header 'Content-Type: application/json' \
--data '{
"num": 70000000
}'
{
"count": 42,
"blockNumber": 70000000
}
num
— the block number to get transaction count for (integer)count
— the number of transactions in the specified blockblockNumber
— the block number queriedwalletsolidity/gettransactioncountbyblocknum
method is used for:
Transaction count in the specified solidified block
The response is of type object
.