Lightweight yield preview for Base without calldata
payai.agentstools.dev/yield/preview
Lightweight yield preview for Base without calldata: give protocol, asset or vault, raw amount and action and get the expected shares or assets and the safety flags (paused/frozen/cap, empty-vault inflation risk). A cheap check before you build the full transaction.
GET
https://payai.agentstools.dev/yield/previewUptime100% of 4 checks in 30 days
30 days agoToday
Call it from an agent
curl -i "https://payai.agentstools.dev/yield/preview?vault=0xeE8F4eC5672F09119b96Ab6fB59C27E1b7e44b61&action=deposit&amount=1000000&protocol=erc4626" # 402 Payment Required comes back with the price and where to pay. # Any x402 client pays and retries.
Example input
{
"vault": "0xeE8F4eC5672F09119b96Ab6fB59C27E1b7e44b61",
"action": "deposit",
"amount": "1000000",
"protocol": "erc4626"
}