81trust / 100

Actions Enter

by Yield.xyz MCP in Onchain & crypto

x402 APIPassing, checked 3 h ago

Build unsigned transactions to enter any DeFi yield — native/liquid staking (ETH, SOL, ATOM), stablecoin lending (USDC/USDT on Aave, Morpho), ERC-4626 vaults, and tokenized RWAs across 80+ networks. Does NOT execute: the caller signs and broadcasts each tx, so keys never leave the caller. Find yield IDs via yields_get_all.

POST https://mcp.yield.xyz/x402/actions_enter

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
202 ms typical, 202 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://mcp.yield.xyz/x402/actions_enter" \
  -H "content-type: application/json" \
  -d '{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","amount":"0.1","yieldId":"ethereum-eth-lido-staking"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.03:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmcp.yield.xyz%2Fx402%2Factions_enter
const res = await pay("https://mcp.yield.xyz/x402/actions_enter", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","amount":"0.1","yieldId":"ethereum-eth-lido-staking"}),
});
console.log(await res.json());

Example input

{
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "amount": "0.1",
  "yieldId": "ethereum-eth-lido-staking"
}

Example output

{
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "amount": "1",
  "executionPattern": "synchronous",
  "id": "0b8e2c5a-4f3d-4c2b-9e1a-7d6f5e4c3b2a",
  "intent": "enter",
  "status": "CREATED",
  "transactions": [
    {
      "id": "6b757454-725c-4871-9f9a-8fa159dc8720",
      "network": "base",
      "status": "CREATED",
      "stepIndex": 0,
      "title": "APPROVAL Transaction",
      "type": "APPROVAL",
      "unsignedTransaction": "{\"from\":\"0xd8dA…\",\"to\":\"0x8335…\",\"data\":\"0x095e…\"}"
    },
    {
      "id": "da961e24-0f26-462e-9456-3886386ef247",
      "network": "base",
      "status": "CREATED",
      "stepIndex": 1,
      "title": "SUPPLY Transaction",
      "type": "SUPPLY",
      "unsignedTransaction": "{\"from\":\"0xd8dA…\",\"to\":\"0xa238…\",\"data\":\"0x617b…\"}"
    }
  ],
  "type": "STAKE",
  "yieldId": "base-usdc-aave-v3-lending"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402202 ms$0.001