updateasset - Tron

updateasset. Updates the description, URL, and limits of an issued TRC10 token.

updateasset - tron [Value: 20CU]
Updates the description, URL, and limits of an issued TRC10 token.
Use cases

Use cases

  • Update a TRC10 token's project URL or description after issuance
  • Adjust the free bandwidth quota granted to token holders
Constraints

Constraints

  • Only the token's issuing owner_address can update it
  • Cannot change immutable fields like name, abbr, or total_supply
Get started
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request POST \
     --url https://lb.drpc.live/tron/{API-KEY}/wallet/updateasset \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g", "description": "example", "url": "example", "new_limit": 1, "new_public_limit": 1, "visible": true}'
Copy
Response
200
{
  "visible": false,
  "txID": "6c1b46170308da102f2b70b4976ead59b3c9c02bba044c18da27f7e25779e10d",
  "raw_data": {
    "contract": [
      {
        "parameter": {
          "value": {
            "owner_address": "41088a2bfcb1c7271029fd69a66859d55560895884",
            "description": "44494345",
            "url": "68747470733a2f2f747261782e696f",
            "new_limit": 5000,
            "new_public_limit": 10000
          },
          "type_url": "type.googleapis.com/protocol.UpdateAssetContract"
        },
        "type": "UpdateAssetContract"
      }
    ],
    "ref_block_bytes": "2799",
    "ref_block_hash": "0734893a1ba1ff5e",
    "expiration": 1777446327000,
    "timestamp": 1777446269173
  },
  "raw_data_hex": "0a02279922080734893a1ba1ff5e40d8a5bac0dd335a6c080f12680a30747970652e676f6f676c65617069732e636f6d2f70726f746f636f6c2e5570646174654173736574436f6e747261637412340a1541088a2bfcb1c7271029fd69a66859d555608958841204444943451a0f68747470733a2f2f747261782e696f20882728904e70f5e1b6c0dd33"
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersobject
object
owner_addressstring
[Required] The issuing account's address
descriptionstring
New free-text description of the token
urlstring
New URL with more information about the token/project
new_limitinteger
New free bandwidth each holder gets per day for this token
new_public_limitinteger
New total free bandwidth shared across all holders per day
visibleboolean
When true, addresses/strings are human-readable; when false (default), hex-encoded
Permission_idinteger
Multi-sig permission ID

Response

200
Updates the description, URL, and limits of an issued TRC10 token.

Response params

object
visibleboolean
Indicates whether addresses and text fields in this transaction are represented in base58/UTF-8 (true) or hex (false).
txIDstring
The unique transaction hash (transaction ID), computed as the SHA256 of raw_data.
raw_dataobject
The unsigned transaction body containing the contract instruction and blockchain reference data.
object
contractarray_of_objects
The list of contract instructions to be executed by this transaction.
object
parameterobject
The typed payload describing the specific contract call being made.
object
valueobject
The decoded fields of the contract — here, a request by a TRC10 issuer to update their token's description, URL, and bandwidth quotas.
object
owner_addressstring
The address of the TRC10 token issuer updating these fields, in hex format.
descriptionstring
The token's new description, UTF-8 encoded as a hex string.
urlstring
The token's new project URL, UTF-8 encoded as a hex string.
new_limitinteger
The new free bandwidth quota granted per account for transactions involving this token.
new_public_limitinteger
The new shared free bandwidth quota available to all accounts collectively for transactions involving this token.
type_urlstring
The fully qualified protobuf type identifier describing which contract schema `value` should be decoded with.
typestring
The human-readable name of the contract type being executed (here, UpdateAssetContract).
ref_block_bytesstring
The last two bytes of the reference block number, used for transaction expiration and replay protection.
ref_block_hashstring
The last eight bytes of the reference block's hash, paired with ref_block_bytes for replay protection.
expirationinteger
Unix timestamp, in ms, after which this transaction is no longer valid and will be rejected by the network.
timestampinteger
Unix timestamp, in ms, marking when the transaction was created/signed by the client.
raw_data_hexstring
The hex-encoded serialized bytes of raw_data, used as the actual payload to sign and broadcast.