Create a new Dual Investment order. Requires Earn permission (API key + secret). Provide either baseAmount (invest in base currency) or currencyAmount (invest in investment currency), not both. profit must be obtained from pionex_earn_dual_prices and passed unchanged — a stale or mismatched value...
AI agents use pionex_earn_dual_invest to commit financial operations through Pionex Trade — usually the final step of a payment, billing, or trading workflow. A call moves real money.
| Parameter | Type | Required | Description |
|---|---|---|---|
base | string | Yes | Base currency (e.g. BTC) |
profit | string | — | Yield rate from pionex_earn_dual_prices (e.g. '0.0039'). Must be current — stale values are rejected. |
productId | string | — | Product ID to invest in (e.g. BTC-USDXO-260402-68000-P-USDT). Obtain from pionex_earn_dual_open_products. |
baseAmount | string | — | Investment amount in base currency (e.g. '0.01'). Mutually exclusive with currencyAmount. |
clientDualId | string | — | Client-assigned order ID used as an idempotency key. Recommended to avoid duplicate orders. |
currencyAmount | string | — | Investment amount in investment currency (e.g. '100'). Mutually exclusive with baseAmount. |
Parameters from the server's own tool schema.
This tool creates financial investment orders on Pionex, committing real funds to a Dual Investment product. It directly moves or locks up user assets into a financial instrument, making it a Financial category tool with critical severity since misuse could result in significant, potentially irreversible financial loss.
From the tool's definition Create a new Dual Investment order. Requires Earn permission (API key + secret). Provide either baseAmount (invest in base currency) or currencyAmount (invest in investment currency)
Attacks that exploit this kind of access
Create a new Dual Investment order. Requires Earn permission (API key + secret). Provide either baseAmount (invest in base currency) or currencyAmount (invest in investment currency), not both. profit must be obtained from pionex_earn_dual_prices and passed unchanged — a stale or mismatched value will be rejected. Product ID format: {BASE}-{QUOTE}-{YYMMDD}-{STRIKE}-{C|P}-{CURRENCY}, where C=DUAL_BASE, P=DUAL_CURRENCY. It is categorised as a Financial tool in the Pionex Trade MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
pionex_earn_dual_invest accepts 6 parameters: base, profit, productId, baseAmount, clientDualId, currencyAmount. Required: base. The full parameter table on this page comes from the server's own tool schema.
Register the Pionex Trade MCP server in PolicyLayer and add a rule for pionex_earn_dual_invest: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Pionex Trade. Nothing to install.
pionex_earn_dual_invest is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the pionex_earn_dual_invest rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for pionex_earn_dual_invest. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
pionex_earn_dual_invest is provided by the Pionex Trade MCP server (@pionex/pionex-trade-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →