POST
/
v0
/
dlmm
/
{dlmmPool}
/
add-liquidity
DLMM Add Liquidity
curl --request POST \
  --url https://meteora.dial.to/api/v0/dlmm/{dlmmPool}/add-liquidity \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "transaction",
  "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
}'
{
  "type": "<any>",
  "transaction": "<string>"
}

Path Parameters

dlmmPool
string
default:BGm1tav58oGcsQJehL9WXBFXF7D27vZsKefj4xJKD5Y
required

DLMM pool address

Example:

"BGm1tav58oGcsQJehL9WXBFXF7D27vZsKefj4xJKD5Y"

Query Parameters

amount
number
default:100
required

The amount of tokenX to add

Required range: x >= 0
Example:

100

Body

application/json
type
enum<string>
default:transaction
required
Available options:
transaction
Example:

"transaction"

account
string
default:6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176
required

The public key of the account that executes the transaction

Example:

"6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"

Response

200 - application/json

OK

type
any
required
transaction
string
required