TRON
wallet/getmarketorderbyaccount20 kredi
Returns the DEX (market) orders of an account.
Parametreler
| Ad | Tür | Açıklama |
|---|---|---|
| value | string | Account address (base58 or hex). |
| visible | boolean | true = base58 addresses (in the request and the response); false (default) = hex addresses. (isteğe bağlı) |
Dönüş değeri
Tür
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.
Kod örnekleri
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
}'