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
— hexadecimal address of the account placing the sell ordersell_token_id
— token ID being sold (use empty string for TRX)sell_token_quantity
— quantity of tokens to sellbuy_token_id
— token ID desired in exchange (use empty string for TRX)buy_token_quantity
— quantity of tokens desired in exchange
Response
visible
— boolean indicating whether addresses are in visible formattxID
— unique transaction ID for the sell order transactionraw_data
— raw transaction data containing:contract
— array with market sell order contract detailsref_block_bytes
— reference block bytes for transaction validationref_block_hash
— hash of the reference blockexpiration
— transaction expiration timestamptimestamp
— transaction creation timestamp
raw_data_hex
— complete transaction data encoded in hexadecimal format
Use case
Thewallet/marketsellasset
method is used for:
- Creating sell orders to exchange tokens at desired prices.
- Providing liquidity to the TRON DEX marketplace.
- Implementing automated trading strategies and market making.
- Converting between TRX and TRC-10 tokens through decentralized trading.
- Building custom trading interfaces and portfolio management tools.
The sell order will lock the specified tokens in the order until it’s filled or canceled. The price is determined by the ratio between sell_token_quantity and buy_token_quantity. Use empty strings for token IDs when referring to TRX in the trading pair.
Body
application/json
Account address placing the sell order
Token ID being sold (empty string for TRX)
Quantity of tokens to sell
Token ID desired in exchange (empty string for TRX)
Quantity of tokens desired in exchange