---
source: crates/client/src/client/schema/chain.rs
assertion_line: 75
expression: operation.query
---
query {
  chain {
    baseChainHeight
    name
    peerCount
    latestBlock {
      id
      header {
        id
        daHeight
        transactionsCount
        messageReceiptCount
        transactionsRoot
        messageReceiptRoot
        height
        prevRoot
        time
        applicationHash
      }
      consensus {
        __typename
        ... on Genesis {
          chainConfigHash
          coinsRoot
          contractsRoot
          messagesRoot
        }
        ... on PoAConsensus {
          signature
        }
      }
      transactions {
        id
      }
    }
    consensusParameters {
      contractMaxSize
      maxInputs
      maxOutputs
      maxWitnesses
      maxGasPerTx
      maxScriptLength
      maxScriptDataLength
      maxStorageSlots
      maxPredicateLength
      maxPredicateDataLength
      maxGasPerPredicate
      gasPriceFactor
      gasPerByte
      maxMessageDataLength
      chainId
    }
  }
}


