defi

Manage swaps, OTC escrow, and multisig on the Metal X DEX via XPR Network tools.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

DeFi toolkit on the XPR Network unifies access to price data, liquidity management, swaps, OTC escrow, and governance tooling to simplify building automated financial workflows.

Core Features & Use Cases

  • Read-only tools for market discovery and data retrieval: token prices, market lists, OHLCV candles, order books, recent trades, DEX balances, OTC offers, and yield farming data.
  • Write tools for trading and asset management: place/cancel orders, perform swaps, add/remove liquidity, create/fill/cancel OTC offers, stake/unstake/claim yields, and multisig proposal management.
  • Use Case: Build an autonomous trading bot that monitors markets, calculates swap estimates, opens OTC escrows, and submits multisig proposals when governance thresholds are met.

Quick Start

List all markets with defi_list_markets and then fetch the price for a pair like XPR_XMD using defi_get_token_price to explore how the DeFi toolkit operates.

Frequently Asked Questions about defi

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

FAQPage Schema
How do I automate swaps and liquidity management on Metal X DEX?

You can automate swaps and liquidity management on Metal X DEX by using a DeFi toolkit that provides write tools for placing orders, performing swaps, and adding or removing liquidity. It applies to developers building automated trading workflows.

Can I build an OTC escrow workflow on XPR Network?

Yes, you can build an OTC escrow workflow on XPR Network using a DeFi toolkit that offers write tools to create, fill, and cancel OTC offers. It also provides read-only tools to retrieve existing OTC offers.

What data is needed to monitor token prices and order books for trading bots?

To monitor token prices and order books for trading bots, you need read-only access to market data. A DeFi toolkit retrieves token prices, OHLCV candles, order books, recent trades, and yield farming data to inform your automated strategies.

Does the XPR Network DeFi toolkit support multisig governance for trading operations?

Yes, the XPR Network DeFi toolkit supports multisig governance by providing write tools for multisig proposal management. This allows operators to submit proposals when governance thresholds are met within autonomous trading or escrow workflows.

How do I safely execute write operations for staking and claiming yields?

To safely execute write operations for staking and claiming yields, the DeFi toolkit enforces a confirmed flag for all write actions. This safety mechanism prevents accidental execution when managing stakes, claiming yields, or performing swaps.