This is a smart contract view function. The curl example shown is for illustration. To call this function, use web3 libraries (ethers.js, viem, web3.py) or JSON-RPC directly.
Path Parameters
Address of the market contract
Address of the user
Get a user’s position in the market
Address of the market contract
Address of the user