Skip to main content
POST
Lend Vault Withdraw

Path Parameters

vaultId
string
default:A1USdzqDHmw5oz97AkqAGLxEQZfFjASZFuy4T6Qdvnpo
required

Vault public key or slug (kebab-case vault name)

Query Parameters

percentage
integer
default:100

The percentage of funds to use. For withdrawals, if percentage is >= 99.9%, a full withdrawal will be performed

Required range: 1 <= x <= 100
amount
number

The amount to use. Human readable value (not lamports), e.g. 0.1 SOL. For withdrawals, if amount is close to the deposited amount (>= 99.9%), a full withdrawal will be performed

Required range: x >= 0

Body

application/json
type
enum<string>
default:transaction
required
Available options:
transaction
account
string
default:6JpNV6DK88auwzKVizdeT4Bw3D44sam5GqjcPCJ7y176
required

The public key of the account that executes the transaction

Response

200 - application/json

OK

type
any
required
transaction
string
required
dialectExperimental
object