TRON
wallet/getmarketorderbyaccount20 crédits
Returns the DEX (market) orders of an account.
Paramètres
| Nom | Type | Description |
|---|---|---|
| value | string | Account address (base58 or hex). |
| visible | boolean | true = base58 addresses (in the request and the response); false (default) = hex addresses. (facultatif) |
Valeur renvoyée
Type
Object
Object with an orders array: order_id, owner_address, create_time, sell_token_id, sell_token_quantity, buy_token_id, buy_token_quantity, sell_token_quantity_remain, sell_token_quantity_return, state (ACTIVE, INACTIVE or CANCELED), prev, next.
Exemples de code
curl 'https://holy-burned-sky-tron-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7/wallet/getmarketorderbyaccount' \
-X POST \
-H 'content-type: application/json' \
-d '{
"value": "TLsV52sRDL79HXGGm9yzwKibb6BeruhUzy",
"visible": true
}'