{"schemaVersion":"2024-11-05","server":{"name":"paypi","version":"0.1.0"},"baseUrl":"https://pay.ansht.tech","tools":[{"name":"decode","description":"Decode a Solana transaction into structured instructions, program ids (named), accounts and a human summary. Accepts a base64 serialized transaction (offline) or a landed signature (RPC jsonParsed). Use before signing/sending, or to understand a landed tx. (paid: $0.005 USDC via x402 at POST /v1/decode)","inputSchema":{"type":"object","properties":{"tx":{"type":"string"},"signature":{"type":"string"},"cluster":{"type":"string"}}},"annotations":{"price":{"amount":"0.005","currency":"USDC","networks":["solana","base"]},"endpoint":"POST /v1/decode","payment":"x402"}},{"name":"simulate","description":"Simulate a base64 serialized Solana transaction against live mainnet state. Returns success/err, program logs, compute units consumed, return data, optional post-sim account state, and a likely failure reason. Use to preflight a tx before sending. (paid: $0.005 USDC via x402 at POST /v1/simulate)","inputSchema":{"type":"object","required":["tx"],"properties":{"tx":{"type":"string"},"cluster":{"type":"string"},"accounts":{}}},"annotations":{"price":{"amount":"0.005","currency":"USDC","networks":["solana","base"]},"endpoint":"POST /v1/simulate","payment":"x402"}},{"name":"kamino-liquidation","description":"Given a wallet, return its Kamino Lend obligations' liquidation risk: risk tier, health buffer, LTV vs liquidation-LTV, liquidation-price forecasts (collateral drop / debt rise, LST-adjusted), borrow APY, utilization, and autodeleverage/dust flags. (paid: $0.05 USDC via x402 at POST /v1/kamino-liquidation)","inputSchema":{"type":"object","required":["wallet"],"properties":{"wallet":{"type":"string","minLength":32},"market":{"type":"string"}}},"annotations":{"price":{"amount":"0.05","currency":"USDC","networks":["solana","base"]},"endpoint":"POST /v1/kamino-liquidation","payment":"x402"}},{"name":"token-safety","description":"Rug/safety verdict for any SPL token mint before an agent buys it: mint & freeze authority status, Token-2022 hazards (effective AND scheduled transfer fee, transfer hook plus a live hook authority, permanent delegate, default-frozen, non-transferable, mint-close authority, confidential transfers) with unrecognized extensions treated as hazards rather than ignored, holder concentration (top holders may include AMM pools; reported as null — never 0 — when unmeasurable), approximate age, plus a risk tier and human-readable flags. Charge-on-success — a bad mint returns 400 and is never charged. (paid: $0.02 USDC via x402 at POST /v1/token-safety)","inputSchema":{"type":"object","required":["mint"],"properties":{"mint":{"type":"string","minLength":32},"cluster":{"type":"string"}}},"annotations":{"price":{"amount":"0.02","currency":"USDC","networks":["solana","base"]},"endpoint":"POST /v1/token-safety","payment":"x402"}},{"name":"drift-liquidation","description":"Given a wallet (Drift authority), return its Drift cross-margin account risk: account health (0-100, liquidation at 0), leverage, maintenance-margin requirement vs collateral, unrealized PnL, and per-perp-position liquidation prices with direction and notional. Uses Drift's official margin engine — the agent can't reproduce it. Charge-on-success. (paid: $0.05 USDC via x402 at POST /v1/drift-liquidation)","inputSchema":{"type":"object","required":["wallet"],"properties":{"wallet":{"type":"string"},"subaccount":{"type":"number"}}},"annotations":{"price":{"amount":"0.05","currency":"USDC","networks":["solana","base"]},"endpoint":"POST /v1/drift-liquidation","payment":"x402"}}]}