PreçosGitHubPainel

TRON

wallet/getmarketorderbyaccount20 créditos

Returns the DEX (market) orders of an account.

Rede: tron

Parâmetros

NomeTipoDescrição
valuestringAccount address (base58 or hex).
visiblebooleantrue = base58 addresses (in the request and the response); false (default) = hex addresses. (opcional)

Retorno

Tipo

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.

Exemplos de código

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
}'