wallet/marketcancelorder
Exchange and market methods
wallet/marketcancelorder | TRON
TRON API method that creates a transaction to cancel an existing market order on the TRON DEX. wallet/marketcancelorder on TRON via Chainstack.
POST
wallet/marketcancelorder
TRON API method that creates a transaction to cancel an existing market order on the TRON DEX. This allows users to withdraw their unfilled buy or sell orders from the order book.
Get your 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 that created the orderorder_id— unique identifier of the market order to cancel (as hexadecimal string)
Response
visible— boolean indicating whether addresses are in visible formattxID— unique transaction ID for the order cancellation transactionraw_data— raw transaction data containing:contract— array with market order cancellation 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/marketcancelorder method is used for:
- Canceling orders that are no longer needed or desired.
- Withdrawing funds locked in unfilled orders back to the account balance.
- Adjusting trading strategies by removing stale or mispriced orders.
- Managing order book exposure and market position.
- Implementing automated order management systems.
Body
application/json
Last modified on May 18, 2026