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 Trades History

Fetch orderbok data with latest bid and ask price

API endpoint

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

Request Samples

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

Response Samples

Content type

application/json

{
  "result": [
    {
      "amountOffered": 7.857142857142858,
      "priceOffered": 7,
      "orderReference": "0x09f1dd2b1ffe94c3d3b0fb95a03dcfdb07167e85abde4a91314700658e4bd7ac",
      "timestamp": "1687439928",
      "creator": "0xaa0d06ed9cefb0b26ef011363c9d7880feda8f08",
      "tokenIn": "0x40cf81a59ba9ce0d93763c3373cf0a9fe2a62887",
      "tokenOut": "0x748acd5263c4c21dfe63f675ddb01b1ab44690a7",
      "orderType": "Sell"
    }
  ]
}

PreviousQuery Trades InfoNextOrder Management

Last updated 1 year ago