jupiter_lend and kamino (or refresh the same protocol). The response contains an unsigned transaction to sign and broadcast.
Request body
| Parameter | Type | Required | Description |
|---|---|---|---|
chain_name | string | ✅ | Network (e.g. solana) |
amount | string | ✅ | Decimal amount to move (> 0) |
wallet | string | ✅ | User’s wallet public key |
asset | string | ✅ | Token symbol (e.g. USDC) |
provider_out | string | Withdraw leg: jupiter_lend or kamino | |
provider_in | string | Deposit leg: jupiter_lend or kamino | |
provider | string | When both legs use the same protocol, send only this field |
Provide
provider_in + provider_out, or a single provider when both legs are the same protocol.Expected response
mode is single_transaction and transaction holds the unsigned wire. Larger rebalances may return separate transactions — sign each and pass an array to yield broadcast if using StarkFi relay.Sign and broadcast
Sign the returned wire(s), then broadcast on your RPC or optionally via
POST /yield/broadcast..png?fit=max&auto=format&n=I_v6ul4JDafNKFQP&q=85&s=f0ad25536f8a3ca42331fcff88ab2b26)