API Reference
List Vaults
Return the Base Earn vault catalog with live onchain state, provider, withdrawal mode, token addresses, and decimals.
Returns the catalog of enabled vaults with live onchain state. Use it to resolve the
The TypeScript and Python examples use the
vaultId you send on writes, the vault’s provider and withdrawalMode, and token addresses and decimals.
For Morpho Earn, select a vault with provider: "morpho" and withdrawalMode: "synchronous", then use its vaultId for deposits and withdrawals.
Query Parameters
earn() helper from Call the API. Response examples use illustrative values; never submit them as transactions.
Response Fields
The identifier returned by discovery. Use it unchanged in API requests; it is not a contract address.
synchronous (Morpho) uses Withdraw. queued (Upshift) uses Request Withdraw and Claim.The share token’s
address, symbol, and decimals. Share decimals can differ from the asset’s; read both independently from discovery.