lending

Provide programmatic access to LOAN Protocol lending data and operations on the XMP Network.

3|3|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/XPRNetwork/xpr-agents --skill lending
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lending
Source: https://github.com/XPRNetwork/xpr-agents/tree/main/openclaw/starter/agent/skills/lending
Command: npx skills add https://github.com/XPRNetwork/xpr-agents --skill lending

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

LOAN Protocol lending and borrowing on the XPR Network requires tooling to query markets, configs, APY, TVL, and user positions, and to perform signed operations for supply, borrow, repay, and collateral management. This Skill provides a unified, programmable interface to LOAN Protocol data and actions on mainnet, enabling automation and integration within agents and dashboards.

Core Features & Use Cases

  • Read-only access to markets, rewards, APY, and TVL data to power analytics, risk assessment, and dashboards.
  • Write-enabled actions such as entering/exiting markets, supplying, borrowing, repaying, redeeming collateral, and claiming LOAN rewards with proper signing.
  • Use cases include building automated lending workflows, portfolio tracking, and A2A agent interactions that manage liquidity on mainnet.

Quick Start

Enter a lending market, then supply or borrow assets using signed transactions to interact with LOAN Protocol on mainnet.

Frequently Asked Questions about lending

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query lending market APY and TVL data on the XPR Network?

You can query lending market APY and TVL data on the XPR Network through read-only LOAN Protocol calls that retrieve statistics from a mainnet XPR RPC and Metal X APIs to support analytics and dashboards.

Can I automate borrowing and supplying assets in LOAN Protocol markets?

Yes, you can automate borrowing and supplying assets in LOAN Protocol markets by executing write-enabled actions that require signing, enabling automated lending workflows and A2A agent interactions on mainnet.

Does the XPR lending Skill require mainnet credentials for querying user positions?

Querying user positions is read-only and does not require credentials, but performing write actions like entering markets or claiming LOAN rewards requires environment-based credentials for signing on mainnet.

What steps are needed to enter a market and supply collateral on XPR LOAN Protocol?

Entering a market and supplying collateral on XPR LOAN Protocol requires executing signed transactions to enter the market and then supplying assets, using environment-based credentials for signing on mainnet.

Are there limitations on using LOAN Protocol lending and borrowing operations off mainnet?

LOAN Protocol lending and borrowing operations are restricted to mainnet usage only, relying on a mainnet XPR RPC and Metal X APIs for statistics, meaning testnet deployments are not supported.