OBJECT

subscription

link GraphQL Schema definition

  • type subscription {
  • # Event that triggers when the network sync status changes
  • newSyncUpdate: SyncStatus!
  • # Event that triggers when a new block is created that either contains a
  • # transaction with the specified public key, or was produced by it. If no public
  • # key is provided, then the event will trigger for every new block received
  • #
  • # Arguments
  • # publicKey: Public key that is included in the block
  • newBlock(publicKey: PublicKey): Block!
  • # Event that triggers when the best tip changes in a way that is not a trivial
  • # extension of the existing one
  • chainReorganization: ChainReorganizationStatus!
  • }

link Require by

This element is not required by anyone