drift_borrow
Borrow tokens on the Drift protocol using deposited collateral as security. Specify wallet, token mint, raw amount, and optional sub-account.
Instructions
Borrow tokens on Drift against deposited collateral.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mint | Yes | Token mint address (base58) | |
| amount | Yes | Raw token amount (smallest unit) | |
| wallet | Yes | Solana public key (base58) | |
| subAccountId | No |