Polymarket
A position on a real-world outcome: find the market, buy or sell shares, claim when it resolves.
Not available everywhere. Polymarket restricts who may use it by where they live, are located or are organised. OutLayer does not check your eligibility: you alone are responsible for being allowed to use it, for complying with the laws that apply to you, and for any loss. Polymarket Terms of Use · restricted jurisdictions · OutLayer Terms
No account to connect: the venue key is a sub-key of the agent’s custody wallet. Your caps are a policy you store for the agent; without one it trades with no caps and withdraws only back to its wallet.
The owner’s policy
Stored as POLYMARKET_POLICY, checked inside the enclave before any request leaves. With nothing stored: no caps — the built-in default: any market, any size, deposits from the wallet, withdrawals only back to it.
How much may it trade?
max_order_usdMost per ordera number, USD, whole dollars- Price × shares of one order. Orders are off until both this and the daily volume are set. Empty: no orders at all.
max_daily_volume_usdVolume per daya number, USD, UTC days- Everything the agent ordered in a UTC day, counted whether or not it filled. Empty: no orders at all.
max_open_notional_usdAt risk at oncea number, USD- Open orders plus positions together, read from the venue before each order rather than from a counter. Empty: no cap on what is open at once (the two above still apply).
Which markets?
marketsOnly these marketsa list- Condition ids or token ids, as the connector’s markets operation lists them. "any" means every market. Empty: every market.
Deposits and withdrawals
allow_depositFund the venue from the walleton or off- Lets the agent move USDC from the wallet’s intents balance to its Polymarket deposit wallet. The cap below bounds one deposit. Off: nothing moves to the venue.
max_deposit_usdMost per deposita number, USD, whole dollars- The most one deposit may carry. Empty: no cap on one deposit (the switch above still decides whether any happens).
allow_withdrawWithdraw backon or off- Lets the agent move USDC from Polymarket back out. Off: nothing leaves the venue.
withdraw_toWithdraw only totext- intents (the wallet’s own balance), confidential, or one NEAR account. Empty: withdrawals may go to intents and nowhere else.
Operations
Every call names one in operation; the other fields are the parameters listed under it.
Reading the deployed version…