Zkool Documentation
  • What's new

    • Since 6.35
    • Since 6.34
    • Since 6.32
    • Since 6.31
    • Since 6.30
    • Since 6.29
    • Since 6.28
    • Since 6.27
    • Since 6.26
    • Since 6.25
    • Since 6.24
    • Since 6.23
    • Since 6.22
    • Since 6.21
    • Since 6.20
    • Since 6.19
    • Since 6.18
    • Since 6.17
    • Since 6.16
    • Since 6.15
    • Since 6.14
    • Since 6.13
    • Since 6.12
    • Since 6.11
    • Since 6.10
  • Guides

    • Getting Started
    • Account Manager
    • Synchronization
    • Account
    • Addresses
    • Payments
    • Other features
    • Building Zkool from source
  • Recipes

    • Edit an Account
    • Supported Key Types
    • Cold Wallet
    • Ledger
    • Troubleshooting Synchronization Issues
    • Folders
    • Contacts
    • Database/Wallet Files
    • Using TOR
    • Security
    • Kiosk Zkool
    • Mempool
    • Payment URI
    • Locking Notes
    • Mainnet, Testnet, Regtest
    • Export to CSV
  • Categories / Reports

    • Overview
    • Examples
    • Categories
    • ZEC Price
    • Charts
  • MultiSig Accounts / FROST

    • Overview
    • Key Generation
    • Signing a Transaction
  • GraphQL

    • GraphQL API
    • Build
    • GraphIQL
    • Account Management
    • Synchronization
    • Balance
    • Transaction History
    • Receiving Funds
    • Sending Funds
    • Unconfirmed Funds
    • Notifications / Subscriptions
  • ZSA

    • Zcash Shielded Assets
    • Testnet
    • Using ZSA with Zkool
  • Coin Weighted Voting

    • Overview
    • How to vote
  • Cloud Vault

    • Overview
    • How to use
  • Zcash tech

    • Shielded Pools
    • Bitcoin Data Model
    • Transaction Graph
    • Privacy

If your client supports it, it can subscribe to events sent by the server when a new block is received or when new transactions that affect a given account are detected in the mempool.

subscription {
  events(idAccount: 1) {
    type
    txid
    height
  }
}

Subscribe to events for account 1. Events are either:

  • new block for which height is set,
  • new transaction for which the txid is set
  • type indicates the type of the event BLOCK or TX
Last Updated: 11/6/26, 12:26 AM
Contributors: hhanh00
Prev
Unconfirmed Funds