0xAdventure
  • Overview
  • Product
    • Floorswap
      • USER GUIDE
        • Trading Modes
        • How to Buy NFTs?
        • How to Sell NFTs?
        • How to Set Your Slippage Tolerance?
        • How to Add Liquidity?
        • How to Increase Liquidity?
        • How to Remove Liquidity?
        • How to Manage Liquidity Positions?
        • How to Deposit?
        • How to Withdraw?
        • Fees
      • RISKS
      • TECHNICAL REFERENCE
        • Swap Method
        • Bonding Curve
      • DEVELOPERS
        • APIs
          • FloorSwap API V1.0
            • API Overview
            • Pool List
            • Pool Detail
            • Swap Info
            • Position Info
            • Position List
            • Position History
        • SDKs
          • Foorswap SDK V1.0
            • Pool
            • Position
            • Swap
            • Account
    • Launchpad
    • GAME Swap
    • Cross-chain bridge
    • AI-specialized NFT
    • AI narrative engine
    • AI creative partners
  • Tokenomics
  • Media Kit
Powered by GitBook
On this page
  1. Product
  2. Floorswap
  3. DEVELOPERS
  4. APIs
  5. FloorSwap API V1.0

Position List

get swap details

GET:

Copy

/api/v1/floor/position/list

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)

​

PreviousPosition InfoNextPosition History

Last updated 12 months ago

​​

https://etherscan.io/token/images/decentraland_32.png?v=1