OBJECT

query

link GraphQL Schema definition

  • type query {
  • # Network sync status
  • syncStatus: SyncStatus!
  • # Get running daemon status
  • daemonStatus: DaemonStatus!
  • # The version of the node (git commit hash)
  • version: String
  • # Wallets for which the daemon knows the private key
  • ownedWallets: [Account!]! @deprecated( reason: "use trackedAccounts instead" )
  • # Accounts for which the daemon tracks the private key
  • trackedAccounts: [Account!]!
  • # Find any wallet via a public key
  • #
  • # Arguments
  • # publicKey: Public key of account being retrieved
  • wallet(publicKey: PublicKey!): Account
  • # Find any account via a public key
  • #
  • # Arguments
  • # publicKey: Public key of account being retrieved
  • account(publicKey: PublicKey!): Account
  • # Get information about the current snark worker
  • currentSnarkWorker: SnarkWorker
  • # Arguments
  • # before: Returns the elements in the list that come before the
  • # specified cursor
  • # last: Returns the last _n_ elements from the list
  • # after: Returns the elements in the list that come after the
  • # specified cursor
  • # first: Returns the first _n_ elements from the list
  • # filter: [Not documented]
  • blocks(
  • before: String,
  • last: Int,
  • after: String,
  • first: Int,
  • filter: BlockFilterInput
  • ): BlockConnection!
  • # List of peers that the daemon first used to connect to the network
  • initialPeers: [String!]!
  • # Retrieve all the scheduled user commands for a specified sender that the current
  • # daemon sees in their transaction pool. All scheduled commands are queried if no
  • # sender is specified
  • #
  • # Arguments
  • # publicKey: Public key of sender of pooled user commands
  • pooledUserCommands(publicKey: PublicKey): [UserCommand!]!
  • # Get the status of a transaction
  • #
  • # Arguments
  • # payment: Id of a UserCommand
  • transactionStatus(payment: ID!): TransactionStatus!
  • # Trust status for an IPv4 or IPv6 address
  • #
  • # Arguments
  • # ipAddress: [Not documented]
  • trustStatus(ipAddress: String!): TrustStatusPayload
  • # IP address and trust status for all peers
  • trustStatusAll: [TrustStatusPayload!]!
  • # List of completed snark works that have the lowest fee so far
  • snarkPool: [CompletedWork!]!
  • # Experimental: Verification key for blockchain snark
  • blockchainVerificationKey: String!
  • # List of snark works that are yet to be done
  • pendingSnarkWork: [PendingSnarkWork!]!
  • }

link Require by

This element is not required by anyone