Skip to main content
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": "<unknown>",
  "transaction": "<string>"
}

Path Parameters

marketAddress
string
default:6WEGfej9B9wjxRs6t4BYpb9iCXd8CpTpJ8fVSNzHCC5y
required

Market public key

Query Parameters

collTokenMint
string
default:AvZZF1YaZDziPY2RCK4oJrRVrbN3mTD9NL24hPeaZeUj
required

Collateral token mint address

debtTokenMint
string
default:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
required

Debt token mint address

percentage
integer
default:10
required

The percentage of position to withdraw

Required range: 1 <= x <= 100
slippage
number
default:3

Slippage tolerance in percentage (0.1-10%)

Required range: 0.1 <= x <= 10

Body

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

"transaction"

account
string
default:6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176
required

The public key of the account that executes the transaction

Examples:

"6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176"

Response

200 - application/json

OK

type
any
required
transaction
string
required