trades
Retrieve the sorted list of trades for an Ethereum address in which the given address is either maker or taker
Return trades array
get/trades/history
Request
- Base URLhttps://dex.tomochain.com/api
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
addressstring required
User address
pageOffsetstring
pageSizestring
number of trade item per page, default 50
sortBystring
Sort for query (suported sort by time)
sortTypestring
asc/dec
baseTokenstring
Base token address
quoteTokenstring
Quote token address
fromstring
the beginning timestamp (number of seconds from 1970/01/01) from which order data has to be queried
tostring
the ending timestamp ((number of seconds from 1970/01/01)) until which order data has to be queried
Response
successful operation
Changes
No recorded changes to this operation across all 15 revisions of this API.