Morpho Blue Get Positions logo

Catalog action Blockchain Data wallet

Get all of a wallet's Morpho Blue lending positions on a given chain. Returns each position with market metadata (loan/collateral tokens, LLTV, oracle, APYs), raw on-chain state (shares + collateral), SDK-computed risk metrics (LTV, health factor, liquidation price — interest accrued to the current timestamp), and USD values. Supports Ethereum (1), Optimism (10), Polygon (137), Base (8453), Arbitrum (42161). Ideal for: borrow position monitoring, liquidation risk alerts, portfolio dashboards, automated rebalancing.

At a Glance

FieldValue
Action IDmorpho-blue-get-positions
CategoryBlockchain Data
Connectorwallet
Requires gasNo
Funds movementNone declared
Tagsmorpho, morpho-blue, lending, borrow, position, read, defi

Payload Schema

FieldTypeRequiredDescription
accountAddressstringNoThe wallet address to check Morpho Blue positions for. Optional if a wallet connector is attached (address is derived from the connector).
chainIdnumberYesChain ID. Supported: Ethereum (1), Optimism (10), Polygon (137), Base (8453), Arbitrum (42161)

Result Schema

FieldTypeRequiredDescription
accountAddressstringYesThe wallet address queried (resolved from input or wallet connector)
chainIdnumberYesThe chain ID queried
countnumberYesNumber of open positions returned
positionsarrayYesAll open Morpho Blue positions for the wallet on this chain (dust positions filtered)

Examples

json
{ "type": "morpho-blue-get-positions", "payload": { "chainId": 1 }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}

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.

Ask a question... ⌘I