Yield Aggregator
Build rebalance (yield)
Move funds between protocols with an unsigned Solana transaction.
PATCH
string
required
Your StarkFi API key.
string
required
Enabled chain, e.g.
solana.string
required
Must parse to a finite number greater than zero.
string
User pubkey (or use
signer).string
Alias of
wallet.string
Token symbol (or use
symbol, token_mint, mint).enum<string>
Withdraw leg:
jupiter_lend or kamino (use with provider_in).enum<string>
Deposit leg:
jupiter_lend or kamino (use with provider_out).enum<string>
When both legs use the same protocol, send only this field.
Response
string
single_transaction when instructions fit in one packet.string
Base64 unsigned Solana wire. Sign and broadcast on your RPC, or optionally via Broadcast yield.
.png?fit=max&auto=format&n=I_v6ul4JDafNKFQP&q=85&s=f0ad25536f8a3ca42331fcff88ab2b26)