POST
/
v0
/
liquidity
/
{vaultAddress}
/
deposit
Liquidity Vault Deposit
curl --request POST \
  --url https://kamino.dial.to/api/v0/liquidity/{vaultAddress}/deposit \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "transaction",
  "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
}'
{
  "type": "transaction",
  "transaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDArczbMia1tLmq7zz4DinMNN0pJ1JtLdqIJPUw931mdvp9vlLgQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8FZAz9nIL9hGE4x5rKjjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICAgAB"
}

Path Parameters

vaultAddress
string
default:BLP7UHUg1yNry94Qk3sM8pAfEyDhTZirwFghw9DoBjn7
required

Vault public key

Query Parameters

amount
number
default:2
required

The amount to use. Human readable value, e.g. 0.1 SOL

Required range: x >= 0
Example:

2

side
enum<string>
default:A

The side of the vault to deposit to

Available options:
A,
B
Examples:

"A"

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
enum<string>
required
Available options:
transaction
Examples:

"transaction"

transaction
string
required
Examples:

"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDArczbMia1tLmq7zz4DinMNN0pJ1JtLdqIJPUw931mdvp9vlLgQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8FZAz9nIL9hGE4x5rKjjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICAgAB"