Position List
get swap details
GET:
Copy
Authorization information
There is currently no authorization information disclosed in the API.
Request
Name
Type
Required
Description
address
string
true
Metamask user address or Chamcha user id
page
int
false
Current page number, default is 1
pageSize
int
false
Number per page, default is 10
status
int
false
1=in range 2=out of range 3=closed, default is all
Response
Name
Type
Description
Example
code
string
result code
200
message
string
the error message
Invalid key
success
boolean
whether the request success
true
data
object
- totalCount
int
10
- pipeline
array
- pairId
int
pair id
1
- collectionName
string
collection name
koa
- collectionAddress
string
collection address
0x0f5d2fb29fb7d3cfee444a200298f468908cc942
- collectionLogo
string
collection logo
- tokenName
string
token name
ETH
- tokenAddress
string
token address
0x0000000000000000000000000000000000000000
- tokenBalance
number
token balance
12.789 (uint Ether)
- nftBalance
int
nft balance
2
- unclaimed
number
unclaimed token
900000000000000000
- status
int
1= in range2= out of range3=closed
1
- minPrice
number
min price
0.1 (uint Ether)
- maxPrice
number
max price
0.2 (uint Ether)
Last updated