POST
/
v0
/
multiply
/
{marketAddress}
/
deposit
Multiply Deposit
curl --request POST \
  --url https://kamino.dial.to/api/v0/multiply/{marketAddress}/deposit \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "transaction",
  "account": "6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"
}'
{
  "type": "<any>",
  "transaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDArczbMia1tLmq7zz4DinMNN0pJ1JtLdqIJPUw931mdvp9vlLgQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAI8FZAz9nIL9hGE4x5rKjjAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICAgAB"
}

Path Parameters

marketAddress
string
default:6WEGfej9B9wjxRs6t4BYpb9iCXd8CpTpJ8fVSNzHCC5y
required

Market public key

Examples:

"6WEGfej9B9wjxRs6t4BYpb9iCXd8CpTpJ8fVSNzHCC5y"

Query Parameters

collTokenMint
string
default:AwCyCPZYJSZ93xcVKNK7jR8e1BHzJXq1D4bReNuh9woY
required

Collateral token mint address

Examples:

"AwCyCPZYJSZ93xcVKNK7jR8e1BHzJXq1D4bReNuh9woY"

debtTokenMint
string
default:Atj6UREVWa7WxbF2EMKNyfmYUY1U1txughe2gjhcPDCo
required

Debt token mint address

Examples:

"Atj6UREVWa7WxbF2EMKNyfmYUY1U1txughe2gjhcPDCo"

leverage
number
default:3
required

Leverage multiplier (2-10x)

Required range: 2 <= x <= 10
Examples:

3

amount
number
default:0.1
required

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

Required range: x >= 0
Examples:

0.1

slippage
number
default:0.5

Slippage tolerance in percentage (0.1-10%)

Required range: 0.1 <= x <= 10
Examples:

0.5

Body

application/json

Response

200 - application/json

OK

The response is of type object.