Skip to main content

/walletsolidity/gettransactioncountbyblocknum REST API Endpoint

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

Updated on
Oct 4, 2023

/walletsolidity/gettransactioncountbyblocknum REST API Endpoint

Body Parameters

num
integer
REQUIRED
The block number

Returns

count
The number of transactions in the block
Request
1
curl https://docs-demo.tron-mainnet.quiknode.pro/walletsolidity/gettransactioncountbyblocknum \
2
--header 'accept: application/json' \
3
--header 'content-type: application/json' \
4
--data '
5
{
6
"num": 1000000
7
}
8
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free