DODO Docs
Search…
⌃K

Get Order List

URL

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

Request

Method

GET

Request Example

curl --location --request GET 'https://api.dodoex.io/gasless-order/list?network=rinkeby&makerToken=0xB26c0d8Be2960c70641A95A9195BE1f59Ac83aC0&takerToken=0xeaa70c2a40820dF9D38149C84dd943CFcB562587&takerAmount=10000000000000000' \
--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', 'rinkeby']
address
query
string
require
wallet address
page
query
integer
optional
0
page number
limit
query
integer
optional
20
data count per page

Response

Success

code: 200
content:
{
"code": 0,
"data": {
"list": [
{
"createdAt": "2022-09-18T07:40:45.391Z",
"expiration": "1663486964",
"hash": "0xddf0cecbd33d15f5d9a1d2cf109a9c6f86ca4048a483d46e00780c0e96f32afc",
"id": "1589",
"makerAmount": "36987821827819317",
"makerToken": "0xB26c0d8Be2960c70641A95A9195BE1f59Ac83aC0",
"makerTokenFeeAmount": "111297357556127",
"network": "rinkeby",
"progress": "COMPLETE",
"slot": "15431",
"taker": "0xB26c0d8Be2960c70641A95A9195BE1f59Ac83aC0",
"takerAmount": "120000000",
"takerSignature": "0xb2f52f4566e16e392f59bbba9ffa73a362933c9598dd5c796ed97c40a0906d7e22e1ee244c...",
"takerToken": "0xab0733588776B8881F7712f6AbCa98F510e6B63D",
"updatedAt": "2022-09-18T07:41:01.513Z",
"failureReason": ""
},
...
],
"total": 232,
"totalPage": 11,
"currentPage": 0,
"limit": 20
},
"message": "success"
}

Fail

code: 200
content:
{
"code": 10001,
"message": "\"address\" is required",
"data": null
}

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
makerToken
string
swap token address
takerToken
string
your token address
makerAmount
string
swap token amount
takerAmount
string
your token amount
makerTokenFeeAmount
string
fee amount
slot
string
inquiry slot
taker
string
your wallet address
progress
string
order status,enum:['FRESH', 'BROADCAST', 'COMPLETE', 'FAILED']//pending order,order broadcast,order success,order fail
takerSignature
string
signature
failureReason
string
order fail reason
hash
string
transaction hash
createdAt
string
create time
updatedAt
string
update time