For the complete documentation index, see llms.txt. This page is also available as Markdown.

ExchangeInject

Injects capital into the transaction. The purpose of injecting capital into the trading pair is to prevent price fluctuation from affecting the transaction.

Return: Transaction object

Body params:

  • owner_address - Transaction to the creator's address in hexString format

  • exchange_id - Transaction Pair ID

  • token_id - Token ID; usually is the token name, which needs to be in hexString format.

  • quant - Number of capital injection tokens.

  • permission_id - Optional,for multi-signature use

  • visible - Optional,whether the address is in base58 format

Request

curl --request POST \
     --url https://tron.api.watchdata.io/wallet/exchangeinject \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '
{
     "owner_address": "4100776428620856AE1D71562812B734E356B68551",
     "exchange_id": 12,
     "token_id": "31303030343837",
     "quant": 100,
     "permission_id": 0,
     "visible": true
}
'

Response

Last updated