curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getblockbalance \
--header 'Content-Type: application/json' \
--data '{
"hash": "<string>",
"number": 66677878,
"visible": true
}'
{
"timestamp": 123,
"block_identifier": {
"hash": "<string>",
"number": 123
},
"balance_changes": [
{}
]
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/getblockbalance \
--header 'Content-Type: application/json' \
--data '{
"hash": "<string>",
"number": 66677878,
"visible": true
}'
{
"timestamp": 123,
"block_identifier": {
"hash": "<string>",
"number": 123
},
"balance_changes": [
{}
]
}
hash
— the block hash to retrieve balance changes fornumber
— alternative: the block number to retrieve balance changes forvisible
— optional boolean parameter. When set to true
, addresses are in base58 format. Default is false
.timestamp
— block timestampblock_identifier
— block identification informationbalance_changes
— array of balance change objects showing how each transaction affected account balanceswallet/getblockbalance
method is used for:
Block balance changes information
The response is of type object
.
Was this page helpful?