QUERY

Constant QUERY 

Source
pub const QUERY: &str = "query BestChain($max_length: Int!) {\n  bestChain(maxLength: $max_length) {\n    creatorAccount {\n      publicKey\n      index\n      delegateAccount {\n        publicKey\n        index\n      }\n    }\n    commandTransactionCount\n    stateHash\n    transactions {\n      userCommands {\n        __typename\n        fee\n        kind\n        amount\n      }\n      coinbase\n      feeTransfer {\n        fee\n        recipient\n        type\n      }\n      coinbaseReceiverAccount {\n        publicKey\n      }\n    }\n    protocolState {\n      consensusState {\n        blockHeight\n        blockCreator\n        blockStakeWinner\n        epoch\n        epochCount\n        slot\n        slotSinceGenesis\n        stakingEpochData {\n          epochLength\n          seed\n        }\n        nextEpochData {\n          epochLength\n          seed\n        }\n      }\n    }\n  }\n}\n";