TRXMarket
Search
K

Get Orders of User Address

Introduction
This endpoint allows you to get orders of user address.
Interface Address
Request Method
GET
Query Parameters
Name
Type
Required
Default Value
Description
Range of value
Example
uAddr
string
Yes
-
User Address
Legal User Address
TLva2m6sx2Ya44kHUN2GZUF2PT5KcCNNUQ
Response Content
Name
Type
Description
Example
code
int
Status code (For details, please view status code)
0
message
string
Message (For details, please view status code)
OK
id
int
Internal Reserved Fields
fShortName
string
Base token symbol
BTT
sShortName
string
Quote token symbol
TRX
volume
float64
Trading volume (unit: Base token)
242417.1
price
float64
Price
0.00293
orderTime
string
Order Time
1555922807009
orderType
int
Trading direction 0: buy order, 1: sell order
0
orderID
int
Order ID
1000000104812
schedule
float64
Turnover rate
50%
curTurnover
float64
Current Turnover (unit: quote token)
0
orderStatus
int
Order status 0: trading pending, 1: trading completed, 3: trading cancellation
0
pairType
int
Types of trading pairs 1:TRC10/TRX, 2:TRC20/TRX, 3:TRC20/USDT
1
total
int
Total number of records
10
Response Example
{
code: 0,
message: "OK",
data: {
total: 3,
rows: [{
id: 889984,
fShortName: "TSY",
sShortName: "TRX",
volume: 20,
price: 0.54,
orderType: 1,
orderTime: "1559187454563",
orderID: "1000000104812",
schedule: "0.0000",
curTurnover: 0,
orderStatus: 3,
pairType: 1
},
{
id: 889865,
fShortName: "TSY",
sShortName: "TRX",
volume: 20,
price: 0.54,
orderType: 1,
orderTime: "1559186619185",
orderID: "1000000104799",
schedule: "0.0000",
curTurnover: 0,
orderStatus: 3,
pairType: 1
},
{
id: 889680,
fShortName: "TSY",
sShortName: "TRX",
volume: 20,
price: 0.54,
orderType: 1,
orderTime: "1559184957752",
orderID: "1000000104772",
schedule: "0.0000",
curTurnover: 0,
orderStatus: 3,
pairType: 1
}
]
}
}