UpdateAsset
Update basic TRC10 token information.
This method will use 30
Compute Units.
Parameters
owner_address
- String - The issuers address of the token, default hexStringdescription
- String - Token description, default hexStringurl
- String - Token official website url, default hexStringnew_limit
- int64 - Each token holder's free bandwidthnew_public_limit
- int64 - The total free bandwidth of the tokenpermission_id
- int32 - Optional, for multi-signature usevisible
- Boolean - Optional. Specifies whether the address is in Base58 format (default: false).
Returns
Transaction object - JSON object: Unsigned transaction, please refer to the Transaction chapter for the fields contained in it. Since the transaction type is UpdateAssetContract
, the fields contained in raw_data.contract[0].parameter.value
in the transaction are as follows:
owner_address
string
Account address
description
string
Description
url
string
Token's website Url
new_limit
int64
The limit of Bandwidth point which each caller can consume
new_public_limit
int64
The limit of Bandwidth point which all caller can consume
curl https://mainnet.tron.validationcloud.io/v1/<YOUR_API_KEY_HERE>/wallet/updateasset \
-X POST \
-H "Content-Type: application/json" \
-d '
{
"owner_address": "TPswDDCAWhJAZGdHPidFg5nEf8TkNToDX1",
"visible": true
}
'
Last updated
Was this helpful?