Jupiter Lend Deposit Collateral
Add an exact collateral amount to an owned Jupiter Lend Borrow position.
Catalog action Solana Onchain wallet Gas send
Add an exact collateral amount to an owned Jupiter Lend Borrow position.
This action can require a wallet connector, gas, token movement, or an external side effect. Test with simulation or a controlled amount before using it in a live workflow.
At a Glance
| Field | Value |
|---|---|
| Action ID | jupiter-lend-deposit-collateral |
| Category | Solana Onchain |
| Connector | wallet |
| Requires gas | Yes |
| Funds movement | send |
| Tags | jupiter, lending, borrow, collateral, deposit, write |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
chainId | number | Yes | Solana Mainnet |
market | string | No | - |
vaultId | number | Yes | - |
positionId | number | Yes | - |
amount | string | Yes | Positive human-readable token amount |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
transactionHash | string | Yes | - |
txStatus | string | Yes | - |
chainId | number | Yes | Solana Mainnet |
market | string | Yes | - |
vaultId | number | Yes | - |
positionId | number | Yes | - |
nftMint | string | No | - |
supplyMint | string | Yes | - |
borrowMint | string | Yes | - |
rawCollateralDelta | string | Yes | - |
formattedCollateralDelta | string | Yes | - |
rawDebtDelta | string | Yes | - |
formattedDebtDelta | string | Yes | - |
projectedLtvBps | number | Yes | - |
resultingLtvBps | number | No | - |
rawCollateral | string | No | - |
formattedCollateral | string | No | - |
rawDebt | string | No | - |
formattedDebt | string | No | - |
rawDustDebt | string | No | - |
formattedDustDebt | string | No | - |
confirmationSlot | number | Yes | - |
observationStatus | string | Yes | - |
observationWarning | string | No | - |
simulated | boolean | No | - |
Examples
json{ "type": "jupiter-lend-deposit-collateral", "payload": { "chainId": 7565164, "vaultId": 1, "positionId": 1, "amount": "1000000" }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/jupiter-lend-deposit-collateral/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "chainId": 7565164, "vaultId": 1, "positionId": 1, "amount": "1000000" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
