Verified Network
  • What is the Verified Network
  • How to use it
  • Reference
    • Verified SDK
      • Using the SDK
      • Wallet and Contracts
      • Know your Customer
        • Using the KYC plugin
      • Delegated permissions
      • Investment products
        • Product lifecycle
        • Example of a Product
      • Security tokens
        • Issuing functions
      • Liquidity pools
        • Buy and Sell Orders workflow
        • Buy and Sell Order Complete workflow example
      • Secondary issues
      • Primary issues
        • Primary offer function
      • Margin traded issues
        • Offering collateral
      • Adding money to wallet
        • Paying in supported tokens
      • Issuing cash tokens
        • Issuing and Exchange functions
      • Making payments
        • Transferring cash tokens
      • Withdrawals
        • Redeeming cash tokens
      • Custody of Assets
        • Custody functions
      • Staking to invest
        • Liquidity functions
        • Market maker functions
      • Staking to borrow
        • Bond issuing function
      • Lending
        • Bond purchase function
      • Repayments
        • Bond redemption function
      • Claiming collateral
        • Defaults and Unsold bonds
      • Returns on Investment
        • Manager and Platform returns
    • Verified REST API
      • Market data
        • Get all assets
        • Get Tradable Asset Pairs
        • Get Ticker Information
        • Get Orderbook
      • Order data
        • Get Account Balance
        • Get Trade Balance
        • Get Open Orders
        • Get Closed Orders
        • Query Orders Info
        • Query Trades Info
        • Get Trades History
      • Order Management
        • Add Order
        • Edit Order
        • Cancel Order
    • Verified Subgraphs
    • Verified Applications
      • Doing KYC
        • Creating wallet
        • Using the Verified Dapp
        • Doing KYC
      • Primary issues
        • Creating a new issue
        • Subscribing to issue
        • Closing issue
      • Secondary trading
        • Market orders
        • Limit orders
        • Edit, Cancel, Settle orders
      • Margin trading
        • Post Margin collateral
        • Swaps
        • Edit, Cancel, Settle orders
      • Portfolio
        • Account statement
        • Corporate actions
        • Underwriting liquidity
Powered by GitBook
On this page
  • API endpoint
  • Request Samples
  1. Reference
  2. Verified REST API
  3. Order data

Get Open Orders

Fetch orderbok data with latest bid and ask price

API endpoint

/api/openOrders?poolId={poolId}&accountId={accountId}

Request Samples

 GET https://verified-api.azurewebsites.net/api/openOrders?poolId=0x7ad0d3a9cda33d2fc7af57436a57951ce9701297000000000000000000000821&accountId=0xaA0d06ed9CeFb0B26ef011363c9d7880feda8f08

Response Samples

Content type

application/json

{
  "result": [
    {
      "amountOffered": "2",
      "priceOffered": "0",
      "orderReference": "0x02b448270f09015cd96a96413621e8462fb7465b1860ecc24bab1a5cfef151f7",
      "timestamp": "1686640356",
      "creator": "0xaa0d06ed9cefb0b26ef011363c9d7880feda8f08",
      "tokenIn": "0x07865c6e87b9f70255377e024ace6630c1eaa37f",
      "tokenOut": "0x7ad0d3a9cda33d2fc7af57436a57951ce9701297",
      "orderType": "Buy"
    }
  ]
}

PreviousGet Trade BalanceNextGet Closed Orders

Last updated 1 year ago