16trust / 100

Erc4626 Vault

by Vextorium in Onchain & crypto

x402 APIFailing, checked 3 h ago

Read any ERC-4626 tokenized vault (Morpho, Yearn v3, Euler, Fluid, sDAI...) on-chain: underlying asset, total assets, shares outstanding, price per share and approximate TVL in USD.

POST https://api.vextorium.com/v1/erc4626-vault

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
3 h ago: Amount "0.004" is not in atomic token units
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/erc4626-vault" \
  -H "content-type: application/json" \
  -d '{"network":"ethereum","vault":"0x83F20F44975D03b1b09e64809B757c47f942BEeA"}'
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.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fv1%2Ferc4626-vault
const res = await pay("https://api.vextorium.com/v1/erc4626-vault", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"network":"ethereum","vault":"0x83F20F44975D03b1b09e64809B757c47f942BEeA"}),
});
console.log(await res.json());

Example input

{
  "network": "ethereum",
  "vault": "0x83F20F44975D03b1b09e64809B757c47f942BEeA"
}

Example output

{
  "asset": {
    "address": "0x6B175474E89094C44Da98b954EedeAC495271d0F",
    "decimals": 18,
    "symbol": "DAI"
  },
  "name": "Savings Dai",
  "network": "ethereum",
  "note": "Price per share > 1 = the vault has generated yield since its creation (or started that way).",
  "price_per_share": 1.1812455183,
  "stakes": 139264625.634588,
  "symbol": "sDAI",
  "total_assets": 164505714.886556,
  "tvl_usd_approx": 164442216,
  "vault": "0x83F20F44975D03b1b09e64809B757c47f942BEeA"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoAmount "0.004" is not in atomic token units40280 ms$0.004
8 h agoAmount "0.004" is not in atomic token units40297 ms$0.004
12 h agoAmount "0.004" is not in atomic token units402117 ms$0.004
16 h agoAmount "0.004" is not in atomic token units40281 ms$0.004
20 h agoAmount "0.004" is not in atomic token units40274 ms$0.004
24 h agoAmount "0.004" is not in atomic token units40283 ms$0.004
28 h agoAmount "0.004" is not in atomic token units40279 ms$0.004
32 h agoAmount "0.004" is not in atomic token units402101 ms$0.004
36 h agoAmount "0.004" is not in atomic token units40286 ms$0.004
41 h agoAmount "0.004" is not in atomic token units402249 ms$0.004
44 h agoAmount "0.004" is not in atomic token units40289 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40278 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40280 ms$0.004
2 days agoAmount "0.004" is not in atomic token units402179 ms$0.004
3 days agoAmount "0.004" is not in atomic token units40282 ms$0.004