Get Ethereum vault position
Retrieve a wallet’s current position in a specific Ethereum vault. Returns the vault shares and asset values.
Documentation Index
Fetch the complete documentation index at: https://docs.privy.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Basic Auth header with your app ID as the username and your app secret as the password.
Headers
ID of your Privy app.
Path Parameters
ID of the wallet.
Query Parameters
The vault ID to get position for.
Response
Earn vault position retrieved successfully.
A wallet's position in an earn vault.
Asset metadata for an earn vault position.
{
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"symbol": "usdc",
"decimals": 6
}Total amount deposited into the vault, in smallest unit.
Total amount withdrawn from the vault, in smallest unit.
Current asset value in the vault (realtime from ERC-4626), in smallest unit.
Current vault shares held (realtime from ERC-4626).

