curl --request POST \
--url https://tron-mainnet.core.chainstack.com/95e61622bf6a8af293978377718e3b77/wallet/marketsellasset \
--header 'Content-Type: application/json' \
--data '
{
"owner_address": "THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC",
"sell_token_id": "1000006",
"sell_token_quantity": 1000000,
"buy_token_id": "1002000",
"buy_token_quantity": 1000000,
"visible": true
}
'{
"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/marketsellasset \
--header 'Content-Type: application/json' \
--data '
{
"owner_address": "THPvaUhoh2Qn2y9THCZML3H815hhFhn5YC",
"sell_token_id": "1000006",
"sell_token_quantity": 1000000,
"buy_token_id": "1002000",
"buy_token_quantity": 1000000,
"visible": true
}
'{
"visible": true,
"txID": "<string>",
"raw_data": {
"contract": "<array>",
"ref_block_bytes": "<string>",
"ref_block_hash": "<string>",
"expiration": 123,
"timestamp": 123
},
"raw_data_hex": "<string>"
}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 exchangevisible — 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 timestampraw_data_hex — complete transaction data encoded in hexadecimal formatwallet/marketsellasset method is used for:
Account address placing the sell order
Token ID being sold (empty string for TRX)
Quantity of tokens to sell (integer in token base units; if TRX, sun)
Token ID desired in exchange (empty string for TRX)
Quantity of tokens desired in exchange (integer in token base units; if TRX, sun)
When true, addresses are base58; when false, hex.
Market sell order transaction
Whether addresses are in visible format
Transaction ID for sell order
Raw transaction data in hex format
Was this page helpful?