POST
/
v0
/
amm
/
{poolId}
/
add-liquidity
curl --request POST \
  --url https://raydium.dial.to/api/v0/amm/{poolId}/add-liquidity \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "<any>",
  "account": "11111111111111111111111111111111"
}'
{
  "type": "<any>",
  "transaction": "<string>"
}

Path Parameters

poolId
string
required

ID of the Standard AMM pool

Examples:

"58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2"

Query Parameters

percentage
integer

The percentage of liquidity to add

Required range: 0 <= x <= 100
amount
number

The amount of liquidity to add. Human readable value, e.g. 0.1 SOL

Required range: x >= 0

Body

application/json

Response

200 - application/json

OK

The response is of type object.