Last trade
method url:/api/third/info/trades
request type:GET
request param:
param_name | param note | type | required | data type | schema |
pairName | query | true | string | ||
limit | default 50 | query | false | integer(int32) |
response param:(Array)
param_name | param note | type | schema |
amount | number | ||
contractMatchPairId | integer(int64) | ||
contractPairId | integer(int64) | ||
isLong | boolean | ||
price | number | ||
quantity | number | ||
time | string | ||
timestamp | integer(int64) | ||
pair | string |
example:
1 Set request parameters, query params:
2 Assemble the complete request
3 Return results
Error Code:
code | msg |
2001 | Illegal parameter: {param0} |
Last updated