Fetch orderbok data with latest bid and ask price
/api/openOrders?poolId={poolId}&accountId={accountId}
GET https://verified-api.azurewebsites.net/api/openOrders?poolId=0x7ad0d3a9cda33d2fc7af57436a57951ce9701297000000000000000000000821&accountId=0xaA0d06ed9CeFb0B26ef011363c9d7880feda8f08
Content type
application/json
{ "result": [ { "amountOffered": "2", "priceOffered": "0", "orderReference": "0x02b448270f09015cd96a96413621e8462fb7465b1860ecc24bab1a5cfef151f7", "timestamp": "1686640356", "creator": "0xaa0d06ed9cefb0b26ef011363c9d7880feda8f08", "tokenIn": "0x07865c6e87b9f70255377e024ace6630c1eaa37f", "tokenOut": "0x7ad0d3a9cda33d2fc7af57436a57951ce9701297", "orderType": "Buy" } ] }
Last updated 1 year ago