Pools
Open position
Open position. If lowerPrice and upperPrice are provided, open a position with a specific price range. If not, open a full range position.
POST
Path Parameters
The token A address
Examples:
"So11111111111111111111111111111111111111112"
The token B address
Examples:
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
Query Parameters
The amount to deposit. Human readable value, e.g. 100 USDC
Required range:
x > 0
The percentage of token amount to deposit
Required range:
0 < x <= 100
The lower price of the position
Required range:
x > 0
The upper price of the position
Required range:
x > 0
Body
application/json
Response
200 - application/json
OK
The response is of type object
.