TRON
wallet/getmarketorderbyaccount20クレジット
Returns the DEX (market) orders of an account.
パラメータ
| 名前 | 型 | 説明 |
|---|---|---|
| value | string | Account address (base58 or hex). |
| visible | boolean | true = base58 addresses (in the request and the response); false (default) = hex addresses. (任意) |
戻り値
型
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.
コード例
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
}'