Skip to content
Eden Engine

Yearn Token USD Price (6 decimals)

yearn/token-price

The USD price of a token (or vault share token) by chain and contract address from Yearn's price service, returned as a string in millionths of a dollar (divide by 1,000,000). A token Yearn does not price is a not-found error. Yearn public API data, passed through and served by Eden Engine; not an official Yearn product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Yearn Finance

Data from the Yearn yDaemon API (yearn.fi). Served by Eden Engine; not an official Yearn product.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "yearn/token-price" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "yearn/token-price" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "yearn/token-price", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "yearn/token-price", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "chain",
    "address"
  ],
  "properties": {
    "chain": {
      "enum": [
        "1",
        "10",
        "100",
        "137",
        "146",
        "250",
        "8453",
        "42161",
        "747474"
      ],
      "type": "string",
      "description": "EVM chain id that yDaemon indexes: 1 Ethereum, 10 Optimism, 100 Gnosis, 137 Polygon, 146 Sonic, 250 Fantom, 8453 Base, 42161 Arbitrum, 747474 Katana."
    },
    "address": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{40}$",
      "description": "Token contract address, 0x plus 40 hex digits. USDC on Ethereum is 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "result"
  ],
  "properties": {
    "result": {
      "type": "string",
      "description": "USD price x 1,000,000, as a decimal string."
    }
  },
  "additionalProperties": true
}