curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/withdrawbalance \
--header 'Content-Type: application/json' \
--data '{
"owner_address": "TGj1Ej1qRzL9feLTLhjwgxXF4Ct6GTWg2U",
"visible": true
}'
{
"visible": true,
"txID": "<string>",
"raw_data": {
"contract": [
"<any>"
],
"ref_block_bytes": "<string>",
"ref_block_hash": "<string>",
"expiration": 123,
"timestamp": 123
},
"raw_data_hex": "<string>"
}
curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/withdrawbalance \
--header 'Content-Type: application/json' \
--data '{
"owner_address": "TGj1Ej1qRzL9feLTLhjwgxXF4Ct6GTWg2U",
"visible": true
}'
{
"visible": true,
"txID": "<string>",
"raw_data": {
"contract": [
"<any>"
],
"ref_block_bytes": "<string>",
"ref_block_hash": "<string>",
"expiration": 123,
"timestamp": 123
},
"raw_data_hex": "<string>"
}
owner_address
— address of the Super Representative (witness) withdrawing rewardsvisible
— boolean indicating whether to use visible (Base58) address format instead of hexvisible
— boolean indicating whether addresses are in visible formattxID
— unique transaction ID for the balance withdrawal transactionraw_data
— raw transaction data containing:
contract
— array with withdrawal contract detailsref_block_bytes
— reference block bytes for transaction validationref_block_hash
— hash of the reference blockexpiration
— transaction expiration timestamptimestamp
— transaction creation timestampraw_data_hex
— complete transaction data encoded in hexadecimal formatwallet/withdrawbalance
method is used for:
Witness balance withdrawal transaction
The response is of type object
.
Was this page helpful?