curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/updateaccount \
--header 'Content-Type: application/json' \
--data '
{
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"account_name": "0x7570646174654e616d6531353330383933343635353139",
"visible": true
}
'{
"visible": true,
"txID": "<string>",
"raw_data": {},
"raw_data_hex": "<string>"
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/updateaccount \
--header 'Content-Type: application/json' \
--data '
{
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"account_name": "0x7570646174654e616d6531353330383933343635353139",
"visible": true
}
'{
"visible": true,
"txID": "<string>",
"raw_data": {},
"raw_data_hex": "<string>"
}owner_address — the account address whose name will be updated.account_name — the new name for the account in hexadecimal format. Must be converted from string to hex before sending.visible — optional boolean parameter. When set to true, the address is in base58 format. Default is false.visible — indicates the address format used in the responsetxID — the transaction hashraw_data — raw transaction data including:
contract — array containing the account update contractref_block_bytes — reference block bytesref_block_hash — reference block hashexpiration — transaction expiration timestamptimestamp — transaction creation timestampraw_data_hex — hexadecimal representation of the raw transactionwallet/updateaccount method is used for:
Was this page helpful?