ParticipateAssetIssue
Transfer TRC10 token.
This method will use 30
Compute Units.
Parameters
to_address
- String - Receiving address, converted to a hex string.owner_address
- String - the participant address, converted to a hex string.amount
- int64 - The number of trx participating in token issuance.asset_name
- String - Token id, default hexString.visible
- 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 ParticipateAssetIssueContract
, the fields contained in raw_data.contract[0].parameter.value
in the transaction are as follows:
owner_address
string
Account address
to_address
string
Issuer's address
asset_name
string
token iD
amount
int64
The amount of TRX used to purchase issued Token, the unit is sun
// Result
{}
curl https://mainnet.tron.validationcloud.io/v1/<YOUR_API_KEY_HERE>/wallet/participateassetissue \
-X POST \
-H "Content-Type: application/json" \
-d '
{
"to_address": "TPswDDCAWhJAZGdHPidFg5nEf8TkNToDX1",
"owner_address": "TZ4UXDV5ZhNW7fb2AMSbgfAEZ7hWsnYS2g",
"asset_name": "1000001031303030303031",
"visible": true
}
'
Last updated
Was this helpful?