POST
/
95e61622bf6a8af293978377718e3b77
/
wallet
/
marketsellasset
wallet/marketsellasset
curl --request POST \
  --url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/marketsellasset \
  --header 'Content-Type: application/json' \
  --data '{
  "owner_address": "41b487cdb2d8dc7b2a8e5e7e7b4e3e8b8b8b8b8b",
  "sell_token_id": "1002000",
  "sell_token_quantity": "1000000",
  "buy_token_id": "",
  "buy_token_quantity": "100000000"
}'
{
  "visible": true,
  "txID": "<string>",
  "raw_data": {
    "contract": [
      "<any>"
    ],
    "ref_block_bytes": "<string>",
    "ref_block_hash": "<string>",
    "expiration": 123,
    "timestamp": 123
  },
  "raw_data_hex": "<string>"
}
TRON API method that creates a transaction to place a sell order on the TRON DEX marketplace. This allows users to offer their tokens for sale at a specified price, creating liquidity in the order book.
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 order
  • sell_token_id — token ID being sold (use empty string for TRX)
  • sell_token_quantity — quantity of tokens to sell
  • buy_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 format
  • txID — unique transaction ID for the sell order transaction
  • raw_data — raw transaction data containing:
    • contract — array with market sell order contract details
    • ref_block_bytes — reference block bytes for transaction validation
    • ref_block_hash — hash of the reference block
    • expiration — transaction expiration timestamp
    • timestamp — transaction creation timestamp
  • raw_data_hex — complete transaction data encoded in hexadecimal format

Use case

The wallet/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

Response

200 - application/json

Market sell order transaction

The response is of type object.