Returns the strategy with the highest APY that matches the given identifier. The identifier is matched against the strategy’s assetName (e.g., SteakhouseUSDC, wBETH) or its category (e.g., lending, staking, fixed-yield).
When wallet is provided, amount is also required. In that case the response includes ready-to-execute bytecodeExecution for the requested action.
API key for authentication. Obtain from your Deframe dashboard.
Asset name (e.g., SteakhouseUSDC, wBETH) or category (e.g., lending, staking, fixed-yield, other)
"SteakhouseUSDC"
User wallet address. When provided, amount is required.
Ethereum address (EVM-compatible)
"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
Amount in the token's smallest unit (wei). Required when wallet is provided.
Large integer represented as string (amount in token's smallest unit)
"1000000"
Action to encode in the bytecode. Defaults to lend.
lend, withdraw Origin chain name filter (optional)
Destination chain name filter (optional)
Best matching strategy returned
Composite identifier in the format {protocol}-{assetName}-{network}
"Morpho-SteakhouseUSDC-base"
Network where the strategy operates
"base"
Array of transaction objects to execute, or a message instructing to provide wallet and amount if those parameters were not supplied.
DeFi yield strategy details
Current market data for the strategy (APY, liquidity, etc.)