B

Barker · Barker Vault Position

by Barker

GETBaseEthereumArbitrumPolygonX Layer

$0.001

per call · USD Coin on Base

VAULT POSITION (on-chain read): current redeemable value of a wallet's ERC-4626 vault position. Pass the pool_uid (from barker_executable_pools / barker_execution_quote) and the wallet address; Barker resolves the vault contract and reads balanceOf + convertToAssets directly on-chain, returning shares and current_value in the vault's underlying asset (value_asset, e.g. USDC).…

Endpoint

GET https://mcp.barker.money/barker_vault_position

1

Calls / 30d

1

Unique payers / 30d

Aug 17

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://mcp.barker.money/barker_vault_position", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://mcp.barker.money/barker_vault_position?address=0x93904eeC579e5bF7a57C2DD4AfbEA0F1C3e6A1D1&pool_uid=morpho-vault_base_usdc_0xee8f4ec5" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "address": "0x93904eeC579e5bF7a57C2DD4AfbEA0F1C3e6A1D1",
  "as_of": "2026-07-08T12:00:00.000Z",
  "chain": "base",
  "chain_id": 8453,
  "current_value": "307433433.956826",
  "pool_uid": "morpho-vault_base_usdc_0xee8f4ec5",
  "shares": "278871044.138241905407037763",
  "success": true,
  "value_asset": "USDC",
  "value_asset_decimals": 6,
  "vault_address": "0xeE8F4eC5672F09119b96Ab6fB59C27E1b7e44b61"
}

Payment details

Pay to0x83f15f5bea445109e255ab82622fbdfecd1e4c9f
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Ethereum, Arbitrum, Polygon, X Layer
Schemesexact, aggr_deferred

Is this your API?

Pin it to the top of DeFi and the homepage with a featured placement.

Get featured →

More from Barker & similar services