Skip to main content
Create a rebalance to move funds between jupiter_lend and kamino (or refresh the same protocol). The response contains an unsigned transaction to sign and broadcast.
1

Request body

Provide provider_in + provider_out, or a single provider when both legs are the same protocol.
2

Request example

3

Expected response

When instructions fit in one packet, 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.
4

Sign and broadcast

Sign the returned wire(s), then broadcast on your RPC or optionally via POST /yield/broadcast.