DODO Docs
Search…
⌃K

Get Order List

URL

https://api.dodoex.io/limit-order/list

Request

Method

GET

Request Example

curl --location --request GET 'https://api.dodoex.io/limit-order/list/?network=rinkeby&address=0x709f0d38142e7f8d95a21529b9ad576555bd6755' \
--header 'Authorization: ${token}' \
--header 'User-Agent: DODO-${your_id}'

Request Params

name
param type
type
option
default
description
Authorization
header
string
require
the auth token
User-Agent
header
string
require
the [User-Agent] you have requested
network
query
string
require
network name,enum:['ethereum', 'bsc', 'polygon', 'rinkeby']
address
query
string
require
your wallet address
orderType
query
string
optional
'ALL'
enum: ["ALL", "FRESH", "NOT_FRESH"], ALL: all order, FRESH: pending or broadcast order, NOT_FRESH: complete or fail order
page
query
integer
optional
0
page number
limit
query
integer
optional
20
page count

Response

Success

code: 200
content:
{
"code": 0,
"data": {
"list": [
{
"createdAt": "2022-09-08T15:51:50.741Z",
"id": 658,
"network": "rinkeby",
"progress": "CANCEL",
"signature": "0xb76ad3ddd5cf3b39dcf03b79ee9f513f160c1060e4744e7e62f5afac522ab17e724d90fc966b19632a7dc09daa89a0f537fd883bdb75eb5ff42c5c8472daa5911b",
"updatedAt": "2022-09-08T15:51:57.825Z",
"failureReason": "",
"hash": "",
"order": {
"salt": "1033132830517",
"maker": "0xEeE13739763A1b0f062846eF4a102886673c89Bd",
"taker": "0xa2c1eA946dA567248c70F792b64D5F2551f29204",
"expiration": 4816252307,
"makerToken": "0x0aDCBAE18580120667f7Ff6c6451A426B13c67B7",
"takerToken": "0xab0733588776B8881F7712f6AbCa98F510e6B63D",
"makerAmount": "50000000",
"takerAmount": "500000000"
}
},
...
],
"total": 80,
"totalPage": 10,
"currentPage": 0,
"limit": 20
},
"message": "success"
}

Fail

code: 200
content:
{
"code": 10001,
"message": "Invalid signature time.",
"data": "Invalid signature time."
}

Response Params

name
type
description
code
integer
status code: 0: ok, 1000x: error
message
string
status description
data.list
[object]
order list
data.total
integer
data total num
data.totalPage
integer
total page
data.currentPage
integer
current page
data.limit
integer
data count per page

data.list[object].schema

name
type
description
id
integer
order id
network
string
network name
order
object
order info object
order.makerToken
string
your token address
order.takerToken
string
swap token address
order.makerAmount
string
your token amount
order.takerAmount
string
swap token amount
order.maker
string
your wallet address
order.taker
string
contract address
progress
string
order status,enum:['FRESH', 'BROADCAST', 'COMPLETE', 'FAILED','CANCEL','OVERDUE']//pending order,order broadcast,order success,order fail,cancel,expire
signature
string
order signature
failureReason
string
order fail reason
hash
string
transaction hash
createdAt
string
create time
updatedAt
string
update time