curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/marketcancelorder \
--header 'Content-Type: application/json' \
--data '
{
"owner_address": "41b487cdb2d8dc7b2a8e5e7e7b4e3e8b8b8b8b8b",
"order_id": "1234567890abcdef1234567890abcdef12345678"
}
'{
"visible": true,
"txID": "<string>",
"raw_data": {
"contract": "<array>",
"ref_block_bytes": "<string>",
"ref_block_hash": "<string>",
"expiration": 123,
"timestamp": 123
},
"raw_data_hex": "<string>"
}curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/marketcancelorder \
--header 'Content-Type: application/json' \
--data '
{
"owner_address": "41b487cdb2d8dc7b2a8e5e7e7b4e3e8b8b8b8b8b",
"order_id": "1234567890abcdef1234567890abcdef12345678"
}
'{
"visible": true,
"txID": "<string>",
"raw_data": {
"contract": "<array>",
"ref_block_bytes": "<string>",
"ref_block_hash": "<string>",
"expiration": 123,
"timestamp": 123
},
"raw_data_hex": "<string>"
}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.Documentation Index
Fetch the complete documentation index at: https://chainstack-mintlify-flesh-empty-pages.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
owner_address — hexadecimal address of the account that created the orderorder_id — unique identifier of the market order to cancel (as hexadecimal string)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 timestampraw_data_hex — complete transaction data encoded in hexadecimal formatwallet/marketcancelorder method is used for:
Was this page helpful?