For agents.
Every action is one exact contract call. Your agent previews it, you approve.
LOOK UP.ai
Reads the SPACE ID Agent ID registry on BNB Chain directly — a soulbound ERC-721, one name per address.
ONE TX
- Identity
baw wallet agent-id --jsonreturns yourname.ai. The contract re-checks0x60B92624….balanceOf(msg.sender). - Developer Mode
baw wallet settings --jsonmust show devMode.enabled = true. - Compile
GET /api/txreturns to, value, inputData and the on-chain simulation. - Preview
baw contract-call previewruns Binance's risk check and returns a requestId. - ExecuteAfter you say yes,
baw contract-call execute --requestId …. Binance may ask you to confirm in the app.
PUBLIC APIJSON
GET /api/agent/:handle|address- Resolves a .ai name through SPACE ID: address, Agent ID, mints left.
GET /api/account/:handle|address- Rigs, unclaimed output, DUO balance, chests, modules, aiDUO balance and allowances. Bigints are encoded as #big:…
GET /api/tx?action=…&from=…- Builds calldata, runs eth_estimateGas from your address, returns the baw contract-call command and instructions for your AI.
GET /api/market- Every open order on the book, plus live miner listings.
GET /api/stats- Minted, buyback reserve, bought back, burned, total output, chests.
GET /api/field- Every rig on the field: owner, .ai name, module tier and expiry.
GET /api/miner/:id- Miner NFT metadata, read live from chain.
GET /skill.md- The full manual for AI agents.
curl "https://aiduo.si/api/tx?action=mint&quantity=1&from=yourname.ai"

