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
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..png?fit=max&auto=format&n=I_v6ul4JDafNKFQP&q=85&s=f0ad25536f8a3ca42331fcff88ab2b26)