barker_vault_position
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). Barker does not store your deposit baseline — record the principal you deposited yourself; earned = current_value - your net deposits. Use after depositing via barker_execution_quote to monitor a position: 'how much is my vault position worth now', '我存进金库的 USDC 现在值多少'. (paid: $0.001 per call via x402)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | EVM wallet address holding the vault shares (0x + 40 hex) | |
| pool_uid | Yes | Barker pool uid of the ERC-4626 vault, e.g. morpho-vault_base_usdc_0xee8f4ec5 (from barker_executable_pools) |