Morpho Get Vault APY
Get the current APY for a specific Morpho vault by its contract address. Returns gross APY, net APY (after fees), TVL, and underlying asset info. Unlike 'Morpho Get Best APY' which discovers the highest-yielding vault for a token, this action looks up a known vault directly — use it when you already know which vault to check (e.g., after a deposit or withdrawal). Supports Ethereum (1), Optimism (10), Polygon (137), Base (8453), Arbitrum (42161). Ideal for: post-deposit APY reporting, vault monitoring, Slack/Telegram notifications with accurate yield data.
Catalog action Blockchain Data
Get the current APY for a specific Morpho vault by its contract address. Returns gross APY, net APY (after fees), TVL, and underlying asset info. Unlike 'Morpho Get Best APY' which discovers the highest-yielding vault for a token, this action looks up a known vault directly — use it when you already know which vault to check (e.g., after a deposit or withdrawal). Supports Ethereum (1), Optimism (10), Polygon (137), Base (8453), Arbitrum (42161). Ideal for: post-deposit APY reporting, vault monitoring, Slack/Telegram notifications with accurate yield data.
At a Glance
| Field | Value |
|---|---|
| Action ID | morpho-get-vault-apy |
| Category | Blockchain Data |
| Connector | Not required |
| Requires gas | No |
| Funds movement | None declared |
| Tags | morpho, defi, yield, vault, erc4626, lending, read |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
vaultAddress | string | Yes | The MetaMorpho vault contract address to look up. |
chainId | number | Yes | Chain ID. Supported: Ethereum (1), Optimism (10), Polygon (137), Base (8453), Arbitrum (42161) |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
vaultAddress | string | Yes | The queried vault contract address |
vaultName | string | Yes | Vault display name (e.g., 'Steakhouse USDC') |
chainId | number | Yes | Chain ID the vault is deployed on |
chainName | string | Yes | Human-readable chain name (e.g., 'base', 'ethereum') |
apy | number | Yes | Gross APY as decimal (0.05 = 5%) |
netApy | number | Yes | Net APY after fees as decimal (0.045 = 4.5%) |
apyPercent | number | Yes | Gross APY as percentage (e.g., 5.0) |
netApyPercent | number | Yes | Net APY after fees as percentage (e.g., 4.5) |
totalAssets | string | Yes | Total assets deposited in the vault (raw, smallest unit) |
totalAssetsUsd | number | Yes | Total assets in USD (computed from totalAssets and token price) |
assetAddress | string | Yes | Underlying asset token address |
assetSymbol | string | Yes | Underlying asset token symbol (e.g., 'USDC') |
assetDecimals | number | Yes | Underlying asset token decimals |
Examples
json{ "type": "morpho-get-vault-apy", "payload": { "vaultAddress": "0x0000000000000000000000000000000000000000", "chainId": 1 }, "children": []}
bashcurl -X POST "https://api.b3os.org/v1/actions/morpho-get-vault-apy/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "vaultAddress": "0x0000000000000000000000000000000000000000", "chainId": 1 }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
