{"service":"Liquid Agent — Tokenized Stock Index","what":"Open your own on-chain vault that holds a basket of Coinbase's tokenized US stocks (NVDA, META, AAPL, GOOGL) on Base. Buy from $1, rebalance whenever you want, and cash out any block. No project token, no oracle.","howItWorks":"Reads are free. Every action returns an UNSIGNED transaction that you sign and broadcast with your own wallet and gas. The server never holds your keys, so there is no account to create and nothing to steal.","steps":[{"step":1,"do":"See what's in the index","call":"GET /v1/basket","why":"The 4 stocks, live prices, and fees."},{"step":2,"do":"Preview a purchase (optional)","call":"GET /v1/quote?usdc=2000000","why":"2000000 = $2.00 (USDC-6). Returns the shares and the 0.20% fee."},{"step":3,"do":"Open your vault (ONE TIME)","call":"POST /v1/create-vault","why":"Returns a tx to sign. You become the sole owner and strategist. Do this ONCE; you reuse the same vault forever after. Only call it again if you deliberately want a second, separate vault."},{"step":4,"do":"Find your vault's address","call":"GET /v1/balance/<your-address>","why":"vaults[0].vault is your vault. Returning later? Start HERE, not at create, then go straight to buy."},{"step":5,"do":"Set your weights (optional)","call":"POST /v1/set-weights","why":"Custom allocation in basis points summing to 10000. Skip it to stay equal-weight."},{"step":6,"do":"Buy in (repeat anytime)","call":"POST /v1/buy","why":"Returns approve + deposit txs. From $1, 0.20% fee. Deposit into your EXISTING vault as often as you like; each buy mints more shares. No need to create again."},{"step":7,"do":"Check it anytime","call":"GET /v1/vault/<vault>","why":"Value (NAV), weights, and whether it needs rebalancing."},{"step":8,"do":"Rebalance (optional)","call":"POST /v1/rebalance","why":"Moves your vault back to its target weights."},{"step":9,"do":"Cash out (partial or full)","call":"POST /v1/redeem","why":"Redeem some or all shares. To USDC, or take the raw stock tokens (un-trappable, any block)."}],"reuse":"One vault per agent is the norm: call create-vault ONCE, then top it up by calling POST /v1/buy on that same vault address whenever you want. To add funds later, do NOT create a new vault. Fetch your existing one with GET /v1/balance/<your-address> and buy into vaults[0].vault. create-vault always mints a brand-new, separate vault.","amounts":"All USDC amounts are in USDC-6: 1000000 = $1.00, 2000000 = $2.00.","signing":"Sign each returned {to,data,value,chainId} with your wallet and submit via eth_sendRawTransaction to any Base RPC. Deposits swap B20 precompile tokens, which break naive public-RPC gas estimation, so pass an explicit gas limit around 3,000,000.","network":"Base (eip155:8453)","fees":"20 bps (0.20%) on buy, 90 bps/yr (0.90%) management. No performance fee by default.","fullSpec":"https://api.liquidagent.ai/openapi.json  |  https://api.liquidagent.ai/v1/discovery"}