wallet/getblockbynum - Get TRON Block by Height
Get TRON block information by height number including transactions and block header via Dwellir's optimized RPC endpoint.
TRON RPC endpoint: endpoint URLs, plans and pricing.
Get block information by block height number.
Endpoint
POST /wallet/getblockbynumcurl -X POST https://api-tron-mainnet.n.dwellir.com/YOUR_API_KEY/wallet/getblockbynum \
-H "Content-Type: application/json" \
-d '{
"num": 58234567
}'Implementation Examples
curl -X POST https://api-tron-mainnet.n.dwellir.com/YOUR_API_KEY/wallet/getblockbynum \
-H "Content-Type: application/json" \
-d '{
"num": 58234567
}'Use Cases
- Block Explorer: Display block details and transactions
- Transaction Verification: Confirm transaction inclusion
- Chain Analysis: Analyze block production patterns
- Data Indexing: Index historical blockchain data
- Network Monitoring: Track block production rate
Related Methods
- wallet/getnowblock - Get latest block
- wallet/gettransactionbyid - Get transaction details
- wallet/getaccount - Get account information
wallet/getnowblock
Get the latest block information from TRON network including block number, transactions, and timestamp via Dwellir's lightning-fast RPC endpoints.
wallet/getblockbyid
Get TRON block information by block hash ID including transactions and block header via Dwellir's optimized RPC endpoint.