POST
/
v0
/
multiply
/
{marketAddress}
/
withdraw
Multiply Withdraw
curl --request POST \
  --url https://kamino.dial.to/api/v0/multiply/{marketAddress}/withdraw \
  --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"

percentage
integer
default:100
required

The percentage of position to withdraw

Required range: 1 <= x <= 100
Examples:

100

slippage
number
default:3

Slippage tolerance in percentage (0.1-10%)

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

3

Body

application/json

Response

200 - application/json

OK

The response is of type object.