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 Trade Balance

Fetch trade balance

API endpoint

/api/fetchTradeBalance?accountId={accountId}

Request Samples

 GET https://verified-api.azurewebsites.net/api/fetchTradeBalance?accountId=0xaA0d06ed9CeFb0B26ef011363c9d7880feda8f08

Response Samples

Content type

application/json

{
  "result": [
    {
      "security": "0x53c9d69ed3ebae420c1c27542a7c0cfd0dd4bce4",
      "issuer": "0x0c8e84b66729eaa51f9a1b353bda996f95d8cd99",
      "currency": "0x07865c6e87b9f70255377e024ace6630c1eaa37f",
      "securityId": "HBAJSA2",
      "cashSwapped": "12.00",
      "timestamp": 1687497948,
      "securitySwapped": "3.52"
    },
    {
      "security": "0xf2a9060d2959d6aebb0c9916ff1a15f7e1bce0e8",
      "issuer": "0xaa0d06ed9cefb0b26ef011363c9d7880feda8f08",
      "currency": "0x07865c6e87b9f70255377e024ace6630c1eaa37f",
      "securityId": "ZYIINA",
      "cashSwapped": "4.40",
      "timestamp": 1687497156,
      "securitySwapped": "10.00"
    }
  ]
}

PreviousGet Account BalanceNextGet Open Orders

Last updated 1 year ago