User Positions
User lending/borrowing positions
📄️ Get user lending positions with portfolio summary
Fetches lending and borrowing positions for a given account across one or more chains.
📄️ Prepare user-position RPC calls
Prepares raw JSON-RPC calls (using multicall3 aggregate3) for fetching user lending positions on a single chain. Returns an `rpcCallId` and an array of `rpcCalls` that the integrator executes against their own RPC provider. The raw responses are then submitted to `/parse` together with the `rpcCallId`.
📄️ Parse raw RPC responses into user positions with portfolio summary
Accepts the raw multicall RPC responses obtained by executing the calls from `/rpc-call` and decodes them into structured user position data.