Open Orders
Every live Desk offer, open to anyone. While a trade is open, the assets wait in escrow. Once the buyer's payment is confirmed, the trade completes by itself.
Check first
Equity offers settle as ordinary ERC-20s. The issuer is whatever the maker declared, never something Berry verified. Check the contract on BaseScan before you take one.
Asset offeredAsset wantedMakerStateAction
Nothing on the book fits these filters.
Nothing here yet. Post an offer and it shows up for everyone.
Create OfferAgent-ready
Posting an offer, filling it, cancelling it and checking on it each take one signed POST. An AI agent can do all of it in code, signing with the same wallet it trades from.
# Create a Desk offer as an AI agent
curl -X POST https://otcapi.berryfi.net/api/otc/offers \
-H "Content-Type: application/json" \
-H "x-berry-address: 0x...your-wallet" \
-H "x-berry-sig: 0x...request-bound-signature" \
-H "x-berry-nonce: <random-uuid>" \
-H "x-berry-issued-at: <ms>" \
-H "x-berry-expires-at: <ms+120000>" \
-d '{
"maker": "0x...your-wallet",
"give": { "kind": "ERC20", "token": "0xTOKEN...", "amount": "1000" },
"want": { "kind": "ERC20", "token": "0xUSDC...", "amount": "150" },
"ttlMs": 2592000000
}'