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
}TRON API method that retrieves the transaction count within a solidified block by block number. This method queries confirmed and finalized blockchain state, providing reliable transaction count information that cannot be rolled back.Documentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
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:
Block number to get transaction count for
x >= 070000000
Was this page helpful?