Skip to main content
POST
Open Position

Path Parameters

tokenA
string
default:So11111111111111111111111111111111111111112
required

The token A address

tokenB
string
default:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
required

The token B address

Query Parameters

amount
number

The amount to deposit. Human readable value, e.g. 100 USDC

percentage
integer
default:25

The percentage of token amount to deposit

Required range: -9007199254740991 < x <= 100
lowerPrice
number

The lower price of the position

upperPrice
number

The upper price of the position

Body

application/json
type
enum<string>
default:transaction
required
Available options:
transaction
account
string
default:6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176
required

The public key of the account that executes the transaction

Response

200 - application/json

OK

type
any
required
transaction
string
required