Skip to main content
POST
Add liquidity to a pool

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

network
string
required

Body

application/json
assetA
string
required
Example:

"CAS3J7GY..."

assetB
string
required
Example:

"CCW67TSZ..."

amountA
integer<int64>
required
Example:

"10000000"

amountB
integer<int64>
required
Example:

"10000000"

to
string
required
Example:

"GALAXYVOID..."

slippageBps
string

Slippage tolerance in basis points (bps). 10000 = 100%, 100 = 1%, 50 = 0.5%. Default is 50 bps (0.5%)

Example:

"50"

Response

Returns the transaction xdr and information about the pool