Docs | monitor.ws
  • Welcome
  • Beta
  • 🌊Websocket
    • Quickstart
    • On-Chain Data
      • All
      • Account
      • Signer
      • Token
      • Creation
      • Migration
      • Transfer
    • Off-Chain Data
      • Pumpfun Monitor
        • King of the Hill
        • Meta
      • Dexscreener Monitor
        • Dex Paid
        • Dex Boost
  • 🌐Api
    • Quickstart
    • Transaction
      • Trade
    • On-Chain Data
      • Token
        • Metadata
        • Info
Powered by GitBook
On this page
  • Payload
  • Response
Export as PDF
  1. Websocket
  2. On-Chain Data

Account

Our Account Trade Monitoring features enable you to track Trades executed by a specific Solana public key in real time.

For details on the supported pool types, please refer to the Welcome section of our documentation.

Payload

Add one or more account to monitor by replacing pbk_n with the desired Solana account public keys.

{
   "event": "listenAccountTrade",
   "content": [
      "pbk_one",
      "pbk_two",
      "..."
   ]
}

Remove one or more accounts from monitoring by replacing pbk_n with the desired Solana account public keys.

{
   "event": "removeAccountTrade",
   "content": [
      "pbk_one",
      "pbk_two",
      "..."
   ]
}

Response

The pool.type response may vary depending on the pool used to purchase/sell the token. The isBuy field will only be available if one of the input/output tokens is equal to solMint.

marketcap, marketcap_usd, and bonding_percentage are omitempty.

{
   "signature":"solana.Signature",
   "signer":[
      "solana.PublicKey",
      "..."
   ],
   "trade":{
      "user":"solana.PublicKey",
      "mint_in":"solana.PublicKey",
      "token_in": float64,
      "decimals_in":int,
      "mint_out":"solana.PublicKey",
      "token_out":float64,
      "decimals_out":int,
      "isBuy":bool
   },
   "pool":{
      "type":"string",
      "pairs":[
         {
            "mint":"solana.PublicKey",
            "amount":float64,
            "decimals":int
         },
         {
            "mint":"solana.PublicKey",
            "amount":float64,
            "decimals":int
         }
      ],
      "marketcap":float64,
      "marketcap_usd":float64,
      "bonding_percentage":float64
   },
   "details": {
      "slot": uint64,
      "block_height": uint64,
      "timestamp": int64
  }
}

PreviousAllNextSigner

Last updated 3 months ago

🌊