diff --git a/.style.yapf b/.style.yapf index 47ca4cc..557fa7b 100644 --- a/.style.yapf +++ b/.style.yapf @@ -1,2 +1,2 @@ [style] -based_on_style = chromium \ No newline at end of file +based_on_style = pep8 diff --git a/CodaClient.py b/CodaClient.py deleted file mode 100644 index be58429..0000000 --- a/CodaClient.py +++ /dev/null @@ -1,689 +0,0 @@ -#!/usr/bin/python3 - -import random -import requests -import time -import json -import asyncio -import websockets -import logging -from enum import Enum - -class CurrencyFormat(Enum): - """An Enum representing different formats of Currency in coda. - - Constants: - WHOLE - represents whole coda (1 whole coda == 10^9 nanocodas) - NANO - represents the atomic unit of coda - """ - WHOLE = 1 - NANO = 2 - -class CurrencyUnderflow(Exception): - pass - -class Currency(): - """A convenience wrapper around interacting with coda currency values. - - This class supports performing math on Currency values of differing formats. - Currency instances can be added or subtracted. Currency instances can also be - scaled through multiplication (either against another Currency instance or a - int scalar). - """ - - @classmethod - def __nanocodas_from_int(_cls, n): - return n * 1000000000 - - @classmethod - def __nanocodas_from_string(_cls, s): - segments = s.split('.') - if len(segments) == 1: - return int(segments[0]) - elif len(segments) == 2: - [l, r] = segments - if len(r) <= 9: - return int(l + r + ('0' * (9 - len(r)))) - else: - raise Exception('invalid coda currency format: %s' % s) - - @classmethod - def random(_cls, lower_bound, upper_bound): - """Generates a random Currency instance between a provided lower_bound and upper_bound - - Arguments: - lower_bound {Currency} -- A Currency instance representing the lower bound for the randomly generated value - upper_bound {Currency} -- A Currency instance representing the upper bound for the randomly generated value - - Returns: - Currency - A randomly generated Currency instance between the lower_bound and upper_bound - """ - if not (isinstance(lower_bound, Currency) and isinstance(upper_bound, Currency)): - raise Exception('invalid call to Currency.random: lower and upper bound must be instances of Currency') - if not upper_bound.nanocodas() >= lower_bound.nanocodas(): - raise Exception('invalid call to Currency.random: upper_bound is not greater than lower_bound') - if lower_bound == upper_bound: - return lower_bound - bound_range = upper_bound.nanocodas() - lower_bound.nanocodas() - delta = random.randint(0, bound_range) - return lower_bound + Currency(delta, format=CurrencyFormat.NANO) - - def __init__(self, value, format=CurrencyFormat.WHOLE): - """Constructs a new Currency instance. Values of different CurrencyFormats may be passed in to construct the instance. - - Arguments: - value {int|float|string} - The value to construct the Currency instance from - format {CurrencyFormat} - The representation format of the value - - Return: - Currency - The newly constructed Currency instance - - In the case of format=CurrencyFormat.WHOLE, then it is interpreted as value * 10^9 nanocodas. - In the case of format=CurrencyFormat.NANO, value is only allowed to be an int, as there can be no decimal point for nanocodas. - """ - if format == CurrencyFormat.WHOLE: - if isinstance(value, int): - self.__nanocodas = Currency.__nanocodas_from_int(value) - elif isinstance(value, float): - self.__nanocodas = Currency.__nanocodas_from_string(str(value)) - elif isinstance(value, str): - self.__nanocodas = Currency.__nanocodas_from_string(value) - else: - raise Exception('cannot construct whole Currency from %s' % type(value)) - elif format == CurrencyFormat.NANO: - if isinstance(value, int): - self.__nanocodas = value - else: - raise Exception('cannot construct nano Currency from %s' % type(value)) - else: - raise Exception('invalid Currency format %s' % format) - - def decimal_format(self): - """Computes the string decimal format representation of a Currency instance. - - Return: - str - The decimal format representation of the Currency instance - """ - s = str(self.__nanocodas) - if len(s) > 9: - return s[:-9] + '.' + s[-9:] - else: - return '0.' + ('0' * (9 - len(s))) + s - - def nanocodas(self): - """Accesses the raw nanocodas representation of a Currency instance. - - Return: - int - The nanocodas of the Currency instance represented as an integer - """ - return self.__nanocodas - - def __str__(self): - return self.decimal_format() - - def __repr__(self): - return 'Currency(%s)' % self.decimal_format() - - def __add__(self, other): - if isinstance(other, Currency): - return Currency(self.nanocodas() + other.nanocodas(), format=CurrencyFormat.NANO) - else: - raise Exception('cannot add Currency and %s' % type(other)) - - def __sub__(self, other): - if isinstance(other, Currency): - new_value = self.nanocodas() - other.nanocodas() - if new_value >= 0: - return Currency(new_value, format=CurrencyFormat.NANO) - else: - raise CurrencyUnderflow() - else: - raise Exception('cannot subtract Currency and %s' % type(other)) - - def __mul__(self, other): - if isinstance(other, int): - return Currency(self.nanocodas() * other, format=CurrencyFormat.NANO) - elif isinstance(other, Currency): - return Currency(self.nanocodas() * other.nanocodas(), format=CurrencyFormat.NANO) - else: - raise Exception('cannot multiply Currency and %s' % type(other)) - -class Client(): - # Implements a GraphQL Client for the Coda Daemon - - def __init__( - self, - graphql_protocol: str = "http", - websocket_protocol: str = "ws", - graphql_host: str = "localhost", - graphql_path: str = "/graphql", - graphql_port: int = 3085, - ): - self.endpoint = "{}://{}:{}{}".format(graphql_protocol, graphql_host, graphql_port, graphql_path) - self.websocket_endpoint = "{}://{}:{}{}".format(websocket_protocol, graphql_host, graphql_port, graphql_path) - self.logger = logging.getLogger(__name__) - - def _send_query(self, query: str, variables: dict = {}) -> dict: - """Sends a query to the Coda Daemon's GraphQL Endpoint - - Arguments: - query {str} -- A GraphQL Query - - Keyword Arguments: - variables {dict} -- Optional Variables for the query (default: {{}}) - - Returns: - dict -- A Response object from the GraphQL Server. - """ - return self._graphql_request(query, variables) - - def _send_mutation(self, query: str, variables: dict = {}) -> dict: - """Sends a mutation to the Coda Daemon's GraphQL Endpoint. - - Arguments: - query {str} -- A GraphQL Mutation - - Keyword Arguments: - variables {dict} -- Variables for the mutation (default: {{}}) - - Returns: - dict -- A Response object from the GraphQL Server. - """ - return self._graphql_request(query, variables) - - def _graphql_request(self, query: str, variables: dict = {}): - """GraphQL queries all look alike, this is a generic function to facilitate a GraphQL Request. - - Arguments: - query {str} -- A GraphQL Query - - Keyword Arguments: - variables {dict} -- Optional Variables for the GraphQL Query (default: {{}}) - - Raises: - Exception: Raises an exception if the response is anything other than 200. - - Returns: - dict -- Returns the JSON Response as a Dict. - """ - # Strip all the whitespace and replace with spaces - query = " ".join(query.split()) - payload = {'query': query} - if variables: - payload = { **payload, 'variables': variables } - - headers = { - "Accept": "application/json" - } - self.logger.debug("Sending a Query: {}".format(payload)) - response = requests.post(self.endpoint, json=payload, headers=headers) - resp_json = response.json() - if response.status_code == 200 and "errors" not in resp_json: - self.logger.debug("Got a Response: {}".format(response.json())) - return resp_json - else: - print(response.text) - raise Exception( - "Query failed -- returned code {}. {} -> {}".format(response.status_code, query, response.json())) - - async def _graphql_subscription(self, query: str, variables: dict = {}, callback = None): - hello_message = {"type": "connection_init", "payload": {}} - - # Strip all the whitespace and replace with spaces - query = " ".join(query.split()) - payload = {'query': query} - if variables: - payload = { **payload, 'variables': variables } - - query_message = {"id": "1", "type": "start", "payload": payload} - self.logger.info("Listening to GraphQL Subscription...") - - uri = self.websocket_endpoint - self.logger.info(uri) - async with websockets.client.connect(uri, ping_timeout=None) as websocket: - # Set up Websocket Connection - self.logger.debug("WEBSOCKET -- Sending Hello Message: {}".format(hello_message)) - await websocket.send(json.dumps(hello_message)) - resp = await websocket.recv() - self.logger.debug("WEBSOCKET -- Recieved Response {}".format(resp)) - self.logger.debug("WEBSOCKET -- Sending Subscribe Query: {}".format(query_message)) - await websocket.send(json.dumps(query_message)) - - # Wait for and iterate over messages in the connection - async for message in websocket: - self.logger.debug("Recieved a message from a Subscription: {}".format(message)) - if callback: - await callback(message) - else: - print(message) - - def get_daemon_status(self) -> dict: - """Gets the status of the currently configured Coda Daemon. - - Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. - """ - query = ''' - query { - daemonStatus { - numAccounts - blockchainLength - highestBlockLengthReceived - uptimeSecs - ledgerMerkleRoot - stateHash - commitId - peers - userCommandsSent - snarkWorker - snarkWorkFee - syncStatus - proposePubkeys - nextProposal - consensusTimeBestTip - consensusTimeNow - consensusMechanism - confDir - commitId - consensusConfiguration { - delta - k - c - cTimesK - slotsPerEpoch - slotDuration - epochDuration - acceptableNetworkDelay - } - } - } - ''' - res = self._send_query(query) - return res['data'] - - def get_daemon_version(self) -> dict: - """Gets the version of the currently configured Coda Daemon. - - Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. - """ - query = ''' - { - version - } - ''' - res = self._send_query(query) - return res["data"] - - def get_wallets(self) -> dict: - """Gets the wallets that are currently installed in the Coda Daemon. - - Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. - """ - query = ''' - { - ownedWallets { - publicKey - balance { - total - } - } - } - ''' - res = self._send_query(query) - return res["data"] - - def get_wallet(self, pk: str) -> dict: - """Gets the wallet for the specified Public Key. - - Arguments: - pk {str} -- A Public Key corresponding to a currently installed wallet. - - Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. - """ - query = ''' - query($publicKey:PublicKey!){ - wallet(publicKey:$publicKey) { - publicKey - balance { - total - unknown - } - nonce - receiptChainHash - delegate - votingFor - stakingActive - privateKeyPath - } - } - ''' - variables = { - "publicKey": pk - } - res = self._send_query(query, variables) - return res["data"] - - def create_wallet(self, password: str) -> dict: - """Creates a new Wallet. - - Arguments: - password {str} -- A password for the wallet to unlock. - - Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. - """ - query = ''' - mutation ($password: String!) { - createAccount(input: {password: $password}) { - publicKey - } - } - ''' - variables = { - "password": password - } - res = self._send_query(query, variables) - return res["data"] - - def unlock_wallet(self, pk: str, password: str) -> dict: - """Unlocks the wallet for the specified Public Key. - - Arguments: - pk {str} -- A Public Key corresponding to a currently installed wallet. - password {str} -- A password for the wallet to unlock. - - Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. - """ - query = ''' - mutation ($publicKey: PublicKey!, $password: String!) { - unlockWallet(input: {publicKey: $publicKey, password: $password}) { - account { - balance { - total - } - } - } - } - ''' - variables = { - "publicKey": pk, - "password": password - } - res = self._send_query(query, variables) - return res["data"] - - def get_blocks(self) -> dict: - """Gets the blocks known to the Coda Daemon. - Mostly useful for Archive nodes. - - Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. - """ - query = ''' - { - blocks{ - nodes { - creator - stateHash - protocolState { - previousStateHash - blockchainState{ - date - snarkedLedgerHash - stagedLedgerHash - } - } - transactions { - userCommands{ - id - isDelegation - nonce - from - to - amount - fee - memo - } - feeTransfer { - recipient - fee - } - coinbase - } - snarkJobs { - prover - fee - workIds - } - } - pageInfo { - hasNextPage - hasPreviousPage - firstCursor - lastCursor - } - } - } - ''' - res = self._send_query(query) - return res["data"] - - def get_current_snark_worker(self) -> dict: - """Gets the currently configured SNARK Worker from the Coda Daemon. - - Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. - """ - query = ''' - { - currentSnarkWorker{ - key - fee - } - } - ''' - res = self._send_query(query) - return res["data"] - - def get_sync_status(self) -> dict: - """Gets the Sync Status of the Coda Daemon. - - Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. - """ - query = ''' - { - syncStatus - } - ''' - res = self._send_query(query) - return res["data"] - - def set_current_snark_worker(self, worker_pk: str, fee: str) -> dict: - """Set the current SNARK Worker preference. - - Arguments: - worker_pk {str} -- The public key corresponding to the desired SNARK Worker - fee {str} -- The desired SNARK Work fee - - Returns: - dict -- Returns the "data" field of the JSON Response as a Dict - """ - query = ''' - mutation($worker_pk:PublicKey!, $fee:UInt64!){ - setSnarkWorker(input: {publicKey:$worker_pk}) { - lastSnarkWorker - } - setSnarkWorkFee(input: {fee:$fee}) - }''' - variables = { - "worker_pk": worker_pk, - "fee": fee - } - res = self._send_mutation(query, variables) - return res["data"] - - def send_payment(self, to_pk: str, from_pk: str, amount: Currency, fee: Currency, memo: str) -> dict: - """Send a payment from the specified wallet to the specified target wallet. - - Arguments: - to_pk {PublicKey} -- The target wallet where funds should be sent - from_pk {PublicKey} -- The installed wallet which will finance the payment - amount {UInt64} -- Tha amount of Coda to send - fee {UInt64} -- The transaction fee that will be attached to the payment - memo {str} -- A memo to attach to the payment - - Returns: - dict -- Returns the "data" field of the JSON Response as a Dict - """ - query = ''' - mutation($from:PublicKey!, $to:PublicKey!, $amount:UInt64!, $fee:UInt64!, $memo:String){ - sendPayment(input: { - from:$from, - to:$to, - amount:$amount, - fee:$fee, - memo:$memo - }) { - payment { - id, - isDelegation, - nonce, - from, - to, - amount, - fee, - memo - } - } - } - ''' - variables = { - "from": from_pk, - "to": to_pk, - "amount": amount.nanocodas(), - "fee": fee.nanocodas(), - "memo": memo - } - res = self._send_mutation(query, variables) - return res["data"] - - def get_pooled_payments(self, pk: str) -> dict: - """Get the current transactions in the payments pool - - Arguments: - pk {str} -- The public key corresponding to the installed wallet that will be queried - - Returns: - dict -- Returns the "data" field of the JSON Response as a Dict - """ - query = ''' - query ($publicKey:String!){ - pooledUserCommands(publicKey:$publicKey) { - id, - isDelegation, - nonce, - from, - to, - amount, - fee, - memo - } - } - ''' - variables = { - "publicKey": pk - } - res = self._send_query(query, variables) - return res["data"] - - def get_transaction_status(self, payment_id: str) -> dict: - """Get the transaction status for the specified Payment Id. - - Arguments: - payment_id {str} -- A Payment Id corresponding to a UserCommand. - - Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. - """ - query = ''' - query($paymentId:ID!){ - transactionStatus(payment:$paymentId) - } - ''' - variables = { - "paymentId": payment_id - } - res = self._send_query(query, variables) - return res["data"] - - async def listen_sync_update(self, callback): - """Creates a subscription for Network Sync Updates - """ - query = ''' - subscription{ - newSyncUpdate - } - ''' - await self._graphql_subscription(query, {}, callback) - - async def listen_block_confirmations(self, callback): - """Creates a subscription for Block Confirmations - Calls callback when a new block is recieved. - """ - query = ''' - subscription{ - blockConfirmation { - stateHash - numConfirmations - } - } - ''' - await self._graphql_subscription(query, {}, callback) - - async def listen_new_blocks(self, callback): - """Creates a subscription for new blocks, calls `callback` each time the subscription fires. - - Arguments: - callback(block) {coroutine} -- This coroutine is executed with the new block as an argument each time the subscription fires - """ - query = ''' - subscription(){ - newBlock(){ - creator - stateHash - protocolState { - previousStateHash - blockchainState { - date - snarkedLedgerHash - stagedLedgerHash - } - }, - transactions { - userCommands { - id - isDelegation - nonce - from - to - amount - fee - memo - } - feeTransfer { - recipient - fee - } - coinbase - } - } - } - ''' - variables = { - } - await self._graphql_subscription(query, variables, callback) diff --git a/MinaClient.py b/MinaClient.py new file mode 100644 index 0000000..fe07d67 --- /dev/null +++ b/MinaClient.py @@ -0,0 +1,683 @@ +#!/usr/bin/python3 + +import json +import logging +import random +from enum import Enum + +import requests +import sgqlc +import websockets +from sgqlc.operation import Operation + +from mina_schemas import mina_schema +from mina_schemas import mina_explorer_schema + + +class CurrencyFormat(Enum): + """An Enum representing different formats of Currency in mina. + + Constants: + WHOLE: represents whole mina (1 whole mina == 10^9 nanominas) + NANO: represents the atomic unit of mina + """ + + WHOLE = 1 + NANO = 2 + + +class CurrencyUnderflow(Exception): + pass + + +class Currency: + """A convenience wrapper around interacting with mina currency values. + + This class supports performing math on Currency values of differing formats. + Currency instances can be added or subtracted. Currency instances can also + be scaled through multiplication (either against another Currency instance + or a int scalar). + """ + + @classmethod + def __nanominas_from_int(_cls, n): + return n * 1000000000 + + @classmethod + def __nanominas_from_string(_cls, s): + segments = s.split(".") + if len(segments) == 1: + return int(segments[0]) + elif len(segments) == 2: + [l, r] = segments + if len(r) <= 9: + return int(l + r + ("0" * (9 - len(r)))) + else: + raise Exception("invalid mina currency format: %s" % s) + + @classmethod + def random(_cls, lower_bound, upper_bound): + """Generates a random Currency instance. + + Currency is between a provided lower_bound and upper_bound + + Args: + lower_bound {Currency} -- A Currency instance representing the lower + bound for the randomly generated value + upper_bound {Currency} -- A Currency instance representing the upper + bound for the randomly generated value + + Returns: + Currency - A randomly generated Currency instance between the + lower_bound and upper_bound + """ + if not ( + isinstance(lower_bound, Currency) and isinstance(upper_bound, Currency) + ): + raise Exception( + "invalid call to Currency.random: lower and upper bound must " + "be instances of Currency" + ) + if not upper_bound.nanominas() >= lower_bound.nanominas(): + raise Exception( + "invalid call to Currency.random: upper_bound is not greater " + "than lower_bound" + ) + if lower_bound == upper_bound: + return lower_bound + bound_range = upper_bound.nanominas() - lower_bound.nanominas() + delta = random.randint(0, bound_range) + return lower_bound + Currency(delta, format=CurrencyFormat.NANO) + + def __init__(self, value, format=CurrencyFormat.WHOLE): + """Constructs a new Currency instance. + + Values of different CurrencyFormats may be passed in to construct the + instance. + In the case of format=CurrencyFormat.WHOLE, then it is interpreted as + value * 10^9 nanominas. + In the case of format=CurrencyFormat.NANO, value is only allowed to be + an int, as there can be no decimal point for nanominas. + + Args: + value {int|float|string}: The value to construct the Currency + instance from format {CurrencyFormat} - The representation format + of the value + + Returns: + Currency: The newly constructed Currency instance + """ + if format == CurrencyFormat.WHOLE: + if isinstance(value, int): + self.__nanominas = Currency.__nanominas_from_int(value) + elif isinstance(value, float): + self.__nanominas = Currency.__nanominas_from_string(str(value)) + elif isinstance(value, str): + self.__nanominas = Currency.__nanominas_from_string(value) + else: + raise Exception("cannot construct whole Currency from %s" % type(value)) + elif format == CurrencyFormat.NANO: + if isinstance(value, int): + self.__nanominas = value + else: + raise Exception("cannot construct nano Currency from %s" % type(value)) + else: + raise Exception("invalid Currency format %s" % format) + + def decimal_format(self): + """Computes string decimal format representation of a Currency instance. + + Returns: + str - The decimal format representation of the Currency instance + """ + s = str(self.__nanominas) + if len(s) > 9: + return s[:-9] + "." + s[-9:] + else: + return "0." + ("0" * (9 - len(s))) + s + + def nanominas(self): + """Accesses the raw nanominas representation of a Currency instance. + + Returns: + The nanominas of the Currency instance represented as an + integer + """ + return self.__nanominas + + def __str__(self): + return self.decimal_format() + + def __repr__(self): + return "Currency(%s)" % self.decimal_format() + + def __add__(self, other): + if isinstance(other, Currency): + return Currency( + self.nanominas() + other.nanominas(), format=CurrencyFormat.NANO + ) + else: + raise Exception("cannot add Currency and %s" % type(other)) + + def __sub__(self, other): + if isinstance(other, Currency): + new_value = self.nanominas() - other.nanominas() + if new_value >= 0: + return Currency(new_value, format=CurrencyFormat.NANO) + else: + raise CurrencyUnderflow() + else: + raise Exception("cannot subtract Currency and %s" % type(other)) + + def __mul__(self, other): + if isinstance(other, int): + return Currency(self.nanominas() * other, format=CurrencyFormat.NANO) + elif isinstance(other, Currency): + return Currency( + self.nanominas() * other.nanominas(), format=CurrencyFormat.NANO + ) + else: + raise Exception("cannot multiply Currency and %s" % type(other)) + + +class Client: + # Implements a GraphQL Client for the Mina Daemon + + def __init__( + self, + graphql_protocol: str = "http", + websocket_protocol: str = "ws", + graphql_host: str = "localhost", + graphql_path: str = "/graphql", + graphql_port: int = 3085, + endpoint: str = None, + ): + if endpoint: + self.endpoint = endpoint + else: + self.endpoint = "{}://{}:{}{}".format( + graphql_protocol, graphql_host, graphql_port, graphql_path + ) + self.websocket_endpoint = "{}://{}:{}{}".format( + websocket_protocol, graphql_host, graphql_port, graphql_path + ) + self.logger = logging.getLogger(__name__) + + def _send_sgqlc_query( + self, query: sgqlc.operation.Operation, variables: dict = {} + ) -> dict: + """Sends a query to the Mina Daemon's GraphQL Endpoint + + Args: + query: sgqlc Operation + variables: Optional Variables for the query + + Returns: + dict: A Response object from the GraphQL Server. + """ + + return self._graphql_request(bytes(query).decode("utf-8"), variables) + + def _send_query(self, query: str, variables: dict = {}) -> dict: + """Sends a query to the Mina Daemon's GraphQL Endpoint + + Args: + query: a GraphQL Query string + variables: Optional Variables dict for the query + + Returns: + dict: A Response object from the GraphQL Server. + """ + return self._graphql_request(query, variables) + + def _send_mutation(self, query: str, variables: dict = {}) -> dict: + """Sends a mutation to the Mina Daemon's GraphQL Endpoint. + + Args: + query: a GraphQL Query string + variables: Optional Variables dict for the query + + Returns: + dict: A Response object from the GraphQL Server. + """ + return self._graphql_request(query, variables) + + def _graphql_request(self, query: str, variables: dict = {}): + """Function to facilitate a GraphQL Request. + + GraphQL queries all look alike, this is a generic function to + facilitate a GraphQL Request. + + Args: + query: a GraphQL Query string + variables: Optional Variables dict for the query + + Returns: + JSON Response as a Dict. + + Raises: + Exception: Raises an exception if the response is anything other + than 200. + """ + # Strip all the whitespace and replace with spaces + query = " ".join(query.split()) + + payload = {"query": query} + if variables: + payload = {**payload, "variables": variables} + + headers = {"Accept": "application/json"} + self.logger.debug(f"Sending a Query: {payload} via {self.endpoint}") + response = requests.post(self.endpoint, json=payload, headers=headers) + resp_json = response.json() + + if response.status_code == 200 and "errors" not in resp_json: + self.logger.debug("Got a Response: {}".format(response.json())) + return resp_json + else: + raise Exception( + "Query failed -- returned code {}. {} -> {}".format( + response.status_code, query, response.json() + ) + ) + + async def _graphql_subscription( + self, query: str, variables: dict = {}, callback=None, ping_timeout=20 + ): + hello_message = {"type": "connection_init", "payload": {}} + + # Strip all the whitespace and replace with spaces + query = " ".join(query.split()) + payload = {"query": query} + if variables: + payload = {**payload, "variables": variables} + + query_message = {"id": "1", "type": "start", "payload": payload} + self.logger.info("Listening to GraphQL Subscription...") + + uri = self.websocket_endpoint + self.logger.info(uri) + + async with websockets.client.connect( + uri, ping_timeout=ping_timeout + ) as websocket: + # Set up Websocket Connection + self.logger.debug( + "WEBSOCKET -- Sending Hello Message: {}".format(hello_message) + ) + await websocket.send(json.dumps(hello_message)) + resp = await websocket.recv() + self.logger.debug("WEBSOCKET -- Recieved Response {}".format(resp)) + self.logger.debug( + "WEBSOCKET -- Sending Subscribe Query: {}".format(query_message) + ) + await websocket.send(json.dumps(query_message)) + + # Wait for and iterate over messages in the connection + async for message in websocket: + self.logger.debug( + "Recieved a message from a Subscription: {}".format(message) + ) + if callback: + await callback(message) + else: + print(message) + + def get_daemon_status(self) -> dict: + """Gets the status of the currently configured Mina Daemon. + + Returns: + dict, the "data" field of the JSON Response. + """ + + op = Operation(mina_schema.query) + op.daemon_status() + + res = self._send_sgqlc_query(op) + return res["data"] + + def get_sync_status(self) -> dict: + """Gets the Sync Status of the Mina Daemon. + + Returns: + dict, the "data" field of the JSON Response. + """ + + op = Operation(mina_schema.query) + op.daemon_status().__fields__("sync_status") + + res = self._send_sgqlc_query(op) + return res["data"] + + def get_daemon_version(self) -> dict: + """Gets the version of the currently configured Mina Daemon. + + Returns: + dict, the "data" field of the JSON Response. + """ + op = Operation(mina_schema.query) + op.version() + + res = self._send_sgqlc_query(op) + return res["data"] + + def get_wallets(self, all_fields: bool = False) -> dict: + """Gets the wallets that are currently installed in the Mina Daemon. + + Args: + all_fields: return all available fields in response + + Returns: + dict, the "data" field of the JSON Response. + """ + + default_fields = ["public_key", "balance"] + + op = Operation(mina_schema.query) + op.owned_wallets() + + if not all_fields: + op.owned_wallets().__fields__(*default_fields) + + res = self._send_sgqlc_query(op) + return res["data"] + + def get_wallet(self, pk: str, all_fields: bool = False) -> dict: + """Gets the wallet for the specified Public Key. + + Args: + pk: A Public Key corresponding to a currently installed + wallet. + all_fields: return all available fields in response + + Returns: + dict, the "data" field of the JSON Response. + """ + default_fields = [ + "balance", + "nonce", + "receipt_chain_hash", + "delegate", + "voting_for", + "staking_active", + "private_key_path", + ] + + op = Operation(mina_schema.query) + op.wallet(public_key=pk) + + if not all_fields: + op.wallet.__fields__(*default_fields) + + res = self._send_sgqlc_query(op) + return res["data"] + + def create_wallet(self, password: str) -> dict: + """Creates a new Wallet. + + Args: + password: A password for the wallet to unlock. + + Returns: + dict, the "data" field of the JSON Response. + """ + + op = Operation(mina_schema.mutation) + op.create_account(input={"password": password}) + + res = self._send_sgqlc_query(op) + return res["data"] + + def unlock_wallet(self, pk: str, password: str) -> dict: + """Unlocks the wallet for the specified Public Key. + + Args: + pk: Public Key corresponding to a currently installed + wallet. + password: password for the wallet to unlock. + + Returns: + dict, the "data" field of the JSON Response. + """ + op = Operation(mina_schema.mutation) + op.unlock_wallet(input={"public_key": pk, "password": password}) + + res = self._send_sgqlc_query(op) + return res["data"] + + def lock_wallet(self, pk: str, password: str) -> dict: + """Unlocks the wallet for the specified Public Key. + + Args: + pk: Public Key corresponding to a currently installed + wallet. + password: password for the wallet to unlock. + + Returns: + dict, the "data" field of the JSON Response. + """ + op = Operation(mina_schema.mutation) + op.lock_wallet(input={"public_key": pk, "password": password}) + + res = self._send_sgqlc_query(op) + return res["data"] + + def get_current_snark_worker(self, all_fields: bool = False) -> dict: + """Gets the currently configured SNARK Worker from the Mina Daemon. + + Args: + all_fields: return all available fields in response + + Returns: + dict, the "data" field of the JSON Response. + """ + default_fields = ["key", "fee"] + + op = Operation(mina_schema.query) + op.current_snark_worker() + + if not all_fields: + op.current_snark_worker().__fields__(*default_fields) + + res = self._send_sgqlc_query(op) + return res["data"] + + def set_current_snark_worker(self, worker_pk: str, fee: Currency) -> dict: + """Set the current SNARK Worker preference. + + Args: + worker_pk: the public key corresponding to the desired SNARK + Worker + fee: Currency instance - the desired SNARK Work fee + + Returns: + dict -- Returns the "data" field of the JSON Response as a Dict + """ + op = Operation(mina_schema.mutation) + op.set_snark_worker(input={"public_key": worker_pk}) + op.set_snark_work_fee(input={"fee": fee.nanominas()}) + + res = self._send_sgqlc_query(op) + return res["data"] + + def send_payment( + self, to_pk: str, from_pk: str, amount: Currency, fee: Currency, memo: str + ) -> dict: + """Send a payment from the specified wallet to specified target wallet. + + Args: + to_pk: The target wallet where funds should be sent + from_pk: The installed wallet which will finance the + payment + amount: Currency instance. The amount of Mina to send + fee: Currency instance. The transaction fee that will be attached to + the payment + memo: memo to attach to the payment + + Returns: + dict, the "data" field of the JSON Response. + """ + + input_dict = { + "from": from_pk, + "to": to_pk, + "fee": fee.nanominas(), + "memo": memo, + "amount": amount.nanominas(), + } + + send_payment_input = mina_schema.SendPaymentInput(input_dict) + + op = Operation(mina_schema.mutation) + op.send_payment(input=send_payment_input) + + res = self._send_sgqlc_query(op) + return res["data"] + + def get_pooled_payments(self, pk: str = None, all_fields: bool = False) -> dict: + """Get the current transactions in the payments pool. + + Args: + pk: The public key corresponding to the installed wallet + that will be queried + all_fields: return all available fields in response + + Returns: + dict, the "data" field of the JSON Response. + """ + + default_fields = ["from_", "to", "amount", "id", "is_delegation", "nonce"] + + op = Operation(mina_schema.query_type) + if pk: + op.pooled_user_commands(public_key=pk) + else: + op.pooled_user_commands() + + if not all_fields: + op.pooled_user_commands().__fields__(*default_fields) + + res = self._send_sgqlc_query(op) + return res["data"] + + def get_transaction_status(self, payment_id: str) -> dict: + """Get the transaction status for the specified Payment Id. + + Args: + payment_id: Payment Id corresponding to a UserCommand. + + Returns: + dict, the "data" field of the JSON Response. + """ + op = Operation(mina_schema.query) + op.transaction_status(payment=payment_id) + + res = self._send_sgqlc_query(op) + return res["data"] + + def get_best_chain(self, max_length: int = 10, all_fields: bool = False) -> dict: + """Get the best blockHeight and stateHash for the canonical chain. + + Returns max_length items in descending order + + Args: + max_length: defaults to 10 + all_fields: return all available fields in response + + Returns: + dict, the "data" field of the JSON Response. + """ + default_fields = ["protocol_state", "state_hash"] + + op = Operation(mina_schema.query) + op.best_chain(max_length=max_length) + + if not all_fields: + op.best_chain.__fields__(*default_fields) + + res = self._send_sgqlc_query(op) + return res["data"] + + def get_block_by_height(self, height: int, all_fields: bool = False) -> dict: + """Get the block data by block height. + + Returns stateHash, block creator and snarkJobs + + Args: + height: block height + all_fields: return all available fields in response + + Returns: + dict, the "data" field of the JSON Response. + """ + + default_fields = ["state_hash", "creator", "snark_jobs"] + + op = Operation(mina_schema.query) + op.block(height=height) + if not all_fields: + op.block.__fields__(*default_fields) + + res = self._send_sgqlc_query(op) + return res["data"] + + def get_block_by_state_hash( + self, state_hash: str, all_fields: bool = False + ) -> dict: + """Get the block data by state hash. + + Returns block height, block creator and snarkJobs + + Args: + state_hash: state hash + all_fields: return all available fields in response + + Returns: + dict, the "data" field of the JSON Response. + """ + + default_fields = ["creator", "protocol_state", "snark_jobs"] + + op = Operation(mina_schema.query) + op.block(state_hash=state_hash) + + if not all_fields: + op.block.__fields__(*default_fields) + + res = self._send_sgqlc_query(op) + return res["data"] + + def send_any_query(self, query, variables=None): + if not variables: + variables = {} + + if isinstance(query, sgqlc.operation.Operation): + res = self._send_sgqlc_query(query) + else: + res = self._send_query(query, variables) + return res + + async def listen_sync_update(self, callback): + """Creates a subscription for Network Sync Updates.""" + + op = Operation(mina_schema.subscription_type) + op.new_sync_update() + variables = {} + query = bytes(op).decode("utf-8") + await self._graphql_subscription(query, variables, callback) + + async def listen_new_blocks(self, callback): + """Creates a subscription for new blocks. + + Calls `callback` each time the subscription fires. + + Args: + callback(block) {coroutine} -- This coroutine is executed with the + new block as an argument each time the subscription fires + """ + # TODO: add filter for pk + op = Operation(mina_schema.subscription_type) + op.new_block() + variables = {} + query = bytes(op).decode("utf-8") + await self._graphql_subscription(query, variables, callback) diff --git a/README.md b/README.md index 8df658e..5f28608 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Coda Python API Client +# Mina Python API Client -This module implements a lightweight wrapper around the Coda Daemon's GraphQL Endpoint. It under active development but may not be consistent with the nightly Coda Daemon build. +This module implements a lightweight wrapper around the Mina Daemon's GraphQL Endpoint. It under active development but may not be consistent with the nightly Mina Daemon build. **Need Help?** if you're having trouble installing or using this library, (or if you just build something cool with this) join us in the [Coda Protocol Discord Server](https://discordapp.com/invite/Vexf4ED) and we can help you out. diff --git a/examples/mina_explorer.ipynb b/examples/mina_explorer.ipynb new file mode 100644 index 0000000..b85bb82 --- /dev/null +++ b/examples/mina_explorer.ipynb @@ -0,0 +1,449 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "id": "lasting-catalog", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T10:55:21.208345Z", + "start_time": "2021-04-16T10:55:20.946934Z" + } + }, + "outputs": [], + "source": [ + "%load_ext blackcellmagic\n", + "%load_ext autoreload\n", + "%autoreload 2" + ] + }, + { + "cell_type": "markdown", + "id": "pending-maryland", + "metadata": {}, + "source": [ + "# example mina explorer queries" + ] + }, + { + "cell_type": "code", + "execution_count": 22, + "id": "prime-longitude", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:03:35.800399Z", + "start_time": "2021-04-16T11:03:35.761009Z" + } + }, + "outputs": [], + "source": [ + "from MinaClient import Client\n", + "from mina_schemas import mina_explorer_schema\n", + "from sgqlc.operation import Operation\n", + "import pandas as pd" + ] + }, + { + "cell_type": "code", + "execution_count": 23, + "id": "patent-serbia", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:03:35.989485Z", + "start_time": "2021-04-16T11:03:35.954785Z" + } + }, + "outputs": [], + "source": [ + "MINA_EXPLORER_ENDPOINT = \"https://graphql.minaexplorer.com/\"\n", + "mina_explorer_client = Client(endpoint=MINA_EXPLORER_ENDPOINT)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "freelance-record", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "id": "timely-thread", + "metadata": {}, + "source": [ + "## stakes" + ] + }, + { + "cell_type": "code", + "execution_count": 27, + "id": "pending-possession", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:05:14.435145Z", + "start_time": "2021-04-16T11:05:14.405100Z" + } + }, + "outputs": [], + "source": [ + "STAKER_PUBLIC_KEY = \"B62qpge4uMq4Vv5Rvc8Gw9qSquUYd6xoW1pz7HQkMSHm6h1o7pvLPAN\" # mina explorer\n", + "LEDGER_HASH = \"jx7buQVWFLsXTtzRgSxbYcT8EYLS8KCZbLrfDcJxMtyy4thw2Ee\"" + ] + }, + { + "cell_type": "code", + "execution_count": 28, + "id": "horizontal-maintenance", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:05:16.032320Z", + "start_time": "2021-04-16T11:05:14.815367Z" + } + }, + "outputs": [], + "source": [ + "op = Operation(mina_explorer_schema.Query)\n", + "\n", + "query = mina_explorer_schema.StakeQueryInput(\n", + " delegate=STAKER_PUBLIC_KEY, ledger_hash=LEDGER_HASH\n", + ")\n", + "\n", + "stakes = op.stakes(query=query, limit=1000)\n", + "\n", + "stakes.public_key()\n", + "stakes.balance()\n", + "\n", + "res = mina_explorer_client.send_any_query(op)\n", + "\n", + "stakes_df = pd.json_normalize(res[\"data\"][\"stakes\"], sep=\"_\")" + ] + }, + { + "cell_type": "code", + "execution_count": 29, + "id": "tamil-perfume", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:05:16.064341Z", + "start_time": "2021-04-16T11:05:16.034513Z" + } + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
balancepublic_key
06697.0B62qkbdgRRJJfqcyVd23s9tgCkNYuGMCmZHKijnJGqYgs9...
132558.0B62qqMo7X8i2NnMxrtKf3PAWfbEADk4V1ojWhGeH6Gvye9...
27000.0B62qkrhfb1e3fV2HCsFxvnjKp1Yu4UyVpytucWDW16Ri3r...
319200.0B62qraStik5h6MHyJdB39Qd2gY2pPHaKsZFLWVNEv2h3F8...
465328.0B62qqrn3yzWRDJrUni6cRva4t51AcnY1o1pM4xpB78MfHU...
\n", + "
" + ], + "text/plain": [ + " balance public_key\n", + "0 6697.0 B62qkbdgRRJJfqcyVd23s9tgCkNYuGMCmZHKijnJGqYgs9...\n", + "1 32558.0 B62qqMo7X8i2NnMxrtKf3PAWfbEADk4V1ojWhGeH6Gvye9...\n", + "2 7000.0 B62qkrhfb1e3fV2HCsFxvnjKp1Yu4UyVpytucWDW16Ri3r...\n", + "3 19200.0 B62qraStik5h6MHyJdB39Qd2gY2pPHaKsZFLWVNEv2h3F8...\n", + "4 65328.0 B62qqrn3yzWRDJrUni6cRva4t51AcnY1o1pM4xpB78MfHU..." + ] + }, + "execution_count": 29, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "stakes_df.head()" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "crucial-cookie", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": 40, + "id": "second-nicaragua", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:08:52.781387Z", + "start_time": "2021-04-16T11:08:51.245296Z" + } + }, + "outputs": [], + "source": [ + "epoch = 0\n", + "block_height_gte = 0\n", + "block_height_lte = 5075\n", + "\n", + "consensus_state = mina_explorer_schema.BlockProtocolStateConsensusStateQueryInput(\n", + " epoch=epoch\n", + ")\n", + "protocol_state = mina_explorer_schema.BlockProtocolStateQueryInput(\n", + " consensus_state=consensus_state\n", + ")\n", + "\n", + "op = Operation(mina_explorer_schema.Query)\n", + "\n", + "query = mina_explorer_schema.BlockQueryInput(\n", + " block_height_gte=block_height_gte,\n", + " block_height_lte=block_height_lte,\n", + " creator=STAKER_PUBLIC_KEY,\n", + " protocol_state=protocol_state,\n", + ")\n", + "\n", + "blocks = op.blocks(\n", + " query=query,\n", + " limit=500,\n", + ")\n", + "\n", + "blocks.block_height()\n", + "blocks.canonical()\n", + "blocks.tx_fees()\n", + "blocks.snark_fees()\n", + "blocks.date_time()\n", + " \n", + "res = mina_explorer_client.send_any_query(op)" + ] + }, + { + "cell_type": "code", + "execution_count": 41, + "id": "helpful-adoption", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:08:52.826872Z", + "start_time": "2021-04-16T11:08:52.783586Z" + } + }, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
blockHeightcanonicaldateTimesnarkFeestxFees
05044True2021-03-31T19:00:00Z030000000
15002False2021-03-31T16:15:00Z020000000
24960False2021-03-31T13:03:00Z021000000
34933True2021-03-31T11:15:00Z020000000
44863True2021-03-31T06:18:00Z031000000
..................
145160False2021-03-17T11:24:00Z010000000
146139True2021-03-17T09:48:00Z020000000
14768False2021-03-17T04:33:00Z010000000
14839True2021-03-17T02:24:00Z010000000
14938False2021-03-17T02:21:00Z020000000
\n", + "

150 rows × 5 columns

\n", + "
" + ], + "text/plain": [ + " blockHeight canonical dateTime snarkFees txFees\n", + "0 5044 True 2021-03-31T19:00:00Z 0 30000000\n", + "1 5002 False 2021-03-31T16:15:00Z 0 20000000\n", + "2 4960 False 2021-03-31T13:03:00Z 0 21000000\n", + "3 4933 True 2021-03-31T11:15:00Z 0 20000000\n", + "4 4863 True 2021-03-31T06:18:00Z 0 31000000\n", + ".. ... ... ... ... ...\n", + "145 160 False 2021-03-17T11:24:00Z 0 10000000\n", + "146 139 True 2021-03-17T09:48:00Z 0 20000000\n", + "147 68 False 2021-03-17T04:33:00Z 0 10000000\n", + "148 39 True 2021-03-17T02:24:00Z 0 10000000\n", + "149 38 False 2021-03-17T02:21:00Z 0 20000000\n", + "\n", + "[150 rows x 5 columns]" + ] + }, + "execution_count": 41, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "pd.DataFrame(res['data']['blocks'])" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "baking-reviewer", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.5" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/examples/mina_node.ipynb b/examples/mina_node.ipynb new file mode 100644 index 0000000..48e403b --- /dev/null +++ b/examples/mina_node.ipynb @@ -0,0 +1,346 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 90, + "id": "lasting-catalog", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:11:49.143405Z", + "start_time": "2021-04-16T11:11:49.120781Z" + } + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "The blackcellmagic extension is already loaded. To reload it, use:\n", + " %reload_ext blackcellmagic\n", + "The autoreload extension is already loaded. To reload it, use:\n", + " %reload_ext autoreload\n" + ] + } + ], + "source": [ + "%load_ext blackcellmagic\n", + "%load_ext autoreload\n", + "%autoreload 2" + ] + }, + { + "cell_type": "markdown", + "id": "pending-maryland", + "metadata": {}, + "source": [ + "# example queries" + ] + }, + { + "cell_type": "code", + "execution_count": 91, + "id": "patent-serbia", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:11:49.508222Z", + "start_time": "2021-04-16T11:11:49.485561Z" + } + }, + "outputs": [], + "source": [ + "from MinaClient import Client" + ] + }, + { + "cell_type": "code", + "execution_count": 92, + "id": "iraqi-adapter", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:11:49.886936Z", + "start_time": "2021-04-16T11:11:49.858485Z" + } + }, + "outputs": [], + "source": [ + "GRAPHQL_HOST = \"127.0.0.1\"\n", + "GRAPHQL_PORT = \"3085\"\n", + "\n", + "mina_client = Client(graphql_host=GRAPHQL_HOST, graphql_port=GRAPHQL_PORT)" + ] + }, + { + "cell_type": "code", + "execution_count": 93, + "id": "wireless-garlic", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:11:50.534454Z", + "start_time": "2021-04-16T11:11:50.302665Z" + } + }, + "outputs": [], + "source": [ + "daemon_status = mina_client.get_daemon_status()" + ] + }, + { + "cell_type": "code", + "execution_count": 94, + "id": "valuable-munich", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:11:51.161907Z", + "start_time": "2021-04-16T11:11:51.134654Z" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "dict_keys(['numAccounts', 'blockchainLength', 'highestBlockLengthReceived', 'highestUnvalidatedBlockLengthReceived', 'uptimeSecs', 'ledgerMerkleRoot', 'stateHash', 'chainId', 'commitId', 'confDir', 'peers', 'userCommandsSent', 'snarkWorker', 'snarkWorkFee', 'syncStatus', 'catchupStatus', 'blockProductionKeys', 'consensusTimeBestTip', 'globalSlotSinceGenesisBestTip', 'nextBlockProduction', 'consensusTimeNow', 'consensusMechanism', 'consensusConfiguration', 'addrsAndPorts'])" + ] + }, + "execution_count": 94, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "daemon_status[\"daemonStatus\"].keys()" + ] + }, + { + "cell_type": "code", + "execution_count": 95, + "id": "laughing-armor", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:11:52.043488Z", + "start_time": "2021-04-16T11:11:51.891804Z" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'daemonStatus': {'syncStatus': 'SYNCED'}}" + ] + }, + "execution_count": 95, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "mina_client.get_sync_status()" + ] + }, + { + "cell_type": "code", + "execution_count": 96, + "id": "ultimate-exception", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:11:52.584916Z", + "start_time": "2021-04-16T11:11:52.468599Z" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'version': 'a42bdeef6b0c15ee34616e4df76c882b0c5c7c2a'}" + ] + }, + "execution_count": 96, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "mina_client.get_daemon_version()" + ] + }, + { + "cell_type": "code", + "execution_count": 97, + "id": "current-tractor", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:11:53.316444Z", + "start_time": "2021-04-16T11:11:53.190948Z" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'bestChain': [{'protocolState': {'previousStateHash': '3NKQk3NmYQraL89V1o9SNEh3BHV2FcFyCveZURPduh55o63KMbnE',\n", + " 'blockchainState': {'date': '1618570980000',\n", + " 'utcDate': '1618570980000',\n", + " 'snarkedLedgerHash': 'jwaVR17CN6tcUSC8b5ZYYzJNyfTkNdBMbG7jhYoYSDW1CcAUmxz',\n", + " 'stagedLedgerHash': 'jxqp4Xn4M3PMr3qeNL5LqC6DZhz3xNy2XfoyWXmBTd4F2KgHcER'},\n", + " 'consensusState': {'blockchainLength': '10372',\n", + " 'blockHeight': '10372',\n", + " 'epochCount': '2',\n", + " 'minWindowDensity': '43',\n", + " 'lastVrfOutput': 'EiRtEGbP2qcCm7FDKG94kosHLdQMnXfwo4aw7mGUQx4qBjtD1Phab',\n", + " 'totalCurrency': '813301372840039233',\n", + " 'hasAncestorInSameCheckpointWindow': True,\n", + " 'slot': '341',\n", + " 'slotSinceGenesis': '14621',\n", + " 'epoch': '2'}},\n", + " 'stateHash': '3NLi2M3Cd3aUmz7sW7exZ75syptmL6nwqZVMvm3s28CytvrJsd8F'},\n", + " {'protocolState': {'previousStateHash': '3NLi2M3Cd3aUmz7sW7exZ75syptmL6nwqZVMvm3s28CytvrJsd8F',\n", + " 'blockchainState': {'date': '1618571160000',\n", + " 'utcDate': '1618571160000',\n", + " 'snarkedLedgerHash': 'jwaVR17CN6tcUSC8b5ZYYzJNyfTkNdBMbG7jhYoYSDW1CcAUmxz',\n", + " 'stagedLedgerHash': 'jxwTm9SUSdwH9HUap99jmBUiy5qBNdjgZNuD9gpXrAvjb2ZyKqY'},\n", + " 'consensusState': {'blockchainLength': '10373',\n", + " 'blockHeight': '10373',\n", + " 'epochCount': '2',\n", + " 'minWindowDensity': '43',\n", + " 'lastVrfOutput': 'EiRrgA3z6a995oVWJe7q1ganPMxXDKn7ipP5bgExYxMucE41Z9quL',\n", + " 'totalCurrency': '813301372840039233',\n", + " 'hasAncestorInSameCheckpointWindow': True,\n", + " 'slot': '342',\n", + " 'slotSinceGenesis': '14622',\n", + " 'epoch': '2'}},\n", + " 'stateHash': '3NLXMsNv3xDd9vWCz3eCGYqarHSpr2Dfoy4nzJFewkosVmGeGFrH'}]}" + ] + }, + "execution_count": 97, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "mina_client.get_best_chain(max_length=2)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "disturbed-oregon", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "markdown", + "id": "stable-nashville", + "metadata": {}, + "source": [ + "# custom daemon status query" + ] + }, + { + "cell_type": "code", + "execution_count": 98, + "id": "center-register", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:11:57.747930Z", + "start_time": "2021-04-16T11:11:57.724687Z" + } + }, + "outputs": [], + "source": [ + "from mina_schemas import mina_schema\n", + "from sgqlc.operation import Operation" + ] + }, + { + "cell_type": "code", + "execution_count": 99, + "id": "continuous-opposition", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:11:58.201382Z", + "start_time": "2021-04-16T11:11:58.038117Z" + } + }, + "outputs": [], + "source": [ + "op = Operation(mina_schema.query)\n", + "\n", + "daemon_status = op.daemon_status()\n", + "daemon_status.consensus_configuration()\n", + "daemon_status.ledger_merkle_root()\n", + "\n", + "res = mina_client.send_any_query(op)" + ] + }, + { + "cell_type": "code", + "execution_count": 100, + "id": "designing-skirt", + "metadata": { + "ExecuteTime": { + "end_time": "2021-04-16T11:11:58.487167Z", + "start_time": "2021-04-16T11:11:58.456488Z" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'consensusConfiguration': {'delta': 0,\n", + " 'k': 290,\n", + " 'slotsPerEpoch': 7140,\n", + " 'slotDuration': 180000,\n", + " 'epochDuration': 1285200000,\n", + " 'genesisStateTimestamp': '2021-03-17 01:00:00.000000+01:00',\n", + " 'acceptableNetworkDelay': 180000},\n", + " 'ledgerMerkleRoot': 'jxwTm9SUSdwH9HUap99jmBUiy5qBNdjgZNuD9gpXrAvjb2ZyKqY'}" + ] + }, + "execution_count": 100, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "res['data']['daemonStatus']" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "crucial-cookie", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "advised-wilson", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.5" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/mina_schemas/__init__.py b/mina_schemas/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/mina_schemas/generate_mina_explorer_schema.py b/mina_schemas/generate_mina_explorer_schema.py new file mode 100755 index 0000000..7b27779 --- /dev/null +++ b/mina_schemas/generate_mina_explorer_schema.py @@ -0,0 +1,16 @@ +#!/usr/bin/python3 + +from MinaClient import Client +from sgqlc.introspection import query +import json + +MINA_EXPLORER_ENDPOINT = "https://graphql.minaexplorer.com/" + +mina_client = Client(endpoint=MINA_EXPLORER_ENDPOINT) + +variables = {"includeDescription": True, "includeDeprecated": False} + +mina_schema = mina_client.send_any_query(query, variables=variables) + +with open("mina_explorer_schema.json", "w") as f: + json.dump(mina_schema, f, sort_keys=True, indent=2, default=str) diff --git a/mina_schemas/generate_mina_explorer_schema.sh b/mina_schemas/generate_mina_explorer_schema.sh new file mode 100755 index 0000000..174af28 --- /dev/null +++ b/mina_schemas/generate_mina_explorer_schema.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +python generate_mina_explorer_schema.py +sgqlc-codegen schema mina_explorer_schema.json mina_explorer_schema.py \ No newline at end of file diff --git a/mina_schemas/generate_mina_schema.py b/mina_schemas/generate_mina_schema.py new file mode 100644 index 0000000..6267896 --- /dev/null +++ b/mina_schemas/generate_mina_schema.py @@ -0,0 +1,14 @@ +#!/usr/bin/python3 + +from MinaClient import Client +from sgqlc.introspection import query +import json + +mina_client = Client() + +variables = {"includeDescription": True, "includeDeprecated": False} + +mina_schema = mina_client.send_any_query(query, variables=variables) + +with open("mina_schema.json", "w") as f: + json.dump(mina_schema, f, sort_keys=True, indent=2, default=str) diff --git a/mina_schemas/generate_mina_schema.sh b/mina_schemas/generate_mina_schema.sh new file mode 100755 index 0000000..cb6b0d1 --- /dev/null +++ b/mina_schemas/generate_mina_schema.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +python generate_mina_schema.py +sgqlc-codegen schema mina_schema.json mina_schema.py \ No newline at end of file diff --git a/mina_schemas/mina_explorer_schema.json b/mina_schemas/mina_explorer_schema.json new file mode 100644 index 0000000..3757f01 --- /dev/null +++ b/mina_schemas/mina_explorer_schema.json @@ -0,0 +1,30886 @@ +{ + "data": { + "__schema": { + "directives": [ + { + "args": [ + { + "defaultValue": null, + "description": "Included when true.", + "name": "if", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + } + ], + "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", + "locations": [ + "FIELD", + "FRAGMENT_SPREAD", + "INLINE_FRAGMENT" + ], + "name": "include" + }, + { + "args": [ + { + "defaultValue": null, + "description": "Skipped when true.", + "name": "if", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + } + ], + "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", + "locations": [ + "FIELD", + "FRAGMENT_SPREAD", + "INLINE_FRAGMENT" + ], + "name": "skip" + }, + { + "args": [ + { + "defaultValue": "\"No longer supported\"", + "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formattedin [Markdown](https://daringfireball.net/projects/markdown/).", + "name": "reason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "description": "Marks an element of a GraphQL schema as no longer supported.", + "locations": [ + "FIELD_DEFINITION", + "ENUM_VALUE" + ], + "name": "deprecated" + } + ], + "mutationType": { + "name": "Mutation" + }, + "queryType": { + "name": "Query" + }, + "subscriptionType": null, + "types": [ + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "permissions", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakePermissionQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timing_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "permissions_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timing", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakeTimingQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "type", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "link", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "create", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockInsertInput", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SnarkBlockStateHashRelationInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionSourceUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "TransactionSource", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "date", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "coinbaseReceiverAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbaseReceiverAccount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeTransfer", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferUpdateInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeTransfer_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "userCommands", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandUpdateInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "userCommands_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "block", + "type": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": "100", + "description": "", + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sortBy", + "type": { + "kind": "ENUM", + "name": "BlockSortByInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "blocks", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "nextstake", + "type": { + "kind": "OBJECT", + "name": "Nextstake", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + }, + { + "defaultValue": "100", + "description": "", + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sortBy", + "type": { + "kind": "ENUM", + "name": "NextstakeSortByInput", + "ofType": null + } + } + ], + "description": "", + "name": "nextstakes", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Nextstake", + "ofType": null + } + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "payout", + "type": { + "kind": "OBJECT", + "name": "Payout", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } + }, + { + "defaultValue": "100", + "description": "", + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sortBy", + "type": { + "kind": "ENUM", + "name": "PayoutSortByInput", + "ofType": null + } + } + ], + "description": "", + "name": "payouts", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Payout", + "ofType": null + } + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "snark", + "type": { + "kind": "OBJECT", + "name": "Snark", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "ofType": null + } + }, + { + "defaultValue": "100", + "description": "", + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sortBy", + "type": { + "kind": "ENUM", + "name": "SnarkSortByInput", + "ofType": null + } + } + ], + "description": "", + "name": "snarks", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Snark", + "ofType": null + } + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "stake", + "type": { + "kind": "OBJECT", + "name": "Stake", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } + }, + { + "defaultValue": "100", + "description": "", + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sortBy", + "type": { + "kind": "ENUM", + "name": "StakeSortByInput", + "ofType": null + } + } + ], + "description": "", + "name": "stakes", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Stake", + "ofType": null + } + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "transaction", + "type": { + "kind": "OBJECT", + "name": "Transaction", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + }, + { + "defaultValue": "100", + "description": "", + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sortBy", + "type": { + "kind": "ENUM", + "name": "TransactionSortByInput", + "ofType": null + } + } + ], + "description": "", + "name": "transactions", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Transaction", + "ofType": null + } + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Query", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "userCommands_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbaseReceiverAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbaseReceiverAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "userCommands_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeTransfer", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "userCommands", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "userCommands_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeTransfer_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeTransfer_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeTransfer_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "epochLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "ledger", + "type": { + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedger", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "seed", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "startCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatum", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedger", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "TransactionToAccount", + "possibleTypes": null + }, + { + "description": "", + "enumValues": [ + { + "description": "", + "name": "BLOCKHEIGHT_ASC" + }, + { + "description": "", + "name": "COINBASE_ASC" + }, + { + "description": "", + "name": "LEDGERHASH_DESC" + }, + { + "description": "", + "name": "PAYMENTID_DESC" + }, + { + "description": "", + "name": "PAYOUT_DESC" + }, + { + "description": "", + "name": "PUBLICKEY_ASC" + }, + { + "description": "", + "name": "STATEHASH_ASC" + }, + { + "description": "", + "name": "SUMEFFECTIVEPOOLSTAKES_DESC" + }, + { + "description": "", + "name": "SUPERCHARGEDWEIGHTING_DESC" + }, + { + "description": "", + "name": "SUPERCHARGEDCONTRIBUTION_DESC" + }, + { + "description": "", + "name": "TOTALPOOLSTAKES_ASC" + }, + { + "description": "", + "name": "TOTALREWARDS_DESC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_DESC" + }, + { + "description": "", + "name": "LEDGERHASH_ASC" + }, + { + "description": "", + "name": "SUPERCHARGEDCONTRIBUTION_ASC" + }, + { + "description": "", + "name": "DATETIME_ASC" + }, + { + "description": "", + "name": "DATETIME_DESC" + }, + { + "description": "", + "name": "PAYMENTID_ASC" + }, + { + "description": "", + "name": "PUBLICKEY_DESC" + }, + { + "description": "", + "name": "SUMEFFECTIVEPOOLSTAKES_ASC" + }, + { + "description": "", + "name": "STAKINGBALANCE_DESC" + }, + { + "description": "", + "name": "TOTALREWARDS_ASC" + }, + { + "description": "", + "name": "STATEHASH_DESC" + }, + { + "description": "", + "name": "COINBASE_DESC" + }, + { + "description": "", + "name": "EFFECTIVEPOOLSTAKES_ASC" + }, + { + "description": "", + "name": "EFFECTIVEPOOLSTAKES_DESC" + }, + { + "description": "", + "name": "PAYMENTHASH_ASC" + }, + { + "description": "", + "name": "PAYOUT_ASC" + }, + { + "description": "", + "name": "STAKINGBALANCE_ASC" + }, + { + "description": "", + "name": "EFFECTIVEPOOLWEIGHTING_ASC" + }, + { + "description": "", + "name": "EFFECTIVEPOOLWEIGHTING_DESC" + }, + { + "description": "", + "name": "TOTALPOOLSTAKES_DESC" + }, + { + "description": "", + "name": "PAYMENTHASH_DESC" + }, + { + "description": "", + "name": "SUPERCHARGEDWEIGHTING_ASC" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "PayoutSortByInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceQueryInput", + "ofType": null + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "set_delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakePermissionQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakePermissionQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "NextstakePermissionQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": [ + { + "description": "", + "name": "DELEGATE_ASC" + }, + { + "description": "", + "name": "PK_ASC" + }, + { + "description": "", + "name": "PUBLIC_KEY_DESC" + }, + { + "description": "", + "name": "RECEIPT_CHAIN_HASH_ASC" + }, + { + "description": "", + "name": "TOKEN_ASC" + }, + { + "description": "", + "name": "BALANCE_ASC" + }, + { + "description": "", + "name": "LEDGERHASH_ASC" + }, + { + "description": "", + "name": "NONCE_ASC" + }, + { + "description": "", + "name": "NONCE_DESC" + }, + { + "description": "", + "name": "PUBLIC_KEY_ASC" + }, + { + "description": "", + "name": "PK_DESC" + }, + { + "description": "", + "name": "RECEIPT_CHAIN_HASH_DESC" + }, + { + "description": "", + "name": "TOKEN_DESC" + }, + { + "description": "", + "name": "VOTING_FOR_ASC" + }, + { + "description": "", + "name": "BALANCE_DESC" + }, + { + "description": "", + "name": "DELEGATE_DESC" + }, + { + "description": "", + "name": "LEDGERHASH_DESC" + }, + { + "description": "", + "name": "VOTING_FOR_DESC" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "NextstakeSortByInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "stateHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalRewards_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sumEffectivePoolStakes_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superChargedWeighting_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalPoolStakes_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolWeighting", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolWeighting_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentHash", + "type": { + "kind": "INPUT_OBJECT", + "name": "PayoutPaymentHashRelationInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalPoolStakes_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentId_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalRewards", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolStakes_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superChargedWeighting", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalRewards_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sumEffectivePoolStakes", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolStakes", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingBalance_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superchargedContribution_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "payout_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sumEffectivePoolStakes_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superchargedContribution", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superchargedContribution_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingBalance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolStakes_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "payout", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolWeighting_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superChargedWeighting_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingBalance_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "foundation_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "INPUT_OBJECT", + "name": "PayoutStateHashRelationInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "payout_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalPoolStakes", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "foundation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "PayoutUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "SnarkBlockStateHashRelationInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SnarkInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "recipient", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "type", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionFeeTransfer", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "untimed_slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_in_epoch_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_epoch_end_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeTimingQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeTimingQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_in_epoch_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_epoch_end_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_in_epoch", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_epoch_end", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakeTimingQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "coinbase", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbaseReceiverAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeTransfer", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferInsertInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "userCommands", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandInsertInput", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nextEpochData_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hasAncestorInSameCheckpointWindow_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hasAncestorInSameCheckpointWindow_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingEpochData_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hasAncestorInSameCheckpointWindow", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nextEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommandSource", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverQueryInput", + "ofType": null + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingBalance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "foundation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sumEffectivePoolStakes", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superChargedWeighting", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "payout", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superchargedContribution", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolWeighting", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentHash", + "type": { + "kind": "INPUT_OBJECT", + "name": "PayoutPaymentHashRelationInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "INPUT_OBJECT", + "name": "PayoutStateHashRelationInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalPoolStakes", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalRewards", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolStakes", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "PayoutInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "edit_state", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "NextstakePermissionInsertInput", + "possibleTypes": null + }, + { + "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "deprecationReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "description", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "isDeprecated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + { + "args": [], + "description": "", + "name": "name", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "__EnumValue", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "unknown_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "total", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "coinbase", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "effectivePoolStakes", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "effectivePoolWeighting", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "foundation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "paymentHash", + "type": { + "kind": "OBJECT", + "name": "Transaction", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "paymentId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "payout", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "stakingBalance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "stateHash", + "type": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "sumEffectivePoolStakes", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "superChargedWeighting", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "superchargedContribution", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "totalPoolStakes", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "totalRewards", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Payout", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "deleteManyBlocks", + "type": { + "kind": "OBJECT", + "name": "DeleteManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "deleteManyNextstakes", + "type": { + "kind": "OBJECT", + "name": "DeleteManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "deleteManyPayouts", + "type": { + "kind": "OBJECT", + "name": "DeleteManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "deleteManySnarks", + "type": { + "kind": "OBJECT", + "name": "DeleteManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "deleteManyStakes", + "type": { + "kind": "OBJECT", + "name": "DeleteManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "deleteManyTransactions", + "type": { + "kind": "OBJECT", + "name": "DeleteManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "deleteOneBlock", + "type": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "deleteOneNextstake", + "type": { + "kind": "OBJECT", + "name": "Nextstake", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "deleteOnePayout", + "type": { + "kind": "OBJECT", + "name": "Payout", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "deleteOneSnark", + "type": { + "kind": "OBJECT", + "name": "Snark", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "deleteOneStake", + "type": { + "kind": "OBJECT", + "name": "Stake", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "deleteOneTransaction", + "type": { + "kind": "OBJECT", + "name": "Transaction", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockInsertInput", + "ofType": null + } + } + } + } + } + ], + "description": "", + "name": "insertManyBlocks", + "type": { + "kind": "OBJECT", + "name": "InsertManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeInsertInput", + "ofType": null + } + } + } + } + } + ], + "description": "", + "name": "insertManyNextstakes", + "type": { + "kind": "OBJECT", + "name": "InsertManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PayoutInsertInput", + "ofType": null + } + } + } + } + } + ], + "description": "", + "name": "insertManyPayouts", + "type": { + "kind": "OBJECT", + "name": "InsertManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SnarkInsertInput", + "ofType": null + } + } + } + } + } + ], + "description": "", + "name": "insertManySnarks", + "type": { + "kind": "OBJECT", + "name": "InsertManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeInsertInput", + "ofType": null + } + } + } + } + } + ], + "description": "", + "name": "insertManyStakes", + "type": { + "kind": "OBJECT", + "name": "InsertManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionInsertInput", + "ofType": null + } + } + } + } + } + ], + "description": "", + "name": "insertManyTransactions", + "type": { + "kind": "OBJECT", + "name": "InsertManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "insertOneBlock", + "type": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "insertOneNextstake", + "type": { + "kind": "OBJECT", + "name": "Nextstake", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PayoutInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "insertOnePayout", + "type": { + "kind": "OBJECT", + "name": "Payout", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SnarkInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "insertOneSnark", + "type": { + "kind": "OBJECT", + "name": "Snark", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "insertOneStake", + "type": { + "kind": "OBJECT", + "name": "Stake", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "insertOneTransaction", + "type": { + "kind": "OBJECT", + "name": "Transaction", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "replaceOneBlock", + "type": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "replaceOneNextstake", + "type": { + "kind": "OBJECT", + "name": "Nextstake", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PayoutInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "replaceOnePayout", + "type": { + "kind": "OBJECT", + "name": "Payout", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SnarkInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "replaceOneSnark", + "type": { + "kind": "OBJECT", + "name": "Snark", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "replaceOneStake", + "type": { + "kind": "OBJECT", + "name": "Stake", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "replaceOneTransaction", + "type": { + "kind": "OBJECT", + "name": "Transaction", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockUpdateInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "updateManyBlocks", + "type": { + "kind": "OBJECT", + "name": "UpdateManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeUpdateInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "updateManyNextstakes", + "type": { + "kind": "OBJECT", + "name": "UpdateManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PayoutUpdateInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "updateManyPayouts", + "type": { + "kind": "OBJECT", + "name": "UpdateManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SnarkUpdateInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "updateManySnarks", + "type": { + "kind": "OBJECT", + "name": "UpdateManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeUpdateInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "updateManyStakes", + "type": { + "kind": "OBJECT", + "name": "UpdateManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionUpdateInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "updateManyTransactions", + "type": { + "kind": "OBJECT", + "name": "UpdateManyPayload", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockUpdateInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "updateOneBlock", + "type": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeUpdateInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "updateOneNextstake", + "type": { + "kind": "OBJECT", + "name": "Nextstake", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PayoutUpdateInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "updateOnePayout", + "type": { + "kind": "OBJECT", + "name": "Payout", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SnarkUpdateInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "updateOneSnark", + "type": { + "kind": "OBJECT", + "name": "Snark", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeUpdateInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "updateOneStake", + "type": { + "kind": "OBJECT", + "name": "Stake", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionUpdateInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "updateOneTransaction", + "type": { + "kind": "OBJECT", + "name": "Transaction", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockInsertInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "upsertOneBlock", + "type": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeInsertInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "upsertOneNextstake", + "type": { + "kind": "OBJECT", + "name": "Nextstake", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PayoutInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "upsertOnePayout", + "type": { + "kind": "OBJECT", + "name": "Payout", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SnarkInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "upsertOneSnark", + "type": { + "kind": "OBJECT", + "name": "Snark", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeInsertInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "upsertOneStake", + "type": { + "kind": "OBJECT", + "name": "Stake", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionInsertInput", + "ofType": null + } + } + } + ], + "description": "", + "name": "upsertOneTransaction", + "type": { + "kind": "OBJECT", + "name": "Transaction", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Mutation", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "recipient_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "type", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "create", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "link", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionBlockStateHashRelationInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "set_delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakePermissionInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceUpdateInput", + "possibleTypes": null + }, + { + "description": "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "Float", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainState_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "consensusState_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "consensusState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateQueryInput", + "ofType": null + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "prover", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "workIds", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockSnarkJob", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "vesting_period_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeTimingQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeTimingQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "NextstakeTimingQueryInput", + "possibleTypes": null + }, + { + "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name and description, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "description", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": "false", + "description": "", + "name": "includeDeprecated", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "description": "", + "name": "enumValues", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__EnumValue", + "ofType": null + } + } + } + }, + { + "args": [ + { + "defaultValue": "false", + "description": "", + "name": "includeDeprecated", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "description": "", + "name": "fields", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Field", + "ofType": null + } + } + } + }, + { + "args": [], + "description": "", + "name": "inputFields", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + } + }, + { + "args": [], + "description": "", + "name": "interfaces", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } + } + }, + { + "args": [], + "description": "", + "name": "kind", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "__TypeKind", + "ofType": null + } + } + }, + { + "args": [], + "description": "", + "name": "name", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "ofType", + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "possibleTypes", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "__Type", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "balance", + "type": { + "kind": "OBJECT", + "name": "BlockWinnerAccountBalance", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockWinnerAccount", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "countDelegates", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "totalDelegated", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "DelegationTotal", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "TransactionFromAccount", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "edit_state", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "send", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "set_delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "set_permissions", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "set_verification_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "stake", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "NextstakePermission", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "countDelegates", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "totalDelegated", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "NextDelegationTotal", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "permissions_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "permissions", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakePermissionUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timing", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakeTimingUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timing_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "NextstakeUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "epochLength_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput", + "possibleTypes": null + }, + { + "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "args", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "", + "name": "deprecationReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "description", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "isDeprecated", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + { + "args": [], + "description": "", + "name": "name", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "", + "name": "type", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "__Field", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "blockchainState", + "type": { + "kind": "OBJECT", + "name": "BlockProtocolStateBlockchainState", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "consensusState", + "type": { + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusState", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "previousStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockProtocolState", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionSourceQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "vesting_increment", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "NextstakeTimingInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionBlockStateHashRelationInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionSourceUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionUpdateInput", + "possibleTypes": null + }, + { + "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document. \n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "args", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "", + "name": "description", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "locations", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "__DirectiveLocation", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "", + "name": "name", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "__Directive", + "possibleTypes": null + }, + { + "description": "The `DateTime` scalar type represents a DateTime. The DateTime is serialized as an RFC 3339 quoted string", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "DateTime", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput", + "possibleTypes": null + }, + { + "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", + "enumValues": [ + { + "description": "Location adjacent to a fragment spread.", + "name": "FRAGMENT_SPREAD" + }, + { + "description": "Location adjacent to a field definition.", + "name": "FIELD_DEFINITION" + }, + { + "description": "Location adjacent to an input object type definition.", + "name": "INPUT_OBJECT" + }, + { + "description": "Location adjacent to a mutation operation.", + "name": "MUTATION" + }, + { + "description": "Location adjacent to a fragment definition.", + "name": "FRAGMENT_DEFINITION" + }, + { + "description": "Location adjacent to a object definition.", + "name": "OBJECT" + }, + { + "description": "Location adjacent to an argument definition.", + "name": "ARGUMENT_DEFINITION" + }, + { + "description": "Location adjacent to an enum definition.", + "name": "ENUM" + }, + { + "description": "Location adjacent to an input object field definition.", + "name": "INPUT_FIELD_DEFINITION" + }, + { + "description": "Location adjacent to a field.", + "name": "FIELD" + }, + { + "description": "Location adjacent to a scalar definition.", + "name": "SCALAR" + }, + { + "description": "Location adjacent to a union definition.", + "name": "UNION" + }, + { + "description": "Location adjacent to an enum value definition.", + "name": "ENUM_VALUE" + }, + { + "description": "Location adjacent to an inline fragment.", + "name": "INLINE_FRAGMENT" + }, + { + "description": "Location adjacent to a subscription operation.", + "name": "SUBSCRIPTION" + }, + { + "description": "Location adjacent to a schema definition.", + "name": "SCHEMA" + }, + { + "description": "Location adjacent to an interface definition.", + "name": "INTERFACE" + }, + { + "description": "Location adjacent to a query operation.", + "name": "QUERY" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "__DirectiveLocation", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommandFromAccount", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakePermissionQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakePermissionQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "send", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakePermissionQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": [ + { + "description": "", + "name": "NONCE_ASC" + }, + { + "description": "", + "name": "PUBLIC_KEY_DESC" + }, + { + "description": "", + "name": "RECEIPT_CHAIN_HASH_DESC" + }, + { + "description": "", + "name": "BALANCE_ASC" + }, + { + "description": "", + "name": "DELEGATE_ASC" + }, + { + "description": "", + "name": "DELEGATE_DESC" + }, + { + "description": "", + "name": "EPOCH_ASC" + }, + { + "description": "", + "name": "RECEIPT_CHAIN_HASH_ASC" + }, + { + "description": "", + "name": "TOKEN_ASC" + }, + { + "description": "", + "name": "TOKEN_DESC" + }, + { + "description": "", + "name": "BALANCE_DESC" + }, + { + "description": "", + "name": "CHAINID_DESC" + }, + { + "description": "", + "name": "CHAINID_ASC" + }, + { + "description": "", + "name": "PK_DESC" + }, + { + "description": "", + "name": "PK_ASC" + }, + { + "description": "", + "name": "PUBLIC_KEY_ASC" + }, + { + "description": "", + "name": "LEDGERHASH_ASC" + }, + { + "description": "", + "name": "LEDGERHASH_DESC" + }, + { + "description": "", + "name": "VOTING_FOR_ASC" + }, + { + "description": "", + "name": "VOTING_FOR_DESC" + }, + { + "description": "", + "name": "EPOCH_DESC" + }, + { + "description": "", + "name": "NONCE_DESC" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "StakeSortByInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "edit_state", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "send", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "set_delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "set_permissions", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "set_verification_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "stake", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "StakePermission", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "TransactionFeePayer", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "TransactionReceiver", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionSourceInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionBlockStateHashRelationInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "pk_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "permissions", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakePermissionQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "permissions_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timing_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timing", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakeTimingQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": [ + { + "description": "", + "name": "BLOCKHEIGHT_ASC" + }, + { + "description": "", + "name": "DATETIME_ASC" + }, + { + "description": "", + "name": "DATETIME_DESC" + }, + { + "description": "", + "name": "RECEIVEDTIME_DESC" + }, + { + "description": "", + "name": "STATEHASH_ASC" + }, + { + "description": "", + "name": "STATEHASH_DESC" + }, + { + "description": "", + "name": "STATEHASHFIELD_ASC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_DESC" + }, + { + "description": "", + "name": "CREATOR_ASC" + }, + { + "description": "", + "name": "CREATOR_DESC" + }, + { + "description": "", + "name": "RECEIVEDTIME_ASC" + }, + { + "description": "", + "name": "STATEHASHFIELD_DESC" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "BlockSortByInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "consensusState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateInsertInput", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "timed_in_epoch_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_epoch_end", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_epoch_end_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_in_epoch", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakeTimingUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "voting_for", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "permissions", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakePermissionInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timing", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakeTimingInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakeInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "dateTime_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "liquid", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverUpdateInput", + "possibleTypes": null + }, + { + "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "A list of all directives supported by this server.", + "name": "directives", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Directive", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "If this server supports mutation, the type that mutation operations will be rooted at.", + "name": "mutationType", + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + }, + { + "args": [], + "description": "The type that query operations will be rooted at.", + "name": "queryType", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } + }, + { + "args": [], + "description": "If this server supports subscription, the type that subscription operations will be rooted at.", + "name": "subscriptionType", + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + }, + { + "args": [], + "description": "A list of all types supported by this server.", + "name": "types", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "__Schema", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "coinbase", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "coinbaseReceiverAccount", + "type": { + "kind": "OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccount", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "feeTransfer", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BlockTransactionFeeTransfer", + "ofType": null + } + } + }, + { + "args": [], + "description": "", + "name": "userCommands", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BlockTransactionUserCommand", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransaction", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommandToAccount", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockCreatorAccount", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "create", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "link", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "PayoutStateHashRelationInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "seed", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommandReceiver", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommandFeePayer", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "cliff_amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "cliff_time", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "initial_minimum_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "vesting_increment", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "vesting_period", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "NextstakeTiming", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timing", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakeTimingUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "permissions", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakePermissionUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timing_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "permissions_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakeUpdateInput", + "possibleTypes": null + }, + { + "description": "The `Boolean` scalar type represents `true` or `false`.", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "Boolean", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountQueryInput", + "ofType": null + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "epochLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "ledger", + "type": { + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedger", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "seed", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "startCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatum", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverUpdateInput", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "ObjectId", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "cliff_amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "cliff_time", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "initial_minimum_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "timed_epoch_end", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "timed_in_epoch", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "timed_weighting", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "untimed_slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "vesting_increment", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "vesting_period", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "StakeTiming", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "send", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "NextstakePermissionUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "winnerAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creatorAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "winnerAccount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkJobs_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "protocolState_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "transactions", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "protocolState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkJobs", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobUpdateInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creatorAccount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "transactions_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedger", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionSourceQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionSourceQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionSourceQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceInsertInput", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": [ + { + "description": "", + "name": "FEE_ASC" + }, + { + "description": "", + "name": "PROVER_ASC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_ASC" + }, + { + "description": "", + "name": "BLOCKSTATEHASH_DESC" + }, + { + "description": "", + "name": "DATETIME_ASC" + }, + { + "description": "", + "name": "FEE_DESC" + }, + { + "description": "", + "name": "PROVER_DESC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_DESC" + }, + { + "description": "", + "name": "BLOCKSTATEHASH_ASC" + }, + { + "description": "", + "name": "DATETIME_DESC" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "SnarkSortByInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "creator", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "creatorAccount", + "type": { + "kind": "OBJECT", + "name": "BlockCreatorAccount", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "protocolState", + "type": { + "kind": "OBJECT", + "name": "BlockProtocolState", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "receivedTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "snarkFees", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "snarkJobs", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BlockSnarkJob", + "ofType": null + } + } + }, + { + "args": [], + "description": "", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "stateHashField", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "transactions", + "type": { + "kind": "OBJECT", + "name": "BlockTransaction", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "txFees", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "winnerAccount", + "type": { + "kind": "OBJECT", + "name": "BlockWinnerAccount", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Block", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccount", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "stateHashField", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "transactions", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkJobs", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobInsertInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "winnerAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "protocolState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creatorAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "matchedCount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": "", + "name": "modifiedCount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "UpdateManyPayload", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "timed_epoch_end", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_in_epoch", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakeTimingInsertInput", + "possibleTypes": null + }, + { + "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "A GraphQL-formatted string representing the default value for this input value.", + "name": "defaultValue", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "description", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "name", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "", + "name": "type", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "__InputValue", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "date", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "snarkedLedgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "stagedLedgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "utcDate", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockProtocolStateBlockchainState", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nextEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hasAncestorInSameCheckpointWindow", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "insertedIds", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ObjectId", + "ofType": null + } + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "InsertManyPayload", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionSourceInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "deletedCount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "DeleteManyPayload", + "possibleTypes": null + }, + { + "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. ", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "Int", + "possibleTypes": null + }, + { + "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "String", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "liquid", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "locked", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "total", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "unknown", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockWinnerAccountBalance", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "blockchainLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "epoch", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "epochCount", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "hasAncestorInSameCheckpointWindow", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "lastVrfOutput", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "minWindowDensity", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "nextEpochData", + "type": { + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatum", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "slotSinceGenesis", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "stakingEpochData", + "type": { + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatum", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusState", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolStakes_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superChargedWeighting_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalPoolStakes_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolStakes", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superChargedWeighting_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingBalance_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolStakes_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "payout_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentId_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superChargedWeighting_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superChargedWeighting_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingBalance_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolWeighting_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superchargedContribution_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentId_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentId_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingBalance_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolStakes_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superChargedWeighting_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalPoolStakes_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superchargedContribution_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sumEffectivePoolStakes", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sumEffectivePoolStakes_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalRewards_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sumEffectivePoolStakes_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalPoolStakes_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolWeighting_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolWeighting", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentId_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "payout_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingBalance_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sumEffectivePoolStakes_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalPoolStakes_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "payout", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sumEffectivePoolStakes_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolStakes_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superChargedWeighting", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sumEffectivePoolStakes_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingBalance_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentHash", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalPoolStakes_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "superchargedContribution_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentId_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolStakes_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sumEffectivePoolStakes_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalPoolStakes_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "foundation_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superChargedWeighting_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolWeighting_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superchargedContribution_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "payout_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "foundation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalRewards_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingBalance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "payout_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentId_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalRewards_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sumEffectivePoolStakes_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "payout_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "foundation_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalRewards", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sumEffectivePoolStakes_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolWeighting_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingBalance_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superchargedContribution_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superchargedContribution", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentId_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "payout_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "payout_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "paymentId_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superChargedWeighting_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolWeighting_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingBalance_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalRewards_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalRewards_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalPoolStakes", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalPoolStakes_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalPoolStakes_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "superchargedContribution_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingBalance_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalRewards_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superChargedWeighting_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superchargedContribution_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "superchargedContribution_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolWeighting_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalRewards_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolWeighting_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolStakes_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolWeighting_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolStakes_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "effectivePoolStakes_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalRewards_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "payout_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "block", + "type": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "feePayer", + "type": { + "kind": "OBJECT", + "name": "TransactionFeePayer", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "fromAccount", + "type": { + "kind": "OBJECT", + "name": "TransactionFromAccount", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "receiver", + "type": { + "kind": "OBJECT", + "name": "TransactionReceiver", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "source", + "type": { + "kind": "OBJECT", + "name": "TransactionSource", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "toAccount", + "type": { + "kind": "OBJECT", + "name": "TransactionToAccount", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Transaction", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "block_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "SnarkBlockStateHashRelationInput", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SnarkUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerQueryInput", + "ofType": null + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "nextDelegationTotals", + "type": { + "kind": "OBJECT", + "name": "NextDelegationTotal", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "permissions", + "type": { + "kind": "OBJECT", + "name": "NextstakePermission", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "pk", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "public_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "receipt_chain_hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "timing", + "type": { + "kind": "OBJECT", + "name": "NextstakeTiming", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "voting_for", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Nextstake", + "possibleTypes": null + }, + { + "description": "", + "enumValues": [ + { + "description": "", + "name": "BLOCKSTATEHASH_DESC" + }, + { + "description": "", + "name": "MEMO_ASC" + }, + { + "description": "", + "name": "FEETOKEN_ASC" + }, + { + "description": "", + "name": "FROM_DESC" + }, + { + "description": "", + "name": "HASH_DESC" + }, + { + "description": "", + "name": "KIND_ASC" + }, + { + "description": "", + "name": "AMOUNT_ASC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_ASC" + }, + { + "description": "", + "name": "DATETIME_ASC" + }, + { + "description": "", + "name": "FAILUREREASON_DESC" + }, + { + "description": "", + "name": "AMOUNT_DESC" + }, + { + "description": "", + "name": "DATETIME_DESC" + }, + { + "description": "", + "name": "ID_DESC" + }, + { + "description": "", + "name": "MEMO_DESC" + }, + { + "description": "", + "name": "TOKEN_ASC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_DESC" + }, + { + "description": "", + "name": "HASH_ASC" + }, + { + "description": "", + "name": "NONCE_DESC" + }, + { + "description": "", + "name": "TO_ASC" + }, + { + "description": "", + "name": "BLOCKSTATEHASH_ASC" + }, + { + "description": "", + "name": "FEE_ASC" + }, + { + "description": "", + "name": "KIND_DESC" + }, + { + "description": "", + "name": "NONCE_ASC" + }, + { + "description": "", + "name": "ID_ASC" + }, + { + "description": "", + "name": "FEE_DESC" + }, + { + "description": "", + "name": "FEETOKEN_DESC" + }, + { + "description": "", + "name": "TO_DESC" + }, + { + "description": "", + "name": "TOKEN_DESC" + }, + { + "description": "", + "name": "FAILUREREASON_ASC" + }, + { + "description": "", + "name": "FROM_ASC" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "TransactionSortByInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainState_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "consensusState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "consensusState_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "creatorAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkJobs_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobQueryInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creatorAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "winnerAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "protocolState_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "transactions_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkJobs_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "transactions", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "winnerAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_gte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "protocolState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkJobs_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobQueryInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkJobs", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobQueryInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "chainId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "delegationTotals", + "type": { + "kind": "OBJECT", + "name": "DelegationTotal", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "epoch", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "permissions", + "type": { + "kind": "OBJECT", + "name": "StakePermission", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "pk", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "public_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "receipt_chain_hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "timing", + "type": { + "kind": "OBJECT", + "name": "StakeTiming", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "voting_for", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Stake", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "liquid", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "ofType": null + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "date_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "block", + "type": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "prover", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "workIds", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Snark", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "feePayer", + "type": { + "kind": "OBJECT", + "name": "BlockTransactionUserCommandFeePayer", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "fromAccount", + "type": { + "kind": "OBJECT", + "name": "BlockTransactionUserCommandFromAccount", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "receiver", + "type": { + "kind": "OBJECT", + "name": "BlockTransactionUserCommandReceiver", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "source", + "type": { + "kind": "OBJECT", + "name": "BlockTransactionUserCommandSource", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "toAccount", + "type": { + "kind": "OBJECT", + "name": "BlockTransactionUserCommandToAccount", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommand", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "set_verification_key_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_verification_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakePermissionUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "permissions", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakePermissionInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timing", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakeTimingInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "NextstakeInsertInput", + "possibleTypes": null + }, + { + "description": "An enum describing what kind of type a given `__Type` is", + "enumValues": [ + { + "description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.", + "name": "INTERFACE" + }, + { + "description": "Indicates this type is a union. `possibleTypes` is a valid field.", + "name": "UNION" + }, + { + "description": "Indicates this type is an enum. `enumValues` is a valid field.", + "name": "ENUM" + }, + { + "description": "Indicates this type is an input object. `inputFields` is a valid field.", + "name": "INPUT_OBJECT" + }, + { + "description": "Indicates this type is a list. `ofType` is a valid field.", + "name": "LIST" + }, + { + "description": "Indicates this type is a non-null. `ofType` is a valid field.", + "name": "NON_NULL" + }, + { + "description": "Indicates this type is a scalar.", + "name": "SCALAR" + }, + { + "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", + "name": "OBJECT" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "__TypeKind", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "recipient", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "type", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "create", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "link", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "PayoutPaymentHashRelationInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hasAncestorInSameCheckpointWindow", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nextEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingEpochData_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hasAncestorInSameCheckpointWindow_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nextEpochData_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "fee_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "possibleTypes": null + }, + { + "description": "The `Long` scalar type represents non-fractional signed whole numeric values in string format to prevent lossy conversions", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "Long", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "vesting_increment", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "NextstakeTimingUpdateInput", + "possibleTypes": null + } + ] + } + } +} \ No newline at end of file diff --git a/mina_schemas/mina_explorer_schema.py b/mina_schemas/mina_explorer_schema.py new file mode 100644 index 0000000..2f4fd37 --- /dev/null +++ b/mina_schemas/mina_explorer_schema.py @@ -0,0 +1,3514 @@ +import sgqlc.types +import sgqlc.types.datetime + + +mina_explorer_schema = sgqlc.types.Schema() + + + +######################################################################## +# Scalars and Enumerations +######################################################################## +class BlockSortByInput(sgqlc.types.Enum): + __schema__ = mina_explorer_schema + __choices__ = ('BLOCKHEIGHT_ASC', 'BLOCKHEIGHT_DESC', 'CREATOR_ASC', 'CREATOR_DESC', 'DATETIME_ASC', 'DATETIME_DESC', 'RECEIVEDTIME_ASC', 'RECEIVEDTIME_DESC', 'STATEHASHFIELD_ASC', 'STATEHASHFIELD_DESC', 'STATEHASH_ASC', 'STATEHASH_DESC') + + +Boolean = sgqlc.types.Boolean + +DateTime = sgqlc.types.datetime.DateTime + +Float = sgqlc.types.Float + +Int = sgqlc.types.Int + +class Long(sgqlc.types.Scalar): + __schema__ = mina_explorer_schema + + +class NextstakeSortByInput(sgqlc.types.Enum): + __schema__ = mina_explorer_schema + __choices__ = ('BALANCE_ASC', 'BALANCE_DESC', 'DELEGATE_ASC', 'DELEGATE_DESC', 'LEDGERHASH_ASC', 'LEDGERHASH_DESC', 'NONCE_ASC', 'NONCE_DESC', 'PK_ASC', 'PK_DESC', 'PUBLIC_KEY_ASC', 'PUBLIC_KEY_DESC', 'RECEIPT_CHAIN_HASH_ASC', 'RECEIPT_CHAIN_HASH_DESC', 'TOKEN_ASC', 'TOKEN_DESC', 'VOTING_FOR_ASC', 'VOTING_FOR_DESC') + + +class ObjectId(sgqlc.types.Scalar): + __schema__ = mina_explorer_schema + + +class PayoutSortByInput(sgqlc.types.Enum): + __schema__ = mina_explorer_schema + __choices__ = ('BLOCKHEIGHT_ASC', 'BLOCKHEIGHT_DESC', 'COINBASE_ASC', 'COINBASE_DESC', 'DATETIME_ASC', 'DATETIME_DESC', 'EFFECTIVEPOOLSTAKES_ASC', 'EFFECTIVEPOOLSTAKES_DESC', 'EFFECTIVEPOOLWEIGHTING_ASC', 'EFFECTIVEPOOLWEIGHTING_DESC', 'LEDGERHASH_ASC', 'LEDGERHASH_DESC', 'PAYMENTHASH_ASC', 'PAYMENTHASH_DESC', 'PAYMENTID_ASC', 'PAYMENTID_DESC', 'PAYOUT_ASC', 'PAYOUT_DESC', 'PUBLICKEY_ASC', 'PUBLICKEY_DESC', 'STAKINGBALANCE_ASC', 'STAKINGBALANCE_DESC', 'STATEHASH_ASC', 'STATEHASH_DESC', 'SUMEFFECTIVEPOOLSTAKES_ASC', 'SUMEFFECTIVEPOOLSTAKES_DESC', 'SUPERCHARGEDCONTRIBUTION_ASC', 'SUPERCHARGEDCONTRIBUTION_DESC', 'SUPERCHARGEDWEIGHTING_ASC', 'SUPERCHARGEDWEIGHTING_DESC', 'TOTALPOOLSTAKES_ASC', 'TOTALPOOLSTAKES_DESC', 'TOTALREWARDS_ASC', 'TOTALREWARDS_DESC') + + +class SnarkSortByInput(sgqlc.types.Enum): + __schema__ = mina_explorer_schema + __choices__ = ('BLOCKHEIGHT_ASC', 'BLOCKHEIGHT_DESC', 'BLOCKSTATEHASH_ASC', 'BLOCKSTATEHASH_DESC', 'DATETIME_ASC', 'DATETIME_DESC', 'FEE_ASC', 'FEE_DESC', 'PROVER_ASC', 'PROVER_DESC') + + +class StakeSortByInput(sgqlc.types.Enum): + __schema__ = mina_explorer_schema + __choices__ = ('BALANCE_ASC', 'BALANCE_DESC', 'CHAINID_ASC', 'CHAINID_DESC', 'DELEGATE_ASC', 'DELEGATE_DESC', 'EPOCH_ASC', 'EPOCH_DESC', 'LEDGERHASH_ASC', 'LEDGERHASH_DESC', 'NONCE_ASC', 'NONCE_DESC', 'PK_ASC', 'PK_DESC', 'PUBLIC_KEY_ASC', 'PUBLIC_KEY_DESC', 'RECEIPT_CHAIN_HASH_ASC', 'RECEIPT_CHAIN_HASH_DESC', 'TOKEN_ASC', 'TOKEN_DESC', 'VOTING_FOR_ASC', 'VOTING_FOR_DESC') + + +String = sgqlc.types.String + +class TransactionSortByInput(sgqlc.types.Enum): + __schema__ = mina_explorer_schema + __choices__ = ('AMOUNT_ASC', 'AMOUNT_DESC', 'BLOCKHEIGHT_ASC', 'BLOCKHEIGHT_DESC', 'BLOCKSTATEHASH_ASC', 'BLOCKSTATEHASH_DESC', 'DATETIME_ASC', 'DATETIME_DESC', 'FAILUREREASON_ASC', 'FAILUREREASON_DESC', 'FEETOKEN_ASC', 'FEETOKEN_DESC', 'FEE_ASC', 'FEE_DESC', 'FROM_ASC', 'FROM_DESC', 'HASH_ASC', 'HASH_DESC', 'ID_ASC', 'ID_DESC', 'KIND_ASC', 'KIND_DESC', 'MEMO_ASC', 'MEMO_DESC', 'NONCE_ASC', 'NONCE_DESC', 'TOKEN_ASC', 'TOKEN_DESC', 'TO_ASC', 'TO_DESC') + + + +######################################################################## +# Input Objects +######################################################################## +class BlockCreatorAccountInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class BlockCreatorAccountQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('or_', 'public_key_in', 'public_key_gt', 'public_key', 'public_key_lt', 'public_key_lte', 'and_', 'public_key_exists', 'public_key_nin', 'public_key_ne', 'public_key_gte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockCreatorAccountQueryInput')), graphql_name='OR') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockCreatorAccountQueryInput')), graphql_name='AND') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_nin') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + + +class BlockCreatorAccountUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key', 'public_key_unset') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_unset = sgqlc.types.Field(Boolean, graphql_name='publicKey_unset') + + +class BlockInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('state_hash_field', 'transactions', 'received_time', 'date_time', 'snark_jobs', 'canonical', 'winner_account', 'protocol_state', 'creator', 'creator_account', 'state_hash', 'block_height') + state_hash_field = sgqlc.types.Field(String, graphql_name='stateHashField') + transactions = sgqlc.types.Field('BlockTransactionInsertInput', graphql_name='transactions') + received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + snark_jobs = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobInsertInput'), graphql_name='snarkJobs') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + winner_account = sgqlc.types.Field('BlockWinnerAccountInsertInput', graphql_name='winnerAccount') + protocol_state = sgqlc.types.Field('BlockProtocolStateInsertInput', graphql_name='protocolState') + creator = sgqlc.types.Field(String, graphql_name='creator') + creator_account = sgqlc.types.Field(BlockCreatorAccountInsertInput, graphql_name='creatorAccount') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + + +class BlockProtocolStateBlockchainStateInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('date', 'snarked_ledger_hash', 'staged_ledger_hash', 'utc_date') + date = sgqlc.types.Field(Long, graphql_name='date') + snarked_ledger_hash = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash') + staged_ledger_hash = sgqlc.types.Field(String, graphql_name='stagedLedgerHash') + utc_date = sgqlc.types.Field(Long, graphql_name='utcDate') + + +class BlockProtocolStateBlockchainStateQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('date_lte', 'utc_date_lt', 'utc_date_in', 'and_', 'snarked_ledger_hash_lte', 'staged_ledger_hash_lt', 'utc_date_ne', 'utc_date_gt', 'snarked_ledger_hash_in', 'staged_ledger_hash_nin', 'staged_ledger_hash_gt', 'utc_date', 'snarked_ledger_hash_nin', 'or_', 'snarked_ledger_hash_gt', 'snarked_ledger_hash', 'staged_ledger_hash_exists', 'utc_date_exists', 'date', 'snarked_ledger_hash_exists', 'date_nin', 'snarked_ledger_hash_gte', 'snarked_ledger_hash_lt', 'staged_ledger_hash', 'staged_ledger_hash_gte', 'date_gt', 'date_in', 'staged_ledger_hash_lte', 'date_gte', 'staged_ledger_hash_ne', 'utc_date_nin', 'date_ne', 'utc_date_lte', 'staged_ledger_hash_in', 'date_exists', 'snarked_ledger_hash_ne', 'utc_date_gte', 'date_lt') + date_lte = sgqlc.types.Field(Long, graphql_name='date_lte') + utc_date_lt = sgqlc.types.Field(Long, graphql_name='utcDate_lt') + utc_date_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='utcDate_in') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateBlockchainStateQueryInput')), graphql_name='AND') + snarked_ledger_hash_lte = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_lte') + staged_ledger_hash_lt = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_lt') + utc_date_ne = sgqlc.types.Field(Long, graphql_name='utcDate_ne') + utc_date_gt = sgqlc.types.Field(Long, graphql_name='utcDate_gt') + snarked_ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='snarkedLedgerHash_in') + staged_ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stagedLedgerHash_nin') + staged_ledger_hash_gt = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_gt') + utc_date = sgqlc.types.Field(Long, graphql_name='utcDate') + snarked_ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='snarkedLedgerHash_nin') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateBlockchainStateQueryInput')), graphql_name='OR') + snarked_ledger_hash_gt = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_gt') + snarked_ledger_hash = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash') + staged_ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stagedLedgerHash_exists') + utc_date_exists = sgqlc.types.Field(Boolean, graphql_name='utcDate_exists') + date = sgqlc.types.Field(Long, graphql_name='date') + snarked_ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='snarkedLedgerHash_exists') + date_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='date_nin') + snarked_ledger_hash_gte = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_gte') + snarked_ledger_hash_lt = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_lt') + staged_ledger_hash = sgqlc.types.Field(String, graphql_name='stagedLedgerHash') + staged_ledger_hash_gte = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_gte') + date_gt = sgqlc.types.Field(Long, graphql_name='date_gt') + date_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='date_in') + staged_ledger_hash_lte = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_lte') + date_gte = sgqlc.types.Field(Long, graphql_name='date_gte') + staged_ledger_hash_ne = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_ne') + utc_date_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='utcDate_nin') + date_ne = sgqlc.types.Field(Long, graphql_name='date_ne') + utc_date_lte = sgqlc.types.Field(Long, graphql_name='utcDate_lte') + staged_ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stagedLedgerHash_in') + date_exists = sgqlc.types.Field(Boolean, graphql_name='date_exists') + snarked_ledger_hash_ne = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_ne') + utc_date_gte = sgqlc.types.Field(Long, graphql_name='utcDate_gte') + date_lt = sgqlc.types.Field(Long, graphql_name='date_lt') + + +class BlockProtocolStateBlockchainStateUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('staged_ledger_hash', 'staged_ledger_hash_unset', 'utc_date', 'utc_date_unset', 'date', 'date_unset', 'snarked_ledger_hash', 'snarked_ledger_hash_unset') + staged_ledger_hash = sgqlc.types.Field(String, graphql_name='stagedLedgerHash') + staged_ledger_hash_unset = sgqlc.types.Field(Boolean, graphql_name='stagedLedgerHash_unset') + utc_date = sgqlc.types.Field(Long, graphql_name='utcDate') + utc_date_unset = sgqlc.types.Field(Boolean, graphql_name='utcDate_unset') + date = sgqlc.types.Field(Long, graphql_name='date') + date_unset = sgqlc.types.Field(Boolean, graphql_name='date_unset') + snarked_ledger_hash = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash') + snarked_ledger_hash_unset = sgqlc.types.Field(Boolean, graphql_name='snarkedLedgerHash_unset') + + +class BlockProtocolStateConsensusStateInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('total_currency', 'last_vrf_output', 'epoch_count', 'staking_epoch_data', 'block_height', 'blockchain_length', 'epoch', 'slot', 'slot_since_genesis', 'min_window_density', 'next_epoch_data', 'has_ancestor_in_same_checkpoint_window') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') + epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') + staking_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateStakingEpochDatumInsertInput', graphql_name='stakingEpochData') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + slot = sgqlc.types.Field(Int, graphql_name='slot') + slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') + min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') + next_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateNextEpochDatumInsertInput', graphql_name='nextEpochData') + has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') + + +class BlockProtocolStateConsensusStateNextEpochDatumInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('start_checkpoint', 'epoch_length', 'ledger', 'lock_checkpoint', 'seed') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + ledger = sgqlc.types.Field('BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput', graphql_name='ledger') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + seed = sgqlc.types.Field(String, graphql_name='seed') + + +class BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('hash', 'total_currency') + hash = sgqlc.types.Field(String, graphql_name='hash') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + + +class BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('total_currency_in', 'total_currency_lte', 'total_currency', 'total_currency_lt', 'hash_lt', 'total_currency_gt', 'hash', 'hash_in', 'hash_gte', 'hash_ne', 'hash_exists', 'or_', 'total_currency_exists', 'hash_lte', 'and_', 'hash_nin', 'total_currency_gte', 'total_currency_nin', 'total_currency_ne', 'hash_gt') + total_currency_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_in') + total_currency_lte = sgqlc.types.Field(Float, graphql_name='totalCurrency_lte') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + total_currency_lt = sgqlc.types.Field(Float, graphql_name='totalCurrency_lt') + hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') + total_currency_gt = sgqlc.types.Field(Float, graphql_name='totalCurrency_gt') + hash = sgqlc.types.Field(String, graphql_name='hash') + hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') + hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') + hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') + hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput')), graphql_name='OR') + total_currency_exists = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_exists') + hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput')), graphql_name='AND') + hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') + total_currency_gte = sgqlc.types.Field(Float, graphql_name='totalCurrency_gte') + total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_nin') + total_currency_ne = sgqlc.types.Field(Float, graphql_name='totalCurrency_ne') + hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') + + +class BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('total_currency_inc', 'total_currency_unset', 'hash', 'hash_unset', 'total_currency') + total_currency_inc = sgqlc.types.Field(Float, graphql_name='totalCurrency_inc') + total_currency_unset = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_unset') + hash = sgqlc.types.Field(String, graphql_name='hash') + hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + + +class BlockProtocolStateConsensusStateNextEpochDatumQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('start_checkpoint_nin', 'and_', 'epoch_length_gt', 'start_checkpoint_gte', 'ledger', 'lock_checkpoint_in', 'start_checkpoint_lte', 'seed_gt', 'epoch_length_exists', 'start_checkpoint_ne', 'seed_exists', 'start_checkpoint_exists', 'epoch_length_lte', 'epoch_length_ne', 'start_checkpoint_lt', 'lock_checkpoint_ne', 'or_', 'lock_checkpoint_exists', 'seed_lt', 'ledger_exists', 'seed_nin', 'start_checkpoint', 'lock_checkpoint_lt', 'epoch_length_in', 'seed_gte', 'lock_checkpoint', 'seed_in', 'start_checkpoint_in', 'epoch_length_nin', 'seed_lte', 'lock_checkpoint_gt', 'epoch_length_gte', 'lock_checkpoint_gte', 'epoch_length_lt', 'seed_ne', 'start_checkpoint_gt', 'lock_checkpoint_lte', 'lock_checkpoint_nin', 'seed', 'epoch_length') + start_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_nin') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumQueryInput')), graphql_name='AND') + epoch_length_gt = sgqlc.types.Field(Int, graphql_name='epochLength_gt') + start_checkpoint_gte = sgqlc.types.Field(String, graphql_name='startCheckpoint_gte') + ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput, graphql_name='ledger') + lock_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_in') + start_checkpoint_lte = sgqlc.types.Field(String, graphql_name='startCheckpoint_lte') + seed_gt = sgqlc.types.Field(String, graphql_name='seed_gt') + epoch_length_exists = sgqlc.types.Field(Boolean, graphql_name='epochLength_exists') + start_checkpoint_ne = sgqlc.types.Field(String, graphql_name='startCheckpoint_ne') + seed_exists = sgqlc.types.Field(Boolean, graphql_name='seed_exists') + start_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_exists') + epoch_length_lte = sgqlc.types.Field(Int, graphql_name='epochLength_lte') + epoch_length_ne = sgqlc.types.Field(Int, graphql_name='epochLength_ne') + start_checkpoint_lt = sgqlc.types.Field(String, graphql_name='startCheckpoint_lt') + lock_checkpoint_ne = sgqlc.types.Field(String, graphql_name='lockCheckpoint_ne') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumQueryInput')), graphql_name='OR') + lock_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_exists') + seed_lt = sgqlc.types.Field(String, graphql_name='seed_lt') + ledger_exists = sgqlc.types.Field(Boolean, graphql_name='ledger_exists') + seed_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_nin') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + lock_checkpoint_lt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lt') + epoch_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_in') + seed_gte = sgqlc.types.Field(String, graphql_name='seed_gte') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + seed_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_in') + start_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_in') + epoch_length_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_nin') + seed_lte = sgqlc.types.Field(String, graphql_name='seed_lte') + lock_checkpoint_gt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gt') + epoch_length_gte = sgqlc.types.Field(Int, graphql_name='epochLength_gte') + lock_checkpoint_gte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gte') + epoch_length_lt = sgqlc.types.Field(Int, graphql_name='epochLength_lt') + seed_ne = sgqlc.types.Field(String, graphql_name='seed_ne') + start_checkpoint_gt = sgqlc.types.Field(String, graphql_name='startCheckpoint_gt') + lock_checkpoint_lte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lte') + lock_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_nin') + seed = sgqlc.types.Field(String, graphql_name='seed') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + + +class BlockProtocolStateConsensusStateNextEpochDatumUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('lock_checkpoint_unset', 'seed', 'start_checkpoint_unset', 'lock_checkpoint', 'ledger_unset', 'epoch_length_unset', 'ledger', 'start_checkpoint', 'epoch_length_inc', 'seed_unset', 'epoch_length') + lock_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_unset') + seed = sgqlc.types.Field(String, graphql_name='seed') + start_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_unset') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + ledger_unset = sgqlc.types.Field(Boolean, graphql_name='ledger_unset') + epoch_length_unset = sgqlc.types.Field(Boolean, graphql_name='epochLength_unset') + ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput, graphql_name='ledger') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + epoch_length_inc = sgqlc.types.Field(Int, graphql_name='epochLength_inc') + seed_unset = sgqlc.types.Field(Boolean, graphql_name='seed_unset') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + + +class BlockProtocolStateConsensusStateQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('last_vrf_output_gt', 'blockchain_length_gt', 'total_currency_gt', 'block_height_nin', 'blockchain_length_nin', 'epoch_count_gte', 'epoch_lte', 'next_epoch_data_exists', 'slot_since_genesis_exists', 'epoch_count', 'total_currency_ne', 'slot_since_genesis_ne', 'total_currency_exists', 'blockchain_length', 'has_ancestor_in_same_checkpoint_window_exists', 'last_vrf_output_gte', 'epoch_gt', 'epoch_in', 'slot_since_genesis_lt', 'has_ancestor_in_same_checkpoint_window_ne', 'block_height_gte', 'slot_since_genesis_gte', 'blockchain_length_gte', 'epoch_count_exists', 'last_vrf_output_lte', 'min_window_density_exists', 'slot_since_genesis_gt', 'min_window_density_lt', 'min_window_density_in', 'total_currency_in', 'slot_gte', 'epoch_exists', 'total_currency_lt', 'staking_epoch_data_exists', 'total_currency_gte', 'slot_lt', 'min_window_density_lte', 'block_height_gt', 'epoch_count_in', 'min_window_density_nin', 'block_height_lt', 'last_vrf_output_nin', 'min_window_density_gte', 'total_currency_lte', 'has_ancestor_in_same_checkpoint_window', 'slot_since_genesis', 'epoch_ne', 'slot_since_genesis_in', 'total_currency_nin', 'staking_epoch_data', 'epoch_count_gt', 'block_height_ne', 'slot_since_genesis_nin', 'min_window_density_gt', 'slot_lte', 'min_window_density', 'last_vrf_output_lt', 'block_height', 'blockchain_length_lt', 'epoch', 'next_epoch_data', 'block_height_in', 'last_vrf_output_ne', 'block_height_lte', 'slot_nin', 'blockchain_length_in', 'or_', 'blockchain_length_lte', 'last_vrf_output', 'epoch_count_ne', 'min_window_density_ne', 'blockchain_length_ne', 'slot_since_genesis_lte', 'epoch_nin', 'slot_in', 'last_vrf_output_in', 'epoch_lt', 'slot_exists', 'slot', 'epoch_gte', 'and_', 'epoch_count_nin', 'slot_gt', 'total_currency', 'slot_ne', 'epoch_count_lte', 'last_vrf_output_exists', 'blockchain_length_exists', 'block_height_exists', 'epoch_count_lt') + last_vrf_output_gt = sgqlc.types.Field(String, graphql_name='lastVrfOutput_gt') + blockchain_length_gt = sgqlc.types.Field(Int, graphql_name='blockchainLength_gt') + total_currency_gt = sgqlc.types.Field(Float, graphql_name='totalCurrency_gt') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + blockchain_length_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockchainLength_nin') + epoch_count_gte = sgqlc.types.Field(Int, graphql_name='epochCount_gte') + epoch_lte = sgqlc.types.Field(Int, graphql_name='epoch_lte') + next_epoch_data_exists = sgqlc.types.Field(Boolean, graphql_name='nextEpochData_exists') + slot_since_genesis_exists = sgqlc.types.Field(Boolean, graphql_name='slotSinceGenesis_exists') + epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') + total_currency_ne = sgqlc.types.Field(Float, graphql_name='totalCurrency_ne') + slot_since_genesis_ne = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_ne') + total_currency_exists = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_exists') + blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') + has_ancestor_in_same_checkpoint_window_exists = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_exists') + last_vrf_output_gte = sgqlc.types.Field(String, graphql_name='lastVrfOutput_gte') + epoch_gt = sgqlc.types.Field(Int, graphql_name='epoch_gt') + epoch_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_in') + slot_since_genesis_lt = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_lt') + has_ancestor_in_same_checkpoint_window_ne = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_ne') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + slot_since_genesis_gte = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_gte') + blockchain_length_gte = sgqlc.types.Field(Int, graphql_name='blockchainLength_gte') + epoch_count_exists = sgqlc.types.Field(Boolean, graphql_name='epochCount_exists') + last_vrf_output_lte = sgqlc.types.Field(String, graphql_name='lastVrfOutput_lte') + min_window_density_exists = sgqlc.types.Field(Boolean, graphql_name='minWindowDensity_exists') + slot_since_genesis_gt = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_gt') + min_window_density_lt = sgqlc.types.Field(Int, graphql_name='minWindowDensity_lt') + min_window_density_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='minWindowDensity_in') + total_currency_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_in') + slot_gte = sgqlc.types.Field(Int, graphql_name='slot_gte') + epoch_exists = sgqlc.types.Field(Boolean, graphql_name='epoch_exists') + total_currency_lt = sgqlc.types.Field(Float, graphql_name='totalCurrency_lt') + staking_epoch_data_exists = sgqlc.types.Field(Boolean, graphql_name='stakingEpochData_exists') + total_currency_gte = sgqlc.types.Field(Float, graphql_name='totalCurrency_gte') + slot_lt = sgqlc.types.Field(Int, graphql_name='slot_lt') + min_window_density_lte = sgqlc.types.Field(Int, graphql_name='minWindowDensity_lte') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + epoch_count_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochCount_in') + min_window_density_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='minWindowDensity_nin') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + last_vrf_output_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lastVrfOutput_nin') + min_window_density_gte = sgqlc.types.Field(Int, graphql_name='minWindowDensity_gte') + total_currency_lte = sgqlc.types.Field(Float, graphql_name='totalCurrency_lte') + has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') + slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') + epoch_ne = sgqlc.types.Field(Int, graphql_name='epoch_ne') + slot_since_genesis_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slotSinceGenesis_in') + total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_nin') + staking_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateStakingEpochDatumQueryInput', graphql_name='stakingEpochData') + epoch_count_gt = sgqlc.types.Field(Int, graphql_name='epochCount_gt') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + slot_since_genesis_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slotSinceGenesis_nin') + min_window_density_gt = sgqlc.types.Field(Int, graphql_name='minWindowDensity_gt') + slot_lte = sgqlc.types.Field(Int, graphql_name='slot_lte') + min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') + last_vrf_output_lt = sgqlc.types.Field(String, graphql_name='lastVrfOutput_lt') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + blockchain_length_lt = sgqlc.types.Field(Int, graphql_name='blockchainLength_lt') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + next_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumQueryInput, graphql_name='nextEpochData') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + last_vrf_output_ne = sgqlc.types.Field(String, graphql_name='lastVrfOutput_ne') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + slot_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slot_nin') + blockchain_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockchainLength_in') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateQueryInput')), graphql_name='OR') + blockchain_length_lte = sgqlc.types.Field(Int, graphql_name='blockchainLength_lte') + last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') + epoch_count_ne = sgqlc.types.Field(Int, graphql_name='epochCount_ne') + min_window_density_ne = sgqlc.types.Field(Int, graphql_name='minWindowDensity_ne') + blockchain_length_ne = sgqlc.types.Field(Int, graphql_name='blockchainLength_ne') + slot_since_genesis_lte = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_lte') + epoch_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_nin') + slot_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slot_in') + last_vrf_output_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lastVrfOutput_in') + epoch_lt = sgqlc.types.Field(Int, graphql_name='epoch_lt') + slot_exists = sgqlc.types.Field(Boolean, graphql_name='slot_exists') + slot = sgqlc.types.Field(Int, graphql_name='slot') + epoch_gte = sgqlc.types.Field(Int, graphql_name='epoch_gte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateQueryInput')), graphql_name='AND') + epoch_count_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochCount_nin') + slot_gt = sgqlc.types.Field(Int, graphql_name='slot_gt') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + slot_ne = sgqlc.types.Field(Int, graphql_name='slot_ne') + epoch_count_lte = sgqlc.types.Field(Int, graphql_name='epochCount_lte') + last_vrf_output_exists = sgqlc.types.Field(Boolean, graphql_name='lastVrfOutput_exists') + blockchain_length_exists = sgqlc.types.Field(Boolean, graphql_name='blockchainLength_exists') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + epoch_count_lt = sgqlc.types.Field(Int, graphql_name='epochCount_lt') + + +class BlockProtocolStateConsensusStateStakingEpochDatumInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('seed', 'start_checkpoint', 'epoch_length', 'ledger', 'lock_checkpoint') + seed = sgqlc.types.Field(String, graphql_name='seed') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + ledger = sgqlc.types.Field('BlockProtocolStateConsensusStateStakingEpochDatumLedgerInsertInput', graphql_name='ledger') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + + +class BlockProtocolStateConsensusStateStakingEpochDatumLedgerInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('hash', 'total_currency') + hash = sgqlc.types.Field(String, graphql_name='hash') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + + +class BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('total_currency_gt', 'hash_nin', 'hash_in', 'hash_gt', 'total_currency_ne', 'total_currency_nin', 'or_', 'hash_exists', 'total_currency_gte', 'hash_lte', 'hash', 'total_currency_lte', 'total_currency_lt', 'hash_ne', 'total_currency_exists', 'hash_gte', 'total_currency_in', 'hash_lt', 'total_currency', 'and_') + total_currency_gt = sgqlc.types.Field(Float, graphql_name='totalCurrency_gt') + hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') + hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') + hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') + total_currency_ne = sgqlc.types.Field(Float, graphql_name='totalCurrency_ne') + total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_nin') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput')), graphql_name='OR') + hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') + total_currency_gte = sgqlc.types.Field(Float, graphql_name='totalCurrency_gte') + hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') + hash = sgqlc.types.Field(String, graphql_name='hash') + total_currency_lte = sgqlc.types.Field(Float, graphql_name='totalCurrency_lte') + total_currency_lt = sgqlc.types.Field(Float, graphql_name='totalCurrency_lt') + hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') + total_currency_exists = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_exists') + hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') + total_currency_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_in') + hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput')), graphql_name='AND') + + +class BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('hash', 'hash_unset', 'total_currency', 'total_currency_unset', 'total_currency_inc') + hash = sgqlc.types.Field(String, graphql_name='hash') + hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + total_currency_unset = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_unset') + total_currency_inc = sgqlc.types.Field(Float, graphql_name='totalCurrency_inc') + + +class BlockProtocolStateConsensusStateStakingEpochDatumQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('lock_checkpoint_exists', 'lock_checkpoint_ne', 'seed_in', 'seed_nin', 'start_checkpoint_exists', 'seed_ne', 'lock_checkpoint_gte', 'epoch_length', 'start_checkpoint_lt', 'lock_checkpoint_lte', 'lock_checkpoint', 'ledger', 'seed_gte', 'lock_checkpoint_gt', 'epoch_length_gt', 'seed_lte', 'start_checkpoint_nin', 'epoch_length_lte', 'or_', 'seed', 'start_checkpoint_gte', 'epoch_length_lt', 'epoch_length_exists', 'ledger_exists', 'lock_checkpoint_in', 'lock_checkpoint_lt', 'epoch_length_gte', 'epoch_length_in', 'start_checkpoint_lte', 'seed_gt', 'start_checkpoint_in', 'epoch_length_ne', 'start_checkpoint_ne', 'start_checkpoint_gt', 'seed_lt', 'epoch_length_nin', 'start_checkpoint', 'and_', 'lock_checkpoint_nin', 'seed_exists') + lock_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_exists') + lock_checkpoint_ne = sgqlc.types.Field(String, graphql_name='lockCheckpoint_ne') + seed_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_in') + seed_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_nin') + start_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_exists') + seed_ne = sgqlc.types.Field(String, graphql_name='seed_ne') + lock_checkpoint_gte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gte') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + start_checkpoint_lt = sgqlc.types.Field(String, graphql_name='startCheckpoint_lt') + lock_checkpoint_lte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lte') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput, graphql_name='ledger') + seed_gte = sgqlc.types.Field(String, graphql_name='seed_gte') + lock_checkpoint_gt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gt') + epoch_length_gt = sgqlc.types.Field(Int, graphql_name='epochLength_gt') + seed_lte = sgqlc.types.Field(String, graphql_name='seed_lte') + start_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_nin') + epoch_length_lte = sgqlc.types.Field(Int, graphql_name='epochLength_lte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumQueryInput')), graphql_name='OR') + seed = sgqlc.types.Field(String, graphql_name='seed') + start_checkpoint_gte = sgqlc.types.Field(String, graphql_name='startCheckpoint_gte') + epoch_length_lt = sgqlc.types.Field(Int, graphql_name='epochLength_lt') + epoch_length_exists = sgqlc.types.Field(Boolean, graphql_name='epochLength_exists') + ledger_exists = sgqlc.types.Field(Boolean, graphql_name='ledger_exists') + lock_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_in') + lock_checkpoint_lt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lt') + epoch_length_gte = sgqlc.types.Field(Int, graphql_name='epochLength_gte') + epoch_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_in') + start_checkpoint_lte = sgqlc.types.Field(String, graphql_name='startCheckpoint_lte') + seed_gt = sgqlc.types.Field(String, graphql_name='seed_gt') + start_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_in') + epoch_length_ne = sgqlc.types.Field(Int, graphql_name='epochLength_ne') + start_checkpoint_ne = sgqlc.types.Field(String, graphql_name='startCheckpoint_ne') + start_checkpoint_gt = sgqlc.types.Field(String, graphql_name='startCheckpoint_gt') + seed_lt = sgqlc.types.Field(String, graphql_name='seed_lt') + epoch_length_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_nin') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumQueryInput')), graphql_name='AND') + lock_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_nin') + seed_exists = sgqlc.types.Field(Boolean, graphql_name='seed_exists') + + +class BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('epoch_length_unset', 'lock_checkpoint', 'epoch_length_inc', 'seed_unset', 'ledger', 'ledger_unset', 'lock_checkpoint_unset', 'seed', 'start_checkpoint', 'epoch_length', 'start_checkpoint_unset') + epoch_length_unset = sgqlc.types.Field(Boolean, graphql_name='epochLength_unset') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + epoch_length_inc = sgqlc.types.Field(Int, graphql_name='epochLength_inc') + seed_unset = sgqlc.types.Field(Boolean, graphql_name='seed_unset') + ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput, graphql_name='ledger') + ledger_unset = sgqlc.types.Field(Boolean, graphql_name='ledger_unset') + lock_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_unset') + seed = sgqlc.types.Field(String, graphql_name='seed') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + start_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_unset') + + +class BlockProtocolStateConsensusStateUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('total_currency_inc', 'total_currency_unset', 'slot_unset', 'has_ancestor_in_same_checkpoint_window', 'total_currency', 'epoch', 'slot_inc', 'next_epoch_data', 'staking_epoch_data', 'blockchain_length_inc', 'block_height_inc', 'epoch_count', 'epoch_count_inc', 'slot_since_genesis', 'last_vrf_output_unset', 'last_vrf_output', 'min_window_density_inc', 'epoch_count_unset', 'epoch_unset', 'slot_since_genesis_unset', 'staking_epoch_data_unset', 'has_ancestor_in_same_checkpoint_window_unset', 'blockchain_length', 'block_height_unset', 'min_window_density_unset', 'next_epoch_data_unset', 'epoch_inc', 'min_window_density', 'slot', 'slot_since_genesis_inc', 'blockchain_length_unset', 'block_height') + total_currency_inc = sgqlc.types.Field(Float, graphql_name='totalCurrency_inc') + total_currency_unset = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_unset') + slot_unset = sgqlc.types.Field(Boolean, graphql_name='slot_unset') + has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + slot_inc = sgqlc.types.Field(Int, graphql_name='slot_inc') + next_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumUpdateInput, graphql_name='nextEpochData') + staking_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput, graphql_name='stakingEpochData') + blockchain_length_inc = sgqlc.types.Field(Int, graphql_name='blockchainLength_inc') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') + epoch_count_inc = sgqlc.types.Field(Int, graphql_name='epochCount_inc') + slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') + last_vrf_output_unset = sgqlc.types.Field(Boolean, graphql_name='lastVrfOutput_unset') + last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') + min_window_density_inc = sgqlc.types.Field(Int, graphql_name='minWindowDensity_inc') + epoch_count_unset = sgqlc.types.Field(Boolean, graphql_name='epochCount_unset') + epoch_unset = sgqlc.types.Field(Boolean, graphql_name='epoch_unset') + slot_since_genesis_unset = sgqlc.types.Field(Boolean, graphql_name='slotSinceGenesis_unset') + staking_epoch_data_unset = sgqlc.types.Field(Boolean, graphql_name='stakingEpochData_unset') + has_ancestor_in_same_checkpoint_window_unset = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_unset') + blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + min_window_density_unset = sgqlc.types.Field(Boolean, graphql_name='minWindowDensity_unset') + next_epoch_data_unset = sgqlc.types.Field(Boolean, graphql_name='nextEpochData_unset') + epoch_inc = sgqlc.types.Field(Int, graphql_name='epoch_inc') + min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') + slot = sgqlc.types.Field(Int, graphql_name='slot') + slot_since_genesis_inc = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_inc') + blockchain_length_unset = sgqlc.types.Field(Boolean, graphql_name='blockchainLength_unset') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + + +class BlockProtocolStateInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('consensus_state', 'previous_state_hash', 'blockchain_state') + consensus_state = sgqlc.types.Field(BlockProtocolStateConsensusStateInsertInput, graphql_name='consensusState') + previous_state_hash = sgqlc.types.Field(String, graphql_name='previousStateHash') + blockchain_state = sgqlc.types.Field(BlockProtocolStateBlockchainStateInsertInput, graphql_name='blockchainState') + + +class BlockProtocolStateQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('and_', 'blockchain_state_exists', 'previous_state_hash_ne', 'blockchain_state', 'previous_state_hash_lt', 'consensus_state_exists', 'previous_state_hash_gt', 'previous_state_hash_lte', 'previous_state_hash_in', 'previous_state_hash_nin', 'consensus_state', 'previous_state_hash', 'previous_state_hash_exists', 'previous_state_hash_gte', 'or_') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateQueryInput')), graphql_name='AND') + blockchain_state_exists = sgqlc.types.Field(Boolean, graphql_name='blockchainState_exists') + previous_state_hash_ne = sgqlc.types.Field(String, graphql_name='previousStateHash_ne') + blockchain_state = sgqlc.types.Field(BlockProtocolStateBlockchainStateQueryInput, graphql_name='blockchainState') + previous_state_hash_lt = sgqlc.types.Field(String, graphql_name='previousStateHash_lt') + consensus_state_exists = sgqlc.types.Field(Boolean, graphql_name='consensusState_exists') + previous_state_hash_gt = sgqlc.types.Field(String, graphql_name='previousStateHash_gt') + previous_state_hash_lte = sgqlc.types.Field(String, graphql_name='previousStateHash_lte') + previous_state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='previousStateHash_in') + previous_state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='previousStateHash_nin') + consensus_state = sgqlc.types.Field(BlockProtocolStateConsensusStateQueryInput, graphql_name='consensusState') + previous_state_hash = sgqlc.types.Field(String, graphql_name='previousStateHash') + previous_state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='previousStateHash_exists') + previous_state_hash_gte = sgqlc.types.Field(String, graphql_name='previousStateHash_gte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateQueryInput')), graphql_name='OR') + + +class BlockProtocolStateUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('previous_state_hash_unset', 'blockchain_state', 'blockchain_state_unset', 'consensus_state', 'consensus_state_unset', 'previous_state_hash') + previous_state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='previousStateHash_unset') + blockchain_state = sgqlc.types.Field(BlockProtocolStateBlockchainStateUpdateInput, graphql_name='blockchainState') + blockchain_state_unset = sgqlc.types.Field(Boolean, graphql_name='blockchainState_unset') + consensus_state = sgqlc.types.Field(BlockProtocolStateConsensusStateUpdateInput, graphql_name='consensusState') + consensus_state_unset = sgqlc.types.Field(Boolean, graphql_name='consensusState_unset') + previous_state_hash = sgqlc.types.Field(String, graphql_name='previousStateHash') + + +class BlockQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('block_height_nin', 'creator_account', 'and_', 'date_time_lte', 'block_height_lt', 'state_hash_field_gt', 'creator_nin', 'block_height_lte', 'date_time_gt', 'snark_jobs_nin', 'received_time_ne', 'creator_account_exists', 'state_hash_lte', 'state_hash_ne', 'block_height_ne', 'winner_account', 'block_height', 'state_hash_gte', 'state_hash_field_exists', 'state_hash_lt', 'state_hash_gt', 'state_hash', 'protocol_state_exists', 'received_time', 'transactions_exists', 'date_time_exists', 'creator_in', 'creator_exists', 'creator', 'snark_jobs_exists', 'state_hash_field_ne', 'creator_gte', 'state_hash_field', 'state_hash_field_nin', 'date_time_gte', 'transactions', 'winner_account_exists', 'received_time_gte', 'date_time_in', 'block_height_gte', 'date_time', 'canonical', 'state_hash_field_in', 'protocol_state', 'received_time_exists', 'received_time_lt', 'date_time_ne', 'block_height_gt', 'state_hash_in', 'canonical_exists', 'state_hash_exists', 'creator_lte', 'state_hash_field_gte', 'received_time_in', 'creator_ne', 'block_height_in', 'received_time_gt', 'canonical_ne', 'received_time_nin', 'snark_jobs_in', 'state_hash_field_lt', 'date_time_lt', 'creator_lt', 'or_', 'creator_gt', 'received_time_lte', 'snark_jobs', 'state_hash_field_lte', 'state_hash_nin', 'date_time_nin', 'block_height_exists') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + creator_account = sgqlc.types.Field(BlockCreatorAccountQueryInput, graphql_name='creatorAccount') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockQueryInput')), graphql_name='AND') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + state_hash_field_gt = sgqlc.types.Field(String, graphql_name='stateHashField_gt') + creator_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='creator_nin') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + snark_jobs_nin = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs_nin') + received_time_ne = sgqlc.types.Field(DateTime, graphql_name='receivedTime_ne') + creator_account_exists = sgqlc.types.Field(Boolean, graphql_name='creatorAccount_exists') + state_hash_lte = sgqlc.types.Field(String, graphql_name='stateHash_lte') + state_hash_ne = sgqlc.types.Field(String, graphql_name='stateHash_ne') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + winner_account = sgqlc.types.Field('BlockWinnerAccountQueryInput', graphql_name='winnerAccount') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + state_hash_gte = sgqlc.types.Field(String, graphql_name='stateHash_gte') + state_hash_field_exists = sgqlc.types.Field(Boolean, graphql_name='stateHashField_exists') + state_hash_lt = sgqlc.types.Field(String, graphql_name='stateHash_lt') + state_hash_gt = sgqlc.types.Field(String, graphql_name='stateHash_gt') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + protocol_state_exists = sgqlc.types.Field(Boolean, graphql_name='protocolState_exists') + received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') + transactions_exists = sgqlc.types.Field(Boolean, graphql_name='transactions_exists') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + creator_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='creator_in') + creator_exists = sgqlc.types.Field(Boolean, graphql_name='creator_exists') + creator = sgqlc.types.Field(String, graphql_name='creator') + snark_jobs_exists = sgqlc.types.Field(Boolean, graphql_name='snarkJobs_exists') + state_hash_field_ne = sgqlc.types.Field(String, graphql_name='stateHashField_ne') + creator_gte = sgqlc.types.Field(String, graphql_name='creator_gte') + state_hash_field = sgqlc.types.Field(String, graphql_name='stateHashField') + state_hash_field_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHashField_nin') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + transactions = sgqlc.types.Field('BlockTransactionQueryInput', graphql_name='transactions') + winner_account_exists = sgqlc.types.Field(Boolean, graphql_name='winnerAccount_exists') + received_time_gte = sgqlc.types.Field(DateTime, graphql_name='receivedTime_gte') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + state_hash_field_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHashField_in') + protocol_state = sgqlc.types.Field(BlockProtocolStateQueryInput, graphql_name='protocolState') + received_time_exists = sgqlc.types.Field(Boolean, graphql_name='receivedTime_exists') + received_time_lt = sgqlc.types.Field(DateTime, graphql_name='receivedTime_lt') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_in') + canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') + state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stateHash_exists') + creator_lte = sgqlc.types.Field(String, graphql_name='creator_lte') + state_hash_field_gte = sgqlc.types.Field(String, graphql_name='stateHashField_gte') + received_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='receivedTime_in') + creator_ne = sgqlc.types.Field(String, graphql_name='creator_ne') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + received_time_gt = sgqlc.types.Field(DateTime, graphql_name='receivedTime_gt') + canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') + received_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='receivedTime_nin') + snark_jobs_in = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs_in') + state_hash_field_lt = sgqlc.types.Field(String, graphql_name='stateHashField_lt') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + creator_lt = sgqlc.types.Field(String, graphql_name='creator_lt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockQueryInput')), graphql_name='OR') + creator_gt = sgqlc.types.Field(String, graphql_name='creator_gt') + received_time_lte = sgqlc.types.Field(DateTime, graphql_name='receivedTime_lte') + snark_jobs = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs') + state_hash_field_lte = sgqlc.types.Field(String, graphql_name='stateHashField_lte') + state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_nin') + date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + + +class BlockSnarkJobInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('block_state_hash', 'date_time', 'fee', 'prover', 'work_ids', 'block_height') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + fee = sgqlc.types.Field(Int, graphql_name='fee') + prover = sgqlc.types.Field(String, graphql_name='prover') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + + +class BlockSnarkJobQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('block_height_ne', 'block_state_hash_lte', 'fee_nin', 'prover_ne', 'date_time_in', 'fee_ne', 'date_time_gt', 'block_height_lt', 'and_', 'block_height', 'date_time_lt', 'date_time_nin', 'block_state_hash_nin', 'date_time', 'or_', 'block_state_hash_lt', 'date_time_lte', 'fee_lte', 'fee_lt', 'block_state_hash_in', 'fee_in', 'prover_lt', 'block_state_hash_gte', 'block_state_hash_ne', 'block_height_gte', 'block_state_hash', 'prover_exists', 'date_time_ne', 'block_height_lte', 'block_state_hash_gt', 'fee_gt', 'block_height_exists', 'prover', 'work_ids', 'fee_gte', 'prover_nin', 'prover_in', 'block_state_hash_exists', 'prover_gte', 'fee_exists', 'date_time_gte', 'work_ids_nin', 'fee', 'block_height_nin', 'prover_gt', 'block_height_in', 'block_height_gt', 'work_ids_in', 'work_ids_exists', 'date_time_exists', 'prover_lte') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + block_state_hash_lte = sgqlc.types.Field(String, graphql_name='blockStateHash_lte') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_nin') + prover_ne = sgqlc.types.Field(String, graphql_name='prover_ne') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + fee_ne = sgqlc.types.Field(Int, graphql_name='fee_ne') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockSnarkJobQueryInput')), graphql_name='AND') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') + block_state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_nin') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockSnarkJobQueryInput')), graphql_name='OR') + block_state_hash_lt = sgqlc.types.Field(String, graphql_name='blockStateHash_lt') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + fee_lte = sgqlc.types.Field(Int, graphql_name='fee_lte') + fee_lt = sgqlc.types.Field(Int, graphql_name='fee_lt') + block_state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_in') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_in') + prover_lt = sgqlc.types.Field(String, graphql_name='prover_lt') + block_state_hash_gte = sgqlc.types.Field(String, graphql_name='blockStateHash_gte') + block_state_hash_ne = sgqlc.types.Field(String, graphql_name='blockStateHash_ne') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + prover_exists = sgqlc.types.Field(Boolean, graphql_name='prover_exists') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + block_state_hash_gt = sgqlc.types.Field(String, graphql_name='blockStateHash_gt') + fee_gt = sgqlc.types.Field(Int, graphql_name='fee_gt') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + prover = sgqlc.types.Field(String, graphql_name='prover') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + fee_gte = sgqlc.types.Field(Int, graphql_name='fee_gte') + prover_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_nin') + prover_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_in') + block_state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_exists') + prover_gte = sgqlc.types.Field(String, graphql_name='prover_gte') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + work_ids_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_nin') + fee = sgqlc.types.Field(Int, graphql_name='fee') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + prover_gt = sgqlc.types.Field(String, graphql_name='prover_gt') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + work_ids_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_in') + work_ids_exists = sgqlc.types.Field(Boolean, graphql_name='workIds_exists') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + prover_lte = sgqlc.types.Field(String, graphql_name='prover_lte') + + +class BlockSnarkJobUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('date_time_unset', 'work_ids', 'work_ids_unset', 'block_height_inc', 'block_height', 'fee_inc', 'fee_unset', 'block_state_hash', 'prover', 'fee', 'prover_unset', 'block_height_unset', 'date_time', 'block_state_hash_unset') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + work_ids_unset = sgqlc.types.Field(Boolean, graphql_name='workIds_unset') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + fee_inc = sgqlc.types.Field(Int, graphql_name='fee_inc') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + prover = sgqlc.types.Field(String, graphql_name='prover') + fee = sgqlc.types.Field(Int, graphql_name='fee') + prover_unset = sgqlc.types.Field(Boolean, graphql_name='prover_unset') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + block_state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_unset') + + +class BlockTransactionCoinbaseReceiverAccountInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class BlockTransactionCoinbaseReceiverAccountQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key_exists', 'or_', 'public_key', 'public_key_nin', 'public_key_ne', 'public_key_gte', 'public_key_lt', 'and_', 'public_key_in', 'public_key_gt', 'public_key_lte') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionCoinbaseReceiverAccountQueryInput')), graphql_name='OR') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_nin') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionCoinbaseReceiverAccountQueryInput')), graphql_name='AND') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + + +class BlockTransactionCoinbaseReceiverAccountUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key_unset', 'public_key') + public_key_unset = sgqlc.types.Field(Boolean, graphql_name='publicKey_unset') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class BlockTransactionFeeTransferInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('fee', 'recipient', 'type') + fee = sgqlc.types.Field(Long, graphql_name='fee') + recipient = sgqlc.types.Field(String, graphql_name='recipient') + type = sgqlc.types.Field(String, graphql_name='type') + + +class BlockTransactionFeeTransferQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('recipient', 'recipient_gte', 'recipient_in', 'type_lt', 'recipient_nin', 'type_gt', 'fee_in', 'recipient_lt', 'type_nin', 'fee', 'or_', 'type_ne', 'fee_lt', 'type', 'type_in', 'fee_ne', 'fee_nin', 'type_exists', 'and_', 'fee_exists', 'recipient_gt', 'fee_gte', 'recipient_ne', 'type_lte', 'recipient_lte', 'fee_gt', 'recipient_exists', 'type_gte', 'fee_lte') + recipient = sgqlc.types.Field(String, graphql_name='recipient') + recipient_gte = sgqlc.types.Field(String, graphql_name='recipient_gte') + recipient_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='recipient_in') + type_lt = sgqlc.types.Field(String, graphql_name='type_lt') + recipient_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='recipient_nin') + type_gt = sgqlc.types.Field(String, graphql_name='type_gt') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_in') + recipient_lt = sgqlc.types.Field(String, graphql_name='recipient_lt') + type_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='type_nin') + fee = sgqlc.types.Field(Long, graphql_name='fee') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionFeeTransferQueryInput')), graphql_name='OR') + type_ne = sgqlc.types.Field(String, graphql_name='type_ne') + fee_lt = sgqlc.types.Field(Long, graphql_name='fee_lt') + type = sgqlc.types.Field(String, graphql_name='type') + type_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='type_in') + fee_ne = sgqlc.types.Field(Long, graphql_name='fee_ne') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_nin') + type_exists = sgqlc.types.Field(Boolean, graphql_name='type_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionFeeTransferQueryInput')), graphql_name='AND') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + recipient_gt = sgqlc.types.Field(String, graphql_name='recipient_gt') + fee_gte = sgqlc.types.Field(Long, graphql_name='fee_gte') + recipient_ne = sgqlc.types.Field(String, graphql_name='recipient_ne') + type_lte = sgqlc.types.Field(String, graphql_name='type_lte') + recipient_lte = sgqlc.types.Field(String, graphql_name='recipient_lte') + fee_gt = sgqlc.types.Field(Long, graphql_name='fee_gt') + recipient_exists = sgqlc.types.Field(Boolean, graphql_name='recipient_exists') + type_gte = sgqlc.types.Field(String, graphql_name='type_gte') + fee_lte = sgqlc.types.Field(Long, graphql_name='fee_lte') + + +class BlockTransactionFeeTransferUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('recipient_unset', 'type', 'type_unset', 'fee', 'fee_unset', 'recipient') + recipient_unset = sgqlc.types.Field(Boolean, graphql_name='recipient_unset') + type = sgqlc.types.Field(String, graphql_name='type') + type_unset = sgqlc.types.Field(Boolean, graphql_name='type_unset') + fee = sgqlc.types.Field(Long, graphql_name='fee') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + recipient = sgqlc.types.Field(String, graphql_name='recipient') + + +class BlockTransactionInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('coinbase', 'coinbase_receiver_account', 'fee_transfer', 'user_commands') + coinbase = sgqlc.types.Field(Long, graphql_name='coinbase') + coinbase_receiver_account = sgqlc.types.Field(BlockTransactionCoinbaseReceiverAccountInsertInput, graphql_name='coinbaseReceiverAccount') + fee_transfer = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferInsertInput), graphql_name='feeTransfer') + user_commands = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandInsertInput'), graphql_name='userCommands') + + +class BlockTransactionQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('user_commands_in', 'coinbase_gte', 'coinbase_receiver_account', 'coinbase_nin', 'coinbase_gt', 'coinbase_receiver_account_exists', 'or_', 'coinbase_lt', 'user_commands_exists', 'coinbase_lte', 'fee_transfer', 'user_commands', 'user_commands_nin', 'coinbase_in', 'coinbase_exists', 'coinbase_ne', 'and_', 'fee_transfer_exists', 'coinbase', 'fee_transfer_in', 'fee_transfer_nin') + user_commands_in = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandQueryInput'), graphql_name='userCommands_in') + coinbase_gte = sgqlc.types.Field(Long, graphql_name='coinbase_gte') + coinbase_receiver_account = sgqlc.types.Field(BlockTransactionCoinbaseReceiverAccountQueryInput, graphql_name='coinbaseReceiverAccount') + coinbase_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='coinbase_nin') + coinbase_gt = sgqlc.types.Field(Long, graphql_name='coinbase_gt') + coinbase_receiver_account_exists = sgqlc.types.Field(Boolean, graphql_name='coinbaseReceiverAccount_exists') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionQueryInput')), graphql_name='OR') + coinbase_lt = sgqlc.types.Field(Long, graphql_name='coinbase_lt') + user_commands_exists = sgqlc.types.Field(Boolean, graphql_name='userCommands_exists') + coinbase_lte = sgqlc.types.Field(Long, graphql_name='coinbase_lte') + fee_transfer = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer') + user_commands = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandQueryInput'), graphql_name='userCommands') + user_commands_nin = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandQueryInput'), graphql_name='userCommands_nin') + coinbase_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='coinbase_in') + coinbase_exists = sgqlc.types.Field(Boolean, graphql_name='coinbase_exists') + coinbase_ne = sgqlc.types.Field(Long, graphql_name='coinbase_ne') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionQueryInput')), graphql_name='AND') + fee_transfer_exists = sgqlc.types.Field(Boolean, graphql_name='feeTransfer_exists') + coinbase = sgqlc.types.Field(Long, graphql_name='coinbase') + fee_transfer_in = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer_in') + fee_transfer_nin = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer_nin') + + +class BlockTransactionUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('coinbase_receiver_account', 'coinbase_receiver_account_unset', 'fee_transfer', 'fee_transfer_unset', 'user_commands', 'user_commands_unset', 'coinbase', 'coinbase_unset') + coinbase_receiver_account = sgqlc.types.Field(BlockTransactionCoinbaseReceiverAccountUpdateInput, graphql_name='coinbaseReceiverAccount') + coinbase_receiver_account_unset = sgqlc.types.Field(Boolean, graphql_name='coinbaseReceiverAccount_unset') + fee_transfer = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferUpdateInput), graphql_name='feeTransfer') + fee_transfer_unset = sgqlc.types.Field(Boolean, graphql_name='feeTransfer_unset') + user_commands = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandUpdateInput'), graphql_name='userCommands') + user_commands_unset = sgqlc.types.Field(Boolean, graphql_name='userCommands_unset') + coinbase = sgqlc.types.Field(Long, graphql_name='coinbase') + coinbase_unset = sgqlc.types.Field(Boolean, graphql_name='coinbase_unset') + + +class BlockTransactionUserCommandFeePayerInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token',) + token = sgqlc.types.Field(Int, graphql_name='token') + + +class BlockTransactionUserCommandFeePayerQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token', 'token_nin', 'or_', 'token_ne', 'token_gt', 'token_lte', 'token_in', 'token_exists', 'token_gte', 'token_lt', 'and_') + token = sgqlc.types.Field(Int, graphql_name='token') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFeePayerQueryInput')), graphql_name='OR') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFeePayerQueryInput')), graphql_name='AND') + + +class BlockTransactionUserCommandFeePayerUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token', 'token_inc', 'token_unset') + token = sgqlc.types.Field(Int, graphql_name='token') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + + +class BlockTransactionUserCommandFromAccountInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token',) + token = sgqlc.types.Field(Int, graphql_name='token') + + +class BlockTransactionUserCommandFromAccountQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token_gt', 'token_gte', 'token_lte', 'token_in', 'token_exists', 'and_', 'or_', 'token', 'token_nin', 'token_ne', 'token_lt') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFromAccountQueryInput')), graphql_name='AND') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFromAccountQueryInput')), graphql_name='OR') + token = sgqlc.types.Field(Int, graphql_name='token') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + + +class BlockTransactionUserCommandFromAccountUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token', 'token_inc', 'token_unset') + token = sgqlc.types.Field(Int, graphql_name='token') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + + +class BlockTransactionUserCommandInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('source', 'nonce', 'amount', 'receiver', 'block_height', 'id', 'from_', 'memo', 'to_account', 'failure_reason', 'fee', 'block_state_hash', 'fee_token', 'hash', 'kind', 'to', 'is_delegation', 'from_account', 'date_time', 'fee_payer', 'token') + source = sgqlc.types.Field('BlockTransactionUserCommandSourceInsertInput', graphql_name='source') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + amount = sgqlc.types.Field(Float, graphql_name='amount') + receiver = sgqlc.types.Field('BlockTransactionUserCommandReceiverInsertInput', graphql_name='receiver') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + id = sgqlc.types.Field(String, graphql_name='id') + from_ = sgqlc.types.Field(String, graphql_name='from') + memo = sgqlc.types.Field(String, graphql_name='memo') + to_account = sgqlc.types.Field('BlockTransactionUserCommandToAccountInsertInput', graphql_name='toAccount') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + fee = sgqlc.types.Field(Float, graphql_name='fee') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + hash = sgqlc.types.Field(String, graphql_name='hash') + kind = sgqlc.types.Field(String, graphql_name='kind') + to = sgqlc.types.Field(String, graphql_name='to') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + from_account = sgqlc.types.Field(BlockTransactionUserCommandFromAccountInsertInput, graphql_name='fromAccount') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerInsertInput, graphql_name='feePayer') + token = sgqlc.types.Field(Int, graphql_name='token') + + +class BlockTransactionUserCommandQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('block_state_hash', 'failure_reason_lt', 'nonce_gt', 'nonce_lt', 'id_lt', 'kind_nin', 'fee_token_in', 'fee_gt', 'block_state_hash_nin', 'is_delegation_exists', 'hash_lt', 'hash_in', 'is_delegation_ne', 'fee_payer', 'kind_gt', 'hash', 'token_lt', 'hash_lte', 'token_in', 'token_gt', 'amount', 'block_height', 'from_account_exists', 'fee_token_ne', 'failure_reason_ne', 'fee_token', 'to_gte', 'kind_ne', 'fee_gte', 'to_gt', 'amount_ne', 'date_time_lt', 'fee_token_lte', 'fee_in', 'memo_nin', 'from_gte', 'id_lte', 'fee', 'to_exists', 'from_nin', 'nonce_in', 'kind_exists', 'failure_reason_exists', 'date_time_lte', 'memo_exists', 'amount_in', 'failure_reason_in', 'from_lt', 'memo_lt', 'from_in', 'fee_nin', 'from_', 'to_nin', 'memo', 'and_', 'amount_exists', 'kind_lte', 'failure_reason_nin', 'from_exists', 'date_time_nin', 'fee_token_lt', 'to_account_exists', 'block_height_gte', 'kind_gte', 'hash_gt', 'fee_payer_exists', 'fee_token_gt', 'block_height_lte', 'date_time', 'block_height_gt', 'failure_reason_gt', 'token_nin', 'hash_nin', 'id', 'memo_gt', 'to_lt', 'hash_exists', 'to_ne', 'amount_gt', 'kind_in', 'nonce_exists', 'fee_lte', 'from_gt', 'to_lte', 'memo_gte', 'nonce_ne', 'hash_gte', 'id_gte', 'block_height_exists', 'to', 'block_state_hash_lte', 'block_height_in', 'amount_lt', 'token_exists', 'id_gt', 'id_in', 'date_time_in', 'source', 'fee_token_gte', 'memo_in', 'receiver_exists', 'failure_reason', 'amount_lte', 'fee_token_exists', 'kind', 'memo_ne', 'id_nin', 'id_ne', 'fee_ne', 'block_height_ne', 'block_state_hash_gt', 'from_account', 'fee_lt', 'token', 'from_ne', 'block_state_hash_lt', 'id_exists', 'to_account', 'block_state_hash_in', 'or_', 'token_gte', 'token_ne', 'date_time_exists', 'date_time_gte', 'failure_reason_lte', 'source_exists', 'failure_reason_gte', 'from_lte', 'amount_gte', 'block_height_nin', 'fee_token_nin', 'token_lte', 'kind_lt', 'fee_exists', 'block_state_hash_ne', 'block_height_lt', 'date_time_gt', 'receiver', 'date_time_ne', 'nonce_lte', 'to_in', 'amount_nin', 'block_state_hash_exists', 'block_state_hash_gte', 'memo_lte', 'nonce_gte', 'hash_ne', 'nonce', 'nonce_nin', 'is_delegation') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + failure_reason_lt = sgqlc.types.Field(String, graphql_name='failureReason_lt') + nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') + nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') + id_lt = sgqlc.types.Field(String, graphql_name='id_lt') + kind_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_nin') + fee_token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_in') + fee_gt = sgqlc.types.Field(Float, graphql_name='fee_gt') + block_state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_nin') + is_delegation_exists = sgqlc.types.Field(Boolean, graphql_name='isDelegation_exists') + hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') + hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') + is_delegation_ne = sgqlc.types.Field(Boolean, graphql_name='isDelegation_ne') + fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerQueryInput, graphql_name='feePayer') + kind_gt = sgqlc.types.Field(String, graphql_name='kind_gt') + hash = sgqlc.types.Field(String, graphql_name='hash') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + amount = sgqlc.types.Field(Float, graphql_name='amount') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + from_account_exists = sgqlc.types.Field(Boolean, graphql_name='fromAccount_exists') + fee_token_ne = sgqlc.types.Field(Int, graphql_name='feeToken_ne') + failure_reason_ne = sgqlc.types.Field(String, graphql_name='failureReason_ne') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + to_gte = sgqlc.types.Field(String, graphql_name='to_gte') + kind_ne = sgqlc.types.Field(String, graphql_name='kind_ne') + fee_gte = sgqlc.types.Field(Float, graphql_name='fee_gte') + to_gt = sgqlc.types.Field(String, graphql_name='to_gt') + amount_ne = sgqlc.types.Field(Float, graphql_name='amount_ne') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + fee_token_lte = sgqlc.types.Field(Int, graphql_name='feeToken_lte') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='fee_in') + memo_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_nin') + from_gte = sgqlc.types.Field(String, graphql_name='from_gte') + id_lte = sgqlc.types.Field(String, graphql_name='id_lte') + fee = sgqlc.types.Field(Float, graphql_name='fee') + to_exists = sgqlc.types.Field(Boolean, graphql_name='to_exists') + from_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_nin') + nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') + kind_exists = sgqlc.types.Field(Boolean, graphql_name='kind_exists') + failure_reason_exists = sgqlc.types.Field(Boolean, graphql_name='failureReason_exists') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + memo_exists = sgqlc.types.Field(Boolean, graphql_name='memo_exists') + amount_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='amount_in') + failure_reason_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_in') + from_lt = sgqlc.types.Field(String, graphql_name='from_lt') + memo_lt = sgqlc.types.Field(String, graphql_name='memo_lt') + from_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_in') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='fee_nin') + from_ = sgqlc.types.Field(String, graphql_name='from') + to_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_nin') + memo = sgqlc.types.Field(String, graphql_name='memo') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandQueryInput')), graphql_name='AND') + amount_exists = sgqlc.types.Field(Boolean, graphql_name='amount_exists') + kind_lte = sgqlc.types.Field(String, graphql_name='kind_lte') + failure_reason_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_nin') + from_exists = sgqlc.types.Field(Boolean, graphql_name='from_exists') + date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') + fee_token_lt = sgqlc.types.Field(Int, graphql_name='feeToken_lt') + to_account_exists = sgqlc.types.Field(Boolean, graphql_name='toAccount_exists') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + kind_gte = sgqlc.types.Field(String, graphql_name='kind_gte') + hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') + fee_payer_exists = sgqlc.types.Field(Boolean, graphql_name='feePayer_exists') + fee_token_gt = sgqlc.types.Field(Int, graphql_name='feeToken_gt') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + failure_reason_gt = sgqlc.types.Field(String, graphql_name='failureReason_gt') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') + id = sgqlc.types.Field(String, graphql_name='id') + memo_gt = sgqlc.types.Field(String, graphql_name='memo_gt') + to_lt = sgqlc.types.Field(String, graphql_name='to_lt') + hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') + to_ne = sgqlc.types.Field(String, graphql_name='to_ne') + amount_gt = sgqlc.types.Field(Float, graphql_name='amount_gt') + kind_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_in') + nonce_exists = sgqlc.types.Field(Boolean, graphql_name='nonce_exists') + fee_lte = sgqlc.types.Field(Float, graphql_name='fee_lte') + from_gt = sgqlc.types.Field(String, graphql_name='from_gt') + to_lte = sgqlc.types.Field(String, graphql_name='to_lte') + memo_gte = sgqlc.types.Field(String, graphql_name='memo_gte') + nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') + hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') + id_gte = sgqlc.types.Field(String, graphql_name='id_gte') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + to = sgqlc.types.Field(String, graphql_name='to') + block_state_hash_lte = sgqlc.types.Field(String, graphql_name='blockStateHash_lte') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + amount_lt = sgqlc.types.Field(Float, graphql_name='amount_lt') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + id_gt = sgqlc.types.Field(String, graphql_name='id_gt') + id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_in') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + source = sgqlc.types.Field('BlockTransactionUserCommandSourceQueryInput', graphql_name='source') + fee_token_gte = sgqlc.types.Field(Int, graphql_name='feeToken_gte') + memo_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_in') + receiver_exists = sgqlc.types.Field(Boolean, graphql_name='receiver_exists') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + amount_lte = sgqlc.types.Field(Float, graphql_name='amount_lte') + fee_token_exists = sgqlc.types.Field(Boolean, graphql_name='feeToken_exists') + kind = sgqlc.types.Field(String, graphql_name='kind') + memo_ne = sgqlc.types.Field(String, graphql_name='memo_ne') + id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_nin') + id_ne = sgqlc.types.Field(String, graphql_name='id_ne') + fee_ne = sgqlc.types.Field(Float, graphql_name='fee_ne') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + block_state_hash_gt = sgqlc.types.Field(String, graphql_name='blockStateHash_gt') + from_account = sgqlc.types.Field(BlockTransactionUserCommandFromAccountQueryInput, graphql_name='fromAccount') + fee_lt = sgqlc.types.Field(Float, graphql_name='fee_lt') + token = sgqlc.types.Field(Int, graphql_name='token') + from_ne = sgqlc.types.Field(String, graphql_name='from_ne') + block_state_hash_lt = sgqlc.types.Field(String, graphql_name='blockStateHash_lt') + id_exists = sgqlc.types.Field(Boolean, graphql_name='id_exists') + to_account = sgqlc.types.Field('BlockTransactionUserCommandToAccountQueryInput', graphql_name='toAccount') + block_state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_in') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandQueryInput')), graphql_name='OR') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + failure_reason_lte = sgqlc.types.Field(String, graphql_name='failureReason_lte') + source_exists = sgqlc.types.Field(Boolean, graphql_name='source_exists') + failure_reason_gte = sgqlc.types.Field(String, graphql_name='failureReason_gte') + from_lte = sgqlc.types.Field(String, graphql_name='from_lte') + amount_gte = sgqlc.types.Field(Float, graphql_name='amount_gte') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + fee_token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_nin') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + kind_lt = sgqlc.types.Field(String, graphql_name='kind_lt') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + block_state_hash_ne = sgqlc.types.Field(String, graphql_name='blockStateHash_ne') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + receiver = sgqlc.types.Field('BlockTransactionUserCommandReceiverQueryInput', graphql_name='receiver') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') + nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') + to_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_in') + amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='amount_nin') + block_state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_exists') + block_state_hash_gte = sgqlc.types.Field(String, graphql_name='blockStateHash_gte') + memo_lte = sgqlc.types.Field(String, graphql_name='memo_lte') + nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') + hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + + +class BlockTransactionUserCommandReceiverInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class BlockTransactionUserCommandReceiverQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key_lte', 'public_key_gte', 'public_key_lt', 'public_key_in', 'public_key_ne', 'public_key_gt', 'public_key_exists', 'public_key_nin', 'and_', 'or_', 'public_key') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_nin') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandReceiverQueryInput')), graphql_name='AND') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandReceiverQueryInput')), graphql_name='OR') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class BlockTransactionUserCommandReceiverUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key_unset', 'public_key') + public_key_unset = sgqlc.types.Field(Boolean, graphql_name='publicKey_unset') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class BlockTransactionUserCommandSourceInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class BlockTransactionUserCommandSourceQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key_exists', 'public_key_gte', 'public_key_lt', 'public_key_in', 'public_key_ne', 'public_key_lte', 'and_', 'public_key', 'public_key_gt', 'public_key_nin', 'or_') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandSourceQueryInput')), graphql_name='AND') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_nin') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandSourceQueryInput')), graphql_name='OR') + + +class BlockTransactionUserCommandSourceUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key', 'public_key_unset') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_unset = sgqlc.types.Field(Boolean, graphql_name='publicKey_unset') + + +class BlockTransactionUserCommandToAccountInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token',) + token = sgqlc.types.Field(Int, graphql_name='token') + + +class BlockTransactionUserCommandToAccountQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('and_', 'token_lte', 'token', 'token_in', 'token_ne', 'token_gte', 'or_', 'token_nin', 'token_exists', 'token_gt', 'token_lt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandToAccountQueryInput')), graphql_name='AND') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + token = sgqlc.types.Field(Int, graphql_name='token') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandToAccountQueryInput')), graphql_name='OR') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + + +class BlockTransactionUserCommandToAccountUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token', 'token_inc', 'token_unset') + token = sgqlc.types.Field(Int, graphql_name='token') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + + +class BlockTransactionUserCommandUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('nonce', 'to_account_unset', 'failure_reason_unset', 'block_height_inc', 'nonce_unset', 'block_state_hash', 'to_unset', 'block_height', 'from_account_unset', 'token', 'failure_reason', 'amount_unset', 'date_time_unset', 'amount_inc', 'id', 'fee_unset', 'kind_unset', 'to', 'source_unset', 'fee_token_unset', 'is_delegation', 'fee_payer_unset', 'memo_unset', 'token_unset', 'fee_inc', 'block_height_unset', 'from_account', 'is_delegation_unset', 'fee_token', 'from_', 'to_account', 'hash', 'memo', 'hash_unset', 'id_unset', 'receiver_unset', 'source', 'block_state_hash_unset', 'nonce_inc', 'from_unset', 'fee_payer', 'date_time', 'kind', 'fee', 'fee_token_inc', 'amount', 'token_inc', 'receiver') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + to_account_unset = sgqlc.types.Field(Boolean, graphql_name='toAccount_unset') + failure_reason_unset = sgqlc.types.Field(Boolean, graphql_name='failureReason_unset') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + to_unset = sgqlc.types.Field(Boolean, graphql_name='to_unset') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + from_account_unset = sgqlc.types.Field(Boolean, graphql_name='fromAccount_unset') + token = sgqlc.types.Field(Int, graphql_name='token') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + amount_unset = sgqlc.types.Field(Boolean, graphql_name='amount_unset') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + amount_inc = sgqlc.types.Field(Float, graphql_name='amount_inc') + id = sgqlc.types.Field(String, graphql_name='id') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + kind_unset = sgqlc.types.Field(Boolean, graphql_name='kind_unset') + to = sgqlc.types.Field(String, graphql_name='to') + source_unset = sgqlc.types.Field(Boolean, graphql_name='source_unset') + fee_token_unset = sgqlc.types.Field(Boolean, graphql_name='feeToken_unset') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + fee_payer_unset = sgqlc.types.Field(Boolean, graphql_name='feePayer_unset') + memo_unset = sgqlc.types.Field(Boolean, graphql_name='memo_unset') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + fee_inc = sgqlc.types.Field(Float, graphql_name='fee_inc') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + from_account = sgqlc.types.Field(BlockTransactionUserCommandFromAccountUpdateInput, graphql_name='fromAccount') + is_delegation_unset = sgqlc.types.Field(Boolean, graphql_name='isDelegation_unset') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + from_ = sgqlc.types.Field(String, graphql_name='from') + to_account = sgqlc.types.Field(BlockTransactionUserCommandToAccountUpdateInput, graphql_name='toAccount') + hash = sgqlc.types.Field(String, graphql_name='hash') + memo = sgqlc.types.Field(String, graphql_name='memo') + hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') + id_unset = sgqlc.types.Field(Boolean, graphql_name='id_unset') + receiver_unset = sgqlc.types.Field(Boolean, graphql_name='receiver_unset') + source = sgqlc.types.Field(BlockTransactionUserCommandSourceUpdateInput, graphql_name='source') + block_state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_unset') + nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') + from_unset = sgqlc.types.Field(Boolean, graphql_name='from_unset') + fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerUpdateInput, graphql_name='feePayer') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + kind = sgqlc.types.Field(String, graphql_name='kind') + fee = sgqlc.types.Field(Float, graphql_name='fee') + fee_token_inc = sgqlc.types.Field(Int, graphql_name='feeToken_inc') + amount = sgqlc.types.Field(Float, graphql_name='amount') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + receiver = sgqlc.types.Field(BlockTransactionUserCommandReceiverUpdateInput, graphql_name='receiver') + + +class BlockUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('block_height', 'winner_account', 'creator', 'block_height_unset', 'received_time_unset', 'creator_account', 'date_time', 'date_time_unset', 'state_hash_field', 'canonical_unset', 'state_hash', 'canonical', 'winner_account_unset', 'block_height_inc', 'snark_jobs_unset', 'state_hash_unset', 'protocol_state_unset', 'transactions', 'protocol_state', 'received_time', 'creator_unset', 'snark_jobs', 'state_hash_field_unset', 'creator_account_unset', 'transactions_unset') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + winner_account = sgqlc.types.Field('BlockWinnerAccountUpdateInput', graphql_name='winnerAccount') + creator = sgqlc.types.Field(String, graphql_name='creator') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + received_time_unset = sgqlc.types.Field(Boolean, graphql_name='receivedTime_unset') + creator_account = sgqlc.types.Field(BlockCreatorAccountUpdateInput, graphql_name='creatorAccount') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + state_hash_field = sgqlc.types.Field(String, graphql_name='stateHashField') + canonical_unset = sgqlc.types.Field(Boolean, graphql_name='canonical_unset') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + winner_account_unset = sgqlc.types.Field(Boolean, graphql_name='winnerAccount_unset') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + snark_jobs_unset = sgqlc.types.Field(Boolean, graphql_name='snarkJobs_unset') + state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='stateHash_unset') + protocol_state_unset = sgqlc.types.Field(Boolean, graphql_name='protocolState_unset') + transactions = sgqlc.types.Field(BlockTransactionUpdateInput, graphql_name='transactions') + protocol_state = sgqlc.types.Field(BlockProtocolStateUpdateInput, graphql_name='protocolState') + received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') + creator_unset = sgqlc.types.Field(Boolean, graphql_name='creator_unset') + snark_jobs = sgqlc.types.Field(sgqlc.types.list_of(BlockSnarkJobUpdateInput), graphql_name='snarkJobs') + state_hash_field_unset = sgqlc.types.Field(Boolean, graphql_name='stateHashField_unset') + creator_account_unset = sgqlc.types.Field(Boolean, graphql_name='creatorAccount_unset') + transactions_unset = sgqlc.types.Field(Boolean, graphql_name='transactions_unset') + + +class BlockWinnerAccountBalanceInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('liquid', 'locked', 'state_hash', 'total', 'unknown', 'block_height') + liquid = sgqlc.types.Field(Int, graphql_name='liquid') + locked = sgqlc.types.Field(Long, graphql_name='locked') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + total = sgqlc.types.Field(Long, graphql_name='total') + unknown = sgqlc.types.Field(Long, graphql_name='unknown') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + + +class BlockWinnerAccountBalanceQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('unknown_lt', 'total_in', 'locked_exists', 'and_', 'locked_in', 'block_height_ne', 'unknown_gte', 'liquid_lt', 'state_hash_nin', 'state_hash_ne', 'block_height', 'liquid_gte', 'total_gte', 'total_lte', 'liquid_gt', 'state_hash_exists', 'state_hash_lte', 'total_gt', 'block_height_exists', 'unknown_in', 'locked', 'or_', 'block_height_lte', 'locked_gt', 'block_height_gte', 'block_height_lt', 'total_nin', 'block_height_gt', 'state_hash_gt', 'state_hash_in', 'block_height_nin', 'liquid_in', 'block_height_in', 'total', 'liquid_lte', 'locked_ne', 'unknown_ne', 'locked_lt', 'liquid_exists', 'locked_nin', 'liquid', 'unknown', 'unknown_lte', 'state_hash_gte', 'liquid_nin', 'unknown_exists', 'total_ne', 'liquid_ne', 'unknown_nin', 'unknown_gt', 'total_exists', 'locked_gte', 'total_lt', 'state_hash', 'state_hash_lt', 'locked_lte') + unknown_lt = sgqlc.types.Field(Long, graphql_name='unknown_lt') + total_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='total_in') + locked_exists = sgqlc.types.Field(Boolean, graphql_name='locked_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountBalanceQueryInput')), graphql_name='AND') + locked_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='locked_in') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + unknown_gte = sgqlc.types.Field(Long, graphql_name='unknown_gte') + liquid_lt = sgqlc.types.Field(Int, graphql_name='liquid_lt') + state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_nin') + state_hash_ne = sgqlc.types.Field(String, graphql_name='stateHash_ne') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + liquid_gte = sgqlc.types.Field(Int, graphql_name='liquid_gte') + total_gte = sgqlc.types.Field(Long, graphql_name='total_gte') + total_lte = sgqlc.types.Field(Long, graphql_name='total_lte') + liquid_gt = sgqlc.types.Field(Int, graphql_name='liquid_gt') + state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stateHash_exists') + state_hash_lte = sgqlc.types.Field(String, graphql_name='stateHash_lte') + total_gt = sgqlc.types.Field(Long, graphql_name='total_gt') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + unknown_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='unknown_in') + locked = sgqlc.types.Field(Long, graphql_name='locked') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountBalanceQueryInput')), graphql_name='OR') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + locked_gt = sgqlc.types.Field(Long, graphql_name='locked_gt') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + total_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='total_nin') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + state_hash_gt = sgqlc.types.Field(String, graphql_name='stateHash_gt') + state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_in') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + liquid_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='liquid_in') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + total = sgqlc.types.Field(Long, graphql_name='total') + liquid_lte = sgqlc.types.Field(Int, graphql_name='liquid_lte') + locked_ne = sgqlc.types.Field(Long, graphql_name='locked_ne') + unknown_ne = sgqlc.types.Field(Long, graphql_name='unknown_ne') + locked_lt = sgqlc.types.Field(Long, graphql_name='locked_lt') + liquid_exists = sgqlc.types.Field(Boolean, graphql_name='liquid_exists') + locked_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='locked_nin') + liquid = sgqlc.types.Field(Int, graphql_name='liquid') + unknown = sgqlc.types.Field(Long, graphql_name='unknown') + unknown_lte = sgqlc.types.Field(Long, graphql_name='unknown_lte') + state_hash_gte = sgqlc.types.Field(String, graphql_name='stateHash_gte') + liquid_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='liquid_nin') + unknown_exists = sgqlc.types.Field(Boolean, graphql_name='unknown_exists') + total_ne = sgqlc.types.Field(Long, graphql_name='total_ne') + liquid_ne = sgqlc.types.Field(Int, graphql_name='liquid_ne') + unknown_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='unknown_nin') + unknown_gt = sgqlc.types.Field(Long, graphql_name='unknown_gt') + total_exists = sgqlc.types.Field(Boolean, graphql_name='total_exists') + locked_gte = sgqlc.types.Field(Long, graphql_name='locked_gte') + total_lt = sgqlc.types.Field(Long, graphql_name='total_lt') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + state_hash_lt = sgqlc.types.Field(String, graphql_name='stateHash_lt') + locked_lte = sgqlc.types.Field(Long, graphql_name='locked_lte') + + +class BlockWinnerAccountBalanceUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('liquid', 'block_height', 'locked', 'total_unset', 'unknown', 'unknown_unset', 'locked_unset', 'state_hash_unset', 'block_height_inc', 'state_hash', 'liquid_unset', 'total', 'liquid_inc', 'block_height_unset') + liquid = sgqlc.types.Field(Int, graphql_name='liquid') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + locked = sgqlc.types.Field(Long, graphql_name='locked') + total_unset = sgqlc.types.Field(Boolean, graphql_name='total_unset') + unknown = sgqlc.types.Field(Long, graphql_name='unknown') + unknown_unset = sgqlc.types.Field(Boolean, graphql_name='unknown_unset') + locked_unset = sgqlc.types.Field(Boolean, graphql_name='locked_unset') + state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='stateHash_unset') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + liquid_unset = sgqlc.types.Field(Boolean, graphql_name='liquid_unset') + total = sgqlc.types.Field(Long, graphql_name='total') + liquid_inc = sgqlc.types.Field(Int, graphql_name='liquid_inc') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + + +class BlockWinnerAccountInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key', 'balance') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + balance = sgqlc.types.Field(BlockWinnerAccountBalanceInsertInput, graphql_name='balance') + + +class BlockWinnerAccountQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key_ne', 'public_key_gt', 'public_key', 'public_key_in', 'balance', 'public_key_lte', 'public_key_gte', 'public_key_exists', 'or_', 'balance_exists', 'public_key_lt', 'public_key_nin', 'and_') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') + balance = sgqlc.types.Field(BlockWinnerAccountBalanceQueryInput, graphql_name='balance') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountQueryInput')), graphql_name='OR') + balance_exists = sgqlc.types.Field(Boolean, graphql_name='balance_exists') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_nin') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountQueryInput')), graphql_name='AND') + + +class BlockWinnerAccountUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('balance', 'balance_unset', 'public_key', 'public_key_unset') + balance = sgqlc.types.Field(BlockWinnerAccountBalanceUpdateInput, graphql_name='balance') + balance_unset = sgqlc.types.Field(Boolean, graphql_name='balance_unset') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_unset = sgqlc.types.Field(Boolean, graphql_name='publicKey_unset') + + +class NextstakeInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('balance', 'delegate', 'nonce', 'permissions', 'receipt_chain_hash', 'timing', 'pk', 'token', 'voting_for', 'ledger_hash', 'public_key') + balance = sgqlc.types.Field(Float, graphql_name='balance') + delegate = sgqlc.types.Field(String, graphql_name='delegate') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + permissions = sgqlc.types.Field('NextstakePermissionInsertInput', graphql_name='permissions') + receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') + timing = sgqlc.types.Field('NextstakeTimingInsertInput', graphql_name='timing') + pk = sgqlc.types.Field(String, graphql_name='pk') + token = sgqlc.types.Field(Int, graphql_name='token') + voting_for = sgqlc.types.Field(String, graphql_name='voting_for') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + public_key = sgqlc.types.Field(String, graphql_name='public_key') + + +class NextstakePermissionInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('edit_state', 'send', 'set_delegate', 'set_permissions', 'set_verification_key', 'stake') + edit_state = sgqlc.types.Field(String, graphql_name='edit_state') + send = sgqlc.types.Field(String, graphql_name='send') + set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') + set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') + set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') + stake = sgqlc.types.Field(Boolean, graphql_name='stake') + + +class NextstakePermissionQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('set_delegate', 'set_verification_key_gte', 'stake_exists', 'set_delegate_exists', 'set_delegate_nin', 'set_permissions_in', 'and_', 'set_permissions_exists', 'send', 'edit_state', 'set_permissions', 'or_', 'set_delegate_lte', 'set_verification_key_exists', 'set_permissions_nin', 'set_delegate_lt', 'edit_state_lt', 'set_verification_key_nin', 'set_verification_key_ne', 'set_verification_key_lte', 'send_ne', 'send_in', 'set_verification_key_gt', 'edit_state_gte', 'set_delegate_gt', 'set_permissions_ne', 'edit_state_nin', 'set_verification_key_lt', 'send_gte', 'set_permissions_lte', 'set_delegate_in', 'send_gt', 'edit_state_in', 'send_exists', 'edit_state_ne', 'send_nin', 'edit_state_lte', 'send_lte', 'stake', 'set_permissions_gte', 'set_permissions_gt', 'set_delegate_gte', 'edit_state_exists', 'send_lt', 'set_delegate_ne', 'edit_state_gt', 'set_verification_key', 'set_verification_key_in', 'stake_ne', 'set_permissions_lt') + set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') + set_verification_key_gte = sgqlc.types.Field(String, graphql_name='set_verification_key_gte') + stake_exists = sgqlc.types.Field(Boolean, graphql_name='stake_exists') + set_delegate_exists = sgqlc.types.Field(Boolean, graphql_name='set_delegate_exists') + set_delegate_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_delegate_nin') + set_permissions_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_permissions_in') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('NextstakePermissionQueryInput')), graphql_name='AND') + set_permissions_exists = sgqlc.types.Field(Boolean, graphql_name='set_permissions_exists') + send = sgqlc.types.Field(String, graphql_name='send') + edit_state = sgqlc.types.Field(String, graphql_name='edit_state') + set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('NextstakePermissionQueryInput')), graphql_name='OR') + set_delegate_lte = sgqlc.types.Field(String, graphql_name='set_delegate_lte') + set_verification_key_exists = sgqlc.types.Field(Boolean, graphql_name='set_verification_key_exists') + set_permissions_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_permissions_nin') + set_delegate_lt = sgqlc.types.Field(String, graphql_name='set_delegate_lt') + edit_state_lt = sgqlc.types.Field(String, graphql_name='edit_state_lt') + set_verification_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_verification_key_nin') + set_verification_key_ne = sgqlc.types.Field(String, graphql_name='set_verification_key_ne') + set_verification_key_lte = sgqlc.types.Field(String, graphql_name='set_verification_key_lte') + send_ne = sgqlc.types.Field(String, graphql_name='send_ne') + send_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='send_in') + set_verification_key_gt = sgqlc.types.Field(String, graphql_name='set_verification_key_gt') + edit_state_gte = sgqlc.types.Field(String, graphql_name='edit_state_gte') + set_delegate_gt = sgqlc.types.Field(String, graphql_name='set_delegate_gt') + set_permissions_ne = sgqlc.types.Field(String, graphql_name='set_permissions_ne') + edit_state_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='edit_state_nin') + set_verification_key_lt = sgqlc.types.Field(String, graphql_name='set_verification_key_lt') + send_gte = sgqlc.types.Field(String, graphql_name='send_gte') + set_permissions_lte = sgqlc.types.Field(String, graphql_name='set_permissions_lte') + set_delegate_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_delegate_in') + send_gt = sgqlc.types.Field(String, graphql_name='send_gt') + edit_state_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='edit_state_in') + send_exists = sgqlc.types.Field(Boolean, graphql_name='send_exists') + edit_state_ne = sgqlc.types.Field(String, graphql_name='edit_state_ne') + send_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='send_nin') + edit_state_lte = sgqlc.types.Field(String, graphql_name='edit_state_lte') + send_lte = sgqlc.types.Field(String, graphql_name='send_lte') + stake = sgqlc.types.Field(Boolean, graphql_name='stake') + set_permissions_gte = sgqlc.types.Field(String, graphql_name='set_permissions_gte') + set_permissions_gt = sgqlc.types.Field(String, graphql_name='set_permissions_gt') + set_delegate_gte = sgqlc.types.Field(String, graphql_name='set_delegate_gte') + edit_state_exists = sgqlc.types.Field(Boolean, graphql_name='edit_state_exists') + send_lt = sgqlc.types.Field(String, graphql_name='send_lt') + set_delegate_ne = sgqlc.types.Field(String, graphql_name='set_delegate_ne') + edit_state_gt = sgqlc.types.Field(String, graphql_name='edit_state_gt') + set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') + set_verification_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_verification_key_in') + stake_ne = sgqlc.types.Field(Boolean, graphql_name='stake_ne') + set_permissions_lt = sgqlc.types.Field(String, graphql_name='set_permissions_lt') + + +class NextstakePermissionUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('send', 'set_verification_key', 'send_unset', 'set_delegate', 'set_delegate_unset', 'set_permissions', 'set_verification_key_unset', 'stake_unset', 'set_permissions_unset', 'edit_state_unset', 'stake', 'edit_state') + send = sgqlc.types.Field(String, graphql_name='send') + set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') + send_unset = sgqlc.types.Field(Boolean, graphql_name='send_unset') + set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') + set_delegate_unset = sgqlc.types.Field(Boolean, graphql_name='set_delegate_unset') + set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') + set_verification_key_unset = sgqlc.types.Field(Boolean, graphql_name='set_verification_key_unset') + stake_unset = sgqlc.types.Field(Boolean, graphql_name='stake_unset') + set_permissions_unset = sgqlc.types.Field(Boolean, graphql_name='set_permissions_unset') + edit_state_unset = sgqlc.types.Field(Boolean, graphql_name='edit_state_unset') + stake = sgqlc.types.Field(Boolean, graphql_name='stake') + edit_state = sgqlc.types.Field(String, graphql_name='edit_state') + + +class NextstakeQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('pk_ne', 'voting_for_exists', 'token_lte', 'ledger_hash_exists', 'pk_gte', 'nonce_gte', 'delegate', 'token_exists', 'permissions', 'balance_ne', 'ledger_hash_ne', 'ledger_hash_nin', 'pk', 'public_key_gte', 'receipt_chain_hash_in', 'permissions_exists', 'nonce_nin', 'balance_nin', 'and_', 'voting_for_nin', 'public_key', 'public_key_in', 'receipt_chain_hash_ne', 'timing_exists', 'pk_in', 'token_ne', 'ledger_hash_gt', 'public_key_lt', 'balance_gt', 'balance_exists', 'pk_lt', 'pk_nin', 'receipt_chain_hash_exists', 'token_nin', 'ledger_hash_lte', 'voting_for_ne', 'or_', 'nonce_exists', 'delegate_exists', 'ledger_hash_gte', 'nonce_lt', 'voting_for_lte', 'nonce', 'delegate_nin', 'nonce_lte', 'receipt_chain_hash_lte', 'receipt_chain_hash_lt', 'pk_exists', 'nonce_in', 'receipt_chain_hash', 'delegate_lte', 'ledger_hash', 'ledger_hash_in', 'balance', 'token_lt', 'voting_for', 'voting_for_gt', 'nonce_gt', 'delegate_gte', 'balance_gte', 'ledger_hash_lt', 'receipt_chain_hash_gte', 'token_gt', 'public_key_exists', 'public_key_gt', 'delegate_lt', 'receipt_chain_hash_gt', 'balance_lte', 'delegate_gt', 'pk_lte', 'public_key_nin', 'voting_for_gte', 'pk_gt', 'balance_lt', 'voting_for_in', 'public_key_ne', 'receipt_chain_hash_nin', 'token_in', 'delegate_in', 'token', 'timing', 'nonce_ne', 'balance_in', 'voting_for_lt', 'token_gte', 'public_key_lte', 'delegate_ne') + pk_ne = sgqlc.types.Field(String, graphql_name='pk_ne') + voting_for_exists = sgqlc.types.Field(Boolean, graphql_name='voting_for_exists') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='ledgerHash_exists') + pk_gte = sgqlc.types.Field(String, graphql_name='pk_gte') + nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') + delegate = sgqlc.types.Field(String, graphql_name='delegate') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + permissions = sgqlc.types.Field(NextstakePermissionQueryInput, graphql_name='permissions') + balance_ne = sgqlc.types.Field(Float, graphql_name='balance_ne') + ledger_hash_ne = sgqlc.types.Field(String, graphql_name='ledgerHash_ne') + ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='ledgerHash_nin') + pk = sgqlc.types.Field(String, graphql_name='pk') + public_key_gte = sgqlc.types.Field(String, graphql_name='public_key_gte') + receipt_chain_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='receipt_chain_hash_in') + permissions_exists = sgqlc.types.Field(Boolean, graphql_name='permissions_exists') + nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') + balance_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='balance_nin') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('NextstakeQueryInput')), graphql_name='AND') + voting_for_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='voting_for_nin') + public_key = sgqlc.types.Field(String, graphql_name='public_key') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='public_key_in') + receipt_chain_hash_ne = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_ne') + timing_exists = sgqlc.types.Field(Boolean, graphql_name='timing_exists') + pk_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='pk_in') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + ledger_hash_gt = sgqlc.types.Field(String, graphql_name='ledgerHash_gt') + public_key_lt = sgqlc.types.Field(String, graphql_name='public_key_lt') + balance_gt = sgqlc.types.Field(Float, graphql_name='balance_gt') + balance_exists = sgqlc.types.Field(Boolean, graphql_name='balance_exists') + pk_lt = sgqlc.types.Field(String, graphql_name='pk_lt') + pk_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='pk_nin') + receipt_chain_hash_exists = sgqlc.types.Field(Boolean, graphql_name='receipt_chain_hash_exists') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + ledger_hash_lte = sgqlc.types.Field(String, graphql_name='ledgerHash_lte') + voting_for_ne = sgqlc.types.Field(String, graphql_name='voting_for_ne') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('NextstakeQueryInput')), graphql_name='OR') + nonce_exists = sgqlc.types.Field(Boolean, graphql_name='nonce_exists') + delegate_exists = sgqlc.types.Field(Boolean, graphql_name='delegate_exists') + ledger_hash_gte = sgqlc.types.Field(String, graphql_name='ledgerHash_gte') + nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') + voting_for_lte = sgqlc.types.Field(String, graphql_name='voting_for_lte') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + delegate_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='delegate_nin') + nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') + receipt_chain_hash_lte = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_lte') + receipt_chain_hash_lt = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_lt') + pk_exists = sgqlc.types.Field(Boolean, graphql_name='pk_exists') + nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') + receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') + delegate_lte = sgqlc.types.Field(String, graphql_name='delegate_lte') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='ledgerHash_in') + balance = sgqlc.types.Field(Float, graphql_name='balance') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + voting_for = sgqlc.types.Field(String, graphql_name='voting_for') + voting_for_gt = sgqlc.types.Field(String, graphql_name='voting_for_gt') + nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') + delegate_gte = sgqlc.types.Field(String, graphql_name='delegate_gte') + balance_gte = sgqlc.types.Field(Float, graphql_name='balance_gte') + ledger_hash_lt = sgqlc.types.Field(String, graphql_name='ledgerHash_lt') + receipt_chain_hash_gte = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_gte') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='public_key_exists') + public_key_gt = sgqlc.types.Field(String, graphql_name='public_key_gt') + delegate_lt = sgqlc.types.Field(String, graphql_name='delegate_lt') + receipt_chain_hash_gt = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_gt') + balance_lte = sgqlc.types.Field(Float, graphql_name='balance_lte') + delegate_gt = sgqlc.types.Field(String, graphql_name='delegate_gt') + pk_lte = sgqlc.types.Field(String, graphql_name='pk_lte') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='public_key_nin') + voting_for_gte = sgqlc.types.Field(String, graphql_name='voting_for_gte') + pk_gt = sgqlc.types.Field(String, graphql_name='pk_gt') + balance_lt = sgqlc.types.Field(Float, graphql_name='balance_lt') + voting_for_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='voting_for_in') + public_key_ne = sgqlc.types.Field(String, graphql_name='public_key_ne') + receipt_chain_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='receipt_chain_hash_nin') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + delegate_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='delegate_in') + token = sgqlc.types.Field(Int, graphql_name='token') + timing = sgqlc.types.Field('NextstakeTimingQueryInput', graphql_name='timing') + nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') + balance_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='balance_in') + voting_for_lt = sgqlc.types.Field(String, graphql_name='voting_for_lt') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + public_key_lte = sgqlc.types.Field(String, graphql_name='public_key_lte') + delegate_ne = sgqlc.types.Field(String, graphql_name='delegate_ne') + + +class NextstakeTimingInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('vesting_increment', 'vesting_period', 'cliff_amount', 'cliff_time', 'initial_minimum_balance') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') + vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') + cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') + initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') + + +class NextstakeTimingQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('vesting_period_ne', 'and_', 'vesting_period_gte', 'initial_minimum_balance', 'initial_minimum_balance_lt', 'cliff_time', 'cliff_time_gte', 'cliff_amount_lte', 'vesting_period_gt', 'or_', 'cliff_amount_gt', 'vesting_increment_gte', 'cliff_time_ne', 'cliff_amount_lt', 'vesting_increment', 'cliff_time_exists', 'initial_minimum_balance_gte', 'vesting_increment_exists', 'initial_minimum_balance_lte', 'initial_minimum_balance_gt', 'vesting_period_exists', 'cliff_time_lt', 'vesting_period_lt', 'vesting_period_nin', 'initial_minimum_balance_nin', 'initial_minimum_balance_in', 'initial_minimum_balance_ne', 'vesting_increment_gt', 'vesting_increment_in', 'cliff_amount_ne', 'cliff_time_nin', 'vesting_period_in', 'cliff_amount_nin', 'cliff_time_lte', 'cliff_amount_in', 'vesting_increment_lte', 'cliff_amount', 'cliff_amount_gte', 'vesting_increment_ne', 'initial_minimum_balance_exists', 'cliff_amount_exists', 'vesting_increment_lt', 'cliff_time_in', 'vesting_period', 'vesting_increment_nin', 'vesting_period_lte', 'cliff_time_gt') + vesting_period_ne = sgqlc.types.Field(Int, graphql_name='vesting_period_ne') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('NextstakeTimingQueryInput')), graphql_name='AND') + vesting_period_gte = sgqlc.types.Field(Int, graphql_name='vesting_period_gte') + initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') + initial_minimum_balance_lt = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_lt') + cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') + cliff_time_gte = sgqlc.types.Field(Int, graphql_name='cliff_time_gte') + cliff_amount_lte = sgqlc.types.Field(Float, graphql_name='cliff_amount_lte') + vesting_period_gt = sgqlc.types.Field(Int, graphql_name='vesting_period_gt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('NextstakeTimingQueryInput')), graphql_name='OR') + cliff_amount_gt = sgqlc.types.Field(Float, graphql_name='cliff_amount_gt') + vesting_increment_gte = sgqlc.types.Field(Float, graphql_name='vesting_increment_gte') + cliff_time_ne = sgqlc.types.Field(Int, graphql_name='cliff_time_ne') + cliff_amount_lt = sgqlc.types.Field(Float, graphql_name='cliff_amount_lt') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') + cliff_time_exists = sgqlc.types.Field(Boolean, graphql_name='cliff_time_exists') + initial_minimum_balance_gte = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_gte') + vesting_increment_exists = sgqlc.types.Field(Boolean, graphql_name='vesting_increment_exists') + initial_minimum_balance_lte = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_lte') + initial_minimum_balance_gt = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_gt') + vesting_period_exists = sgqlc.types.Field(Boolean, graphql_name='vesting_period_exists') + cliff_time_lt = sgqlc.types.Field(Int, graphql_name='cliff_time_lt') + vesting_period_lt = sgqlc.types.Field(Int, graphql_name='vesting_period_lt') + vesting_period_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='vesting_period_nin') + initial_minimum_balance_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='initial_minimum_balance_nin') + initial_minimum_balance_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='initial_minimum_balance_in') + initial_minimum_balance_ne = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_ne') + vesting_increment_gt = sgqlc.types.Field(Float, graphql_name='vesting_increment_gt') + vesting_increment_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='vesting_increment_in') + cliff_amount_ne = sgqlc.types.Field(Float, graphql_name='cliff_amount_ne') + cliff_time_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='cliff_time_nin') + vesting_period_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='vesting_period_in') + cliff_amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='cliff_amount_nin') + cliff_time_lte = sgqlc.types.Field(Int, graphql_name='cliff_time_lte') + cliff_amount_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='cliff_amount_in') + vesting_increment_lte = sgqlc.types.Field(Float, graphql_name='vesting_increment_lte') + cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + cliff_amount_gte = sgqlc.types.Field(Float, graphql_name='cliff_amount_gte') + vesting_increment_ne = sgqlc.types.Field(Float, graphql_name='vesting_increment_ne') + initial_minimum_balance_exists = sgqlc.types.Field(Boolean, graphql_name='initial_minimum_balance_exists') + cliff_amount_exists = sgqlc.types.Field(Boolean, graphql_name='cliff_amount_exists') + vesting_increment_lt = sgqlc.types.Field(Float, graphql_name='vesting_increment_lt') + cliff_time_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='cliff_time_in') + vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') + vesting_increment_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='vesting_increment_nin') + vesting_period_lte = sgqlc.types.Field(Int, graphql_name='vesting_period_lte') + cliff_time_gt = sgqlc.types.Field(Int, graphql_name='cliff_time_gt') + + +class NextstakeTimingUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('vesting_increment', 'initial_minimum_balance', 'vesting_period_inc', 'initial_minimum_balance_inc', 'cliff_time_unset', 'cliff_amount_inc', 'cliff_amount_unset', 'cliff_time_inc', 'vesting_increment_inc', 'vesting_increment_unset', 'vesting_period_unset', 'cliff_time', 'vesting_period', 'cliff_amount', 'initial_minimum_balance_unset') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') + initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') + vesting_period_inc = sgqlc.types.Field(Int, graphql_name='vesting_period_inc') + initial_minimum_balance_inc = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_inc') + cliff_time_unset = sgqlc.types.Field(Boolean, graphql_name='cliff_time_unset') + cliff_amount_inc = sgqlc.types.Field(Float, graphql_name='cliff_amount_inc') + cliff_amount_unset = sgqlc.types.Field(Boolean, graphql_name='cliff_amount_unset') + cliff_time_inc = sgqlc.types.Field(Int, graphql_name='cliff_time_inc') + vesting_increment_inc = sgqlc.types.Field(Float, graphql_name='vesting_increment_inc') + vesting_increment_unset = sgqlc.types.Field(Boolean, graphql_name='vesting_increment_unset') + vesting_period_unset = sgqlc.types.Field(Boolean, graphql_name='vesting_period_unset') + cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') + vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') + cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + initial_minimum_balance_unset = sgqlc.types.Field(Boolean, graphql_name='initial_minimum_balance_unset') + + +class NextstakeUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token_unset', 'nonce', 'permissions_unset', 'delegate', 'token_inc', 'balance', 'ledger_hash', 'delegate_unset', 'permissions', 'voting_for_unset', 'balance_inc', 'pk', 'receipt_chain_hash_unset', 'nonce_unset', 'token', 'receipt_chain_hash', 'pk_unset', 'nonce_inc', 'public_key', 'balance_unset', 'public_key_unset', 'timing', 'voting_for', 'ledger_hash_unset', 'timing_unset') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + permissions_unset = sgqlc.types.Field(Boolean, graphql_name='permissions_unset') + delegate = sgqlc.types.Field(String, graphql_name='delegate') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + balance = sgqlc.types.Field(Float, graphql_name='balance') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + delegate_unset = sgqlc.types.Field(Boolean, graphql_name='delegate_unset') + permissions = sgqlc.types.Field(NextstakePermissionUpdateInput, graphql_name='permissions') + voting_for_unset = sgqlc.types.Field(Boolean, graphql_name='voting_for_unset') + balance_inc = sgqlc.types.Field(Float, graphql_name='balance_inc') + pk = sgqlc.types.Field(String, graphql_name='pk') + receipt_chain_hash_unset = sgqlc.types.Field(Boolean, graphql_name='receipt_chain_hash_unset') + nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') + token = sgqlc.types.Field(Int, graphql_name='token') + receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') + pk_unset = sgqlc.types.Field(Boolean, graphql_name='pk_unset') + nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') + public_key = sgqlc.types.Field(String, graphql_name='public_key') + balance_unset = sgqlc.types.Field(Boolean, graphql_name='balance_unset') + public_key_unset = sgqlc.types.Field(Boolean, graphql_name='public_key_unset') + timing = sgqlc.types.Field(NextstakeTimingUpdateInput, graphql_name='timing') + voting_for = sgqlc.types.Field(String, graphql_name='voting_for') + ledger_hash_unset = sgqlc.types.Field(Boolean, graphql_name='ledgerHash_unset') + timing_unset = sgqlc.types.Field(Boolean, graphql_name='timing_unset') + + +class PayoutInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('ledger_hash', 'staking_balance', 'foundation', 'public_key', 'payment_id', 'sum_effective_pool_stakes', 'super_charged_weighting', 'payout', 'block_height', 'coinbase', 'date_time', 'supercharged_contribution', 'effective_pool_weighting', 'payment_hash', 'state_hash', 'total_pool_stakes', 'total_rewards', 'effective_pool_stakes') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + staking_balance = sgqlc.types.Field(Float, graphql_name='stakingBalance') + foundation = sgqlc.types.Field(Boolean, graphql_name='foundation') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + payment_id = sgqlc.types.Field(String, graphql_name='paymentId') + sum_effective_pool_stakes = sgqlc.types.Field(Float, graphql_name='sumEffectivePoolStakes') + super_charged_weighting = sgqlc.types.Field(Float, graphql_name='superChargedWeighting') + payout = sgqlc.types.Field(Float, graphql_name='payout') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + coinbase = sgqlc.types.Field(Float, graphql_name='coinbase') + date_time = sgqlc.types.Field(String, graphql_name='dateTime') + supercharged_contribution = sgqlc.types.Field(Float, graphql_name='superchargedContribution') + effective_pool_weighting = sgqlc.types.Field(Float, graphql_name='effectivePoolWeighting') + payment_hash = sgqlc.types.Field('PayoutPaymentHashRelationInput', graphql_name='paymentHash') + state_hash = sgqlc.types.Field('PayoutStateHashRelationInput', graphql_name='stateHash') + total_pool_stakes = sgqlc.types.Field(Float, graphql_name='totalPoolStakes') + total_rewards = sgqlc.types.Field(Float, graphql_name='totalRewards') + effective_pool_stakes = sgqlc.types.Field(Float, graphql_name='effectivePoolStakes') + + +class PayoutPaymentHashRelationInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('create', 'link') + create = sgqlc.types.Field('TransactionInsertInput', graphql_name='create') + link = sgqlc.types.Field(String, graphql_name='link') + + +class PayoutQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key_ne', 'effective_pool_stakes_ne', 'state_hash', 'coinbase_gt', 'super_charged_weighting_in', 'block_height_nin', 'public_key_exists', 'total_pool_stakes_lt', 'effective_pool_stakes', 'super_charged_weighting_lte', 'date_time_gt', 'staking_balance_nin', 'public_key_lte', 'effective_pool_stakes_gt', 'payout_gte', 'payment_id_exists', 'super_charged_weighting_gt', 'super_charged_weighting_ne', 'public_key_gte', 'staking_balance_in', 'effective_pool_weighting_in', 'coinbase', 'block_height_gt', 'supercharged_contribution_ne', 'date_time', 'payment_id_gt', 'payment_id_nin', 'staking_balance_ne', 'coinbase_nin', 'effective_pool_stakes_nin', 'ledger_hash_lte', 'super_charged_weighting_exists', 'coinbase_ne', 'total_pool_stakes_exists', 'supercharged_contribution_in', 'block_height_gte', 'date_time_nin', 'ledger_hash_gte', 'sum_effective_pool_stakes', 'sum_effective_pool_stakes_gt', 'total_rewards_lt', 'sum_effective_pool_stakes_gte', 'total_pool_stakes_lte', 'effective_pool_weighting_lte', 'effective_pool_weighting', 'payment_id_ne', 'payout_exists', 'staking_balance_lte', 'sum_effective_pool_stakes_lte', 'total_pool_stakes_nin', 'payout', 'ledger_hash_nin', 'state_hash_exists', 'date_time_ne', 'date_time_lte', 'sum_effective_pool_stakes_in', 'effective_pool_stakes_exists', 'super_charged_weighting', 'sum_effective_pool_stakes_nin', 'staking_balance_gte', 'payment_hash', 'total_pool_stakes_gte', 'block_height_in', 'supercharged_contribution_lt', 'date_time_in', 'payment_id_lte', 'public_key', 'effective_pool_stakes_gte', 'sum_effective_pool_stakes_exists', 'total_pool_stakes_gt', 'date_time_gte', 'payment_id', 'block_height_lt', 'foundation_ne', 'super_charged_weighting_lt', 'ledger_hash_ne', 'coinbase_in', 'block_height_lte', 'effective_pool_weighting_exists', 'ledger_hash_exists', 'supercharged_contribution_exists', 'payout_lt', 'block_height_exists', 'foundation', 'total_rewards_exists', 'coinbase_gte', 'public_key_lt', 'staking_balance', 'payout_gt', 'payment_id_gte', 'total_rewards_gte', 'sum_effective_pool_stakes_lt', 'and_', 'date_time_lt', 'payout_nin', 'payment_hash_exists', 'foundation_exists', 'total_rewards', 'sum_effective_pool_stakes_ne', 'effective_pool_weighting_ne', 'staking_balance_lt', 'ledger_hash', 'supercharged_contribution_gt', 'supercharged_contribution', 'payment_id_in', 'coinbase_exists', 'coinbase_lt', 'payout_lte', 'coinbase_lte', 'payout_ne', 'payment_id_lt', 'super_charged_weighting_nin', 'effective_pool_weighting_nin', 'staking_balance_exists', 'total_rewards_nin', 'total_rewards_ne', 'date_time_exists', 'total_pool_stakes', 'ledger_hash_lt', 'total_pool_stakes_ne', 'block_height_ne', 'total_pool_stakes_in', 'supercharged_contribution_nin', 'staking_balance_gt', 'total_rewards_gt', 'super_charged_weighting_gte', 'supercharged_contribution_lte', 'supercharged_contribution_gte', 'effective_pool_weighting_gte', 'ledger_hash_in', 'total_rewards_lte', 'effective_pool_weighting_gt', 'effective_pool_stakes_in', 'effective_pool_weighting_lt', 'ledger_hash_gt', 'effective_pool_stakes_lt', 'public_key_gt', 'effective_pool_stakes_lte', 'public_key_nin', 'block_height', 'public_key_in', 'or_', 'total_rewards_in', 'payout_in') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + effective_pool_stakes_ne = sgqlc.types.Field(Float, graphql_name='effectivePoolStakes_ne') + state_hash = sgqlc.types.Field(BlockQueryInput, graphql_name='stateHash') + coinbase_gt = sgqlc.types.Field(Float, graphql_name='coinbase_gt') + super_charged_weighting_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='superChargedWeighting_in') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + total_pool_stakes_lt = sgqlc.types.Field(Float, graphql_name='totalPoolStakes_lt') + effective_pool_stakes = sgqlc.types.Field(Float, graphql_name='effectivePoolStakes') + super_charged_weighting_lte = sgqlc.types.Field(Float, graphql_name='superChargedWeighting_lte') + date_time_gt = sgqlc.types.Field(String, graphql_name='dateTime_gt') + staking_balance_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='stakingBalance_nin') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + effective_pool_stakes_gt = sgqlc.types.Field(Float, graphql_name='effectivePoolStakes_gt') + payout_gte = sgqlc.types.Field(Float, graphql_name='payout_gte') + payment_id_exists = sgqlc.types.Field(Boolean, graphql_name='paymentId_exists') + super_charged_weighting_gt = sgqlc.types.Field(Float, graphql_name='superChargedWeighting_gt') + super_charged_weighting_ne = sgqlc.types.Field(Float, graphql_name='superChargedWeighting_ne') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + staking_balance_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='stakingBalance_in') + effective_pool_weighting_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='effectivePoolWeighting_in') + coinbase = sgqlc.types.Field(Float, graphql_name='coinbase') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + supercharged_contribution_ne = sgqlc.types.Field(Float, graphql_name='superchargedContribution_ne') + date_time = sgqlc.types.Field(String, graphql_name='dateTime') + payment_id_gt = sgqlc.types.Field(String, graphql_name='paymentId_gt') + payment_id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='paymentId_nin') + staking_balance_ne = sgqlc.types.Field(Float, graphql_name='stakingBalance_ne') + coinbase_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='coinbase_nin') + effective_pool_stakes_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='effectivePoolStakes_nin') + ledger_hash_lte = sgqlc.types.Field(String, graphql_name='ledgerHash_lte') + super_charged_weighting_exists = sgqlc.types.Field(Boolean, graphql_name='superChargedWeighting_exists') + coinbase_ne = sgqlc.types.Field(Float, graphql_name='coinbase_ne') + total_pool_stakes_exists = sgqlc.types.Field(Boolean, graphql_name='totalPoolStakes_exists') + supercharged_contribution_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='superchargedContribution_in') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='dateTime_nin') + ledger_hash_gte = sgqlc.types.Field(String, graphql_name='ledgerHash_gte') + sum_effective_pool_stakes = sgqlc.types.Field(Float, graphql_name='sumEffectivePoolStakes') + sum_effective_pool_stakes_gt = sgqlc.types.Field(Float, graphql_name='sumEffectivePoolStakes_gt') + total_rewards_lt = sgqlc.types.Field(Float, graphql_name='totalRewards_lt') + sum_effective_pool_stakes_gte = sgqlc.types.Field(Float, graphql_name='sumEffectivePoolStakes_gte') + total_pool_stakes_lte = sgqlc.types.Field(Float, graphql_name='totalPoolStakes_lte') + effective_pool_weighting_lte = sgqlc.types.Field(Float, graphql_name='effectivePoolWeighting_lte') + effective_pool_weighting = sgqlc.types.Field(Float, graphql_name='effectivePoolWeighting') + payment_id_ne = sgqlc.types.Field(String, graphql_name='paymentId_ne') + payout_exists = sgqlc.types.Field(Boolean, graphql_name='payout_exists') + staking_balance_lte = sgqlc.types.Field(Float, graphql_name='stakingBalance_lte') + sum_effective_pool_stakes_lte = sgqlc.types.Field(Float, graphql_name='sumEffectivePoolStakes_lte') + total_pool_stakes_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalPoolStakes_nin') + payout = sgqlc.types.Field(Float, graphql_name='payout') + ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='ledgerHash_nin') + state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stateHash_exists') + date_time_ne = sgqlc.types.Field(String, graphql_name='dateTime_ne') + date_time_lte = sgqlc.types.Field(String, graphql_name='dateTime_lte') + sum_effective_pool_stakes_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='sumEffectivePoolStakes_in') + effective_pool_stakes_exists = sgqlc.types.Field(Boolean, graphql_name='effectivePoolStakes_exists') + super_charged_weighting = sgqlc.types.Field(Float, graphql_name='superChargedWeighting') + sum_effective_pool_stakes_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='sumEffectivePoolStakes_nin') + staking_balance_gte = sgqlc.types.Field(Float, graphql_name='stakingBalance_gte') + payment_hash = sgqlc.types.Field('TransactionQueryInput', graphql_name='paymentHash') + total_pool_stakes_gte = sgqlc.types.Field(Float, graphql_name='totalPoolStakes_gte') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + supercharged_contribution_lt = sgqlc.types.Field(Float, graphql_name='superchargedContribution_lt') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='dateTime_in') + payment_id_lte = sgqlc.types.Field(String, graphql_name='paymentId_lte') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + effective_pool_stakes_gte = sgqlc.types.Field(Float, graphql_name='effectivePoolStakes_gte') + sum_effective_pool_stakes_exists = sgqlc.types.Field(Boolean, graphql_name='sumEffectivePoolStakes_exists') + total_pool_stakes_gt = sgqlc.types.Field(Float, graphql_name='totalPoolStakes_gt') + date_time_gte = sgqlc.types.Field(String, graphql_name='dateTime_gte') + payment_id = sgqlc.types.Field(String, graphql_name='paymentId') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + foundation_ne = sgqlc.types.Field(Boolean, graphql_name='foundation_ne') + super_charged_weighting_lt = sgqlc.types.Field(Float, graphql_name='superChargedWeighting_lt') + ledger_hash_ne = sgqlc.types.Field(String, graphql_name='ledgerHash_ne') + coinbase_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='coinbase_in') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + effective_pool_weighting_exists = sgqlc.types.Field(Boolean, graphql_name='effectivePoolWeighting_exists') + ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='ledgerHash_exists') + supercharged_contribution_exists = sgqlc.types.Field(Boolean, graphql_name='superchargedContribution_exists') + payout_lt = sgqlc.types.Field(Float, graphql_name='payout_lt') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + foundation = sgqlc.types.Field(Boolean, graphql_name='foundation') + total_rewards_exists = sgqlc.types.Field(Boolean, graphql_name='totalRewards_exists') + coinbase_gte = sgqlc.types.Field(Float, graphql_name='coinbase_gte') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + staking_balance = sgqlc.types.Field(Float, graphql_name='stakingBalance') + payout_gt = sgqlc.types.Field(Float, graphql_name='payout_gt') + payment_id_gte = sgqlc.types.Field(String, graphql_name='paymentId_gte') + total_rewards_gte = sgqlc.types.Field(Float, graphql_name='totalRewards_gte') + sum_effective_pool_stakes_lt = sgqlc.types.Field(Float, graphql_name='sumEffectivePoolStakes_lt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PayoutQueryInput')), graphql_name='AND') + date_time_lt = sgqlc.types.Field(String, graphql_name='dateTime_lt') + payout_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='payout_nin') + payment_hash_exists = sgqlc.types.Field(Boolean, graphql_name='paymentHash_exists') + foundation_exists = sgqlc.types.Field(Boolean, graphql_name='foundation_exists') + total_rewards = sgqlc.types.Field(Float, graphql_name='totalRewards') + sum_effective_pool_stakes_ne = sgqlc.types.Field(Float, graphql_name='sumEffectivePoolStakes_ne') + effective_pool_weighting_ne = sgqlc.types.Field(Float, graphql_name='effectivePoolWeighting_ne') + staking_balance_lt = sgqlc.types.Field(Float, graphql_name='stakingBalance_lt') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + supercharged_contribution_gt = sgqlc.types.Field(Float, graphql_name='superchargedContribution_gt') + supercharged_contribution = sgqlc.types.Field(Float, graphql_name='superchargedContribution') + payment_id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='paymentId_in') + coinbase_exists = sgqlc.types.Field(Boolean, graphql_name='coinbase_exists') + coinbase_lt = sgqlc.types.Field(Float, graphql_name='coinbase_lt') + payout_lte = sgqlc.types.Field(Float, graphql_name='payout_lte') + coinbase_lte = sgqlc.types.Field(Float, graphql_name='coinbase_lte') + payout_ne = sgqlc.types.Field(Float, graphql_name='payout_ne') + payment_id_lt = sgqlc.types.Field(String, graphql_name='paymentId_lt') + super_charged_weighting_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='superChargedWeighting_nin') + effective_pool_weighting_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='effectivePoolWeighting_nin') + staking_balance_exists = sgqlc.types.Field(Boolean, graphql_name='stakingBalance_exists') + total_rewards_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalRewards_nin') + total_rewards_ne = sgqlc.types.Field(Float, graphql_name='totalRewards_ne') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + total_pool_stakes = sgqlc.types.Field(Float, graphql_name='totalPoolStakes') + ledger_hash_lt = sgqlc.types.Field(String, graphql_name='ledgerHash_lt') + total_pool_stakes_ne = sgqlc.types.Field(Float, graphql_name='totalPoolStakes_ne') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + total_pool_stakes_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalPoolStakes_in') + supercharged_contribution_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='superchargedContribution_nin') + staking_balance_gt = sgqlc.types.Field(Float, graphql_name='stakingBalance_gt') + total_rewards_gt = sgqlc.types.Field(Float, graphql_name='totalRewards_gt') + super_charged_weighting_gte = sgqlc.types.Field(Float, graphql_name='superChargedWeighting_gte') + supercharged_contribution_lte = sgqlc.types.Field(Float, graphql_name='superchargedContribution_lte') + supercharged_contribution_gte = sgqlc.types.Field(Float, graphql_name='superchargedContribution_gte') + effective_pool_weighting_gte = sgqlc.types.Field(Float, graphql_name='effectivePoolWeighting_gte') + ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='ledgerHash_in') + total_rewards_lte = sgqlc.types.Field(Float, graphql_name='totalRewards_lte') + effective_pool_weighting_gt = sgqlc.types.Field(Float, graphql_name='effectivePoolWeighting_gt') + effective_pool_stakes_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='effectivePoolStakes_in') + effective_pool_weighting_lt = sgqlc.types.Field(Float, graphql_name='effectivePoolWeighting_lt') + ledger_hash_gt = sgqlc.types.Field(String, graphql_name='ledgerHash_gt') + effective_pool_stakes_lt = sgqlc.types.Field(Float, graphql_name='effectivePoolStakes_lt') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + effective_pool_stakes_lte = sgqlc.types.Field(Float, graphql_name='effectivePoolStakes_lte') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_nin') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PayoutQueryInput')), graphql_name='OR') + total_rewards_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalRewards_in') + payout_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='payout_in') + + +class PayoutStateHashRelationInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('create', 'link') + create = sgqlc.types.Field(BlockInsertInput, graphql_name='create') + link = sgqlc.types.Field(String, graphql_name='link') + + +class PayoutUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('state_hash_unset', 'total_rewards_unset', 'sum_effective_pool_stakes_inc', 'super_charged_weighting_unset', 'total_pool_stakes_inc', 'effective_pool_weighting', 'effective_pool_weighting_unset', 'payment_hash', 'total_pool_stakes_unset', 'payment_id_unset', 'total_rewards', 'effective_pool_stakes_unset', 'super_charged_weighting', 'total_rewards_inc', 'sum_effective_pool_stakes', 'effective_pool_stakes', 'coinbase_inc', 'staking_balance_inc', 'supercharged_contribution_inc', 'payout_inc', 'sum_effective_pool_stakes_unset', 'block_height_unset', 'block_height_inc', 'date_time_unset', 'supercharged_contribution', 'supercharged_contribution_unset', 'public_key', 'staking_balance', 'effective_pool_stakes_inc', 'date_time', 'payout', 'effective_pool_weighting_inc', 'payment_hash_unset', 'ledger_hash', 'super_charged_weighting_inc', 'block_height', 'coinbase_unset', 'ledger_hash_unset', 'staking_balance_unset', 'coinbase', 'foundation_unset', 'state_hash', 'payout_unset', 'public_key_unset', 'total_pool_stakes', 'foundation', 'payment_id') + state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='stateHash_unset') + total_rewards_unset = sgqlc.types.Field(Boolean, graphql_name='totalRewards_unset') + sum_effective_pool_stakes_inc = sgqlc.types.Field(Float, graphql_name='sumEffectivePoolStakes_inc') + super_charged_weighting_unset = sgqlc.types.Field(Boolean, graphql_name='superChargedWeighting_unset') + total_pool_stakes_inc = sgqlc.types.Field(Float, graphql_name='totalPoolStakes_inc') + effective_pool_weighting = sgqlc.types.Field(Float, graphql_name='effectivePoolWeighting') + effective_pool_weighting_unset = sgqlc.types.Field(Boolean, graphql_name='effectivePoolWeighting_unset') + payment_hash = sgqlc.types.Field(PayoutPaymentHashRelationInput, graphql_name='paymentHash') + total_pool_stakes_unset = sgqlc.types.Field(Boolean, graphql_name='totalPoolStakes_unset') + payment_id_unset = sgqlc.types.Field(Boolean, graphql_name='paymentId_unset') + total_rewards = sgqlc.types.Field(Float, graphql_name='totalRewards') + effective_pool_stakes_unset = sgqlc.types.Field(Boolean, graphql_name='effectivePoolStakes_unset') + super_charged_weighting = sgqlc.types.Field(Float, graphql_name='superChargedWeighting') + total_rewards_inc = sgqlc.types.Field(Float, graphql_name='totalRewards_inc') + sum_effective_pool_stakes = sgqlc.types.Field(Float, graphql_name='sumEffectivePoolStakes') + effective_pool_stakes = sgqlc.types.Field(Float, graphql_name='effectivePoolStakes') + coinbase_inc = sgqlc.types.Field(Float, graphql_name='coinbase_inc') + staking_balance_inc = sgqlc.types.Field(Float, graphql_name='stakingBalance_inc') + supercharged_contribution_inc = sgqlc.types.Field(Float, graphql_name='superchargedContribution_inc') + payout_inc = sgqlc.types.Field(Float, graphql_name='payout_inc') + sum_effective_pool_stakes_unset = sgqlc.types.Field(Boolean, graphql_name='sumEffectivePoolStakes_unset') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + supercharged_contribution = sgqlc.types.Field(Float, graphql_name='superchargedContribution') + supercharged_contribution_unset = sgqlc.types.Field(Boolean, graphql_name='superchargedContribution_unset') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + staking_balance = sgqlc.types.Field(Float, graphql_name='stakingBalance') + effective_pool_stakes_inc = sgqlc.types.Field(Float, graphql_name='effectivePoolStakes_inc') + date_time = sgqlc.types.Field(String, graphql_name='dateTime') + payout = sgqlc.types.Field(Float, graphql_name='payout') + effective_pool_weighting_inc = sgqlc.types.Field(Float, graphql_name='effectivePoolWeighting_inc') + payment_hash_unset = sgqlc.types.Field(Boolean, graphql_name='paymentHash_unset') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + super_charged_weighting_inc = sgqlc.types.Field(Float, graphql_name='superChargedWeighting_inc') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + coinbase_unset = sgqlc.types.Field(Boolean, graphql_name='coinbase_unset') + ledger_hash_unset = sgqlc.types.Field(Boolean, graphql_name='ledgerHash_unset') + staking_balance_unset = sgqlc.types.Field(Boolean, graphql_name='stakingBalance_unset') + coinbase = sgqlc.types.Field(Float, graphql_name='coinbase') + foundation_unset = sgqlc.types.Field(Boolean, graphql_name='foundation_unset') + state_hash = sgqlc.types.Field(PayoutStateHashRelationInput, graphql_name='stateHash') + payout_unset = sgqlc.types.Field(Boolean, graphql_name='payout_unset') + public_key_unset = sgqlc.types.Field(Boolean, graphql_name='publicKey_unset') + total_pool_stakes = sgqlc.types.Field(Float, graphql_name='totalPoolStakes') + foundation = sgqlc.types.Field(Boolean, graphql_name='foundation') + payment_id = sgqlc.types.Field(String, graphql_name='paymentId') + + +class SnarkBlockStateHashRelationInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('link', 'create') + link = sgqlc.types.Field(String, graphql_name='link') + create = sgqlc.types.Field(BlockInsertInput, graphql_name='create') + + +class SnarkInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('block_height', 'block', 'canonical', 'date_time', 'fee', 'prover', 'work_ids') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + block = sgqlc.types.Field(SnarkBlockStateHashRelationInput, graphql_name='block') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + fee = sgqlc.types.Field(Float, graphql_name='fee') + prover = sgqlc.types.Field(String, graphql_name='prover') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + + +class SnarkQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('fee_lt', 'prover_nin', 'block_height_nin', 'fee_lte', 'block_height_ne', 'work_ids_in', 'canonical_ne', 'date_time_ne', 'work_ids', 'fee_ne', 'date_time_nin', 'date_time_exists', 'block_height_lt', 'and_', 'prover_in', 'prover', 'block_height_exists', 'fee_gt', 'work_ids_nin', 'prover_ne', 'prover_lte', 'prover_gte', 'block_height_lte', 'fee_gte', 'fee_exists', 'block_height', 'block_height_in', 'prover_gt', 'block_height_gte', 'date_time_gt', 'fee', 'fee_nin', 'date_time', 'prover_lt', 'date_time_lte', 'canonical_exists', 'block_exists', 'or_', 'fee_in', 'block_height_gt', 'work_ids_exists', 'date_time_gte', 'block', 'prover_exists', 'canonical', 'date_time_lt', 'date_time_in') + fee_lt = sgqlc.types.Field(Float, graphql_name='fee_lt') + prover_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_nin') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + fee_lte = sgqlc.types.Field(Float, graphql_name='fee_lte') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + work_ids_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_in') + canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + fee_ne = sgqlc.types.Field(Float, graphql_name='fee_ne') + date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SnarkQueryInput')), graphql_name='AND') + prover_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_in') + prover = sgqlc.types.Field(String, graphql_name='prover') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + fee_gt = sgqlc.types.Field(Float, graphql_name='fee_gt') + work_ids_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_nin') + prover_ne = sgqlc.types.Field(String, graphql_name='prover_ne') + prover_lte = sgqlc.types.Field(String, graphql_name='prover_lte') + prover_gte = sgqlc.types.Field(String, graphql_name='prover_gte') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + fee_gte = sgqlc.types.Field(Float, graphql_name='fee_gte') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + prover_gt = sgqlc.types.Field(String, graphql_name='prover_gt') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + fee = sgqlc.types.Field(Float, graphql_name='fee') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='fee_nin') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + prover_lt = sgqlc.types.Field(String, graphql_name='prover_lt') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') + block_exists = sgqlc.types.Field(Boolean, graphql_name='block_exists') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SnarkQueryInput')), graphql_name='OR') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='fee_in') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + work_ids_exists = sgqlc.types.Field(Boolean, graphql_name='workIds_exists') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + block = sgqlc.types.Field(BlockQueryInput, graphql_name='block') + prover_exists = sgqlc.types.Field(Boolean, graphql_name='prover_exists') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + + +class SnarkUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('block_unset', 'canonical_unset', 'fee', 'block_height', 'date_time', 'canonical', 'fee_inc', 'fee_unset', 'work_ids_unset', 'block_height_unset', 'prover', 'date_time_unset', 'prover_unset', 'work_ids', 'block_height_inc', 'block') + block_unset = sgqlc.types.Field(Boolean, graphql_name='block_unset') + canonical_unset = sgqlc.types.Field(Boolean, graphql_name='canonical_unset') + fee = sgqlc.types.Field(Float, graphql_name='fee') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + fee_inc = sgqlc.types.Field(Float, graphql_name='fee_inc') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + work_ids_unset = sgqlc.types.Field(Boolean, graphql_name='workIds_unset') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + prover = sgqlc.types.Field(String, graphql_name='prover') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + prover_unset = sgqlc.types.Field(Boolean, graphql_name='prover_unset') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + block = sgqlc.types.Field(SnarkBlockStateHashRelationInput, graphql_name='block') + + +class StakeInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('voting_for', 'nonce', 'permissions', 'chain_id', 'delegate', 'pk', 'token', 'balance', 'epoch', 'receipt_chain_hash', 'ledger_hash', 'timing', 'public_key') + voting_for = sgqlc.types.Field(String, graphql_name='voting_for') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + permissions = sgqlc.types.Field('StakePermissionInsertInput', graphql_name='permissions') + chain_id = sgqlc.types.Field(String, graphql_name='chainId') + delegate = sgqlc.types.Field(String, graphql_name='delegate') + pk = sgqlc.types.Field(String, graphql_name='pk') + token = sgqlc.types.Field(Int, graphql_name='token') + balance = sgqlc.types.Field(Float, graphql_name='balance') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + timing = sgqlc.types.Field('StakeTimingInsertInput', graphql_name='timing') + public_key = sgqlc.types.Field(String, graphql_name='public_key') + + +class StakePermissionInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('set_delegate', 'set_permissions', 'set_verification_key', 'stake', 'edit_state', 'send') + set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') + set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') + set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') + stake = sgqlc.types.Field(Boolean, graphql_name='stake') + edit_state = sgqlc.types.Field(String, graphql_name='edit_state') + send = sgqlc.types.Field(String, graphql_name='send') + + +class StakePermissionQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('set_verification_key_gt', 'set_delegate_gt', 'edit_state_nin', 'send_ne', 'send_lte', 'set_verification_key', 'edit_state_lte', 'edit_state_gte', 'and_', 'or_', 'send_nin', 'stake_ne', 'set_permissions_lte', 'set_permissions_in', 'send', 'send_exists', 'set_delegate_lte', 'set_delegate_gte', 'set_verification_key_ne', 'set_permissions', 'set_verification_key_lt', 'set_verification_key_exists', 'set_delegate_ne', 'set_verification_key_in', 'set_verification_key_nin', 'edit_state_in', 'send_gt', 'set_delegate_in', 'set_delegate_exists', 'edit_state', 'send_in', 'send_gte', 'set_permissions_exists', 'edit_state_lt', 'set_permissions_gte', 'set_delegate', 'edit_state_ne', 'send_lt', 'set_permissions_ne', 'set_verification_key_lte', 'stake', 'edit_state_gt', 'set_delegate_lt', 'set_permissions_nin', 'stake_exists', 'set_permissions_gt', 'set_verification_key_gte', 'edit_state_exists', 'set_delegate_nin', 'set_permissions_lt') + set_verification_key_gt = sgqlc.types.Field(String, graphql_name='set_verification_key_gt') + set_delegate_gt = sgqlc.types.Field(String, graphql_name='set_delegate_gt') + edit_state_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='edit_state_nin') + send_ne = sgqlc.types.Field(String, graphql_name='send_ne') + send_lte = sgqlc.types.Field(String, graphql_name='send_lte') + set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') + edit_state_lte = sgqlc.types.Field(String, graphql_name='edit_state_lte') + edit_state_gte = sgqlc.types.Field(String, graphql_name='edit_state_gte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakePermissionQueryInput')), graphql_name='AND') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakePermissionQueryInput')), graphql_name='OR') + send_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='send_nin') + stake_ne = sgqlc.types.Field(Boolean, graphql_name='stake_ne') + set_permissions_lte = sgqlc.types.Field(String, graphql_name='set_permissions_lte') + set_permissions_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_permissions_in') + send = sgqlc.types.Field(String, graphql_name='send') + send_exists = sgqlc.types.Field(Boolean, graphql_name='send_exists') + set_delegate_lte = sgqlc.types.Field(String, graphql_name='set_delegate_lte') + set_delegate_gte = sgqlc.types.Field(String, graphql_name='set_delegate_gte') + set_verification_key_ne = sgqlc.types.Field(String, graphql_name='set_verification_key_ne') + set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') + set_verification_key_lt = sgqlc.types.Field(String, graphql_name='set_verification_key_lt') + set_verification_key_exists = sgqlc.types.Field(Boolean, graphql_name='set_verification_key_exists') + set_delegate_ne = sgqlc.types.Field(String, graphql_name='set_delegate_ne') + set_verification_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_verification_key_in') + set_verification_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_verification_key_nin') + edit_state_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='edit_state_in') + send_gt = sgqlc.types.Field(String, graphql_name='send_gt') + set_delegate_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_delegate_in') + set_delegate_exists = sgqlc.types.Field(Boolean, graphql_name='set_delegate_exists') + edit_state = sgqlc.types.Field(String, graphql_name='edit_state') + send_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='send_in') + send_gte = sgqlc.types.Field(String, graphql_name='send_gte') + set_permissions_exists = sgqlc.types.Field(Boolean, graphql_name='set_permissions_exists') + edit_state_lt = sgqlc.types.Field(String, graphql_name='edit_state_lt') + set_permissions_gte = sgqlc.types.Field(String, graphql_name='set_permissions_gte') + set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') + edit_state_ne = sgqlc.types.Field(String, graphql_name='edit_state_ne') + send_lt = sgqlc.types.Field(String, graphql_name='send_lt') + set_permissions_ne = sgqlc.types.Field(String, graphql_name='set_permissions_ne') + set_verification_key_lte = sgqlc.types.Field(String, graphql_name='set_verification_key_lte') + stake = sgqlc.types.Field(Boolean, graphql_name='stake') + edit_state_gt = sgqlc.types.Field(String, graphql_name='edit_state_gt') + set_delegate_lt = sgqlc.types.Field(String, graphql_name='set_delegate_lt') + set_permissions_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_permissions_nin') + stake_exists = sgqlc.types.Field(Boolean, graphql_name='stake_exists') + set_permissions_gt = sgqlc.types.Field(String, graphql_name='set_permissions_gt') + set_verification_key_gte = sgqlc.types.Field(String, graphql_name='set_verification_key_gte') + edit_state_exists = sgqlc.types.Field(Boolean, graphql_name='edit_state_exists') + set_delegate_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_delegate_nin') + set_permissions_lt = sgqlc.types.Field(String, graphql_name='set_permissions_lt') + + +class StakePermissionUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('set_verification_key_unset', 'stake', 'send', 'set_verification_key', 'set_delegate_unset', 'send_unset', 'set_delegate', 'set_permissions_unset', 'edit_state_unset', 'set_permissions', 'stake_unset', 'edit_state') + set_verification_key_unset = sgqlc.types.Field(Boolean, graphql_name='set_verification_key_unset') + stake = sgqlc.types.Field(Boolean, graphql_name='stake') + send = sgqlc.types.Field(String, graphql_name='send') + set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') + set_delegate_unset = sgqlc.types.Field(Boolean, graphql_name='set_delegate_unset') + send_unset = sgqlc.types.Field(Boolean, graphql_name='send_unset') + set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') + set_permissions_unset = sgqlc.types.Field(Boolean, graphql_name='set_permissions_unset') + edit_state_unset = sgqlc.types.Field(Boolean, graphql_name='edit_state_unset') + set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') + stake_unset = sgqlc.types.Field(Boolean, graphql_name='stake_unset') + edit_state = sgqlc.types.Field(String, graphql_name='edit_state') + + +class StakeQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('receipt_chain_hash_ne', 'ledger_hash_lte', 'receipt_chain_hash_in', 'receipt_chain_hash_gte', 'balance_ne', 'public_key_exists', 'ledger_hash_gte', 'receipt_chain_hash', 'balance_lte', 'delegate', 'epoch_gte', 'chain_id_in', 'balance_gte', 'epoch_in', 'voting_for_gte', 'permissions', 'delegate_nin', 'token_in', 'epoch_exists', 'pk_ne', 'nonce_lte', 'timing_exists', 'voting_for_exists', 'epoch_nin', 'ledger_hash_lt', 'public_key_in', 'nonce_nin', 'epoch_lte', 'ledger_hash_in', 'chain_id_nin', 'nonce_in', 'public_key_ne', 'receipt_chain_hash_lte', 'ledger_hash_ne', 'public_key_gt', 'receipt_chain_hash_lt', 'chain_id_lt', 'delegate_exists', 'public_key', 'pk', 'voting_for_lte', 'delegate_gte', 'delegate_lte', 'chain_id_lte', 'token_gte', 'chain_id_ne', 'token_exists', 'permissions_exists', 'delegate_in', 'receipt_chain_hash_exists', 'public_key_gte', 'token', 'balance_exists', 'and_', 'nonce', 'token_ne', 'pk_lt', 'voting_for', 'or_', 'voting_for_gt', 'balance', 'nonce_lt', 'chain_id', 'chain_id_gte', 'pk_gte', 'receipt_chain_hash_gt', 'balance_nin', 'voting_for_nin', 'pk_gt', 'pk_nin', 'nonce_exists', 'chain_id_exists', 'epoch', 'epoch_gt', 'ledger_hash_gt', 'public_key_lte', 'token_lt', 'public_key_nin', 'chain_id_gt', 'delegate_ne', 'pk_exists', 'ledger_hash_nin', 'token_nin', 'pk_lte', 'voting_for_lt', 'token_gt', 'epoch_ne', 'nonce_gte', 'ledger_hash_exists', 'receipt_chain_hash_nin', 'balance_in', 'token_lte', 'ledger_hash', 'nonce_gt', 'balance_lt', 'nonce_ne', 'epoch_lt', 'balance_gt', 'delegate_lt', 'delegate_gt', 'timing', 'voting_for_in', 'pk_in', 'public_key_lt', 'voting_for_ne') + receipt_chain_hash_ne = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_ne') + ledger_hash_lte = sgqlc.types.Field(String, graphql_name='ledgerHash_lte') + receipt_chain_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='receipt_chain_hash_in') + receipt_chain_hash_gte = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_gte') + balance_ne = sgqlc.types.Field(Float, graphql_name='balance_ne') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='public_key_exists') + ledger_hash_gte = sgqlc.types.Field(String, graphql_name='ledgerHash_gte') + receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') + balance_lte = sgqlc.types.Field(Float, graphql_name='balance_lte') + delegate = sgqlc.types.Field(String, graphql_name='delegate') + epoch_gte = sgqlc.types.Field(Int, graphql_name='epoch_gte') + chain_id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='chainId_in') + balance_gte = sgqlc.types.Field(Float, graphql_name='balance_gte') + epoch_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_in') + voting_for_gte = sgqlc.types.Field(String, graphql_name='voting_for_gte') + permissions = sgqlc.types.Field(StakePermissionQueryInput, graphql_name='permissions') + delegate_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='delegate_nin') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + epoch_exists = sgqlc.types.Field(Boolean, graphql_name='epoch_exists') + pk_ne = sgqlc.types.Field(String, graphql_name='pk_ne') + nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') + timing_exists = sgqlc.types.Field(Boolean, graphql_name='timing_exists') + voting_for_exists = sgqlc.types.Field(Boolean, graphql_name='voting_for_exists') + epoch_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_nin') + ledger_hash_lt = sgqlc.types.Field(String, graphql_name='ledgerHash_lt') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='public_key_in') + nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') + epoch_lte = sgqlc.types.Field(Int, graphql_name='epoch_lte') + ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='ledgerHash_in') + chain_id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='chainId_nin') + nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') + public_key_ne = sgqlc.types.Field(String, graphql_name='public_key_ne') + receipt_chain_hash_lte = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_lte') + ledger_hash_ne = sgqlc.types.Field(String, graphql_name='ledgerHash_ne') + public_key_gt = sgqlc.types.Field(String, graphql_name='public_key_gt') + receipt_chain_hash_lt = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_lt') + chain_id_lt = sgqlc.types.Field(String, graphql_name='chainId_lt') + delegate_exists = sgqlc.types.Field(Boolean, graphql_name='delegate_exists') + public_key = sgqlc.types.Field(String, graphql_name='public_key') + pk = sgqlc.types.Field(String, graphql_name='pk') + voting_for_lte = sgqlc.types.Field(String, graphql_name='voting_for_lte') + delegate_gte = sgqlc.types.Field(String, graphql_name='delegate_gte') + delegate_lte = sgqlc.types.Field(String, graphql_name='delegate_lte') + chain_id_lte = sgqlc.types.Field(String, graphql_name='chainId_lte') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + chain_id_ne = sgqlc.types.Field(String, graphql_name='chainId_ne') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + permissions_exists = sgqlc.types.Field(Boolean, graphql_name='permissions_exists') + delegate_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='delegate_in') + receipt_chain_hash_exists = sgqlc.types.Field(Boolean, graphql_name='receipt_chain_hash_exists') + public_key_gte = sgqlc.types.Field(String, graphql_name='public_key_gte') + token = sgqlc.types.Field(Int, graphql_name='token') + balance_exists = sgqlc.types.Field(Boolean, graphql_name='balance_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeQueryInput')), graphql_name='AND') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + pk_lt = sgqlc.types.Field(String, graphql_name='pk_lt') + voting_for = sgqlc.types.Field(String, graphql_name='voting_for') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeQueryInput')), graphql_name='OR') + voting_for_gt = sgqlc.types.Field(String, graphql_name='voting_for_gt') + balance = sgqlc.types.Field(Float, graphql_name='balance') + nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') + chain_id = sgqlc.types.Field(String, graphql_name='chainId') + chain_id_gte = sgqlc.types.Field(String, graphql_name='chainId_gte') + pk_gte = sgqlc.types.Field(String, graphql_name='pk_gte') + receipt_chain_hash_gt = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_gt') + balance_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='balance_nin') + voting_for_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='voting_for_nin') + pk_gt = sgqlc.types.Field(String, graphql_name='pk_gt') + pk_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='pk_nin') + nonce_exists = sgqlc.types.Field(Boolean, graphql_name='nonce_exists') + chain_id_exists = sgqlc.types.Field(Boolean, graphql_name='chainId_exists') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + epoch_gt = sgqlc.types.Field(Int, graphql_name='epoch_gt') + ledger_hash_gt = sgqlc.types.Field(String, graphql_name='ledgerHash_gt') + public_key_lte = sgqlc.types.Field(String, graphql_name='public_key_lte') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='public_key_nin') + chain_id_gt = sgqlc.types.Field(String, graphql_name='chainId_gt') + delegate_ne = sgqlc.types.Field(String, graphql_name='delegate_ne') + pk_exists = sgqlc.types.Field(Boolean, graphql_name='pk_exists') + ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='ledgerHash_nin') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + pk_lte = sgqlc.types.Field(String, graphql_name='pk_lte') + voting_for_lt = sgqlc.types.Field(String, graphql_name='voting_for_lt') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + epoch_ne = sgqlc.types.Field(Int, graphql_name='epoch_ne') + nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') + ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='ledgerHash_exists') + receipt_chain_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='receipt_chain_hash_nin') + balance_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='balance_in') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') + balance_lt = sgqlc.types.Field(Float, graphql_name='balance_lt') + nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') + epoch_lt = sgqlc.types.Field(Int, graphql_name='epoch_lt') + balance_gt = sgqlc.types.Field(Float, graphql_name='balance_gt') + delegate_lt = sgqlc.types.Field(String, graphql_name='delegate_lt') + delegate_gt = sgqlc.types.Field(String, graphql_name='delegate_gt') + timing = sgqlc.types.Field('StakeTimingQueryInput', graphql_name='timing') + voting_for_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='voting_for_in') + pk_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='pk_in') + public_key_lt = sgqlc.types.Field(String, graphql_name='public_key_lt') + voting_for_ne = sgqlc.types.Field(String, graphql_name='voting_for_ne') + + +class StakeTimingInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('timed_epoch_end', 'cliff_time', 'initial_minimum_balance', 'vesting_period', 'untimed_slot', 'vesting_increment', 'timed_in_epoch', 'cliff_amount', 'timed_weighting') + timed_epoch_end = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end') + cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') + initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') + vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') + untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') + timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') + cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + timed_weighting = sgqlc.types.Field(Float, graphql_name='timed_weighting') + + +class StakeTimingQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('untimed_slot', 'untimed_slot_in', 'timed_weighting_lte', 'vesting_period_in', 'untimed_slot_lt', 'vesting_increment_gt', 'vesting_increment_exists', 'timed_in_epoch_ne', 'cliff_amount_nin', 'vesting_increment_in', 'cliff_amount_ne', 'untimed_slot_exists', 'untimed_slot_nin', 'vesting_increment_nin', 'cliff_time_gt', 'untimed_slot_lte', 'cliff_time_gte', 'initial_minimum_balance_in', 'vesting_increment', 'cliff_amount_lt', 'timed_weighting', 'vesting_period_ne', 'vesting_period_gt', 'cliff_time_ne', 'vesting_increment_ne', 'vesting_period_nin', 'cliff_time_lte', 'initial_minimum_balance_lte', 'initial_minimum_balance', 'initial_minimum_balance_exists', 'cliff_amount_gte', 'timed_epoch_end_ne', 'initial_minimum_balance_ne', 'cliff_time', 'cliff_time_in', 'cliff_amount_gt', 'timed_weighting_in', 'timed_weighting_exists', 'initial_minimum_balance_gt', 'timed_weighting_ne', 'cliff_time_nin', 'vesting_period', 'timed_weighting_gt', 'vesting_period_lt', 'vesting_period_lte', 'cliff_amount_lte', 'initial_minimum_balance_lt', 'cliff_amount', 'vesting_period_exists', 'and_', 'cliff_time_lt', 'timed_weighting_nin', 'untimed_slot_gt', 'or_', 'initial_minimum_balance_gte', 'timed_weighting_lt', 'timed_in_epoch_exists', 'cliff_time_exists', 'untimed_slot_ne', 'cliff_amount_exists', 'timed_epoch_end_exists', 'timed_in_epoch', 'vesting_increment_gte', 'timed_epoch_end', 'vesting_increment_lte', 'initial_minimum_balance_nin', 'cliff_amount_in', 'vesting_period_gte', 'vesting_increment_lt', 'untimed_slot_gte', 'timed_weighting_gte') + untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') + untimed_slot_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='untimed_slot_in') + timed_weighting_lte = sgqlc.types.Field(Float, graphql_name='timed_weighting_lte') + vesting_period_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='vesting_period_in') + untimed_slot_lt = sgqlc.types.Field(Int, graphql_name='untimed_slot_lt') + vesting_increment_gt = sgqlc.types.Field(Float, graphql_name='vesting_increment_gt') + vesting_increment_exists = sgqlc.types.Field(Boolean, graphql_name='vesting_increment_exists') + timed_in_epoch_ne = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_ne') + cliff_amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='cliff_amount_nin') + vesting_increment_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='vesting_increment_in') + cliff_amount_ne = sgqlc.types.Field(Float, graphql_name='cliff_amount_ne') + untimed_slot_exists = sgqlc.types.Field(Boolean, graphql_name='untimed_slot_exists') + untimed_slot_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='untimed_slot_nin') + vesting_increment_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='vesting_increment_nin') + cliff_time_gt = sgqlc.types.Field(Int, graphql_name='cliff_time_gt') + untimed_slot_lte = sgqlc.types.Field(Int, graphql_name='untimed_slot_lte') + cliff_time_gte = sgqlc.types.Field(Int, graphql_name='cliff_time_gte') + initial_minimum_balance_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='initial_minimum_balance_in') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') + cliff_amount_lt = sgqlc.types.Field(Float, graphql_name='cliff_amount_lt') + timed_weighting = sgqlc.types.Field(Float, graphql_name='timed_weighting') + vesting_period_ne = sgqlc.types.Field(Int, graphql_name='vesting_period_ne') + vesting_period_gt = sgqlc.types.Field(Int, graphql_name='vesting_period_gt') + cliff_time_ne = sgqlc.types.Field(Int, graphql_name='cliff_time_ne') + vesting_increment_ne = sgqlc.types.Field(Float, graphql_name='vesting_increment_ne') + vesting_period_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='vesting_period_nin') + cliff_time_lte = sgqlc.types.Field(Int, graphql_name='cliff_time_lte') + initial_minimum_balance_lte = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_lte') + initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') + initial_minimum_balance_exists = sgqlc.types.Field(Boolean, graphql_name='initial_minimum_balance_exists') + cliff_amount_gte = sgqlc.types.Field(Float, graphql_name='cliff_amount_gte') + timed_epoch_end_ne = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end_ne') + initial_minimum_balance_ne = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_ne') + cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') + cliff_time_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='cliff_time_in') + cliff_amount_gt = sgqlc.types.Field(Float, graphql_name='cliff_amount_gt') + timed_weighting_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='timed_weighting_in') + timed_weighting_exists = sgqlc.types.Field(Boolean, graphql_name='timed_weighting_exists') + initial_minimum_balance_gt = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_gt') + timed_weighting_ne = sgqlc.types.Field(Float, graphql_name='timed_weighting_ne') + cliff_time_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='cliff_time_nin') + vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') + timed_weighting_gt = sgqlc.types.Field(Float, graphql_name='timed_weighting_gt') + vesting_period_lt = sgqlc.types.Field(Int, graphql_name='vesting_period_lt') + vesting_period_lte = sgqlc.types.Field(Int, graphql_name='vesting_period_lte') + cliff_amount_lte = sgqlc.types.Field(Float, graphql_name='cliff_amount_lte') + initial_minimum_balance_lt = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_lt') + cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + vesting_period_exists = sgqlc.types.Field(Boolean, graphql_name='vesting_period_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeTimingQueryInput')), graphql_name='AND') + cliff_time_lt = sgqlc.types.Field(Int, graphql_name='cliff_time_lt') + timed_weighting_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='timed_weighting_nin') + untimed_slot_gt = sgqlc.types.Field(Int, graphql_name='untimed_slot_gt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeTimingQueryInput')), graphql_name='OR') + initial_minimum_balance_gte = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_gte') + timed_weighting_lt = sgqlc.types.Field(Float, graphql_name='timed_weighting_lt') + timed_in_epoch_exists = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_exists') + cliff_time_exists = sgqlc.types.Field(Boolean, graphql_name='cliff_time_exists') + untimed_slot_ne = sgqlc.types.Field(Int, graphql_name='untimed_slot_ne') + cliff_amount_exists = sgqlc.types.Field(Boolean, graphql_name='cliff_amount_exists') + timed_epoch_end_exists = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end_exists') + timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') + vesting_increment_gte = sgqlc.types.Field(Float, graphql_name='vesting_increment_gte') + timed_epoch_end = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end') + vesting_increment_lte = sgqlc.types.Field(Float, graphql_name='vesting_increment_lte') + initial_minimum_balance_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='initial_minimum_balance_nin') + cliff_amount_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='cliff_amount_in') + vesting_period_gte = sgqlc.types.Field(Int, graphql_name='vesting_period_gte') + vesting_increment_lt = sgqlc.types.Field(Float, graphql_name='vesting_increment_lt') + untimed_slot_gte = sgqlc.types.Field(Int, graphql_name='untimed_slot_gte') + timed_weighting_gte = sgqlc.types.Field(Float, graphql_name='timed_weighting_gte') + + +class StakeTimingUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('timed_in_epoch_unset', 'vesting_period_inc', 'cliff_time', 'initial_minimum_balance_inc', 'initial_minimum_balance', 'timed_weighting', 'untimed_slot_unset', 'vesting_period_unset', 'cliff_amount_unset', 'timed_epoch_end', 'untimed_slot_inc', 'cliff_amount', 'timed_epoch_end_unset', 'cliff_time_unset', 'timed_in_epoch', 'vesting_period', 'vesting_increment', 'vesting_increment_unset', 'cliff_amount_inc', 'cliff_time_inc', 'untimed_slot', 'initial_minimum_balance_unset', 'timed_weighting_inc', 'timed_weighting_unset', 'vesting_increment_inc') + timed_in_epoch_unset = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_unset') + vesting_period_inc = sgqlc.types.Field(Int, graphql_name='vesting_period_inc') + cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') + initial_minimum_balance_inc = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_inc') + initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') + timed_weighting = sgqlc.types.Field(Float, graphql_name='timed_weighting') + untimed_slot_unset = sgqlc.types.Field(Boolean, graphql_name='untimed_slot_unset') + vesting_period_unset = sgqlc.types.Field(Boolean, graphql_name='vesting_period_unset') + cliff_amount_unset = sgqlc.types.Field(Boolean, graphql_name='cliff_amount_unset') + timed_epoch_end = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end') + untimed_slot_inc = sgqlc.types.Field(Int, graphql_name='untimed_slot_inc') + cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + timed_epoch_end_unset = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end_unset') + cliff_time_unset = sgqlc.types.Field(Boolean, graphql_name='cliff_time_unset') + timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') + vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') + vesting_increment_unset = sgqlc.types.Field(Boolean, graphql_name='vesting_increment_unset') + cliff_amount_inc = sgqlc.types.Field(Float, graphql_name='cliff_amount_inc') + cliff_time_inc = sgqlc.types.Field(Int, graphql_name='cliff_time_inc') + untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') + initial_minimum_balance_unset = sgqlc.types.Field(Boolean, graphql_name='initial_minimum_balance_unset') + timed_weighting_inc = sgqlc.types.Field(Float, graphql_name='timed_weighting_inc') + timed_weighting_unset = sgqlc.types.Field(Boolean, graphql_name='timed_weighting_unset') + vesting_increment_inc = sgqlc.types.Field(Float, graphql_name='vesting_increment_inc') + + +class StakeUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token', 'chain_id_unset', 'receipt_chain_hash', 'token_unset', 'ledger_hash', 'epoch_unset', 'epoch', 'balance_unset', 'voting_for', 'balance_inc', 'nonce_unset', 'timing', 'voting_for_unset', 'balance', 'delegate_unset', 'public_key', 'nonce', 'permissions', 'nonce_inc', 'pk_unset', 'ledger_hash_unset', 'public_key_unset', 'timing_unset', 'permissions_unset', 'token_inc', 'epoch_inc', 'receipt_chain_hash_unset', 'pk', 'chain_id', 'delegate') + token = sgqlc.types.Field(Int, graphql_name='token') + chain_id_unset = sgqlc.types.Field(Boolean, graphql_name='chainId_unset') + receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + epoch_unset = sgqlc.types.Field(Boolean, graphql_name='epoch_unset') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + balance_unset = sgqlc.types.Field(Boolean, graphql_name='balance_unset') + voting_for = sgqlc.types.Field(String, graphql_name='voting_for') + balance_inc = sgqlc.types.Field(Float, graphql_name='balance_inc') + nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') + timing = sgqlc.types.Field(StakeTimingUpdateInput, graphql_name='timing') + voting_for_unset = sgqlc.types.Field(Boolean, graphql_name='voting_for_unset') + balance = sgqlc.types.Field(Float, graphql_name='balance') + delegate_unset = sgqlc.types.Field(Boolean, graphql_name='delegate_unset') + public_key = sgqlc.types.Field(String, graphql_name='public_key') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + permissions = sgqlc.types.Field(StakePermissionUpdateInput, graphql_name='permissions') + nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') + pk_unset = sgqlc.types.Field(Boolean, graphql_name='pk_unset') + ledger_hash_unset = sgqlc.types.Field(Boolean, graphql_name='ledgerHash_unset') + public_key_unset = sgqlc.types.Field(Boolean, graphql_name='public_key_unset') + timing_unset = sgqlc.types.Field(Boolean, graphql_name='timing_unset') + permissions_unset = sgqlc.types.Field(Boolean, graphql_name='permissions_unset') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + epoch_inc = sgqlc.types.Field(Int, graphql_name='epoch_inc') + receipt_chain_hash_unset = sgqlc.types.Field(Boolean, graphql_name='receipt_chain_hash_unset') + pk = sgqlc.types.Field(String, graphql_name='pk') + chain_id = sgqlc.types.Field(String, graphql_name='chainId') + delegate = sgqlc.types.Field(String, graphql_name='delegate') + + +class TransactionBlockStateHashRelationInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('create', 'link') + create = sgqlc.types.Field(BlockInsertInput, graphql_name='create') + link = sgqlc.types.Field(String, graphql_name='link') + + +class TransactionFeePayerInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token',) + token = sgqlc.types.Field(Int, graphql_name='token') + + +class TransactionFeePayerQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token_lte', 'token_in', 'token_exists', 'token_gte', 'token_lt', 'and_', 'token_nin', 'or_', 'token', 'token_ne', 'token_gt') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFeePayerQueryInput')), graphql_name='AND') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFeePayerQueryInput')), graphql_name='OR') + token = sgqlc.types.Field(Int, graphql_name='token') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + + +class TransactionFeePayerUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token_unset', 'token', 'token_inc') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + token = sgqlc.types.Field(Int, graphql_name='token') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + + +class TransactionFromAccountInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token',) + token = sgqlc.types.Field(Int, graphql_name='token') + + +class TransactionFromAccountQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token_lte', 'token_nin', 'token_exists', 'token', 'token_gt', 'and_', 'token_lt', 'or_', 'token_ne', 'token_gte', 'token_in') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + token = sgqlc.types.Field(Int, graphql_name='token') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFromAccountQueryInput')), graphql_name='AND') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFromAccountQueryInput')), graphql_name='OR') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + + +class TransactionFromAccountUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token', 'token_inc', 'token_unset') + token = sgqlc.types.Field(Int, graphql_name='token') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + + +class TransactionInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('receiver', 'amount', 'from_', 'source', 'token', 'fee', 'nonce', 'from_account', 'block_height', 'kind', 'is_delegation', 'hash', 'block', 'failure_reason', 'date_time', 'fee_token', 'to_account', 'memo', 'canonical', 'fee_payer', 'id', 'to') + receiver = sgqlc.types.Field('TransactionReceiverInsertInput', graphql_name='receiver') + amount = sgqlc.types.Field(Float, graphql_name='amount') + from_ = sgqlc.types.Field(String, graphql_name='from') + source = sgqlc.types.Field('TransactionSourceInsertInput', graphql_name='source') + token = sgqlc.types.Field(Int, graphql_name='token') + fee = sgqlc.types.Field(Float, graphql_name='fee') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + from_account = sgqlc.types.Field(TransactionFromAccountInsertInput, graphql_name='fromAccount') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + kind = sgqlc.types.Field(String, graphql_name='kind') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + hash = sgqlc.types.Field(String, graphql_name='hash') + block = sgqlc.types.Field(TransactionBlockStateHashRelationInput, graphql_name='block') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + to_account = sgqlc.types.Field('TransactionToAccountInsertInput', graphql_name='toAccount') + memo = sgqlc.types.Field(String, graphql_name='memo') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + fee_payer = sgqlc.types.Field(TransactionFeePayerInsertInput, graphql_name='feePayer') + id = sgqlc.types.Field(String, graphql_name='id') + to = sgqlc.types.Field(String, graphql_name='to') + + +class TransactionQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token_gte', 'to_exists', 'fee_gt', 'id_nin', 'kind', 'nonce_ne', 'is_delegation_exists', 'fee_token_nin', 'from_lte', 'token_nin', 'and_', 'failure_reason', 'memo_in', 'id_lte', 'hash_lte', 'fee_payer_exists', 'memo', 'token_in', 'hash_gt', 'to_account_exists', 'kind_lt', 'fee_lt', 'failure_reason_in', 'hash_ne', 'nonce_gt', 'canonical', 'from_account_exists', 'memo_nin', 'kind_lte', 'fee_lte', 'to_lte', 'id_lt', 'kind_nin', 'date_time_gte', 'token_gt', 'kind_in', 'from_exists', 'is_delegation_ne', 'from_gte', 'block_height_ne', 'id_exists', 'fee_token_gt', 'token_exists', 'nonce_lte', 'to_gt', 'to', 'amount_nin', 'fee_token_in', 'amount_lt', 'memo_ne', 'failure_reason_nin', 'from_ne', 'amount_lte', 'memo_gte', 'date_time_lte', 'date_time', 'amount_gte', 'fee', 'date_time_lt', 'to_ne', 'from_gt', 'memo_exists', 'fee_token', 'to_gte', 'date_time_in', 'block_height_in', 'memo_lte', 'date_time_nin', 'date_time_gt', 'to_lt', 'nonce_exists', 'block_exists', 'fee_token_gte', 'date_time_exists', 'failure_reason_gt', 'fee_token_lt', 'amount_gt', 'fee_token_exists', 'block_height_lt', 'block_height_gt', 'id', 'block_height_exists', 'kind_gt', 'nonce_nin', 'hash_nin', 'failure_reason_lt', 'from_account', 'from_lt', 'fee_payer', 'hash_gte', 'memo_gt', 'hash', 'hash_exists', 'id_in', 'hash_lt', 'block', 'from_nin', 'block_height_nin', 'nonce_lt', 'hash_in', 'fee_token_lte', 'token', 'amount', 'token_lt', 'from_', 'is_delegation', 'canonical_exists', 'nonce', 'token_lte', 'from_in', 'id_gte', 'failure_reason_lte', 'or_', 'amount_exists', 'failure_reason_gte', 'fee_exists', 'receiver_exists', 'block_height_lte', 'source_exists', 'nonce_in', 'fee_token_ne', 'to_in', 'id_gt', 'amount_ne', 'to_nin', 'block_height_gte', 'failure_reason_ne', 'fee_gte', 'nonce_gte', 'kind_gte', 'amount_in', 'id_ne', 'source', 'memo_lt', 'kind_exists', 'date_time_ne', 'fee_in', 'canonical_ne', 'token_ne', 'fee_nin', 'receiver', 'to_account', 'block_height', 'fee_ne', 'failure_reason_exists', 'kind_ne') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + to_exists = sgqlc.types.Field(Boolean, graphql_name='to_exists') + fee_gt = sgqlc.types.Field(Float, graphql_name='fee_gt') + id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_nin') + kind = sgqlc.types.Field(String, graphql_name='kind') + nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') + is_delegation_exists = sgqlc.types.Field(Boolean, graphql_name='isDelegation_exists') + fee_token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_nin') + from_lte = sgqlc.types.Field(String, graphql_name='from_lte') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionQueryInput')), graphql_name='AND') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + memo_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_in') + id_lte = sgqlc.types.Field(String, graphql_name='id_lte') + hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') + fee_payer_exists = sgqlc.types.Field(Boolean, graphql_name='feePayer_exists') + memo = sgqlc.types.Field(String, graphql_name='memo') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') + to_account_exists = sgqlc.types.Field(Boolean, graphql_name='toAccount_exists') + kind_lt = sgqlc.types.Field(String, graphql_name='kind_lt') + fee_lt = sgqlc.types.Field(Float, graphql_name='fee_lt') + failure_reason_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_in') + hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') + nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + from_account_exists = sgqlc.types.Field(Boolean, graphql_name='fromAccount_exists') + memo_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_nin') + kind_lte = sgqlc.types.Field(String, graphql_name='kind_lte') + fee_lte = sgqlc.types.Field(Float, graphql_name='fee_lte') + to_lte = sgqlc.types.Field(String, graphql_name='to_lte') + id_lt = sgqlc.types.Field(String, graphql_name='id_lt') + kind_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_nin') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + kind_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_in') + from_exists = sgqlc.types.Field(Boolean, graphql_name='from_exists') + is_delegation_ne = sgqlc.types.Field(Boolean, graphql_name='isDelegation_ne') + from_gte = sgqlc.types.Field(String, graphql_name='from_gte') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + id_exists = sgqlc.types.Field(Boolean, graphql_name='id_exists') + fee_token_gt = sgqlc.types.Field(Int, graphql_name='feeToken_gt') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') + to_gt = sgqlc.types.Field(String, graphql_name='to_gt') + to = sgqlc.types.Field(String, graphql_name='to') + amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='amount_nin') + fee_token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_in') + amount_lt = sgqlc.types.Field(Float, graphql_name='amount_lt') + memo_ne = sgqlc.types.Field(String, graphql_name='memo_ne') + failure_reason_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_nin') + from_ne = sgqlc.types.Field(String, graphql_name='from_ne') + amount_lte = sgqlc.types.Field(Float, graphql_name='amount_lte') + memo_gte = sgqlc.types.Field(String, graphql_name='memo_gte') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + amount_gte = sgqlc.types.Field(Float, graphql_name='amount_gte') + fee = sgqlc.types.Field(Float, graphql_name='fee') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + to_ne = sgqlc.types.Field(String, graphql_name='to_ne') + from_gt = sgqlc.types.Field(String, graphql_name='from_gt') + memo_exists = sgqlc.types.Field(Boolean, graphql_name='memo_exists') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + to_gte = sgqlc.types.Field(String, graphql_name='to_gte') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + memo_lte = sgqlc.types.Field(String, graphql_name='memo_lte') + date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + to_lt = sgqlc.types.Field(String, graphql_name='to_lt') + nonce_exists = sgqlc.types.Field(Boolean, graphql_name='nonce_exists') + block_exists = sgqlc.types.Field(Boolean, graphql_name='block_exists') + fee_token_gte = sgqlc.types.Field(Int, graphql_name='feeToken_gte') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + failure_reason_gt = sgqlc.types.Field(String, graphql_name='failureReason_gt') + fee_token_lt = sgqlc.types.Field(Int, graphql_name='feeToken_lt') + amount_gt = sgqlc.types.Field(Float, graphql_name='amount_gt') + fee_token_exists = sgqlc.types.Field(Boolean, graphql_name='feeToken_exists') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + id = sgqlc.types.Field(String, graphql_name='id') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + kind_gt = sgqlc.types.Field(String, graphql_name='kind_gt') + nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') + hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') + failure_reason_lt = sgqlc.types.Field(String, graphql_name='failureReason_lt') + from_account = sgqlc.types.Field(TransactionFromAccountQueryInput, graphql_name='fromAccount') + from_lt = sgqlc.types.Field(String, graphql_name='from_lt') + fee_payer = sgqlc.types.Field(TransactionFeePayerQueryInput, graphql_name='feePayer') + hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') + memo_gt = sgqlc.types.Field(String, graphql_name='memo_gt') + hash = sgqlc.types.Field(String, graphql_name='hash') + hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') + id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_in') + hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') + block = sgqlc.types.Field(BlockQueryInput, graphql_name='block') + from_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_nin') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') + hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') + fee_token_lte = sgqlc.types.Field(Int, graphql_name='feeToken_lte') + token = sgqlc.types.Field(Int, graphql_name='token') + amount = sgqlc.types.Field(Float, graphql_name='amount') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + from_ = sgqlc.types.Field(String, graphql_name='from') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + from_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_in') + id_gte = sgqlc.types.Field(String, graphql_name='id_gte') + failure_reason_lte = sgqlc.types.Field(String, graphql_name='failureReason_lte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionQueryInput')), graphql_name='OR') + amount_exists = sgqlc.types.Field(Boolean, graphql_name='amount_exists') + failure_reason_gte = sgqlc.types.Field(String, graphql_name='failureReason_gte') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + receiver_exists = sgqlc.types.Field(Boolean, graphql_name='receiver_exists') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + source_exists = sgqlc.types.Field(Boolean, graphql_name='source_exists') + nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') + fee_token_ne = sgqlc.types.Field(Int, graphql_name='feeToken_ne') + to_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_in') + id_gt = sgqlc.types.Field(String, graphql_name='id_gt') + amount_ne = sgqlc.types.Field(Float, graphql_name='amount_ne') + to_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_nin') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + failure_reason_ne = sgqlc.types.Field(String, graphql_name='failureReason_ne') + fee_gte = sgqlc.types.Field(Float, graphql_name='fee_gte') + nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') + kind_gte = sgqlc.types.Field(String, graphql_name='kind_gte') + amount_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='amount_in') + id_ne = sgqlc.types.Field(String, graphql_name='id_ne') + source = sgqlc.types.Field('TransactionSourceQueryInput', graphql_name='source') + memo_lt = sgqlc.types.Field(String, graphql_name='memo_lt') + kind_exists = sgqlc.types.Field(Boolean, graphql_name='kind_exists') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='fee_in') + canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='fee_nin') + receiver = sgqlc.types.Field('TransactionReceiverQueryInput', graphql_name='receiver') + to_account = sgqlc.types.Field('TransactionToAccountQueryInput', graphql_name='toAccount') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + fee_ne = sgqlc.types.Field(Float, graphql_name='fee_ne') + failure_reason_exists = sgqlc.types.Field(Boolean, graphql_name='failureReason_exists') + kind_ne = sgqlc.types.Field(String, graphql_name='kind_ne') + + +class TransactionReceiverInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class TransactionReceiverQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key', 'public_key_exists', 'public_key_gte', 'and_', 'public_key_in', 'public_key_gt', 'public_key_lt', 'public_key_lte', 'public_key_nin', 'public_key_ne', 'or_') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionReceiverQueryInput')), graphql_name='AND') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_nin') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionReceiverQueryInput')), graphql_name='OR') + + +class TransactionReceiverUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key', 'public_key_unset') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_unset = sgqlc.types.Field(Boolean, graphql_name='publicKey_unset') + + +class TransactionSourceInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class TransactionSourceQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('or_', 'public_key_gt', 'public_key_lt', 'and_', 'public_key_in', 'public_key_nin', 'public_key_gte', 'public_key_lte', 'public_key', 'public_key_ne', 'public_key_exists') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionSourceQueryInput')), graphql_name='OR') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionSourceQueryInput')), graphql_name='AND') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_nin') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + + +class TransactionSourceUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key', 'public_key_unset') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_unset = sgqlc.types.Field(Boolean, graphql_name='publicKey_unset') + + +class TransactionToAccountInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token',) + token = sgqlc.types.Field(Int, graphql_name='token') + + +class TransactionToAccountQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token_gt', 'token', 'token_gte', 'token_lte', 'or_', 'token_exists', 'token_ne', 'token_in', 'token_nin', 'and_', 'token_lt') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + token = sgqlc.types.Field(Int, graphql_name='token') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionToAccountQueryInput')), graphql_name='OR') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionToAccountQueryInput')), graphql_name='AND') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + + +class TransactionToAccountUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token_inc', 'token_unset', 'token') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + token = sgqlc.types.Field(Int, graphql_name='token') + + +class TransactionUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token_unset', 'canonical', 'date_time', 'block_height', 'from_', 'id_unset', 'block_unset', 'nonce_unset', 'canonical_unset', 'token_inc', 'block', 'to_account', 'amount_inc', 'memo_unset', 'from_unset', 'date_time_unset', 'receiver', 'kind', 'token', 'nonce_inc', 'fee_inc', 'amount_unset', 'is_delegation', 'fee_unset', 'hash_unset', 'memo', 'fee_payer_unset', 'receiver_unset', 'nonce', 'from_account', 'hash', 'block_height_inc', 'failure_reason', 'is_delegation_unset', 'fee_payer', 'fee_token_unset', 'source', 'fee_token', 'failure_reason_unset', 'to', 'kind_unset', 'amount', 'from_account_unset', 'to_account_unset', 'block_height_unset', 'fee_token_inc', 'id', 'fee', 'source_unset', 'to_unset') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + from_ = sgqlc.types.Field(String, graphql_name='from') + id_unset = sgqlc.types.Field(Boolean, graphql_name='id_unset') + block_unset = sgqlc.types.Field(Boolean, graphql_name='block_unset') + nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') + canonical_unset = sgqlc.types.Field(Boolean, graphql_name='canonical_unset') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + block = sgqlc.types.Field(TransactionBlockStateHashRelationInput, graphql_name='block') + to_account = sgqlc.types.Field(TransactionToAccountUpdateInput, graphql_name='toAccount') + amount_inc = sgqlc.types.Field(Float, graphql_name='amount_inc') + memo_unset = sgqlc.types.Field(Boolean, graphql_name='memo_unset') + from_unset = sgqlc.types.Field(Boolean, graphql_name='from_unset') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + receiver = sgqlc.types.Field(TransactionReceiverUpdateInput, graphql_name='receiver') + kind = sgqlc.types.Field(String, graphql_name='kind') + token = sgqlc.types.Field(Int, graphql_name='token') + nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') + fee_inc = sgqlc.types.Field(Float, graphql_name='fee_inc') + amount_unset = sgqlc.types.Field(Boolean, graphql_name='amount_unset') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') + memo = sgqlc.types.Field(String, graphql_name='memo') + fee_payer_unset = sgqlc.types.Field(Boolean, graphql_name='feePayer_unset') + receiver_unset = sgqlc.types.Field(Boolean, graphql_name='receiver_unset') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + from_account = sgqlc.types.Field(TransactionFromAccountUpdateInput, graphql_name='fromAccount') + hash = sgqlc.types.Field(String, graphql_name='hash') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + is_delegation_unset = sgqlc.types.Field(Boolean, graphql_name='isDelegation_unset') + fee_payer = sgqlc.types.Field(TransactionFeePayerUpdateInput, graphql_name='feePayer') + fee_token_unset = sgqlc.types.Field(Boolean, graphql_name='feeToken_unset') + source = sgqlc.types.Field(TransactionSourceUpdateInput, graphql_name='source') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + failure_reason_unset = sgqlc.types.Field(Boolean, graphql_name='failureReason_unset') + to = sgqlc.types.Field(String, graphql_name='to') + kind_unset = sgqlc.types.Field(Boolean, graphql_name='kind_unset') + amount = sgqlc.types.Field(Float, graphql_name='amount') + from_account_unset = sgqlc.types.Field(Boolean, graphql_name='fromAccount_unset') + to_account_unset = sgqlc.types.Field(Boolean, graphql_name='toAccount_unset') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + fee_token_inc = sgqlc.types.Field(Int, graphql_name='feeToken_inc') + id = sgqlc.types.Field(String, graphql_name='id') + fee = sgqlc.types.Field(Float, graphql_name='fee') + source_unset = sgqlc.types.Field(Boolean, graphql_name='source_unset') + to_unset = sgqlc.types.Field(Boolean, graphql_name='to_unset') + + + +######################################################################## +# Output Objects and Interfaces +######################################################################## +class Block(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('block_height', 'canonical', 'creator', 'creator_account', 'date_time', 'protocol_state', 'received_time', 'snark_fees', 'snark_jobs', 'state_hash', 'state_hash_field', 'transactions', 'tx_fees', 'winner_account') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + creator = sgqlc.types.Field(String, graphql_name='creator') + creator_account = sgqlc.types.Field('BlockCreatorAccount', graphql_name='creatorAccount') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + protocol_state = sgqlc.types.Field('BlockProtocolState', graphql_name='protocolState') + received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') + snark_fees = sgqlc.types.Field(Long, graphql_name='snarkFees') + snark_jobs = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJob'), graphql_name='snarkJobs') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + state_hash_field = sgqlc.types.Field(String, graphql_name='stateHashField') + transactions = sgqlc.types.Field('BlockTransaction', graphql_name='transactions') + tx_fees = sgqlc.types.Field(Long, graphql_name='txFees') + winner_account = sgqlc.types.Field('BlockWinnerAccount', graphql_name='winnerAccount') + + +class BlockCreatorAccount(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class BlockProtocolState(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('blockchain_state', 'consensus_state', 'previous_state_hash') + blockchain_state = sgqlc.types.Field('BlockProtocolStateBlockchainState', graphql_name='blockchainState') + consensus_state = sgqlc.types.Field('BlockProtocolStateConsensusState', graphql_name='consensusState') + previous_state_hash = sgqlc.types.Field(String, graphql_name='previousStateHash') + + +class BlockProtocolStateBlockchainState(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('date', 'snarked_ledger_hash', 'staged_ledger_hash', 'utc_date') + date = sgqlc.types.Field(Long, graphql_name='date') + snarked_ledger_hash = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash') + staged_ledger_hash = sgqlc.types.Field(String, graphql_name='stagedLedgerHash') + utc_date = sgqlc.types.Field(Long, graphql_name='utcDate') + + +class BlockProtocolStateConsensusState(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('block_height', 'blockchain_length', 'epoch', 'epoch_count', 'has_ancestor_in_same_checkpoint_window', 'last_vrf_output', 'min_window_density', 'next_epoch_data', 'slot', 'slot_since_genesis', 'staking_epoch_data', 'total_currency') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') + has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') + last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') + min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') + next_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateNextEpochDatum', graphql_name='nextEpochData') + slot = sgqlc.types.Field(Int, graphql_name='slot') + slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') + staking_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateStakingEpochDatum', graphql_name='stakingEpochData') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + + +class BlockProtocolStateConsensusStateNextEpochDatum(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('epoch_length', 'ledger', 'lock_checkpoint', 'seed', 'start_checkpoint') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + ledger = sgqlc.types.Field('BlockProtocolStateConsensusStateNextEpochDatumLedger', graphql_name='ledger') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + seed = sgqlc.types.Field(String, graphql_name='seed') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + + +class BlockProtocolStateConsensusStateNextEpochDatumLedger(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('hash', 'total_currency') + hash = sgqlc.types.Field(String, graphql_name='hash') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + + +class BlockProtocolStateConsensusStateStakingEpochDatum(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('epoch_length', 'ledger', 'lock_checkpoint', 'seed', 'start_checkpoint') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + ledger = sgqlc.types.Field('BlockProtocolStateConsensusStateStakingEpochDatumLedger', graphql_name='ledger') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + seed = sgqlc.types.Field(String, graphql_name='seed') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + + +class BlockProtocolStateConsensusStateStakingEpochDatumLedger(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('hash', 'total_currency') + hash = sgqlc.types.Field(String, graphql_name='hash') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + + +class BlockSnarkJob(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('block_height', 'block_state_hash', 'date_time', 'fee', 'prover', 'work_ids') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + fee = sgqlc.types.Field(Int, graphql_name='fee') + prover = sgqlc.types.Field(String, graphql_name='prover') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + + +class BlockTransaction(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('coinbase', 'coinbase_receiver_account', 'fee_transfer', 'user_commands') + coinbase = sgqlc.types.Field(Long, graphql_name='coinbase') + coinbase_receiver_account = sgqlc.types.Field('BlockTransactionCoinbaseReceiverAccount', graphql_name='coinbaseReceiverAccount') + fee_transfer = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionFeeTransfer'), graphql_name='feeTransfer') + user_commands = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommand'), graphql_name='userCommands') + + +class BlockTransactionCoinbaseReceiverAccount(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class BlockTransactionFeeTransfer(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('fee', 'recipient', 'type') + fee = sgqlc.types.Field(Long, graphql_name='fee') + recipient = sgqlc.types.Field(String, graphql_name='recipient') + type = sgqlc.types.Field(String, graphql_name='type') + + +class BlockTransactionUserCommand(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('amount', 'block_height', 'block_state_hash', 'date_time', 'failure_reason', 'fee', 'fee_payer', 'fee_token', 'from_', 'from_account', 'hash', 'id', 'is_delegation', 'kind', 'memo', 'nonce', 'receiver', 'source', 'to', 'to_account', 'token') + amount = sgqlc.types.Field(Float, graphql_name='amount') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + fee = sgqlc.types.Field(Float, graphql_name='fee') + fee_payer = sgqlc.types.Field('BlockTransactionUserCommandFeePayer', graphql_name='feePayer') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + from_ = sgqlc.types.Field(String, graphql_name='from') + from_account = sgqlc.types.Field('BlockTransactionUserCommandFromAccount', graphql_name='fromAccount') + hash = sgqlc.types.Field(String, graphql_name='hash') + id = sgqlc.types.Field(String, graphql_name='id') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + kind = sgqlc.types.Field(String, graphql_name='kind') + memo = sgqlc.types.Field(String, graphql_name='memo') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + receiver = sgqlc.types.Field('BlockTransactionUserCommandReceiver', graphql_name='receiver') + source = sgqlc.types.Field('BlockTransactionUserCommandSource', graphql_name='source') + to = sgqlc.types.Field(String, graphql_name='to') + to_account = sgqlc.types.Field('BlockTransactionUserCommandToAccount', graphql_name='toAccount') + token = sgqlc.types.Field(Int, graphql_name='token') + + +class BlockTransactionUserCommandFeePayer(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('token',) + token = sgqlc.types.Field(Int, graphql_name='token') + + +class BlockTransactionUserCommandFromAccount(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('token',) + token = sgqlc.types.Field(Int, graphql_name='token') + + +class BlockTransactionUserCommandReceiver(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class BlockTransactionUserCommandSource(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class BlockTransactionUserCommandToAccount(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('token',) + token = sgqlc.types.Field(Int, graphql_name='token') + + +class BlockWinnerAccount(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('balance', 'public_key') + balance = sgqlc.types.Field('BlockWinnerAccountBalance', graphql_name='balance') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class BlockWinnerAccountBalance(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('block_height', 'liquid', 'locked', 'state_hash', 'total', 'unknown') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + liquid = sgqlc.types.Field(Int, graphql_name='liquid') + locked = sgqlc.types.Field(Long, graphql_name='locked') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + total = sgqlc.types.Field(Long, graphql_name='total') + unknown = sgqlc.types.Field(Long, graphql_name='unknown') + + +class DelegationTotal(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('count_delegates', 'total_delegated') + count_delegates = sgqlc.types.Field(Int, graphql_name='countDelegates') + total_delegated = sgqlc.types.Field(Float, graphql_name='totalDelegated') + + +class DeleteManyPayload(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('deleted_count',) + deleted_count = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='deletedCount') + + +class InsertManyPayload(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('inserted_ids',) + inserted_ids = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(ObjectId)), graphql_name='insertedIds') + + +class Mutation(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('delete_many_blocks', 'delete_many_nextstakes', 'delete_many_payouts', 'delete_many_snarks', 'delete_many_stakes', 'delete_many_transactions', 'delete_one_block', 'delete_one_nextstake', 'delete_one_payout', 'delete_one_snark', 'delete_one_stake', 'delete_one_transaction', 'insert_many_blocks', 'insert_many_nextstakes', 'insert_many_payouts', 'insert_many_snarks', 'insert_many_stakes', 'insert_many_transactions', 'insert_one_block', 'insert_one_nextstake', 'insert_one_payout', 'insert_one_snark', 'insert_one_stake', 'insert_one_transaction', 'replace_one_block', 'replace_one_nextstake', 'replace_one_payout', 'replace_one_snark', 'replace_one_stake', 'replace_one_transaction', 'update_many_blocks', 'update_many_nextstakes', 'update_many_payouts', 'update_many_snarks', 'update_many_stakes', 'update_many_transactions', 'update_one_block', 'update_one_nextstake', 'update_one_payout', 'update_one_snark', 'update_one_stake', 'update_one_transaction', 'upsert_one_block', 'upsert_one_nextstake', 'upsert_one_payout', 'upsert_one_snark', 'upsert_one_stake', 'upsert_one_transaction') + delete_many_blocks = sgqlc.types.Field(DeleteManyPayload, graphql_name='deleteManyBlocks', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(BlockQueryInput, graphql_name='query', default=None)), +)) + ) + delete_many_nextstakes = sgqlc.types.Field(DeleteManyPayload, graphql_name='deleteManyNextstakes', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(NextstakeQueryInput, graphql_name='query', default=None)), +)) + ) + delete_many_payouts = sgqlc.types.Field(DeleteManyPayload, graphql_name='deleteManyPayouts', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(PayoutQueryInput, graphql_name='query', default=None)), +)) + ) + delete_many_snarks = sgqlc.types.Field(DeleteManyPayload, graphql_name='deleteManySnarks', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(SnarkQueryInput, graphql_name='query', default=None)), +)) + ) + delete_many_stakes = sgqlc.types.Field(DeleteManyPayload, graphql_name='deleteManyStakes', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(StakeQueryInput, graphql_name='query', default=None)), +)) + ) + delete_many_transactions = sgqlc.types.Field(DeleteManyPayload, graphql_name='deleteManyTransactions', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(TransactionQueryInput, graphql_name='query', default=None)), +)) + ) + delete_one_block = sgqlc.types.Field(Block, graphql_name='deleteOneBlock', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(sgqlc.types.non_null(BlockQueryInput), graphql_name='query', default=None)), +)) + ) + delete_one_nextstake = sgqlc.types.Field('Nextstake', graphql_name='deleteOneNextstake', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(sgqlc.types.non_null(NextstakeQueryInput), graphql_name='query', default=None)), +)) + ) + delete_one_payout = sgqlc.types.Field('Payout', graphql_name='deleteOnePayout', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(sgqlc.types.non_null(PayoutQueryInput), graphql_name='query', default=None)), +)) + ) + delete_one_snark = sgqlc.types.Field('Snark', graphql_name='deleteOneSnark', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(sgqlc.types.non_null(SnarkQueryInput), graphql_name='query', default=None)), +)) + ) + delete_one_stake = sgqlc.types.Field('Stake', graphql_name='deleteOneStake', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(sgqlc.types.non_null(StakeQueryInput), graphql_name='query', default=None)), +)) + ) + delete_one_transaction = sgqlc.types.Field('Transaction', graphql_name='deleteOneTransaction', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(sgqlc.types.non_null(TransactionQueryInput), graphql_name='query', default=None)), +)) + ) + insert_many_blocks = sgqlc.types.Field(InsertManyPayload, graphql_name='insertManyBlocks', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(BlockInsertInput))), graphql_name='data', default=None)), +)) + ) + insert_many_nextstakes = sgqlc.types.Field(InsertManyPayload, graphql_name='insertManyNextstakes', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(NextstakeInsertInput))), graphql_name='data', default=None)), +)) + ) + insert_many_payouts = sgqlc.types.Field(InsertManyPayload, graphql_name='insertManyPayouts', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(PayoutInsertInput))), graphql_name='data', default=None)), +)) + ) + insert_many_snarks = sgqlc.types.Field(InsertManyPayload, graphql_name='insertManySnarks', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(SnarkInsertInput))), graphql_name='data', default=None)), +)) + ) + insert_many_stakes = sgqlc.types.Field(InsertManyPayload, graphql_name='insertManyStakes', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(StakeInsertInput))), graphql_name='data', default=None)), +)) + ) + insert_many_transactions = sgqlc.types.Field(InsertManyPayload, graphql_name='insertManyTransactions', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(TransactionInsertInput))), graphql_name='data', default=None)), +)) + ) + insert_one_block = sgqlc.types.Field(Block, graphql_name='insertOneBlock', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(BlockInsertInput), graphql_name='data', default=None)), +)) + ) + insert_one_nextstake = sgqlc.types.Field('Nextstake', graphql_name='insertOneNextstake', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(NextstakeInsertInput), graphql_name='data', default=None)), +)) + ) + insert_one_payout = sgqlc.types.Field('Payout', graphql_name='insertOnePayout', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(PayoutInsertInput), graphql_name='data', default=None)), +)) + ) + insert_one_snark = sgqlc.types.Field('Snark', graphql_name='insertOneSnark', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(SnarkInsertInput), graphql_name='data', default=None)), +)) + ) + insert_one_stake = sgqlc.types.Field('Stake', graphql_name='insertOneStake', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(StakeInsertInput), graphql_name='data', default=None)), +)) + ) + insert_one_transaction = sgqlc.types.Field('Transaction', graphql_name='insertOneTransaction', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(TransactionInsertInput), graphql_name='data', default=None)), +)) + ) + replace_one_block = sgqlc.types.Field(Block, graphql_name='replaceOneBlock', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(BlockQueryInput, graphql_name='query', default=None)), + ('data', sgqlc.types.Arg(sgqlc.types.non_null(BlockInsertInput), graphql_name='data', default=None)), +)) + ) + replace_one_nextstake = sgqlc.types.Field('Nextstake', graphql_name='replaceOneNextstake', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(NextstakeQueryInput, graphql_name='query', default=None)), + ('data', sgqlc.types.Arg(sgqlc.types.non_null(NextstakeInsertInput), graphql_name='data', default=None)), +)) + ) + replace_one_payout = sgqlc.types.Field('Payout', graphql_name='replaceOnePayout', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(PayoutQueryInput, graphql_name='query', default=None)), + ('data', sgqlc.types.Arg(sgqlc.types.non_null(PayoutInsertInput), graphql_name='data', default=None)), +)) + ) + replace_one_snark = sgqlc.types.Field('Snark', graphql_name='replaceOneSnark', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(SnarkQueryInput, graphql_name='query', default=None)), + ('data', sgqlc.types.Arg(sgqlc.types.non_null(SnarkInsertInput), graphql_name='data', default=None)), +)) + ) + replace_one_stake = sgqlc.types.Field('Stake', graphql_name='replaceOneStake', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(StakeQueryInput, graphql_name='query', default=None)), + ('data', sgqlc.types.Arg(sgqlc.types.non_null(StakeInsertInput), graphql_name='data', default=None)), +)) + ) + replace_one_transaction = sgqlc.types.Field('Transaction', graphql_name='replaceOneTransaction', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(TransactionQueryInput, graphql_name='query', default=None)), + ('data', sgqlc.types.Arg(sgqlc.types.non_null(TransactionInsertInput), graphql_name='data', default=None)), +)) + ) + update_many_blocks = sgqlc.types.Field('UpdateManyPayload', graphql_name='updateManyBlocks', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(BlockQueryInput, graphql_name='query', default=None)), + ('set', sgqlc.types.Arg(sgqlc.types.non_null(BlockUpdateInput), graphql_name='set', default=None)), +)) + ) + update_many_nextstakes = sgqlc.types.Field('UpdateManyPayload', graphql_name='updateManyNextstakes', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(NextstakeQueryInput, graphql_name='query', default=None)), + ('set', sgqlc.types.Arg(sgqlc.types.non_null(NextstakeUpdateInput), graphql_name='set', default=None)), +)) + ) + update_many_payouts = sgqlc.types.Field('UpdateManyPayload', graphql_name='updateManyPayouts', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(PayoutQueryInput, graphql_name='query', default=None)), + ('set', sgqlc.types.Arg(sgqlc.types.non_null(PayoutUpdateInput), graphql_name='set', default=None)), +)) + ) + update_many_snarks = sgqlc.types.Field('UpdateManyPayload', graphql_name='updateManySnarks', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(SnarkQueryInput, graphql_name='query', default=None)), + ('set', sgqlc.types.Arg(sgqlc.types.non_null(SnarkUpdateInput), graphql_name='set', default=None)), +)) + ) + update_many_stakes = sgqlc.types.Field('UpdateManyPayload', graphql_name='updateManyStakes', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(StakeQueryInput, graphql_name='query', default=None)), + ('set', sgqlc.types.Arg(sgqlc.types.non_null(StakeUpdateInput), graphql_name='set', default=None)), +)) + ) + update_many_transactions = sgqlc.types.Field('UpdateManyPayload', graphql_name='updateManyTransactions', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(TransactionQueryInput, graphql_name='query', default=None)), + ('set', sgqlc.types.Arg(sgqlc.types.non_null(TransactionUpdateInput), graphql_name='set', default=None)), +)) + ) + update_one_block = sgqlc.types.Field(Block, graphql_name='updateOneBlock', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(BlockQueryInput, graphql_name='query', default=None)), + ('set', sgqlc.types.Arg(sgqlc.types.non_null(BlockUpdateInput), graphql_name='set', default=None)), +)) + ) + update_one_nextstake = sgqlc.types.Field('Nextstake', graphql_name='updateOneNextstake', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(NextstakeQueryInput, graphql_name='query', default=None)), + ('set', sgqlc.types.Arg(sgqlc.types.non_null(NextstakeUpdateInput), graphql_name='set', default=None)), +)) + ) + update_one_payout = sgqlc.types.Field('Payout', graphql_name='updateOnePayout', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(PayoutQueryInput, graphql_name='query', default=None)), + ('set', sgqlc.types.Arg(sgqlc.types.non_null(PayoutUpdateInput), graphql_name='set', default=None)), +)) + ) + update_one_snark = sgqlc.types.Field('Snark', graphql_name='updateOneSnark', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(SnarkQueryInput, graphql_name='query', default=None)), + ('set', sgqlc.types.Arg(sgqlc.types.non_null(SnarkUpdateInput), graphql_name='set', default=None)), +)) + ) + update_one_stake = sgqlc.types.Field('Stake', graphql_name='updateOneStake', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(StakeQueryInput, graphql_name='query', default=None)), + ('set', sgqlc.types.Arg(sgqlc.types.non_null(StakeUpdateInput), graphql_name='set', default=None)), +)) + ) + update_one_transaction = sgqlc.types.Field('Transaction', graphql_name='updateOneTransaction', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(TransactionQueryInput, graphql_name='query', default=None)), + ('set', sgqlc.types.Arg(sgqlc.types.non_null(TransactionUpdateInput), graphql_name='set', default=None)), +)) + ) + upsert_one_block = sgqlc.types.Field(Block, graphql_name='upsertOneBlock', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(BlockInsertInput), graphql_name='data', default=None)), + ('query', sgqlc.types.Arg(BlockQueryInput, graphql_name='query', default=None)), +)) + ) + upsert_one_nextstake = sgqlc.types.Field('Nextstake', graphql_name='upsertOneNextstake', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(NextstakeInsertInput), graphql_name='data', default=None)), + ('query', sgqlc.types.Arg(NextstakeQueryInput, graphql_name='query', default=None)), +)) + ) + upsert_one_payout = sgqlc.types.Field('Payout', graphql_name='upsertOnePayout', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(PayoutQueryInput, graphql_name='query', default=None)), + ('data', sgqlc.types.Arg(sgqlc.types.non_null(PayoutInsertInput), graphql_name='data', default=None)), +)) + ) + upsert_one_snark = sgqlc.types.Field('Snark', graphql_name='upsertOneSnark', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(SnarkQueryInput, graphql_name='query', default=None)), + ('data', sgqlc.types.Arg(sgqlc.types.non_null(SnarkInsertInput), graphql_name='data', default=None)), +)) + ) + upsert_one_stake = sgqlc.types.Field('Stake', graphql_name='upsertOneStake', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(StakeInsertInput), graphql_name='data', default=None)), + ('query', sgqlc.types.Arg(StakeQueryInput, graphql_name='query', default=None)), +)) + ) + upsert_one_transaction = sgqlc.types.Field('Transaction', graphql_name='upsertOneTransaction', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(TransactionQueryInput, graphql_name='query', default=None)), + ('data', sgqlc.types.Arg(sgqlc.types.non_null(TransactionInsertInput), graphql_name='data', default=None)), +)) + ) + + +class NextDelegationTotal(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('count_delegates', 'total_delegated') + count_delegates = sgqlc.types.Field(Int, graphql_name='countDelegates') + total_delegated = sgqlc.types.Field(Float, graphql_name='totalDelegated') + + +class Nextstake(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('balance', 'delegate', 'ledger_hash', 'next_delegation_totals', 'nonce', 'permissions', 'pk', 'public_key', 'receipt_chain_hash', 'timing', 'token', 'voting_for') + balance = sgqlc.types.Field(Float, graphql_name='balance') + delegate = sgqlc.types.Field(String, graphql_name='delegate') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + next_delegation_totals = sgqlc.types.Field(NextDelegationTotal, graphql_name='nextDelegationTotals') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + permissions = sgqlc.types.Field('NextstakePermission', graphql_name='permissions') + pk = sgqlc.types.Field(String, graphql_name='pk') + public_key = sgqlc.types.Field(String, graphql_name='public_key') + receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') + timing = sgqlc.types.Field('NextstakeTiming', graphql_name='timing') + token = sgqlc.types.Field(Int, graphql_name='token') + voting_for = sgqlc.types.Field(String, graphql_name='voting_for') + + +class NextstakePermission(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('edit_state', 'send', 'set_delegate', 'set_permissions', 'set_verification_key', 'stake') + edit_state = sgqlc.types.Field(String, graphql_name='edit_state') + send = sgqlc.types.Field(String, graphql_name='send') + set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') + set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') + set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') + stake = sgqlc.types.Field(Boolean, graphql_name='stake') + + +class NextstakeTiming(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('cliff_amount', 'cliff_time', 'initial_minimum_balance', 'vesting_increment', 'vesting_period') + cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') + initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') + vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') + + +class Payout(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('block_height', 'coinbase', 'date_time', 'effective_pool_stakes', 'effective_pool_weighting', 'foundation', 'ledger_hash', 'payment_hash', 'payment_id', 'payout', 'public_key', 'staking_balance', 'state_hash', 'sum_effective_pool_stakes', 'super_charged_weighting', 'supercharged_contribution', 'total_pool_stakes', 'total_rewards') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + coinbase = sgqlc.types.Field(Float, graphql_name='coinbase') + date_time = sgqlc.types.Field(String, graphql_name='dateTime') + effective_pool_stakes = sgqlc.types.Field(Float, graphql_name='effectivePoolStakes') + effective_pool_weighting = sgqlc.types.Field(Float, graphql_name='effectivePoolWeighting') + foundation = sgqlc.types.Field(Boolean, graphql_name='foundation') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + payment_hash = sgqlc.types.Field('Transaction', graphql_name='paymentHash') + payment_id = sgqlc.types.Field(String, graphql_name='paymentId') + payout = sgqlc.types.Field(Float, graphql_name='payout') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + staking_balance = sgqlc.types.Field(Float, graphql_name='stakingBalance') + state_hash = sgqlc.types.Field(Block, graphql_name='stateHash') + sum_effective_pool_stakes = sgqlc.types.Field(Float, graphql_name='sumEffectivePoolStakes') + super_charged_weighting = sgqlc.types.Field(Float, graphql_name='superChargedWeighting') + supercharged_contribution = sgqlc.types.Field(Float, graphql_name='superchargedContribution') + total_pool_stakes = sgqlc.types.Field(Float, graphql_name='totalPoolStakes') + total_rewards = sgqlc.types.Field(Float, graphql_name='totalRewards') + + +class Query(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('block', 'blocks', 'nextstake', 'nextstakes', 'payout', 'payouts', 'snark', 'snarks', 'stake', 'stakes', 'transaction', 'transactions') + block = sgqlc.types.Field(Block, graphql_name='block', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(BlockQueryInput, graphql_name='query', default=None)), +)) + ) + blocks = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(Block)), graphql_name='blocks', args=sgqlc.types.ArgDict(( + ('limit', sgqlc.types.Arg(Int, graphql_name='limit', default=100)), + ('sort_by', sgqlc.types.Arg(BlockSortByInput, graphql_name='sortBy', default=None)), + ('query', sgqlc.types.Arg(BlockQueryInput, graphql_name='query', default=None)), +)) + ) + nextstake = sgqlc.types.Field(Nextstake, graphql_name='nextstake', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(NextstakeQueryInput, graphql_name='query', default=None)), +)) + ) + nextstakes = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(Nextstake)), graphql_name='nextstakes', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(NextstakeQueryInput, graphql_name='query', default=None)), + ('limit', sgqlc.types.Arg(Int, graphql_name='limit', default=100)), + ('sort_by', sgqlc.types.Arg(NextstakeSortByInput, graphql_name='sortBy', default=None)), +)) + ) + payout = sgqlc.types.Field(Payout, graphql_name='payout', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(PayoutQueryInput, graphql_name='query', default=None)), +)) + ) + payouts = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(Payout)), graphql_name='payouts', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(PayoutQueryInput, graphql_name='query', default=None)), + ('limit', sgqlc.types.Arg(Int, graphql_name='limit', default=100)), + ('sort_by', sgqlc.types.Arg(PayoutSortByInput, graphql_name='sortBy', default=None)), +)) + ) + snark = sgqlc.types.Field('Snark', graphql_name='snark', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(SnarkQueryInput, graphql_name='query', default=None)), +)) + ) + snarks = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of('Snark')), graphql_name='snarks', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(SnarkQueryInput, graphql_name='query', default=None)), + ('limit', sgqlc.types.Arg(Int, graphql_name='limit', default=100)), + ('sort_by', sgqlc.types.Arg(SnarkSortByInput, graphql_name='sortBy', default=None)), +)) + ) + stake = sgqlc.types.Field('Stake', graphql_name='stake', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(StakeQueryInput, graphql_name='query', default=None)), +)) + ) + stakes = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of('Stake')), graphql_name='stakes', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(StakeQueryInput, graphql_name='query', default=None)), + ('limit', sgqlc.types.Arg(Int, graphql_name='limit', default=100)), + ('sort_by', sgqlc.types.Arg(StakeSortByInput, graphql_name='sortBy', default=None)), +)) + ) + transaction = sgqlc.types.Field('Transaction', graphql_name='transaction', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(TransactionQueryInput, graphql_name='query', default=None)), +)) + ) + transactions = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of('Transaction')), graphql_name='transactions', args=sgqlc.types.ArgDict(( + ('query', sgqlc.types.Arg(TransactionQueryInput, graphql_name='query', default=None)), + ('limit', sgqlc.types.Arg(Int, graphql_name='limit', default=100)), + ('sort_by', sgqlc.types.Arg(TransactionSortByInput, graphql_name='sortBy', default=None)), +)) + ) + + +class Snark(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('block', 'block_height', 'canonical', 'date_time', 'fee', 'prover', 'work_ids') + block = sgqlc.types.Field(Block, graphql_name='block') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + fee = sgqlc.types.Field(Float, graphql_name='fee') + prover = sgqlc.types.Field(String, graphql_name='prover') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + + +class Stake(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('balance', 'chain_id', 'delegate', 'delegation_totals', 'epoch', 'ledger_hash', 'nonce', 'permissions', 'pk', 'public_key', 'receipt_chain_hash', 'timing', 'token', 'voting_for') + balance = sgqlc.types.Field(Float, graphql_name='balance') + chain_id = sgqlc.types.Field(String, graphql_name='chainId') + delegate = sgqlc.types.Field(String, graphql_name='delegate') + delegation_totals = sgqlc.types.Field(DelegationTotal, graphql_name='delegationTotals') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + permissions = sgqlc.types.Field('StakePermission', graphql_name='permissions') + pk = sgqlc.types.Field(String, graphql_name='pk') + public_key = sgqlc.types.Field(String, graphql_name='public_key') + receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') + timing = sgqlc.types.Field('StakeTiming', graphql_name='timing') + token = sgqlc.types.Field(Int, graphql_name='token') + voting_for = sgqlc.types.Field(String, graphql_name='voting_for') + + +class StakePermission(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('edit_state', 'send', 'set_delegate', 'set_permissions', 'set_verification_key', 'stake') + edit_state = sgqlc.types.Field(String, graphql_name='edit_state') + send = sgqlc.types.Field(String, graphql_name='send') + set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') + set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') + set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') + stake = sgqlc.types.Field(Boolean, graphql_name='stake') + + +class StakeTiming(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('cliff_amount', 'cliff_time', 'initial_minimum_balance', 'timed_epoch_end', 'timed_in_epoch', 'timed_weighting', 'untimed_slot', 'vesting_increment', 'vesting_period') + cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') + initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') + timed_epoch_end = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end') + timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') + timed_weighting = sgqlc.types.Field(Float, graphql_name='timed_weighting') + untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') + vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') + + +class Transaction(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('amount', 'block', 'block_height', 'canonical', 'date_time', 'failure_reason', 'fee', 'fee_payer', 'fee_token', 'from_', 'from_account', 'hash', 'id', 'is_delegation', 'kind', 'memo', 'nonce', 'receiver', 'source', 'to', 'to_account', 'token') + amount = sgqlc.types.Field(Float, graphql_name='amount') + block = sgqlc.types.Field(Block, graphql_name='block') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + fee = sgqlc.types.Field(Float, graphql_name='fee') + fee_payer = sgqlc.types.Field('TransactionFeePayer', graphql_name='feePayer') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + from_ = sgqlc.types.Field(String, graphql_name='from') + from_account = sgqlc.types.Field('TransactionFromAccount', graphql_name='fromAccount') + hash = sgqlc.types.Field(String, graphql_name='hash') + id = sgqlc.types.Field(String, graphql_name='id') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + kind = sgqlc.types.Field(String, graphql_name='kind') + memo = sgqlc.types.Field(String, graphql_name='memo') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + receiver = sgqlc.types.Field('TransactionReceiver', graphql_name='receiver') + source = sgqlc.types.Field('TransactionSource', graphql_name='source') + to = sgqlc.types.Field(String, graphql_name='to') + to_account = sgqlc.types.Field('TransactionToAccount', graphql_name='toAccount') + token = sgqlc.types.Field(Int, graphql_name='token') + + +class TransactionFeePayer(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('token',) + token = sgqlc.types.Field(Int, graphql_name='token') + + +class TransactionFromAccount(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('token',) + token = sgqlc.types.Field(Int, graphql_name='token') + + +class TransactionReceiver(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class TransactionSource(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class TransactionToAccount(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('token',) + token = sgqlc.types.Field(Int, graphql_name='token') + + +class UpdateManyPayload(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('matched_count', 'modified_count') + matched_count = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='matchedCount') + modified_count = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='modifiedCount') + + + +######################################################################## +# Unions +######################################################################## + +######################################################################## +# Schema Entry Points +######################################################################## +mina_explorer_schema.query_type = Query +mina_explorer_schema.mutation_type = Mutation +mina_explorer_schema.subscription_type = None + diff --git a/mina_schemas/mina_schema.json b/mina_schemas/mina_schema.json new file mode 100644 index 0000000..309ef3e --- /dev/null +++ b/mina_schemas/mina_schema.json @@ -0,0 +1,8240 @@ +{ + "data": { + "__schema": { + "directives": [], + "mutationType": { + "name": "mutation" + }, + "queryType": { + "name": "query" + }, + "subscriptionType": { + "name": "subscription" + }, + "types": [ + { + "description": "Status for whenever the blockchain is reorganized", + "enumValues": [ + { + "description": null, + "name": "CHANGED" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "ChainReorganizationStatus", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Event that triggers when the network sync status changes", + "name": "newSyncUpdate", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SyncStatus", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "Public key that is included in the block", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + ], + "description": "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", + "name": "newBlock", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + } + }, + { + "args": [], + "description": "Event that triggers when the best tip changes in a way that is not a trivial extension of the existing one", + "name": "chainReorganization", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "ChainReorganizationStatus", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "subscription", + "possibleTypes": null + }, + { + "description": "A transaction encoded in the rosetta format", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "RosettaTransaction", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Command that was sent", + "name": "userCommand", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "UserCommand", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "SendRosettaTransactionPayload", + "possibleTypes": null + }, + { + "description": "Block encoded in extensional block format", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "ExtensionalBlock", + "possibleTypes": null + }, + { + "description": "Block encoded in precomputed block format", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "PrecomputedBlock", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "applied", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Applied", + "possibleTypes": null + }, + { + "description": "Network identifiers for another protocol participant", + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "libp2p_port", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": "IP address of the remote host", + "name": "host", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "base58-encoded peer ID", + "name": "peer_id", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": null, + "name": "libp2p_port", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "IP address of the remote host", + "name": "host", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "base58-encoded peer ID", + "name": "peer_id", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "NetworkPeer", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "If true, no connections will be allowed unless they are from a trusted peer", + "name": "isolate", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + { + "args": [], + "description": "Peers we will never allow connections from (unless they are also trusted!)", + "name": "bannedPeers", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NetworkPeer", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "Peers we will always allow connections from", + "name": "trustedPeers", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NetworkPeer", + "ofType": null + } + } + } + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "If true, no connections will be allowed unless they are from a trusted peer", + "name": "isolate", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Peers we will never allow connections from (unless they are also trusted!)", + "name": "bannedPeers", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NetworkPeer", + "ofType": null + } + } + } + } + }, + { + "defaultValue": null, + "description": "Peers we will always allow connections from", + "name": "trustedPeers", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NetworkPeer", + "ofType": null + } + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SetConnectionGatingConfigInput", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Fee to get rewarded for producing snark work", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Fee to get rewarded for producing snark work", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SetSnarkWorkFee", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Returns the last fee set to do snark work", + "name": "lastFee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "SetSnarkWorkFeePayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Public key you wish to start snark-working on; null to stop doing any snark work", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Public key you wish to start snark-working on; null to stop doing any snark work", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SetSnarkWorkerInput", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Returns the last public key that was designated for snark work", + "name": "lastSnarkWorker", + "type": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "SetSnarkWorkerPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Public keys of accounts you wish to stake with - these must be accounts that are in trackedAccounts", + "name": "publicKeys", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Public keys of accounts you wish to stake with - these must be accounts that are in trackedAccounts", + "name": "publicKeys", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SetStakingInput", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Returns the public keys that were staking funds previously", + "name": "lastStaking", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "List of public keys that could not be used to stake because they were locked", + "name": "lockedPublicKeys", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "Returns the public keys that are now staking their funds", + "name": "currentStakingKeys", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "SetStakingPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "tarfile", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "TarFile", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Tar archive containing logs", + "name": "exportLogs", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TarFile", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "ExportLogsPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "args": [], + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "args": [], + "description": "Fee amount in order to mint tokens", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Amount of token to create in the receiver's account", + "name": "amount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key to mint the new tokens for (defaults to token owner's account)", + "name": "receiver", + "type": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + }, + { + "args": [], + "description": "Token to mint more of", + "name": "token", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the token's owner", + "name": "tokenOwner", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Fee amount in order to mint tokens", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Amount of token to create in the receiver's account", + "name": "amount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Public key to mint the new tokens for (defaults to token owner's account)", + "name": "receiver", + "type": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Token to mint more of", + "name": "token", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Public key of the token's owner", + "name": "tokenOwner", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SendMintTokensInput", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Token minting command that was sent", + "name": "mintTokens", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserCommandMintTokens", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "SendMintTokensPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "args": [], + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "args": [], + "description": "Public key to pay the fees from and sign the transaction with (defaults to the receiver)", + "name": "feePayer", + "type": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + }, + { + "args": [], + "description": "Fee amount in order to create a token account", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key to create the account for", + "name": "receiver", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Token to create an account for", + "name": "token", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the token's owner", + "name": "tokenOwner", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Public key to pay the fees from and sign the transaction with (defaults to the receiver)", + "name": "feePayer", + "type": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Fee amount in order to create a token account", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Public key to create the account for", + "name": "receiver", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Token to create an account for", + "name": "token", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Public key of the token's owner", + "name": "tokenOwner", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SendCreateTokenAccountInput", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Token account creation command that was sent", + "name": "createNewTokenAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserCommandNewAccount", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "SendCreateTokenAccountPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "args": [], + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "args": [], + "description": "Fee amount in order to create a token", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key to create the token for", + "name": "tokenOwner", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key to pay the fee from (defaults to the tokenOwner)", + "name": "feePayer", + "type": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Fee amount in order to create a token", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Public key to create the token for", + "name": "tokenOwner", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Public key to pay the fee from (defaults to the tokenOwner)", + "name": "feePayer", + "type": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SendCreateTokenInput", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Token creation command that was sent", + "name": "createNewToken", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserCommandNewToken", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "SendCreateTokenPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "args": [], + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "args": [], + "description": "Fee amount in order to send a stake delegation", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the account being delegated to", + "name": "to", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of sender of a stake delegation", + "name": "from", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Fee amount in order to send a stake delegation", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Public key of the account being delegated to", + "name": "to", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Public key of sender of a stake delegation", + "name": "from", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SendDelegationInput", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Delegation change that was sent", + "name": "delegation", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "UserCommand", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "SendDelegationPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Payment that was sent", + "name": "payment", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "UserCommand", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "SendPaymentPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "True when the reload was successful", + "name": "success", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "ReloadAccountsPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Public key of account to be deleted", + "name": "publicKey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Public key of account to be deleted", + "name": "publicKey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "DeleteAccountInput", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Public key of the deleted account", + "name": "publicKey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "DeleteAccountPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Public key specifying which account to lock", + "name": "publicKey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Public key specifying which account to lock", + "name": "publicKey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "LockInput", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Public key of the locked account", + "name": "publicKey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Details of locked account", + "name": "account", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "LockPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Public key specifying which account to unlock", + "name": "publicKey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Password for the account to be unlocked", + "name": "password", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Public key specifying which account to unlock", + "name": "publicKey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Password for the account to be unlocked", + "name": "password", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "UnlockInput", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Public key of the unlocked account", + "name": "publicKey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Details of unlocked account", + "name": "account", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "UnlockPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Index of the account in hardware wallet", + "name": "index", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Index of the account in hardware wallet", + "name": "index", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "CreateHDAccountInput", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Password used to encrypt the new account", + "name": "password", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Password used to encrypt the new account", + "name": "password", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "AddAccountInput", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Public key of the created account", + "name": "publicKey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Details of created account", + "name": "account", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "AddAccountPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AddAccountInput", + "ofType": null + } + } + } + ], + "description": "Add a wallet - this will create a new keypair and store it in the daemon", + "name": "addWallet", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "AddAccountPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "AddAccountInput", + "ofType": null + } + } + } + ], + "description": "Create a new account - this will create a new keypair and store it in the daemon", + "name": "createAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "AddAccountPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "CreateHDAccountInput", + "ofType": null + } + } + } + ], + "description": "Create an account with hardware wallet - this will let the hardware wallet generate a keypair corresponds to the HD-index you give and store this HD-index and the generated public key in the daemon. Calling this command with the same HD-index and the same hardware wallet will always generate the same keypair.", + "name": "createHDAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "AddAccountPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UnlockInput", + "ofType": null + } + } + } + ], + "description": "Allow transactions to be sent from the unlocked account", + "name": "unlockAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UnlockPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UnlockInput", + "ofType": null + } + } + } + ], + "description": "Allow transactions to be sent from the unlocked account", + "name": "unlockWallet", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UnlockPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "LockInput", + "ofType": null + } + } + } + ], + "description": "Lock an unlocked account to prevent transaction being sent from it", + "name": "lockAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LockPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "LockInput", + "ofType": null + } + } + } + ], + "description": "Lock an unlocked account to prevent transaction being sent from it", + "name": "lockWallet", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LockPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "DeleteAccountInput", + "ofType": null + } + } + } + ], + "description": "Delete the private key for an account that you track", + "name": "deleteAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DeleteAccountPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "DeleteAccountInput", + "ofType": null + } + } + } + ], + "description": "Delete the private key for an account that you track", + "name": "deleteWallet", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DeleteAccountPayload", + "ofType": null + } + } + }, + { + "args": [], + "description": "Reload tracked account information from disk", + "name": "reloadAccounts", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReloadAccountsPayload", + "ofType": null + } + } + }, + { + "args": [], + "description": "Reload tracked account information from disk", + "name": "reloadWallets", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ReloadAccountsPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "If a signature is provided, this transaction is considered signed and will be broadcasted to the network without requiring a private key", + "name": "signature", + "type": { + "kind": "INPUT_OBJECT", + "name": "SignatureInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SendPaymentInput", + "ofType": null + } + } + } + ], + "description": "Send a payment", + "name": "sendPayment", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SendPaymentPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "If a signature is provided, this transaction is considered signed and will be broadcasted to the network without requiring a private key", + "name": "signature", + "type": { + "kind": "INPUT_OBJECT", + "name": "SignatureInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SendDelegationInput", + "ofType": null + } + } + } + ], + "description": "Change your delegate by sending a transaction", + "name": "sendDelegation", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SendDelegationPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "If a signature is provided, this transaction is considered signed and will be broadcasted to the network without requiring a private key", + "name": "signature", + "type": { + "kind": "INPUT_OBJECT", + "name": "SignatureInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SendCreateTokenInput", + "ofType": null + } + } + } + ], + "description": "Create a new token", + "name": "createToken", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SendCreateTokenPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "If a signature is provided, this transaction is considered signed and will be broadcasted to the network without requiring a private key", + "name": "signature", + "type": { + "kind": "INPUT_OBJECT", + "name": "SignatureInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SendCreateTokenAccountInput", + "ofType": null + } + } + } + ], + "description": "Create a new account for a token", + "name": "createTokenAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SendCreateTokenAccountPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "If a signature is provided, this transaction is considered signed and will be broadcasted to the network without requiring a private key", + "name": "signature", + "type": { + "kind": "INPUT_OBJECT", + "name": "SignatureInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SendMintTokensInput", + "ofType": null + } + } + } + ], + "description": "Mint more of a token", + "name": "mintTokens", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SendMintTokensPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "basename", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "description": "Export daemon logs to tar archive", + "name": "exportLogs", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ExportLogsPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SetStakingInput", + "ofType": null + } + } + } + ], + "description": "Set keys you wish to stake with", + "name": "setStaking", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SetStakingPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SetSnarkWorkerInput", + "ofType": null + } + } + } + ], + "description": "Set key you wish to snark work with or disable snark working", + "name": "setSnarkWorker", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SetSnarkWorkerPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SetSnarkWorkFee", + "ofType": null + } + } + } + ], + "description": "Set fee that you will like to receive for doing snark work", + "name": "setSnarkWorkFee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SetSnarkWorkFeePayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SetConnectionGatingConfigInput", + "ofType": null + } + } + } + ], + "description": "Set the connection gating config, returning the current config after the application (which may have failed)", + "name": "setConnectionGatingConfig", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SetConnectionGatingConfigPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "seed", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": null, + "name": "peers", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NetworkPeer", + "ofType": null + } + } + } + } + } + ], + "description": "Connect to the given peers", + "name": "addPeers", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Peer", + "ofType": null + } + } + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "Block encoded in precomputed block format", + "name": "block", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PrecomputedBlock", + "ofType": null + } + } + } + ], + "description": null, + "name": "archivePrecomputedBlock", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Applied", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "Block encoded in extensional block format", + "name": "block", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ExtensionalBlock", + "ofType": null + } + } + } + ], + "description": null, + "name": "archiveExtensionalBlock", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Applied", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "RosettaTransaction", + "ofType": null + } + } + } + ], + "description": "Send a transaction in rosetta format", + "name": "sendRosettaTransaction", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SendRosettaTransactionPayload", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "mutation", + "possibleTypes": null + }, + { + "description": "A cryptographic signature -- you must provide either field+scalar or rawSignature", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Raw encoded signature", + "name": "rawSignature", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "Scalar component of signature", + "name": "scalar", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "Field component of signature", + "name": "field", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Raw encoded signature", + "name": "rawSignature", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Scalar component of signature", + "name": "scalar", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Field component of signature", + "name": "field", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SignatureInput", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "args": [], + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "args": [], + "description": "Fee amount in order to send payment", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Amount of coda to send to to receiver", + "name": "amount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Token to send", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + }, + { + "args": [], + "description": "Public key of recipient of payment", + "name": "to", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of sender of payment", + "name": "from", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Fee amount in order to send payment", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Amount of coda to send to to receiver", + "name": "amount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Token to send", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Public key of recipient of payment", + "name": "to", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "Public key of sender of payment", + "name": "from", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SendPaymentInput", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "The fee charged to create a new account", + "name": "accountCreationFee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "The amount received as a coinbase reward for producing a block", + "name": "coinbase", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "GenesisConstants", + "possibleTypes": null + }, + { + "description": null, + "enumValues": [ + { + "description": null, + "name": "PLUS" + }, + { + "description": null, + "name": "MINUS" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "sign", + "possibleTypes": null + }, + { + "description": "Signed fee", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "+/-", + "name": "sign", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "sign", + "ofType": null + } + } + }, + { + "args": [], + "description": "Fee", + "name": "feeMagnitude", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "SignedFee", + "possibleTypes": null + }, + { + "description": "Transition from a source ledger to a target ledger with some fee excess and increase in supply ", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Base58Check-encoded hash of the source ledger", + "name": "sourceLedgerHash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "Base58Check-encoded hash of the target ledger", + "name": "targetLedgerHash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "Total transaction fee that is not accounted for in the transition from source ledger to target ledger", + "name": "feeExcess", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SignedFee", + "ofType": null + } + } + }, + { + "args": [], + "description": "Increase in total coinbase reward ", + "name": "supplyIncrease", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Unique identifier for a snark work", + "name": "workId", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "WorkDescription", + "possibleTypes": null + }, + { + "description": "Snark work bundles that are not available in the pool yet", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Work bundle with one or two snark work", + "name": "workBundle", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "WorkDescription", + "ofType": null + } + } + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "PendingSnarkWork", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "Float", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "IP address", + "name": "ip_addr", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "libp2p Peer ID", + "name": "peer_id", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "Trust score", + "name": "trust", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "args": [], + "description": "Banned status", + "name": "banned_status", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "TrustStatusPayload", + "possibleTypes": null + }, + { + "description": "Status of a transaction", + "enumValues": [ + { + "description": "A transaction that is on the longest chain", + "name": "INCLUDED" + }, + { + "description": "A transaction either in the transition frontier or in transaction pool but is not on the longest chain", + "name": "PENDING" + }, + { + "description": "The transaction has either been snarked, reached finality through consensus or has been dropped", + "name": "UNKNOWN" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "TransactionStatus", + "possibleTypes": null + }, + { + "description": "Completed snark works", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Public key of the prover", + "name": "prover", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Amount the prover is paid for the snark work", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Unique identifier for the snark work purchased", + "name": "workIds", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "CompletedWork", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Public key of fee transfer recipient", + "name": "recipient", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Amount that the recipient is paid in this fee transfer", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Fee_transfer|Fee_transfer_via_coinbase Snark worker fees deducted from the coinbase amount are of type 'Fee_transfer_via_coinbase', rest are deducted from transaction fees", + "name": "type", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "FeeTransfer", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "id", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "hash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "String describing the kind of user command", + "name": "kind", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UserCommandKind", + "ofType": null + } + } + }, + { + "args": [], + "description": "Sequence number of command for the fee-payer's account", + "name": "nonce", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that the command is sent from", + "name": "source", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that the command applies to", + "name": "receiver", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that pays the fees for the command", + "name": "feePayer", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Token used for the transaction", + "name": "token", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "Amount that the source is sending to receiver; 0 for commands without an associated amount", + "name": "amount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Token used to pay the fee", + "name": "feeToken", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "Fee that the fee-payer is willing to pay for making the transaction", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "A short message from the sender, encoded with Base58Check, version byte=0x14; byte 2 of the decoding is the message length", + "name": "memo", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "If true, this command represents a delegation of stake", + "name": "isDelegation", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the sender", + "name": "from", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account of the sender", + "name": "fromAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the receiver", + "name": "to", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account of the receiver", + "name": "toAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "null is no failure or status unknown, reason for failure otherwise.", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "UserCommand", + "ofType": null + } + ], + "kind": "OBJECT", + "name": "UserCommandPayment", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "delegator", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "delegatee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "id", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "hash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "String describing the kind of user command", + "name": "kind", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UserCommandKind", + "ofType": null + } + } + }, + { + "args": [], + "description": "Sequence number of command for the fee-payer's account", + "name": "nonce", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that the command is sent from", + "name": "source", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that the command applies to", + "name": "receiver", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that pays the fees for the command", + "name": "feePayer", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Token used for the transaction", + "name": "token", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "Amount that the source is sending to receiver; 0 for commands without an associated amount", + "name": "amount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Token used to pay the fee", + "name": "feeToken", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "Fee that the fee-payer is willing to pay for making the transaction", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "A short message from the sender, encoded with Base58Check, version byte=0x14; byte 2 of the decoding is the message length", + "name": "memo", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "If true, this command represents a delegation of stake", + "name": "isDelegation", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the sender", + "name": "from", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account of the sender", + "name": "fromAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the receiver", + "name": "to", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account of the receiver", + "name": "toAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "null is no failure or status unknown, reason for failure otherwise.", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "UserCommand", + "ofType": null + } + ], + "kind": "OBJECT", + "name": "UserCommandDelegation", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Public key to set as the owner of the new token", + "name": "tokenOwner", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Whether new accounts created in this token are disabled", + "name": "newAccountsDisabled", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "id", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "hash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "String describing the kind of user command", + "name": "kind", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UserCommandKind", + "ofType": null + } + } + }, + { + "args": [], + "description": "Sequence number of command for the fee-payer's account", + "name": "nonce", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that the command is sent from", + "name": "source", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that the command applies to", + "name": "receiver", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that pays the fees for the command", + "name": "feePayer", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Token used for the transaction", + "name": "token", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "Amount that the source is sending to receiver; 0 for commands without an associated amount", + "name": "amount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Token used to pay the fee", + "name": "feeToken", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "Fee that the fee-payer is willing to pay for making the transaction", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "A short message from the sender, encoded with Base58Check, version byte=0x14; byte 2 of the decoding is the message length", + "name": "memo", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "If true, this command represents a delegation of stake", + "name": "isDelegation", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the sender", + "name": "from", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account of the sender", + "name": "fromAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the receiver", + "name": "to", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account of the receiver", + "name": "toAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "null is no failure or status unknown, reason for failure otherwise.", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "UserCommand", + "ofType": null + } + ], + "kind": "OBJECT", + "name": "UserCommandNewToken", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "The account that owns the token for the new account", + "name": "tokenOwner", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Whether this account should be disabled upon creation. If this command was not issued by the token owner, it should match the 'newAccountsDisabled' property set in the token owner's account.", + "name": "disabled", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "id", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "hash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "String describing the kind of user command", + "name": "kind", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UserCommandKind", + "ofType": null + } + } + }, + { + "args": [], + "description": "Sequence number of command for the fee-payer's account", + "name": "nonce", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that the command is sent from", + "name": "source", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that the command applies to", + "name": "receiver", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that pays the fees for the command", + "name": "feePayer", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Token used for the transaction", + "name": "token", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "Amount that the source is sending to receiver; 0 for commands without an associated amount", + "name": "amount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Token used to pay the fee", + "name": "feeToken", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "Fee that the fee-payer is willing to pay for making the transaction", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "A short message from the sender, encoded with Base58Check, version byte=0x14; byte 2 of the decoding is the message length", + "name": "memo", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "If true, this command represents a delegation of stake", + "name": "isDelegation", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the sender", + "name": "from", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account of the sender", + "name": "fromAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the receiver", + "name": "to", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account of the receiver", + "name": "toAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "null is no failure or status unknown, reason for failure otherwise.", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "UserCommand", + "ofType": null + } + ], + "kind": "OBJECT", + "name": "UserCommandNewAccount", + "possibleTypes": null + }, + { + "description": "The kind of user command", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "UserCommandKind", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "ID", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "The account that owns the token to mint", + "name": "tokenOwner", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "id", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "hash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "String describing the kind of user command", + "name": "kind", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UserCommandKind", + "ofType": null + } + } + }, + { + "args": [], + "description": "Sequence number of command for the fee-payer's account", + "name": "nonce", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that the command is sent from", + "name": "source", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that the command applies to", + "name": "receiver", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that pays the fees for the command", + "name": "feePayer", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Token used for the transaction", + "name": "token", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "Amount that the source is sending to receiver; 0 for commands without an associated amount", + "name": "amount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Token used to pay the fee", + "name": "feeToken", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "Fee that the fee-payer is willing to pay for making the transaction", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "A short message from the sender, encoded with Base58Check, version byte=0x14; byte 2 of the decoding is the message length", + "name": "memo", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "If true, this command represents a delegation of stake", + "name": "isDelegation", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the sender", + "name": "from", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account of the sender", + "name": "fromAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the receiver", + "name": "to", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account of the receiver", + "name": "toAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "null is no failure or status unknown, reason for failure otherwise.", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "UserCommand", + "ofType": null + } + ], + "kind": "OBJECT", + "name": "UserCommandMintTokens", + "possibleTypes": null + }, + { + "description": "Common interface for user commands", + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "id", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "hash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "String describing the kind of user command", + "name": "kind", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UserCommandKind", + "ofType": null + } + } + }, + { + "args": [], + "description": "Sequence number of command for the fee-payer's account", + "name": "nonce", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that the command is sent from", + "name": "source", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that the command applies to", + "name": "receiver", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that pays the fees for the command", + "name": "feePayer", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Token used by the command", + "name": "token", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "Amount that the source is sending to receiver - 0 for commands that are not associated with an amount", + "name": "amount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Token used to pay the fee", + "name": "feeToken", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "Fee that the fee-payer is willing to pay for making the transaction", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "If true, this represents a delegation of stake, otherwise it is a payment", + "name": "isDelegation", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the sender", + "name": "from", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account of the sender", + "name": "fromAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Public key of the receiver", + "name": "to", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account of the receiver", + "name": "toAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "null is no failure, reason for failure otherwise.", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": null, + "kind": "INTERFACE", + "name": "UserCommand", + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "UserCommandMintTokens", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserCommandNewAccount", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserCommandNewToken", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserCommandDelegation", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UserCommandPayment", + "ofType": null + } + ] + }, + { + "description": "Different types of transactions in a block", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "List of user commands (payments and stake delegations) included in this block", + "name": "userCommands", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "UserCommand", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "List of fee transfers included in this block", + "name": "feeTransfer", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FeeTransfer", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "Amount of coda granted to the producer of this block", + "name": "coinbase", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account to which the coinbase for this block was granted", + "name": "coinbaseReceiverAccount", + "type": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Transactions", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Base-64 encoded proof", + "name": "base64", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "protocolStateProof", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "ledger", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "epochLedger", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "seed", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "startCheckpoint", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "lockCheckpoint", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "epochLength", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "NextEpochData", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "hash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "totalCurrency", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "epochLedger", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "ledger", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "epochLedger", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "seed", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "startCheckpoint", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "lockCheckpoint", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "epochLength", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "StakingEpochData", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Length of the blockchain at this block", + "name": "blockchainLength", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + }, + { + "args": [], + "description": "Height of the blockchain at this block", + "name": "blockHeight", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "epochCount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "minWindowDensity", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "lastVrfOutput", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "Total currency in circulation at this block", + "name": "totalCurrency", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "stakingEpochData", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StakingEpochData", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "nextEpochData", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "NextEpochData", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "hasAncestorInSameCheckpointWindow", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + { + "args": [], + "description": "Slot in which this block was created", + "name": "slot", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + }, + { + "args": [], + "description": "Slot since genesis (across all hard-forks)", + "name": "slotSinceGenesis", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + }, + { + "args": [], + "description": "Epoch in which this block was created", + "name": "epoch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "ConsensusState", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "date (stringified Unix time - number of milliseconds since January 1, 1970)", + "name": "date", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "utcDate (stringified Unix time - number of milliseconds since January 1, 1970). Time offsets are adjusted to reflect true wall-clock time instead of genesis time.", + "name": "utcDate", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "Base58Check-encoded hash of the snarked ledger", + "name": "snarkedLedgerHash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "Base58Check-encoded hash of the staged ledger", + "name": "stagedLedgerHash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockchainState", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Base58Check-encoded hash of the previous state", + "name": "previousStateHash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "State which is agnostic of a particular consensus algorithm", + "name": "blockchainState", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BlockchainState", + "ofType": null + } + } + }, + { + "args": [], + "description": "State specific to the Codaboros Proof of Stake consensus algorithm", + "name": "consensusState", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ConsensusState", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "ProtocolState", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Public key of account that produced this block", + "name": "creator", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that produced this block", + "name": "creatorAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account that won the slot (Delegator/Staker)", + "name": "winnerAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Base58Check-encoded hash of the state after this block", + "name": "stateHash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "Experimental: Bigint field-element representation of stateHash", + "name": "stateHashField", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "protocolState", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProtocolState", + "ofType": null + } + } + }, + { + "args": [], + "description": "Snark proof of blockchain state", + "name": "protocolStateProof", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "protocolStateProof", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "transactions", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Transactions", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "snarkJobs", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompletedWork", + "ofType": null + } + } + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Block", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Public key of current snark worker", + "name": "key", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "Account of the current snark worker", + "name": "account", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + }, + { + "args": [], + "description": "Fee that snark worker is charging to generate a snark proof", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "SnarkWorker", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "base58-encoded peer ID", + "name": "peer_id", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "IP address of the remote host", + "name": "host", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "libp2p_port", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "NetworkPeerPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Peers we will always allow connections from", + "name": "trustedPeers", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "NetworkPeerPayload", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "Peers we will never allow connections from (unless they are also trusted!)", + "name": "bannedPeers", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "NetworkPeerPayload", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "If true, no connections will be allowed unless they are from a trusted peer", + "name": "isolate", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "SetConnectionGatingConfigPayload", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "Boolean", + "possibleTypes": null + }, + { + "description": "A total balance annotated with the amount that is currently unknown with the invariant unknown <= total, as well as the currently liquid and locked balances.", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "The amount of coda owned by the account", + "name": "total", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "The amount of coda owned by the account whose origin is currently unknown", + "name": "unknown", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + }, + { + "args": [], + "description": "The amount of coda owned by the account which is currently available. Can be null if bootstrapping.", + "name": "liquid", + "type": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + }, + { + "args": [], + "description": "The amount of coda owned by the account which is currently locked. Can be null if bootstrapping.", + "name": "locked", + "type": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + }, + { + "args": [], + "description": "Block height at which balance was measured", + "name": "blockHeight", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + }, + { + "args": [], + "description": "Hash of block at which balance was measured. Can be null if bootstrapping. Guaranteed to be non-null for direct account lookup queries when not bootstrapping. Can also be null when accessed as nested properties (eg. via delegators). ", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "AnnotatedBalance", + "possibleTypes": null + }, + { + "description": "String representing a uint64 number in base 10", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "UInt64", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "The initial minimum balance for a time-locked account", + "name": "initial_mininum_balance", + "type": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + }, + { + "args": [], + "description": "The cliff time for a time-locked account", + "name": "cliff_time", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "args": [], + "description": "The cliff amount for a time-locked account", + "name": "cliff_amount", + "type": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + }, + { + "args": [], + "description": "The vesting period for a time-locked account", + "name": "vesting_period", + "type": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + }, + { + "args": [], + "description": "The vesting increment for a time-locked account", + "name": "vesting_increment", + "type": { + "kind": "SCALAR", + "name": "UInt64", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "AccountTiming", + "possibleTypes": null + }, + { + "description": "String representation of a token's UInt64 identifier", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "TokenId", + "possibleTypes": null + }, + { + "description": "Base58Check-encoded public key string", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "PublicKey", + "possibleTypes": null + }, + { + "description": "An account record according to the daemon", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "The public identity of the account", + "name": "publicKey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + }, + { + "args": [], + "description": "The token associated with this account", + "name": "token", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [], + "description": "The timing associated with this account", + "name": "timing", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "AccountTiming", + "ofType": null + } + } + }, + { + "args": [], + "description": "The amount of coda owned by the account", + "name": "balance", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "AnnotatedBalance", + "ofType": null + } + } + }, + { + "args": [], + "description": "A natural number that increases with each transaction (stringified uint32)", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "Like the `nonce` field, except it includes the scheduled transactions (transactions not yet included in a block) (stringified uint32)", + "name": "inferredNonce", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "The account that you delegated on the staking ledger of the current block's epoch", + "name": "epochDelegateAccount", + "type": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + }, + { + "args": [], + "description": "Top hash of the receipt chain merkle-list", + "name": "receiptChainHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "The public key to which you are delegating - if you are not delegating to anybody, this would return your public key", + "name": "delegate", + "type": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + }, + { + "args": [], + "description": "The account to which you are delegating - if you are not delegating to anybody, this would return your public key", + "name": "delegateAccount", + "type": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + }, + { + "args": [], + "description": "The list of accounts which are delegating to you (note that the info is recorded in the last epoch so it might not be up to date with the current account status)", + "name": "delegators", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + } + }, + { + "args": [], + "description": "The list of accounts which are delegating to you in the last epoch (note that the info is recorded in the one before last epoch epoch so it might not be up to date with the current account status)", + "name": "lastEpochDelegators", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + } + }, + { + "args": [], + "description": "The previous epoch lock hash of the chain which you are voting for", + "name": "votingFor", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "True if you are actively staking with this account on the current daemon - this may not yet have been updated if the staking key was changed recently", + "name": "stakingActive", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + }, + { + "args": [], + "description": "Path of the private key file for this account", + "name": "privateKeyPath", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": "True if locked, false if unlocked, null if the account isn't tracked by the queried daemon", + "name": "locked", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "args": [], + "description": "True if this account owns its associated token", + "name": "isTokenOwner", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "args": [], + "description": "True if this account has been disabled by the owner of the associated token", + "name": "isDisabled", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Account", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "externalIp", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "bindIp", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "peer", + "type": { + "kind": "OBJECT", + "name": "Peer", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "libp2pPort", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "clientPort", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "AddrsAndPorts", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "delta", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "k", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "slotsPerEpoch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "slotDuration", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "epochDuration", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "genesisStateTimestamp", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "acceptableNetworkDelay", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "ConsensusConfiguration", + "possibleTypes": null + }, + { + "description": "Consensus time and the corresponding global slot since genesis", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Time in terms of slot number in an epoch, start and end time of the slot since UTC epoch", + "name": "consensusTime", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ConsensusTime", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "globalSlotSinceGenesis", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "ConsensusTimeGlobalSlot", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Next block production time", + "name": "times", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ConsensusTime", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "Next block production global-slot-since-genesis ", + "name": "globalSlotSinceGenesis", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "Consensus time of the block that was used to determine the next block production time", + "name": "generatedFromConsensusAt", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ConsensusTimeGlobalSlot", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockProducerTimings", + "possibleTypes": null + }, + { + "description": "String representing a uint32 number in base 10", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "UInt32", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "epoch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "slot", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "globalSlot", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "startTime", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "endTime", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "ConsensusTime", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "start", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "stop", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Interval", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "values", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": null, + "name": "intervals", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Interval", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": null, + "name": "underflow", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "overflow", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Histogram", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "dispatch", + "type": { + "kind": "OBJECT", + "name": "Histogram", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "impl", + "type": { + "kind": "OBJECT", + "name": "Histogram", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "RpcPair", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "getStagedLedgerAux", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "RpcPair", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "answerSyncLedgerQuery", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "RpcPair", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "getAncestry", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "RpcPair", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "getTransitionChainProof", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "RpcPair", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "getTransitionChain", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "RpcPair", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "RpcTimings", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "rpcTimings", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "RpcTimings", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "externalTransitionLatency", + "type": { + "kind": "OBJECT", + "name": "Histogram", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "acceptedTransitionLocalLatency", + "type": { + "kind": "OBJECT", + "name": "Histogram", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "acceptedTransitionRemoteLatency", + "type": { + "kind": "OBJECT", + "name": "Histogram", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "snarkWorkerTransitionTime", + "type": { + "kind": "OBJECT", + "name": "Histogram", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "snarkWorkerMergeTime", + "type": { + "kind": "OBJECT", + "name": "Histogram", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Histograms", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "host", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "libp2pPort", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "peerId", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Peer", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "String", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "Int", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": null, + "name": "numAccounts", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "blockchainLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "highestBlockLengthReceived", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "highestUnvalidatedBlockLengthReceived", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "uptimeSecs", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "ledgerMerkleRoot", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "chainId", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "commitId", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "confDir", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "peers", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Peer", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": null, + "name": "userCommandsSent", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "snarkWorker", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "snarkWorkFee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "syncStatus", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SyncStatus", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "catchupStatus", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + }, + { + "args": [], + "description": null, + "name": "blockProductionKeys", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": null, + "name": "histograms", + "type": { + "kind": "OBJECT", + "name": "Histograms", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "consensusTimeBestTip", + "type": { + "kind": "OBJECT", + "name": "ConsensusTime", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "globalSlotSinceGenesisBestTip", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "nextBlockProduction", + "type": { + "kind": "OBJECT", + "name": "BlockProducerTimings", + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "consensusTimeNow", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ConsensusTime", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "consensusMechanism", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "consensusConfiguration", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ConsensusConfiguration", + "ofType": null + } + } + }, + { + "args": [], + "description": null, + "name": "addrsAndPorts", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "AddrsAndPorts", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "DaemonStatus", + "possibleTypes": null + }, + { + "description": "Sync status of daemon", + "enumValues": [ + { + "description": null, + "name": "CONNECTING" + }, + { + "description": null, + "name": "LISTENING" + }, + { + "description": null, + "name": "OFFLINE" + }, + { + "description": null, + "name": "BOOTSTRAP" + }, + { + "description": null, + "name": "SYNCED" + }, + { + "description": null, + "name": "CATCHUP" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "SyncStatus", + "possibleTypes": null + }, + { + "description": null, + "enumValues": null, + "fields": [ + { + "args": [], + "description": "Network sync status", + "name": "syncStatus", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SyncStatus", + "ofType": null + } + } + }, + { + "args": [], + "description": "Get running daemon status", + "name": "daemonStatus", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "DaemonStatus", + "ofType": null + } + } + }, + { + "args": [], + "description": "The version of the node (git commit hash)", + "name": "version", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "Wallets for which the daemon knows the private key", + "name": "ownedWallets", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "Accounts for which the daemon tracks the private key", + "name": "trackedAccounts", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "Public key of account being retrieved", + "name": "publicKey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "description": "Find any wallet via a public key", + "name": "wallet", + "type": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + }, + { + "args": [], + "description": "The rules that the libp2p helper will use to determine which connections to permit", + "name": "connectionGatingConfig", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SetConnectionGatingConfigPayload", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "Token of account being retrieved (defaults to CODA)", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "Public key of account being retrieved", + "name": "publicKey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "description": "Find any account via a public key and token", + "name": "account", + "type": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "Public key to find accounts for", + "name": "publicKey", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + } + ], + "description": "Find all accounts for a public key", + "name": "accounts", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } + } + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "Token to find the owner for", + "name": "token", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + } + ], + "description": "Find the public key that owns a given token", + "name": "tokenOwner", + "type": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + }, + { + "args": [], + "description": "Get information about the current snark worker", + "name": "currentSnarkWorker", + "type": { + "kind": "OBJECT", + "name": "SnarkWorker", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "The maximum number of blocks to return. If there are more blocks in the transition frontier from root to tip, the n blocks closest to the best tip will be returned", + "name": "maxLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "description": "Retrieve a list of blocks from transition frontier's root to the current best tip. Returns an error if the system is bootstrapping.", + "name": "bestChain", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "The height of the desired block in the best chain", + "name": "height", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "The state hash of the desired block", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "description": "Retrieve a block with the given state hash or height, if contained in the transition frontier.", + "name": "block", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + } + }, + { + "args": [], + "description": "Get the genesis block", + "name": "genesisBlock", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + } + }, + { + "args": [], + "description": "List of peers that the daemon first used to connect to the network", + "name": "initialPeers", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "List of peers that the daemon is currently connected to", + "name": "getPeers", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Peer", + "ofType": null + } + } + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "Hashes of the commands to find in the pool", + "name": "hashes", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "Public key of sender of pooled user commands", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } + } + ], + "description": "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", + "name": "pooledUserCommands", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "UserCommand", + "ofType": null + } + } + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "Id of a UserCommand", + "name": "payment", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + } + } + ], + "description": "Get the status of a transaction", + "name": "transactionStatus", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "TransactionStatus", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "ipAddress", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "description": "Trust status for an IPv4 or IPv6 address", + "name": "trustStatus", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TrustStatusPayload", + "ofType": null + } + } + } + }, + { + "args": [], + "description": "IP address and trust status for all peers", + "name": "trustStatusAll", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TrustStatusPayload", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "List of completed snark works that have the lowest fee so far", + "name": "snarkPool", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompletedWork", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "List of snark works that are yet to be done", + "name": "pendingSnarkWork", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PendingSnarkWork", + "ofType": null + } + } + } + } + }, + { + "args": [], + "description": "The constants used to determine the configuration of the genesis block and all of its transitive dependencies", + "name": "genesisConstants", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "GenesisConstants", + "ofType": null + } + } + }, + { + "args": [], + "description": "The time offset in seconds used to convert real times into blockchain times", + "name": "timeOffset", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "args": [], + "description": "The next token ID that has not been allocated. Token IDs are allocated sequentially, so all lower token IDs have been allocated", + "name": "nextAvailableToken", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "ofType": null + } + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "If a signature is provided, this transaction is considered signed and will be broadcasted to the network without requiring a private key", + "name": "signature", + "type": { + "kind": "INPUT_OBJECT", + "name": "SignatureInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SendPaymentInput", + "ofType": null + } + } + } + ], + "description": "Validate the format and signature of a payment", + "name": "validatePayment", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "query", + "possibleTypes": null + } + ] + } + } +} \ No newline at end of file diff --git a/mina_schemas/mina_schema.py b/mina_schemas/mina_schema.py new file mode 100644 index 0000000..703f4bc --- /dev/null +++ b/mina_schemas/mina_schema.py @@ -0,0 +1,911 @@ +import sgqlc.types + + +mina_schema = sgqlc.types.Schema() + + + +######################################################################## +# Scalars and Enumerations +######################################################################## +Boolean = sgqlc.types.Boolean + +class ChainReorganizationStatus(sgqlc.types.Enum): + __schema__ = mina_schema + __choices__ = ('CHANGED',) + + +class ExtensionalBlock(sgqlc.types.Scalar): + __schema__ = mina_schema + + +Float = sgqlc.types.Float + +ID = sgqlc.types.ID + +Int = sgqlc.types.Int + +class PrecomputedBlock(sgqlc.types.Scalar): + __schema__ = mina_schema + + +class PublicKey(sgqlc.types.Scalar): + __schema__ = mina_schema + + +class RosettaTransaction(sgqlc.types.Scalar): + __schema__ = mina_schema + + +String = sgqlc.types.String + +class SyncStatus(sgqlc.types.Enum): + __schema__ = mina_schema + __choices__ = ('CONNECTING', 'LISTENING', 'OFFLINE', 'BOOTSTRAP', 'SYNCED', 'CATCHUP') + + +class TokenId(sgqlc.types.Scalar): + __schema__ = mina_schema + + +class TransactionStatus(sgqlc.types.Enum): + __schema__ = mina_schema + __choices__ = ('INCLUDED', 'PENDING', 'UNKNOWN') + + +class UInt32(sgqlc.types.Scalar): + __schema__ = mina_schema + + +class UInt64(sgqlc.types.Scalar): + __schema__ = mina_schema + + +class UserCommandKind(sgqlc.types.Scalar): + __schema__ = mina_schema + + +class sign(sgqlc.types.Enum): + __schema__ = mina_schema + __choices__ = ('PLUS', 'MINUS') + + + +######################################################################## +# Input Objects +######################################################################## +class AddAccountInput(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('password',) + password = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='password') + + +class CreateHDAccountInput(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('index',) + index = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='index') + + +class DeleteAccountInput(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='publicKey') + + +class LockInput(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='publicKey') + + +class NetworkPeer(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('libp2p_port', 'host', 'peer_id') + libp2p_port = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='libp2p_port') + host = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='host') + peer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='peer_id') + + +class SendCreateTokenAccountInput(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('nonce', 'memo', 'valid_until', 'fee_payer', 'fee', 'receiver', 'token', 'token_owner') + nonce = sgqlc.types.Field(UInt32, graphql_name='nonce') + memo = sgqlc.types.Field(String, graphql_name='memo') + valid_until = sgqlc.types.Field(UInt32, graphql_name='validUntil') + fee_payer = sgqlc.types.Field(PublicKey, graphql_name='feePayer') + fee = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='fee') + receiver = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='receiver') + token = sgqlc.types.Field(sgqlc.types.non_null(TokenId), graphql_name='token') + token_owner = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='tokenOwner') + + +class SendCreateTokenInput(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('nonce', 'memo', 'valid_until', 'fee', 'token_owner', 'fee_payer') + nonce = sgqlc.types.Field(UInt32, graphql_name='nonce') + memo = sgqlc.types.Field(String, graphql_name='memo') + valid_until = sgqlc.types.Field(UInt32, graphql_name='validUntil') + fee = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='fee') + token_owner = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='tokenOwner') + fee_payer = sgqlc.types.Field(PublicKey, graphql_name='feePayer') + + +class SendDelegationInput(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('nonce', 'memo', 'valid_until', 'fee', 'to', 'from_') + nonce = sgqlc.types.Field(UInt32, graphql_name='nonce') + memo = sgqlc.types.Field(String, graphql_name='memo') + valid_until = sgqlc.types.Field(UInt32, graphql_name='validUntil') + fee = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='fee') + to = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='to') + from_ = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='from') + + +class SendMintTokensInput(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('nonce', 'memo', 'valid_until', 'fee', 'amount', 'receiver', 'token', 'token_owner') + nonce = sgqlc.types.Field(UInt32, graphql_name='nonce') + memo = sgqlc.types.Field(String, graphql_name='memo') + valid_until = sgqlc.types.Field(UInt32, graphql_name='validUntil') + fee = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='fee') + amount = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='amount') + receiver = sgqlc.types.Field(PublicKey, graphql_name='receiver') + token = sgqlc.types.Field(sgqlc.types.non_null(TokenId), graphql_name='token') + token_owner = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='tokenOwner') + + +class SendPaymentInput(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('nonce', 'memo', 'valid_until', 'fee', 'amount', 'token', 'to', 'from_') + nonce = sgqlc.types.Field(UInt32, graphql_name='nonce') + memo = sgqlc.types.Field(String, graphql_name='memo') + valid_until = sgqlc.types.Field(UInt32, graphql_name='validUntil') + fee = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='fee') + amount = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='amount') + token = sgqlc.types.Field(TokenId, graphql_name='token') + to = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='to') + from_ = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='from') + + +class SetConnectionGatingConfigInput(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('isolate', 'banned_peers', 'trusted_peers') + isolate = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isolate') + banned_peers = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(NetworkPeer))), graphql_name='bannedPeers') + trusted_peers = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(NetworkPeer))), graphql_name='trustedPeers') + + +class SetSnarkWorkFee(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('fee',) + fee = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='fee') + + +class SetSnarkWorkerInput(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(PublicKey, graphql_name='publicKey') + + +class SetStakingInput(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('public_keys',) + public_keys = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(PublicKey))), graphql_name='publicKeys') + + +class SignatureInput(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('raw_signature', 'scalar', 'field') + raw_signature = sgqlc.types.Field(String, graphql_name='rawSignature') + scalar = sgqlc.types.Field(String, graphql_name='scalar') + field = sgqlc.types.Field(String, graphql_name='field') + + +class UnlockInput(sgqlc.types.Input): + __schema__ = mina_schema + __field_names__ = ('public_key', 'password') + public_key = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='publicKey') + password = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='password') + + + +######################################################################## +# Output Objects and Interfaces +######################################################################## +class Account(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('public_key', 'token', 'timing', 'balance', 'nonce', 'inferred_nonce', 'epoch_delegate_account', 'receipt_chain_hash', 'delegate', 'delegate_account', 'delegators', 'last_epoch_delegators', 'voting_for', 'staking_active', 'private_key_path', 'locked', 'is_token_owner', 'is_disabled') + public_key = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='publicKey') + token = sgqlc.types.Field(sgqlc.types.non_null(TokenId), graphql_name='token') + timing = sgqlc.types.Field(sgqlc.types.non_null('AccountTiming'), graphql_name='timing') + balance = sgqlc.types.Field(sgqlc.types.non_null('AnnotatedBalance'), graphql_name='balance') + nonce = sgqlc.types.Field(String, graphql_name='nonce') + inferred_nonce = sgqlc.types.Field(String, graphql_name='inferredNonce') + epoch_delegate_account = sgqlc.types.Field('Account', graphql_name='epochDelegateAccount') + receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receiptChainHash') + delegate = sgqlc.types.Field(PublicKey, graphql_name='delegate') + delegate_account = sgqlc.types.Field('Account', graphql_name='delegateAccount') + delegators = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Account')), graphql_name='delegators') + last_epoch_delegators = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Account')), graphql_name='lastEpochDelegators') + voting_for = sgqlc.types.Field(String, graphql_name='votingFor') + staking_active = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='stakingActive') + private_key_path = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='privateKeyPath') + locked = sgqlc.types.Field(Boolean, graphql_name='locked') + is_token_owner = sgqlc.types.Field(Boolean, graphql_name='isTokenOwner') + is_disabled = sgqlc.types.Field(Boolean, graphql_name='isDisabled') + + +class AccountTiming(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('initial_mininum_balance', 'cliff_time', 'cliff_amount', 'vesting_period', 'vesting_increment') + initial_mininum_balance = sgqlc.types.Field(UInt64, graphql_name='initial_mininum_balance') + cliff_time = sgqlc.types.Field(UInt32, graphql_name='cliff_time') + cliff_amount = sgqlc.types.Field(UInt64, graphql_name='cliff_amount') + vesting_period = sgqlc.types.Field(UInt32, graphql_name='vesting_period') + vesting_increment = sgqlc.types.Field(UInt64, graphql_name='vesting_increment') + + +class AddAccountPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('public_key', 'account') + public_key = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='publicKey') + account = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='account') + + +class AddrsAndPorts(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('external_ip', 'bind_ip', 'peer', 'libp2p_port', 'client_port') + external_ip = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='externalIp') + bind_ip = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='bindIp') + peer = sgqlc.types.Field('Peer', graphql_name='peer') + libp2p_port = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='libp2pPort') + client_port = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='clientPort') + + +class AnnotatedBalance(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('total', 'unknown', 'liquid', 'locked', 'block_height', 'state_hash') + total = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='total') + unknown = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='unknown') + liquid = sgqlc.types.Field(UInt64, graphql_name='liquid') + locked = sgqlc.types.Field(UInt64, graphql_name='locked') + block_height = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='blockHeight') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + + +class Applied(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('applied',) + applied = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='applied') + + +class Block(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('creator', 'creator_account', 'winner_account', 'state_hash', 'state_hash_field', 'protocol_state', 'protocol_state_proof', 'transactions', 'snark_jobs') + creator = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='creator') + creator_account = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='creatorAccount') + winner_account = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='winnerAccount') + state_hash = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='stateHash') + state_hash_field = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='stateHashField') + protocol_state = sgqlc.types.Field(sgqlc.types.non_null('ProtocolState'), graphql_name='protocolState') + protocol_state_proof = sgqlc.types.Field(sgqlc.types.non_null('protocolStateProof'), graphql_name='protocolStateProof') + transactions = sgqlc.types.Field(sgqlc.types.non_null('Transactions'), graphql_name='transactions') + snark_jobs = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('CompletedWork'))), graphql_name='snarkJobs') + + +class BlockProducerTimings(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('times', 'global_slot_since_genesis', 'generated_from_consensus_at') + times = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('ConsensusTime'))), graphql_name='times') + global_slot_since_genesis = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(UInt32))), graphql_name='globalSlotSinceGenesis') + generated_from_consensus_at = sgqlc.types.Field(sgqlc.types.non_null('ConsensusTimeGlobalSlot'), graphql_name='generatedFromConsensusAt') + + +class BlockchainState(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('date', 'utc_date', 'snarked_ledger_hash', 'staged_ledger_hash') + date = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='date') + utc_date = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='utcDate') + snarked_ledger_hash = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='snarkedLedgerHash') + staged_ledger_hash = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='stagedLedgerHash') + + +class CompletedWork(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('prover', 'fee', 'work_ids') + prover = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='prover') + fee = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='fee') + work_ids = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Int))), graphql_name='workIds') + + +class ConsensusConfiguration(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('delta', 'k', 'slots_per_epoch', 'slot_duration', 'epoch_duration', 'genesis_state_timestamp', 'acceptable_network_delay') + delta = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='delta') + k = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='k') + slots_per_epoch = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='slotsPerEpoch') + slot_duration = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='slotDuration') + epoch_duration = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='epochDuration') + genesis_state_timestamp = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='genesisStateTimestamp') + acceptable_network_delay = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='acceptableNetworkDelay') + + +class ConsensusState(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('blockchain_length', 'block_height', 'epoch_count', 'min_window_density', 'last_vrf_output', 'total_currency', 'staking_epoch_data', 'next_epoch_data', 'has_ancestor_in_same_checkpoint_window', 'slot', 'slot_since_genesis', 'epoch') + blockchain_length = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='blockchainLength') + block_height = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='blockHeight') + epoch_count = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='epochCount') + min_window_density = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='minWindowDensity') + last_vrf_output = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='lastVrfOutput') + total_currency = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='totalCurrency') + staking_epoch_data = sgqlc.types.Field(sgqlc.types.non_null('StakingEpochData'), graphql_name='stakingEpochData') + next_epoch_data = sgqlc.types.Field(sgqlc.types.non_null('NextEpochData'), graphql_name='nextEpochData') + has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasAncestorInSameCheckpointWindow') + slot = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='slot') + slot_since_genesis = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='slotSinceGenesis') + epoch = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='epoch') + + +class ConsensusTime(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('epoch', 'slot', 'global_slot', 'start_time', 'end_time') + epoch = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='epoch') + slot = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='slot') + global_slot = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='globalSlot') + start_time = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='startTime') + end_time = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='endTime') + + +class ConsensusTimeGlobalSlot(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('consensus_time', 'global_slot_since_genesis') + consensus_time = sgqlc.types.Field(sgqlc.types.non_null(ConsensusTime), graphql_name='consensusTime') + global_slot_since_genesis = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='globalSlotSinceGenesis') + + +class DaemonStatus(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('num_accounts', 'blockchain_length', 'highest_block_length_received', 'highest_unvalidated_block_length_received', 'uptime_secs', 'ledger_merkle_root', 'state_hash', 'chain_id', 'commit_id', 'conf_dir', 'peers', 'user_commands_sent', 'snark_worker', 'snark_work_fee', 'sync_status', 'catchup_status', 'block_production_keys', 'histograms', 'consensus_time_best_tip', 'global_slot_since_genesis_best_tip', 'next_block_production', 'consensus_time_now', 'consensus_mechanism', 'consensus_configuration', 'addrs_and_ports') + num_accounts = sgqlc.types.Field(Int, graphql_name='numAccounts') + blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') + highest_block_length_received = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='highestBlockLengthReceived') + highest_unvalidated_block_length_received = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='highestUnvalidatedBlockLengthReceived') + uptime_secs = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='uptimeSecs') + ledger_merkle_root = sgqlc.types.Field(String, graphql_name='ledgerMerkleRoot') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + chain_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='chainId') + commit_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='commitId') + conf_dir = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='confDir') + peers = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('Peer'))), graphql_name='peers') + user_commands_sent = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='userCommandsSent') + snark_worker = sgqlc.types.Field(String, graphql_name='snarkWorker') + snark_work_fee = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='snarkWorkFee') + sync_status = sgqlc.types.Field(sgqlc.types.non_null(SyncStatus), graphql_name='syncStatus') + catchup_status = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='catchupStatus') + block_production_keys = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))), graphql_name='blockProductionKeys') + histograms = sgqlc.types.Field('Histograms', graphql_name='histograms') + consensus_time_best_tip = sgqlc.types.Field(ConsensusTime, graphql_name='consensusTimeBestTip') + global_slot_since_genesis_best_tip = sgqlc.types.Field(Int, graphql_name='globalSlotSinceGenesisBestTip') + next_block_production = sgqlc.types.Field(BlockProducerTimings, graphql_name='nextBlockProduction') + consensus_time_now = sgqlc.types.Field(sgqlc.types.non_null(ConsensusTime), graphql_name='consensusTimeNow') + consensus_mechanism = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='consensusMechanism') + consensus_configuration = sgqlc.types.Field(sgqlc.types.non_null(ConsensusConfiguration), graphql_name='consensusConfiguration') + addrs_and_ports = sgqlc.types.Field(sgqlc.types.non_null(AddrsAndPorts), graphql_name='addrsAndPorts') + + +class DeleteAccountPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('public_key',) + public_key = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='publicKey') + + +class ExportLogsPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('export_logs',) + export_logs = sgqlc.types.Field(sgqlc.types.non_null('TarFile'), graphql_name='exportLogs') + + +class FeeTransfer(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('recipient', 'fee', 'type') + recipient = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='recipient') + fee = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='fee') + type = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='type') + + +class GenesisConstants(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('account_creation_fee', 'coinbase') + account_creation_fee = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='accountCreationFee') + coinbase = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='coinbase') + + +class Histogram(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('values', 'intervals', 'underflow', 'overflow') + values = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Int))), graphql_name='values') + intervals = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('Interval'))), graphql_name='intervals') + underflow = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='underflow') + overflow = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='overflow') + + +class Histograms(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('rpc_timings', 'external_transition_latency', 'accepted_transition_local_latency', 'accepted_transition_remote_latency', 'snark_worker_transition_time', 'snark_worker_merge_time') + rpc_timings = sgqlc.types.Field(sgqlc.types.non_null('RpcTimings'), graphql_name='rpcTimings') + external_transition_latency = sgqlc.types.Field(Histogram, graphql_name='externalTransitionLatency') + accepted_transition_local_latency = sgqlc.types.Field(Histogram, graphql_name='acceptedTransitionLocalLatency') + accepted_transition_remote_latency = sgqlc.types.Field(Histogram, graphql_name='acceptedTransitionRemoteLatency') + snark_worker_transition_time = sgqlc.types.Field(Histogram, graphql_name='snarkWorkerTransitionTime') + snark_worker_merge_time = sgqlc.types.Field(Histogram, graphql_name='snarkWorkerMergeTime') + + +class Interval(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('start', 'stop') + start = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='start') + stop = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='stop') + + +class LockPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('public_key', 'account') + public_key = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='publicKey') + account = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='account') + + +class NetworkPeerPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('peer_id', 'host', 'libp2p_port') + peer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='peer_id') + host = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='host') + libp2p_port = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='libp2p_port') + + +class NextEpochData(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('ledger', 'seed', 'start_checkpoint', 'lock_checkpoint', 'epoch_length') + ledger = sgqlc.types.Field(sgqlc.types.non_null('epochLedger'), graphql_name='ledger') + seed = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='seed') + start_checkpoint = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='startCheckpoint') + lock_checkpoint = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='lockCheckpoint') + epoch_length = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='epochLength') + + +class Peer(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('host', 'libp2p_port', 'peer_id') + host = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='host') + libp2p_port = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='libp2pPort') + peer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='peerId') + + +class PendingSnarkWork(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('work_bundle',) + work_bundle = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('WorkDescription'))), graphql_name='workBundle') + + +class ProtocolState(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('previous_state_hash', 'blockchain_state', 'consensus_state') + previous_state_hash = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='previousStateHash') + blockchain_state = sgqlc.types.Field(sgqlc.types.non_null(BlockchainState), graphql_name='blockchainState') + consensus_state = sgqlc.types.Field(sgqlc.types.non_null(ConsensusState), graphql_name='consensusState') + + +class ReloadAccountsPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('success',) + success = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='success') + + +class RpcPair(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('dispatch', 'impl') + dispatch = sgqlc.types.Field(Histogram, graphql_name='dispatch') + impl = sgqlc.types.Field(Histogram, graphql_name='impl') + + +class RpcTimings(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('get_staged_ledger_aux', 'answer_sync_ledger_query', 'get_ancestry', 'get_transition_chain_proof', 'get_transition_chain') + get_staged_ledger_aux = sgqlc.types.Field(sgqlc.types.non_null(RpcPair), graphql_name='getStagedLedgerAux') + answer_sync_ledger_query = sgqlc.types.Field(sgqlc.types.non_null(RpcPair), graphql_name='answerSyncLedgerQuery') + get_ancestry = sgqlc.types.Field(sgqlc.types.non_null(RpcPair), graphql_name='getAncestry') + get_transition_chain_proof = sgqlc.types.Field(sgqlc.types.non_null(RpcPair), graphql_name='getTransitionChainProof') + get_transition_chain = sgqlc.types.Field(sgqlc.types.non_null(RpcPair), graphql_name='getTransitionChain') + + +class SendCreateTokenAccountPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('create_new_token_account',) + create_new_token_account = sgqlc.types.Field(sgqlc.types.non_null('UserCommandNewAccount'), graphql_name='createNewTokenAccount') + + +class SendCreateTokenPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('create_new_token',) + create_new_token = sgqlc.types.Field(sgqlc.types.non_null('UserCommandNewToken'), graphql_name='createNewToken') + + +class SendDelegationPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('delegation',) + delegation = sgqlc.types.Field(sgqlc.types.non_null('UserCommand'), graphql_name='delegation') + + +class SendMintTokensPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('mint_tokens',) + mint_tokens = sgqlc.types.Field(sgqlc.types.non_null('UserCommandMintTokens'), graphql_name='mintTokens') + + +class SendPaymentPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('payment',) + payment = sgqlc.types.Field(sgqlc.types.non_null('UserCommand'), graphql_name='payment') + + +class SendRosettaTransactionPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('user_command',) + user_command = sgqlc.types.Field(sgqlc.types.non_null('UserCommand'), graphql_name='userCommand') + + +class SetConnectionGatingConfigPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('trusted_peers', 'banned_peers', 'isolate') + trusted_peers = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(NetworkPeerPayload))), graphql_name='trustedPeers') + banned_peers = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(NetworkPeerPayload))), graphql_name='bannedPeers') + isolate = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isolate') + + +class SetSnarkWorkFeePayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('last_fee',) + last_fee = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='lastFee') + + +class SetSnarkWorkerPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('last_snark_worker',) + last_snark_worker = sgqlc.types.Field(PublicKey, graphql_name='lastSnarkWorker') + + +class SetStakingPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('last_staking', 'locked_public_keys', 'current_staking_keys') + last_staking = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(PublicKey))), graphql_name='lastStaking') + locked_public_keys = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(PublicKey))), graphql_name='lockedPublicKeys') + current_staking_keys = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(PublicKey))), graphql_name='currentStakingKeys') + + +class SignedFee(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('sign', 'fee_magnitude') + sign = sgqlc.types.Field(sgqlc.types.non_null('sign'), graphql_name='sign') + fee_magnitude = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='feeMagnitude') + + +class SnarkWorker(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('key', 'account', 'fee') + key = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='key') + account = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='account') + fee = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='fee') + + +class StakingEpochData(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('ledger', 'seed', 'start_checkpoint', 'lock_checkpoint', 'epoch_length') + ledger = sgqlc.types.Field(sgqlc.types.non_null('epochLedger'), graphql_name='ledger') + seed = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='seed') + start_checkpoint = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='startCheckpoint') + lock_checkpoint = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='lockCheckpoint') + epoch_length = sgqlc.types.Field(sgqlc.types.non_null(UInt32), graphql_name='epochLength') + + +class TarFile(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('tarfile',) + tarfile = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='tarfile') + + +class Transactions(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('user_commands', 'fee_transfer', 'coinbase', 'coinbase_receiver_account') + user_commands = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('UserCommand'))), graphql_name='userCommands') + fee_transfer = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(FeeTransfer))), graphql_name='feeTransfer') + coinbase = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='coinbase') + coinbase_receiver_account = sgqlc.types.Field(Account, graphql_name='coinbaseReceiverAccount') + + +class TrustStatusPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('ip_addr', 'peer_id', 'trust', 'banned_status') + ip_addr = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='ip_addr') + peer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='peer_id') + trust = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='trust') + banned_status = sgqlc.types.Field(String, graphql_name='banned_status') + + +class UnlockPayload(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('public_key', 'account') + public_key = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='publicKey') + account = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='account') + + +class UserCommand(sgqlc.types.Interface): + __schema__ = mina_schema + __field_names__ = ('id', 'hash', 'kind', 'nonce', 'source', 'receiver', 'fee_payer', 'token', 'amount', 'fee_token', 'fee', 'memo', 'is_delegation', 'from_', 'from_account', 'to', 'to_account', 'failure_reason') + id = sgqlc.types.Field(sgqlc.types.non_null(ID), graphql_name='id') + hash = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='hash') + kind = sgqlc.types.Field(sgqlc.types.non_null(UserCommandKind), graphql_name='kind') + nonce = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='nonce') + source = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='source') + receiver = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='receiver') + fee_payer = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='feePayer') + token = sgqlc.types.Field(sgqlc.types.non_null(TokenId), graphql_name='token') + amount = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='amount') + fee_token = sgqlc.types.Field(sgqlc.types.non_null(TokenId), graphql_name='feeToken') + fee = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='fee') + memo = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='memo') + is_delegation = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isDelegation') + from_ = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='from') + from_account = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='fromAccount') + to = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='to') + to_account = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='toAccount') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + + +class WorkDescription(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('source_ledger_hash', 'target_ledger_hash', 'fee_excess', 'supply_increase', 'work_id') + source_ledger_hash = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='sourceLedgerHash') + target_ledger_hash = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='targetLedgerHash') + fee_excess = sgqlc.types.Field(sgqlc.types.non_null(SignedFee), graphql_name='feeExcess') + supply_increase = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='supplyIncrease') + work_id = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='workId') + + +class epochLedger(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('hash', 'total_currency') + hash = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='hash') + total_currency = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name='totalCurrency') + + +class mutation(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('add_wallet', 'create_account', 'create_hdaccount', 'unlock_account', 'unlock_wallet', 'lock_account', 'lock_wallet', 'delete_account', 'delete_wallet', 'reload_accounts', 'reload_wallets', 'send_payment', 'send_delegation', 'create_token', 'create_token_account', 'mint_tokens', 'export_logs', 'set_staking', 'set_snark_worker', 'set_snark_work_fee', 'set_connection_gating_config', 'add_peers', 'archive_precomputed_block', 'archive_extensional_block', 'send_rosetta_transaction') + add_wallet = sgqlc.types.Field(sgqlc.types.non_null(AddAccountPayload), graphql_name='addWallet', args=sgqlc.types.ArgDict(( + ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddAccountInput), graphql_name='input', default=None)), +)) + ) + create_account = sgqlc.types.Field(sgqlc.types.non_null(AddAccountPayload), graphql_name='createAccount', args=sgqlc.types.ArgDict(( + ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddAccountInput), graphql_name='input', default=None)), +)) + ) + create_hdaccount = sgqlc.types.Field(sgqlc.types.non_null(AddAccountPayload), graphql_name='createHDAccount', args=sgqlc.types.ArgDict(( + ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreateHDAccountInput), graphql_name='input', default=None)), +)) + ) + unlock_account = sgqlc.types.Field(sgqlc.types.non_null(UnlockPayload), graphql_name='unlockAccount', args=sgqlc.types.ArgDict(( + ('input', sgqlc.types.Arg(sgqlc.types.non_null(UnlockInput), graphql_name='input', default=None)), +)) + ) + unlock_wallet = sgqlc.types.Field(sgqlc.types.non_null(UnlockPayload), graphql_name='unlockWallet', args=sgqlc.types.ArgDict(( + ('input', sgqlc.types.Arg(sgqlc.types.non_null(UnlockInput), graphql_name='input', default=None)), +)) + ) + lock_account = sgqlc.types.Field(sgqlc.types.non_null(LockPayload), graphql_name='lockAccount', args=sgqlc.types.ArgDict(( + ('input', sgqlc.types.Arg(sgqlc.types.non_null(LockInput), graphql_name='input', default=None)), +)) + ) + lock_wallet = sgqlc.types.Field(sgqlc.types.non_null(LockPayload), graphql_name='lockWallet', args=sgqlc.types.ArgDict(( + ('input', sgqlc.types.Arg(sgqlc.types.non_null(LockInput), graphql_name='input', default=None)), +)) + ) + delete_account = sgqlc.types.Field(sgqlc.types.non_null(DeleteAccountPayload), graphql_name='deleteAccount', args=sgqlc.types.ArgDict(( + ('input', sgqlc.types.Arg(sgqlc.types.non_null(DeleteAccountInput), graphql_name='input', default=None)), +)) + ) + delete_wallet = sgqlc.types.Field(sgqlc.types.non_null(DeleteAccountPayload), graphql_name='deleteWallet', args=sgqlc.types.ArgDict(( + ('input', sgqlc.types.Arg(sgqlc.types.non_null(DeleteAccountInput), graphql_name='input', default=None)), +)) + ) + reload_accounts = sgqlc.types.Field(sgqlc.types.non_null(ReloadAccountsPayload), graphql_name='reloadAccounts') + reload_wallets = sgqlc.types.Field(sgqlc.types.non_null(ReloadAccountsPayload), graphql_name='reloadWallets') + send_payment = sgqlc.types.Field(sgqlc.types.non_null(SendPaymentPayload), graphql_name='sendPayment', args=sgqlc.types.ArgDict(( + ('signature', sgqlc.types.Arg(SignatureInput, graphql_name='signature', default=None)), + ('input', sgqlc.types.Arg(sgqlc.types.non_null(SendPaymentInput), graphql_name='input', default=None)), +)) + ) + send_delegation = sgqlc.types.Field(sgqlc.types.non_null(SendDelegationPayload), graphql_name='sendDelegation', args=sgqlc.types.ArgDict(( + ('signature', sgqlc.types.Arg(SignatureInput, graphql_name='signature', default=None)), + ('input', sgqlc.types.Arg(sgqlc.types.non_null(SendDelegationInput), graphql_name='input', default=None)), +)) + ) + create_token = sgqlc.types.Field(sgqlc.types.non_null(SendCreateTokenPayload), graphql_name='createToken', args=sgqlc.types.ArgDict(( + ('signature', sgqlc.types.Arg(SignatureInput, graphql_name='signature', default=None)), + ('input', sgqlc.types.Arg(sgqlc.types.non_null(SendCreateTokenInput), graphql_name='input', default=None)), +)) + ) + create_token_account = sgqlc.types.Field(sgqlc.types.non_null(SendCreateTokenAccountPayload), graphql_name='createTokenAccount', args=sgqlc.types.ArgDict(( + ('signature', sgqlc.types.Arg(SignatureInput, graphql_name='signature', default=None)), + ('input', sgqlc.types.Arg(sgqlc.types.non_null(SendCreateTokenAccountInput), graphql_name='input', default=None)), +)) + ) + mint_tokens = sgqlc.types.Field(sgqlc.types.non_null(SendMintTokensPayload), graphql_name='mintTokens', args=sgqlc.types.ArgDict(( + ('signature', sgqlc.types.Arg(SignatureInput, graphql_name='signature', default=None)), + ('input', sgqlc.types.Arg(sgqlc.types.non_null(SendMintTokensInput), graphql_name='input', default=None)), +)) + ) + export_logs = sgqlc.types.Field(sgqlc.types.non_null(ExportLogsPayload), graphql_name='exportLogs', args=sgqlc.types.ArgDict(( + ('basename', sgqlc.types.Arg(String, graphql_name='basename', default=None)), +)) + ) + set_staking = sgqlc.types.Field(sgqlc.types.non_null(SetStakingPayload), graphql_name='setStaking', args=sgqlc.types.ArgDict(( + ('input', sgqlc.types.Arg(sgqlc.types.non_null(SetStakingInput), graphql_name='input', default=None)), +)) + ) + set_snark_worker = sgqlc.types.Field(sgqlc.types.non_null(SetSnarkWorkerPayload), graphql_name='setSnarkWorker', args=sgqlc.types.ArgDict(( + ('input', sgqlc.types.Arg(sgqlc.types.non_null(SetSnarkWorkerInput), graphql_name='input', default=None)), +)) + ) + set_snark_work_fee = sgqlc.types.Field(sgqlc.types.non_null(SetSnarkWorkFeePayload), graphql_name='setSnarkWorkFee', args=sgqlc.types.ArgDict(( + ('input', sgqlc.types.Arg(sgqlc.types.non_null(SetSnarkWorkFee), graphql_name='input', default=None)), +)) + ) + set_connection_gating_config = sgqlc.types.Field(sgqlc.types.non_null(SetConnectionGatingConfigPayload), graphql_name='setConnectionGatingConfig', args=sgqlc.types.ArgDict(( + ('input', sgqlc.types.Arg(sgqlc.types.non_null(SetConnectionGatingConfigInput), graphql_name='input', default=None)), +)) + ) + add_peers = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Peer))), graphql_name='addPeers', args=sgqlc.types.ArgDict(( + ('seed', sgqlc.types.Arg(Boolean, graphql_name='seed', default=None)), + ('peers', sgqlc.types.Arg(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(NetworkPeer))), graphql_name='peers', default=None)), +)) + ) + archive_precomputed_block = sgqlc.types.Field(sgqlc.types.non_null(Applied), graphql_name='archivePrecomputedBlock', args=sgqlc.types.ArgDict(( + ('block', sgqlc.types.Arg(sgqlc.types.non_null(PrecomputedBlock), graphql_name='block', default=None)), +)) + ) + archive_extensional_block = sgqlc.types.Field(sgqlc.types.non_null(Applied), graphql_name='archiveExtensionalBlock', args=sgqlc.types.ArgDict(( + ('block', sgqlc.types.Arg(sgqlc.types.non_null(ExtensionalBlock), graphql_name='block', default=None)), +)) + ) + send_rosetta_transaction = sgqlc.types.Field(sgqlc.types.non_null(SendRosettaTransactionPayload), graphql_name='sendRosettaTransaction', args=sgqlc.types.ArgDict(( + ('input', sgqlc.types.Arg(sgqlc.types.non_null(RosettaTransaction), graphql_name='input', default=None)), +)) + ) + + +class protocolStateProof(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('base64',) + base64 = sgqlc.types.Field(String, graphql_name='base64') + + +class query(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('sync_status', 'daemon_status', 'version', 'owned_wallets', 'tracked_accounts', 'wallet', 'connection_gating_config', 'account', 'accounts', 'token_owner', 'current_snark_worker', 'best_chain', 'block', 'genesis_block', 'initial_peers', 'get_peers', 'pooled_user_commands', 'transaction_status', 'trust_status', 'trust_status_all', 'snark_pool', 'pending_snark_work', 'genesis_constants', 'time_offset', 'next_available_token', 'validate_payment') + sync_status = sgqlc.types.Field(sgqlc.types.non_null(SyncStatus), graphql_name='syncStatus') + daemon_status = sgqlc.types.Field(sgqlc.types.non_null(DaemonStatus), graphql_name='daemonStatus') + version = sgqlc.types.Field(String, graphql_name='version') + owned_wallets = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Account))), graphql_name='ownedWallets') + tracked_accounts = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Account))), graphql_name='trackedAccounts') + wallet = sgqlc.types.Field(Account, graphql_name='wallet', args=sgqlc.types.ArgDict(( + ('public_key', sgqlc.types.Arg(sgqlc.types.non_null(PublicKey), graphql_name='publicKey', default=None)), +)) + ) + connection_gating_config = sgqlc.types.Field(sgqlc.types.non_null(SetConnectionGatingConfigPayload), graphql_name='connectionGatingConfig') + account = sgqlc.types.Field(Account, graphql_name='account', args=sgqlc.types.ArgDict(( + ('token', sgqlc.types.Arg(TokenId, graphql_name='token', default=None)), + ('public_key', sgqlc.types.Arg(sgqlc.types.non_null(PublicKey), graphql_name='publicKey', default=None)), +)) + ) + accounts = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Account))), graphql_name='accounts', args=sgqlc.types.ArgDict(( + ('public_key', sgqlc.types.Arg(sgqlc.types.non_null(PublicKey), graphql_name='publicKey', default=None)), +)) + ) + token_owner = sgqlc.types.Field(PublicKey, graphql_name='tokenOwner', args=sgqlc.types.ArgDict(( + ('token', sgqlc.types.Arg(sgqlc.types.non_null(TokenId), graphql_name='token', default=None)), +)) + ) + current_snark_worker = sgqlc.types.Field(SnarkWorker, graphql_name='currentSnarkWorker') + best_chain = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Block)), graphql_name='bestChain', args=sgqlc.types.ArgDict(( + ('max_length', sgqlc.types.Arg(Int, graphql_name='maxLength', default=None)), +)) + ) + block = sgqlc.types.Field(sgqlc.types.non_null(Block), graphql_name='block', args=sgqlc.types.ArgDict(( + ('height', sgqlc.types.Arg(Int, graphql_name='height', default=None)), + ('state_hash', sgqlc.types.Arg(String, graphql_name='stateHash', default=None)), +)) + ) + genesis_block = sgqlc.types.Field(sgqlc.types.non_null(Block), graphql_name='genesisBlock') + initial_peers = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))), graphql_name='initialPeers') + get_peers = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Peer))), graphql_name='getPeers') + pooled_user_commands = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(UserCommand))), graphql_name='pooledUserCommands', args=sgqlc.types.ArgDict(( + ('hashes', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='hashes', default=None)), + ('public_key', sgqlc.types.Arg(PublicKey, graphql_name='publicKey', default=None)), +)) + ) + transaction_status = sgqlc.types.Field(sgqlc.types.non_null(TransactionStatus), graphql_name='transactionStatus', args=sgqlc.types.ArgDict(( + ('payment', sgqlc.types.Arg(sgqlc.types.non_null(ID), graphql_name='payment', default=None)), +)) + ) + trust_status = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(TrustStatusPayload)), graphql_name='trustStatus', args=sgqlc.types.ArgDict(( + ('ip_address', sgqlc.types.Arg(sgqlc.types.non_null(String), graphql_name='ipAddress', default=None)), +)) + ) + trust_status_all = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(TrustStatusPayload))), graphql_name='trustStatusAll') + snark_pool = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(CompletedWork))), graphql_name='snarkPool') + pending_snark_work = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(PendingSnarkWork))), graphql_name='pendingSnarkWork') + genesis_constants = sgqlc.types.Field(sgqlc.types.non_null(GenesisConstants), graphql_name='genesisConstants') + time_offset = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='timeOffset') + next_available_token = sgqlc.types.Field(sgqlc.types.non_null(TokenId), graphql_name='nextAvailableToken') + validate_payment = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='validatePayment', args=sgqlc.types.ArgDict(( + ('signature', sgqlc.types.Arg(SignatureInput, graphql_name='signature', default=None)), + ('input', sgqlc.types.Arg(sgqlc.types.non_null(SendPaymentInput), graphql_name='input', default=None)), +)) + ) + + +class subscription(sgqlc.types.Type): + __schema__ = mina_schema + __field_names__ = ('new_sync_update', 'new_block', 'chain_reorganization') + new_sync_update = sgqlc.types.Field(sgqlc.types.non_null(SyncStatus), graphql_name='newSyncUpdate') + new_block = sgqlc.types.Field(sgqlc.types.non_null(Block), graphql_name='newBlock', args=sgqlc.types.ArgDict(( + ('public_key', sgqlc.types.Arg(PublicKey, graphql_name='publicKey', default=None)), +)) + ) + chain_reorganization = sgqlc.types.Field(sgqlc.types.non_null(ChainReorganizationStatus), graphql_name='chainReorganization') + + +class UserCommandDelegation(sgqlc.types.Type, UserCommand): + __schema__ = mina_schema + __field_names__ = ('delegator', 'delegatee') + delegator = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='delegator') + delegatee = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='delegatee') + + +class UserCommandMintTokens(sgqlc.types.Type, UserCommand): + __schema__ = mina_schema + __field_names__ = ('token_owner',) + token_owner = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='tokenOwner') + + +class UserCommandNewAccount(sgqlc.types.Type, UserCommand): + __schema__ = mina_schema + __field_names__ = ('token_owner', 'disabled') + token_owner = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='tokenOwner') + disabled = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='disabled') + + +class UserCommandNewToken(sgqlc.types.Type, UserCommand): + __schema__ = mina_schema + __field_names__ = ('token_owner', 'new_accounts_disabled') + token_owner = sgqlc.types.Field(sgqlc.types.non_null(PublicKey), graphql_name='tokenOwner') + new_accounts_disabled = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='newAccountsDisabled') + + +class UserCommandPayment(sgqlc.types.Type, UserCommand): + __schema__ = mina_schema + __field_names__ = () + + + +######################################################################## +# Unions +######################################################################## + +######################################################################## +# Schema Entry Points +######################################################################## +mina_schema.query_type = query +mina_schema.mutation_type = mutation +mina_schema.subscription_type = subscription + diff --git a/setup.py b/setup.py index 680b9d5..9ba4614 100644 --- a/setup.py +++ b/setup.py @@ -1,47 +1,39 @@ from __future__ import with_statement try: - from setuptools import setup + from setuptools import setup, find_packages except ImportError: from distutils.core import setup -with open('README.md') as f: +with open("README.md") as f: readme = f.read() -tests_require = ['six', 'pytest', 'pytest-cov', 'python-coveralls', 'mock', 'pysnap'] +tests_require = ["six", "pytest", "pytest-cov", "python-coveralls", "mock", "pysnap"] setup( - name='CodaClient', - version='0.0.14', - python_requires='>=3.5', - description='A Python wrapper around the Coda Daemon GraphQL API.', - github='http://github.com/CodaProtocol/coda-python', - author='Conner Swann', - author_email='conner@o1labs.org', - license='Apache License 2.0', - py_modules=['CodaClient'], - install_requires=[ - 'requests', - 'websockets>=7.0', - 'asyncio' - ], - extras_require={ - 'test': tests_require, - 'pytest': [ - 'pytest', - ] - }, + name="MinaClient", + version="0.0.15", + python_requires=">=3.5", + description="A Python wrapper around the Mina Daemon GraphQL API.", + github="http://github.com/CodaProtocol/coda-python", + author="Conner Swann", + author_email="conner@o1labs.org", + license="Apache License 2.0", + py_modules=["MinaClient"], + install_requires=["requests", "websockets>=7.0", "asyncio", "sgqlc==12.1"], + extras_require={"test": tests_require, "pytest": ["pytest"]}, tests_require=tests_require, - long_description=open('README.md').read(), + long_description=open("README.md").read(), + packages=find_packages(), classifiers=[ - 'Development Status :: 3 - Alpha', - 'Intended Audience :: Developers', - 'Operating System :: OS Independent', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Topic :: Software Development :: Libraries', - 'License :: OSI Approved :: Apache Software License' + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Topic :: Software Development :: Libraries", + "License :: OSI Approved :: Apache Software License", ], -) \ No newline at end of file +) diff --git a/tests/snapshots/snap_test_client.py b/tests/snapshots/snap_test_client.py index a193f8f..d652dcd 100644 --- a/tests/snapshots/snap_test_client.py +++ b/tests/snapshots/snap_test_client.py @@ -7,174 +7,209 @@ snapshots = Snapshot() -snapshots['TestCodaClient.test_get_daemon_status 1'] = [ +snapshots['TestMinaClient.test_get_daemon_status 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { 'Accept': 'application/json' }, 'json': { - 'query': 'query { daemonStatus { numAccounts blockchainLength highestBlockLengthReceived uptimeSecs ledgerMerkleRoot stateHash commitId peers userCommandsSent snarkWorker snarkWorkFee syncStatus proposePubkeys consensusTimeBestTip consensusTimeNow consensusMechanism confDir commitId consensusConfiguration { delta k c cTimesK slotsPerEpoch slotDuration epochDuration acceptableNetworkDelay } } }' + 'query': 'query { daemonStatus { numAccounts blockchainLength highestBlockLengthReceived highestUnvalidatedBlockLengthReceived uptimeSecs ledgerMerkleRoot stateHash chainId commitId confDir peers { host libp2pPort peerId } userCommandsSent snarkWorker snarkWorkFee syncStatus catchupStatus blockProductionKeys consensusTimeBestTip { epoch slot globalSlot startTime endTime } globalSlotSinceGenesisBestTip nextBlockProduction { globalSlotSinceGenesis } consensusTimeNow { epoch slot globalSlot startTime endTime } consensusMechanism consensusConfiguration { delta k slotsPerEpoch slotDuration epochDuration genesisStateTimestamp acceptableNetworkDelay } addrsAndPorts { externalIp bindIp libp2pPort clientPort } } }' } } ,) ] -snapshots['TestCodaClient.test_get_daemon_version 1'] = [ +snapshots['TestMinaClient.test_get_daemon_version 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { 'Accept': 'application/json' }, 'json': { - 'query': '{ version }' + 'query': 'query { version }' } } ,) ] -snapshots['TestCodaClient.test_get_wallets 1'] = [ +snapshots['TestMinaClient.test_get_wallets 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { 'Accept': 'application/json' }, 'json': { - 'query': '{ ownedWallets { publicKey balance { total } } }' + 'query': 'query { ownedWallets { publicKey balance { total unknown liquid locked blockHeight stateHash } } }' } } ,) ] -snapshots['TestCodaClient.test_get_current_snark_worker 1'] = [ +snapshots['TestMinaClient.test_get_current_snark_worker 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { 'Accept': 'application/json' }, 'json': { - 'query': '{ currentSnarkWorker{ key fee } }' + 'query': 'query { currentSnarkWorker { key fee } }' } } ,) ] -snapshots['TestCodaClient.test_get_sync_status 1'] = [ +snapshots['TestMinaClient.test_get_wallet 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { 'Accept': 'application/json' }, 'json': { - 'query': '{ syncStatus }' + 'query': 'query { wallet(publicKey: "pk") { balance { total unknown liquid locked blockHeight stateHash } nonce receiptChainHash delegate votingFor stakingActive privateKeyPath } }' } } ,) ] -snapshots['TestCodaClient.test_set_current_snark_worker 1'] = [ +snapshots['TestMinaClient.test_get_transaction_status 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { 'Accept': 'application/json' }, 'json': { - 'query': '{ syncStatus }' + 'query': 'query { transactionStatus(payment: "payment_id") }' } } ,) ] -snapshots['TestCodaClient.test_send_payment 1'] = [ +snapshots['TestMinaClient.test_create_wallet 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { 'Accept': 'application/json' }, 'json': { - 'query': 'mutation($from:PublicKey!, $to:PublicKey!, $amount:UInt64!, $fee:UInt64!, $memo:String){ sendPayment(input: { from:$from, to:$to, amount:$amount, fee:$fee, memo:$memo }) { payment { id, isDelegation, nonce, from, to, amount, fee, memo } } }', - 'variables': { - 'amount': 'amount', - 'fee': 'fee', - 'from': 'from_pk', - 'memo': 'memo', - 'to': 'to_pk' - } + 'query': 'mutation { createAccount(input: {password: "password"}) { publicKey account { publicKey token nonce inferredNonce receiptChainHash delegate votingFor stakingActive privateKeyPath locked isTokenOwner isDisabled } } }' } } ,) ] -snapshots['TestCodaClient.test_get_wallet 1'] = [ +snapshots['TestMinaClient.test_get_best_chain 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { 'Accept': 'application/json' }, 'json': { - 'query': 'query($publicKey:PublicKey!){ wallet(publicKey:$publicKey) { publicKey balance { total unknown } nonce receiptChainHash delegate votingFor stakingActive privateKeyPath } }', - 'variables': { - 'publicKey': 'pk' - } + 'query': 'query { bestChain(maxLength: 42) { protocolState { previousStateHash blockchainState { date utcDate snarkedLedgerHash stagedLedgerHash } consensusState { blockchainLength blockHeight epochCount minWindowDensity lastVrfOutput totalCurrency hasAncestorInSameCheckpointWindow slot slotSinceGenesis epoch } } stateHash } }' } } ,) ] -snapshots['TestCodaClient.test_create_wallet_no_args 1'] = [ +snapshots['TestMinaClient.test_get_block_by_height 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { 'Accept': 'application/json' }, 'json': { - 'query': 'mutation{ addWallet { publicKey } }' + 'query': 'query { block(height: 42) { stateHash creator snarkJobs { prover fee workIds } } }' } } ,) ] -snapshots['TestCodaClient.test_get_transaction_status 1'] = [ +snapshots['TestMinaClient.test_get_block_by_state_hash 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { 'Accept': 'application/json' }, 'json': { - 'query': 'query($paymentId:ID!){ transactionStatus(payment:$paymentId) }', - 'variables': { - 'paymentId': 'payment_id' - } + 'query': 'query { block(stateHash: "some_state_hash") { creator protocolState { previousStateHash blockchainState { date utcDate snarkedLedgerHash stagedLedgerHash } consensusState { blockchainLength blockHeight epochCount minWindowDensity lastVrfOutput totalCurrency hasAncestorInSameCheckpointWindow slot slotSinceGenesis epoch } } snarkJobs { prover fee workIds } } }' + } + } + ,) +] + +snapshots['TestMinaClient.test_send_payment 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' + }, + 'json': { + 'query': 'mutation { sendPayment(input: {memo: "memo", fee: 100000000, amount: 1000000000, to: "to_pk", from: "from_pk"}) { payment { id hash kind nonce token amount feeToken fee memo isDelegation from to failureReason } } }' + } + } + ,) +] + +snapshots['TestMinaClient.test_set_current_snark_worker 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' + }, + 'json': { + 'query': 'mutation { setSnarkWorker(input: {publicKey: "pk"}) { lastSnarkWorker } setSnarkWorkFee(input: {fee: 1000000000}) { lastFee } }' + } + } + ,) +] + +snapshots['TestMinaClient.test_get_sync_status 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' + }, + 'json': { + 'query': 'query { daemonStatus { syncStatus } }' } } ,) diff --git a/tests/test_client.py b/tests/test_client.py index 4d00f7e..4b6e0b1 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -1,23 +1,25 @@ import mock -import requests -from CodaClient import Client -from types import SimpleNamespace -@mock.patch('requests.post') -class TestCodaClient(): +from MinaClient import Client, Currency + + +@mock.patch("requests.post") +class TestMinaClient: """ - Tests the CodaClient.Client class + Tests the MinaClient.Client class """ def _mock_response( - self, - status=200, - content="CONTENT", - json_data={"data": "{ foo: 'bar'}"}, - raise_for_status=None): + self, + status=200, + content="CONTENT", + json_data={"data": "{ foo: 'bar'}"}, + raise_for_status=None, + ): mock_resp = mock.Mock() # mock raise_for_status call w/optional error mock_resp.raise_for_status = mock.Mock() + if raise_for_status: mock_resp.raise_for_status.side_effect = raise_for_status # set status code and content @@ -25,13 +27,10 @@ def _mock_response( mock_resp.content = content # add json data if provided if json_data: - mock_resp.json = mock.Mock( - return_value=json_data - ) + mock_resp.json = mock.Mock(return_value=json_data) return mock_resp - - def test_get_daemon_status(self, mock_post, snapshot ): + def test_get_daemon_status(self, mock_post, snapshot): mock_post.return_value = self._mock_response(json_data={"data": "foo"}) client = Client() @@ -84,19 +83,48 @@ def test_set_current_snark_worker(self, mock_post, snapshot): mock_post.return_value = self._mock_response(json_data={"data": "foo"}) client = Client() - client.set_current_snark_worker("pk", "fee") + fee = Currency(1) + client.set_current_snark_worker("pk", fee=fee) snapshot.assert_match(mock_post.call_args_list) - - def test_create_wallet_no_args(self, mock_post, snapshot): + + def test_create_wallet(self, mock_post, snapshot): mock_post.return_value = self._mock_response(json_data={"data": "foo"}) client = Client() - client.create_wallet() + client.create_wallet("password") snapshot.assert_match(mock_post.call_args_list) def test_send_payment(self, mock_post, snapshot): mock_post.return_value = self._mock_response(json_data={"data": "foo"}) client = Client() - client.send_payment("to_pk", "from_pk", "amount", "fee", "memo") - snapshot.assert_match(mock_post.call_args_list) \ No newline at end of file + currency = Currency(1) + fee = Currency(0.1) + client.send_payment( + to_pk="to_pk", from_pk="from_pk", amount=currency, fee=fee, memo="memo" + ) + snapshot.assert_match(mock_post.call_args_list) + + def test_get_best_chain(self, mock_post, snapshot): + mock_post.return_value = self._mock_response(json_data={"data": "foo"}) + + client = Client() + max_length = 42 + client.get_best_chain(max_length=max_length) + snapshot.assert_match(mock_post.call_args_list) + + def test_get_block_by_height(self, mock_post, snapshot): + mock_post.return_value = self._mock_response(json_data={"data": "foo"}) + + client = Client() + height = 42 + client.get_block_by_height(height=height) + snapshot.assert_match(mock_post.call_args_list) + + def test_get_block_by_state_hash(self, mock_post, snapshot): + mock_post.return_value = self._mock_response(json_data={"data": "foo"}) + + client = Client() + state_hash = "some_state_hash" + client.get_block_by_state_hash(state_hash=state_hash) + snapshot.assert_match(mock_post.call_args_list) diff --git a/tests/test_currency.py b/tests/test_currency.py index 08ad3eb..9ee583c 100644 --- a/tests/test_currency.py +++ b/tests/test_currency.py @@ -1,46 +1,62 @@ -from CodaClient import CurrencyFormat, CurrencyUnderflow, Currency +from MinaClient import CurrencyFormat, CurrencyUnderflow, Currency + +precision = 10**9 -precision = 10 ** 9 def test_constructor_whole_int(): - n = 500 - assert Currency(n).nanocodas() == n * precision + n = 500 + assert Currency(n).nanominas() == n * precision + def test_constructor_whole_float(): - n = 5.5 - assert Currency(n).nanocodas() == n * precision + n = 5.5 + assert Currency(n).nanominas() == n * precision + def test_constructor_whole_string(): - n = "5.5" - assert Currency(n).nanocodas() == float(n) * precision + n = "5.5" + assert Currency(n).nanominas() == float(n) * precision + def test_constructor_nano_int(): - n = 500 - assert Currency(n, format=CurrencyFormat.NANO) + n = 500 + assert Currency(n, format=CurrencyFormat.NANO) + def test_add(): - assert (Currency(5) + Currency(2)).nanocodas() == 7 * precision + assert (Currency(5) + Currency(2)).nanominas() == 7 * precision + def test_sub(): - assert (Currency(5) - Currency(2)).nanocodas() == 3 * precision + assert (Currency(5) - Currency(2)).nanominas() == 3 * precision + def test_sub_underflow(): - try: - Currency(5) - Currency(7) - raise Exception('no underflow') - except CurrencyUnderflow: - pass - except: - raise + try: + Currency(5) - Currency(7) + raise Exception("no underflow") + except CurrencyUnderflow: + pass + except: + raise + def test_mul_int(): - assert (Currency(5) * 2).nanocodas() == 10 * precision + assert (Currency(5) * 2).nanominas() == 10 * precision + def test_mul_currency(): - assert (Currency(5) * Currency(2, format=CurrencyFormat.NANO)).nanocodas() == 10 * precision + assert ( + Currency(5) * + Currency(2, format=CurrencyFormat.NANO)).nanominas() == 10 * precision + def test_random(): - assert (Currency.random(Currency(5), Currency(5)).nanocodas() == 5 * precision) - for _ in range(25): - rand = Currency.random(Currency(3, format=CurrencyFormat.NANO), Currency(5, format=CurrencyFormat.NANO)) - assert (3 <= rand.nanocodas () and rand.nanocodas() <= 5) + assert Currency.random(Currency(5), + Currency(5)).nanominas() == 5 * precision + for _ in range(25): + rand = Currency.random( + Currency(3, format=CurrencyFormat.NANO), + Currency(5, format=CurrencyFormat.NANO), + ) + assert 3 <= rand.nanominas() and rand.nanominas() <= 5