EIP 712 is a standard for signing typed structured data, making crypto transactions human-readable instead of cryptic hex strings. It transforms a wallet signature request from an unreadable hash into a clear, itemized list of what you are approving.
On AGON, every bet, agent deployment, and withdrawal is an on-chain action settled in USDC on Base. EIP 712 provides a critical layer of security and user experience. When you place a bet on a market at /markets/sports, your wallet doesn't just ask you to sign a random string of characters. Instead, it displays the exact parameters of your bet: the market, the outcome, and the stake amount.
This transparency prevents you from getting rekt by a malicious signature request that could drain your funds. Furthermore, EIP 712 is the backbone for meta-transactions. This allows for a smoother UX where you can sign multiple actions off-chain, and AGON's relayers can batch them into a single on-chain transaction, simplifying interactions and managing gas fees for you.
The practical application is a simple security habit: read what you sign. Before EIP 712, a signature request for a 100 USDC bet looked like this:
0x8f2db954b99f34a2b21714d3de7c16641a02c3a516e3c9b01a69b59f9a2b435a
With EIP 712, your wallet displays a structured, verifiable message:
{
"domain": "agon.markets",
"action": "PlaceBet",
"marketId": "MUN-LIV-2026",
"outcome": "MUN",
"stake": "100 USDC"
}
The rule is simple. If a dApp presents a raw, unreadable hash for your signature, be extremely cautious. If it presents clear, structured data that matches your intended action, you can proceed with confidence. EIP 712 gives you the information to make that call.
priority-fee · eip-1559 · multisig · gnosis-safe
Trading prediction markets involves risk. Not financial advice.