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>"
}TRON API method that updates an account’s name on the TRON blockchain. This method creates an unsigned transaction to set or modify the account name field.Documentation Index
Fetch the complete documentation index at: https://chainstack-mintlify-flesh-empty-pages.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
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?