Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
owner_address— the address providing liquidity (base58 withvisible: true, or hex withvisible: false).exchange_id— unique identifier of the exchange pair to add liquidity to.token_id— TRC10 token ID; use_to denote TRX.quant— integer amount to add (token base units; if TRX, specify in sun).permission_id— optional permission ID for multi‑signature accounts.
Response
Returns a transaction object containing:txID— unique transaction identifierraw_data— raw transaction data including contract detailsraw_data_hex— hexadecimal representation of raw transaction data
Use case
Thewallet/exchangeinject method is used for:
- Adding liquidity to existing trading pairs to earn trading fees
- Increasing the depth and stability of token markets
- Participating in liquidity mining and yield farming programs
- Providing capital to support decentralized exchange operations
curl example
Shell
- balances must be integers (do not quote numbers). When injecting TRX (using
token_id: "_"), providequantin sun (1 TRX = 1,000,000 sun). - the call returns an unsigned transaction; sign and broadcast it to finalize.
- on mainnet, the exchange must exist, the token must match the pair, and the account must hold sufficient balance.
Body
application/json
The address providing liquidity to the exchange pair
Unique identifier of the exchange pair to add liquidity to
Token ID being added to the liquidity pool. Use '_' to denote TRX.
Amount to add as an integer (token base units; if TRX, specify in sun)
Optional permission ID for multi-signature accounts
Whether to return human-readable addresses