Jupiter Lend Earn Withdraw
Withdraw an exact underlying amount or redeem the complete Jupiter Lend Earn position.
Catalog action Solana Onchain wallet Gas receive
Withdraw an exact underlying amount or redeem the complete Jupiter Lend Earn 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-earn-withdraw |
| Category | Solana Onchain |
| Connector | wallet |
| Requires gas | Yes |
| Funds movement | receive |
| Tags | jupiter, lending, defi, withdraw, redeem, write |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
chainId | number | Yes | Solana Mainnet |
assetMint | string | Yes | Underlying Jupiter Lend Earn asset mint |
amountMode | string | Yes | - |
amount | string | No | Positive human-readable underlying amount for exact withdrawals |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
transactionHash | string | Yes | - |
txStatus | string | Yes | - |
chainId | number | Yes | Solana Mainnet |
assetMint | string | Yes | - |
shareMint | string | No | - |
market | string | Yes | - |
rawAmount | string | No | - |
formattedAmount | string | No | - |
rawAssetsReceived | string | No | - |
formattedAssetsReceived | string | No | - |
rawSharesReceived | string | No | - |
formattedSharesReceived | string | No | - |
rawSharesBurned | string | No | - |
formattedSharesBurned | string | No | - |
rawRemainingShares | string | No | - |
formattedRemainingShares | string | No | - |
confirmationSlot | number | Yes | - |
observationStatus | string | Yes | - |
observationWarning | string | No | - |
simulated | boolean | No | - |
Examples
json{ "type": "jupiter-lend-earn-withdraw", "payload": { "chainId": 7565164, "assetMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "amountMode": "exact", "amount": "1000000" }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/jupiter-lend-earn-withdraw/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "chainId": 7565164, "assetMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "amountMode": "exact", "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.
