Router Functions
Buy
Buy a position in a market through the router with safety checks and deadline protection
POST
Buy position through router
This is a smart contract write function. The curl example shown is for illustration. To call this function, use web3 libraries (ethers.js, viem, web3.py) or JSON-RPC directly.
Body
application/json