From 12c21527a61b81a52b50c86dc112755953243eb2 Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Sun, 28 Feb 2021 11:51:42 +0100 Subject: [PATCH 01/25] replace deprecated chromium yapf style with pep8 --- .style.yapf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 76631a5b2ede7821dddb0f2839454d0c45f25298 Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Sun, 28 Feb 2021 12:09:12 +0100 Subject: [PATCH 02/25] fix test_create_wallet_no_args and test_send_payment, adjust imports abs reformat --- tests/snapshots/snap_test_client.py | 59 ++++++++++++++------------ tests/test_client.py | 41 +++++++++--------- tests/test_currency.py | 64 ++++++++++++++++++----------- 3 files changed, 94 insertions(+), 70 deletions(-) diff --git a/tests/snapshots/snap_test_client.py b/tests/snapshots/snap_test_client.py index a193f8f..154c83f 100644 --- a/tests/snapshots/snap_test_client.py +++ b/tests/snapshots/snap_test_client.py @@ -10,14 +10,14 @@ snapshots['TestCodaClient.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 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 } } }' } } ,) @@ -26,7 +26,7 @@ snapshots['TestCodaClient.test_get_daemon_version 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { @@ -42,7 +42,7 @@ snapshots['TestCodaClient.test_get_wallets 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { @@ -58,7 +58,7 @@ snapshots['TestCodaClient.test_get_current_snark_worker 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { @@ -74,7 +74,7 @@ snapshots['TestCodaClient.test_get_sync_status 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { @@ -90,55 +90,55 @@ snapshots['TestCodaClient.test_set_current_snark_worker 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { 'Accept': 'application/json' }, 'json': { - 'query': '{ syncStatus }' + 'query': 'mutation($worker_pk:PublicKey!, $fee:UInt64!){ setSnarkWorker(input: {publicKey:$worker_pk}) { lastSnarkWorker } setSnarkWorkFee(input: {fee:$fee}) }', + 'variables': { + 'fee': 'fee', + 'worker_pk': 'pk' + } } } ,) ] -snapshots['TestCodaClient.test_send_payment 1'] = [ +snapshots['TestCodaClient.test_get_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 } } }', + 'query': 'query($publicKey:PublicKey!){ wallet(publicKey:$publicKey) { publicKey balance { total unknown } nonce receiptChainHash delegate votingFor stakingActive privateKeyPath } }', 'variables': { - 'amount': 'amount', - 'fee': 'fee', - 'from': 'from_pk', - 'memo': 'memo', - 'to': 'to_pk' + 'publicKey': 'pk' } } } ,) ] -snapshots['TestCodaClient.test_get_wallet 1'] = [ +snapshots['TestCodaClient.test_get_transaction_status 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 } }', + 'query': 'query($paymentId:ID!){ transactionStatus(payment:$paymentId) }', 'variables': { - 'publicKey': 'pk' + 'paymentId': 'payment_id' } } } @@ -148,32 +148,39 @@ snapshots['TestCodaClient.test_create_wallet_no_args 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { 'Accept': 'application/json' }, 'json': { - 'query': 'mutation{ addWallet { publicKey } }' + 'query': 'mutation ($password: String!) { createAccount(input: {password: $password}) { publicKey } }', + 'variables': { + 'password': 'password' + } } } ,) ] -snapshots['TestCodaClient.test_get_transaction_status 1'] = [ +snapshots['TestCodaClient.test_send_payment 1'] = [ ( ( - 'http://localhost:8304/graphql' + 'http://localhost:3085/graphql' ,), { 'headers': { 'Accept': 'application/json' }, 'json': { - 'query': 'query($paymentId:ID!){ transactionStatus(payment:$paymentId) }', + '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': { - 'paymentId': 'payment_id' + 'amount': 1000000000, + 'fee': 100000000, + 'from': 'from_pk', + 'memo': 'memo', + 'to': 'to_pk' } } } diff --git a/tests/test_client.py b/tests/test_client.py index 4d00f7e..cbd6c3b 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 CodaClient import Client, Currency + + +@mock.patch("requests.post") +class TestCodaClient: """ - Tests the CodaClient.Client class + Tests the CodaClient.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() @@ -86,17 +85,19 @@ def test_set_current_snark_worker(self, mock_post, snapshot): client = Client() client.set_current_snark_worker("pk", "fee") snapshot.assert_match(mock_post.call_args_list) - + def test_create_wallet_no_args(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", "from_pk", currency, fee, "memo") + snapshot.assert_match(mock_post.call_args_list) diff --git a/tests/test_currency.py b/tests/test_currency.py index 08ad3eb..d934e71 100644 --- a/tests/test_currency.py +++ b/tests/test_currency.py @@ -1,46 +1,62 @@ from CodaClient 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).nanocodas() == n * precision + def test_constructor_whole_float(): - n = 5.5 - assert Currency(n).nanocodas() == n * precision + n = 5.5 + assert Currency(n).nanocodas() == n * precision + def test_constructor_whole_string(): - n = "5.5" - assert Currency(n).nanocodas() == float(n) * precision + n = "5.5" + assert Currency(n).nanocodas() == 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)).nanocodas() == 7 * precision + def test_sub(): - assert (Currency(5) - Currency(2)).nanocodas() == 3 * precision + assert (Currency(5) - Currency(2)).nanocodas() == 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).nanocodas() == 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)).nanocodas() == 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)).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 From 207002c7f9b169e15d857449808e8ac27526cb8b Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Sun, 28 Feb 2021 12:11:35 +0100 Subject: [PATCH 03/25] reformat file --- setup.py | 57 ++++++++++++++++++++++++-------------------------------- 1 file changed, 24 insertions(+), 33 deletions(-) diff --git a/setup.py b/setup.py index 680b9d5..440efc8 100644 --- a/setup.py +++ b/setup.py @@ -5,43 +5,34 @@ 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="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"]}, tests_require=tests_require, - long_description=open('README.md').read(), + long_description=open("README.md").read(), 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 +) From 1830ed80d043ef2ad55b4ff862684929f26527b9 Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Sun, 28 Feb 2021 12:25:23 +0100 Subject: [PATCH 04/25] adjust/update all included queries to latest schema, remove unavailable get_blocks method, adjust/update docstrings, reformat file --- CodaClient.py | 1296 +++++++++++++++++++++++++------------------------ 1 file changed, 651 insertions(+), 645 deletions(-) diff --git a/CodaClient.py b/CodaClient.py index be58429..78f8722 100644 --- a/CodaClient.py +++ b/CodaClient.py @@ -1,444 +1,562 @@ #!/usr/bin/python3 -import random -import requests -import time import json -import asyncio -import websockets import logging +import random from enum import Enum +import requests +import websockets + + class CurrencyFormat(Enum): - """An Enum representing different formats of Currency in coda. + """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 - 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 + pass - 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) +class Currency: + """A convenience wrapper around interacting with coda currency values. - 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. + 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). """ - 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) + @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. + + 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.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. + 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. + + 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.__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: - 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 + 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.__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. + + Returns: + 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 + + Args: + query {str} -- A GraphQL Query + 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. + + Args: + query {str} -- A GraphQL Mutation + 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 = {}): + """Function to facilitate a GraphQL Request. + + GraphQL queries all look alike, this is a generic function to + facilitate a GraphQL Request. + + Args: + query {str} -- A GraphQL Query + variables {dict} -- Optional Variables for the GraphQL Query + (default: {{}}) + + Returns: + dict -- Returns the 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("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 { + addrsAndPorts { + bindIp + clientPort + externalIp + libp2pPort + peer { + host + libp2pPort + peerId + } + } + blockProductionKeys + blockchainLength + commitId + confDir + consensusConfiguration { + acceptableNetworkDelay + delta + epochDuration + genesisStateTimestamp + k + slotDuration + slotsPerEpoch + } + consensusMechanism + consensusTimeBestTip { + endTime + epoch + globalSlot + slot + startTime + } + consensusTimeNow { + endTime + epoch + globalSlot + slot + startTime + } + highestBlockLengthReceived + ledgerMerkleRoot + nextBlockProduction { + times { + endTime + epoch + globalSlot + slot + startTime + } + } + numAccounts + peers + snarkWorkFee + snarkWorker + stateHash + syncStatus + uptimeSecs + userCommandsSent + } } - } - } - ''' - 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_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_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 + """ + 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 + } } } - } - } - ''' - 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 + """ + res = self._send_query(query) + return res["data"] + + def get_wallet(self, pk: str) -> dict: + """Gets the wallet for the specified Public Key. + + Args: + 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. + + Args: + 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 } - transactions { - userCommands{ + } + """ + 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. + + Args: + 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_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 = """ + { + daemonStatus { + 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. + + Args: + 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 specified target wallet. + + Args: + 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 @@ -448,224 +566,32 @@ def get_blocks(self) -> dict: fee memo } - feeTransfer { - recipient - fee - } - coinbase - } - snarkJobs { - prover - fee - workIds } } - pageInfo { - hasNextPage - hasPreviousPage - firstCursor - lastCursor + """ + variables = { + "from": from_pk, + "to": to_pk, + "amount": amount.nanocodas(), + "fee": fee.nanocodas(), + "memo": memo, } - } - } - ''' - 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 { + 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. + + Args: + 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 @@ -675,15 +601,95 @@ async def listen_new_blocks(self, callback): fee memo } - feeTransfer { - recipient - fee + } + """ + 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. + + Args: + 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 received. + """ + 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. + + Args: + 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 + } } - coinbase } - } - } - ''' - variables = { - } - await self._graphql_subscription(query, variables, callback) + """ + variables = {} + await self._graphql_subscription(query, variables, callback) From c20f8b4e182b432ca8521ae475ec65572016f32e Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Mon, 1 Mar 2021 13:15:17 +0100 Subject: [PATCH 05/25] Adding new methods get_best_chain, get_block_by_height and get_block_by_state_hash, tests + more cleanups --- CodaClient.py | 115 ++++++++++++++++++++++++---- tests/snapshots/snap_test_client.py | 77 ++++++++++++++++--- tests/test_client.py | 28 ++++++- 3 files changed, 194 insertions(+), 26 deletions(-) diff --git a/CodaClient.py b/CodaClient.py index 78f8722..90acf26 100644 --- a/CodaClient.py +++ b/CodaClient.py @@ -435,6 +435,7 @@ def create_wallet(self, password: str) -> dict: Returns: dict -- Returns the "data" field of the JSON Response as a Dict. + dict -- Returns the "data" field of the JSON Response as a Dict. """ query = """ mutation($password: String!) { @@ -449,11 +450,11 @@ def create_wallet(self, password: str) -> dict: def unlock_wallet(self, pk: str, password: str) -> dict: """Unlocks the wallet for the specified Public Key. - + Args: - pk {str} -- A Public Key corresponding to a currently installed + pk: Public Key corresponding to a currently installed wallet. - password {str} -- A password for the wallet to unlock. + password: password for the wallet to unlock. Returns: dict -- Returns the "data" field of the JSON Response as a Dict. @@ -506,13 +507,13 @@ def get_sync_status(self) -> dict: res = self._send_query(query) return res["data"] - def set_current_snark_worker(self, worker_pk: str, fee: str) -> dict: + def set_current_snark_worker(self, worker_pk: str, fee: int) -> dict: """Set the current SNARK Worker preference. Args: - worker_pk {str} -- The public key corresponding to the desired SNARK + worker_pk: the public key corresponding to the desired SNARK Worker - fee {str} -- The desired SNARK Work fee + fee: the desired SNARK Work fee Returns: dict -- Returns the "data" field of the JSON Response as a Dict @@ -534,13 +535,13 @@ def send_payment(self, to_pk: str, from_pk: str, amount: Currency, """Send a payment from the specified wallet to specified target wallet. Args: - 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 + to_pk: The target wallet where funds should be sent + from_pk: The installed wallet which will finance the payment - memo {str} -- A memo to attach to the payment + amount: Currency instance. The amount of Coda to send + fee: Currency instance. The transaction fee that will be attached to + the payment + memo: memo to attach to the payment Returns: dict -- Returns the "data" field of the JSON Response as a Dict @@ -583,7 +584,7 @@ def get_pooled_payments(self, pk: str) -> dict: """Get the current transactions in the payments pool. Args: - pk {str} -- The public key corresponding to the installed wallet + pk: The public key corresponding to the installed wallet that will be queried Returns: @@ -611,7 +612,7 @@ def get_transaction_status(self, payment_id: str) -> dict: """Get the transaction status for the specified Payment Id. Args: - payment_id {str} -- A Payment Id corresponding to a UserCommand. + payment_id: Payment Id corresponding to a UserCommand. Returns: dict -- Returns the "data" field of the JSON Response as a Dict. @@ -625,6 +626,92 @@ def get_transaction_status(self, payment_id: str) -> dict: res = self._send_query(query, variables) return res["data"] + def get_best_chain(self, max_length: int = 10) -> dict: + """Get the best blockHeight and stateHash for the canonical chain. + + Returns max_length items in descending order + + Args: + max_length: defaults to 10 + + Returns: + dict -- Returns the "data" field of the JSON Response as a Dict. + """ + query = """ + query ($maxLength: Int!) { + bestChain(maxLength: $maxLength) { + protocolState { + consensusState { + blockHeight + } + previousStateHash + } + stateHash + } + } + """ + variables = {"maxLength": max_length} + res = self._send_query(query, variables) + return res["data"] + + def get_block_by_height(self, height: int) -> dict: + """Get the block data by block height. + + Returns stateHash, block creator and snarkJobs + + Args: + height: block height + + Returns: + dict -- Returns the "data" field of the JSON Response as a Dict. + """ + query = """ + query ($height: Int!) { + block(height: $height) { + stateHash + creator + snarkJobs { + fee + prover + } + } + } + """ + variables = {"height": height} + res = self._send_query(query, variables) + return res["data"] + + def get_block_by_state_hash(self, state_hash: str) -> dict: + """Get the block data by state hash. + + Returns block height, block creator and snarkJobs + + Args: + state_hash: state hash + + Returns: + dict -- Returns the "data" field of the JSON Response as a Dict. + """ + query = """ + query ($stateHash: String!) { + block(stateHash: $stateHash) { + creator + protocolState { + consensusState { + blockHeight + } + } + snarkJobs { + fee + prover + } + } + } + """ + variables = {"stateHash": state_hash} + res = self._send_query(query, variables) + return res["data"] + async def listen_sync_update(self, callback): """Creates a subscription for Network Sync Updates. """ query = """ diff --git a/tests/snapshots/snap_test_client.py b/tests/snapshots/snap_test_client.py index 154c83f..e151164 100644 --- a/tests/snapshots/snap_test_client.py +++ b/tests/snapshots/snap_test_client.py @@ -17,7 +17,7 @@ 'Accept': 'application/json' }, 'json': { - '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 } } }' + 'query': 'query { daemonStatus { addrsAndPorts { bindIp clientPort externalIp libp2pPort peer { host libp2pPort peerId } } blockProductionKeys blockchainLength commitId confDir consensusConfiguration { acceptableNetworkDelay delta epochDuration genesisStateTimestamp k slotDuration slotsPerEpoch } consensusMechanism consensusTimeBestTip { endTime epoch globalSlot slot startTime } consensusTimeNow { endTime epoch globalSlot slot startTime } highestBlockLengthReceived ledgerMerkleRoot nextBlockProduction { times { endTime epoch globalSlot slot startTime } } numAccounts peers snarkWorkFee snarkWorker stateHash syncStatus uptimeSecs userCommandsSent } }' } } ,) @@ -65,7 +65,7 @@ 'Accept': 'application/json' }, 'json': { - 'query': '{ currentSnarkWorker{ key fee } }' + 'query': '{ currentSnarkWorker { key fee } }' } } ,) @@ -81,7 +81,7 @@ 'Accept': 'application/json' }, 'json': { - 'query': '{ syncStatus }' + 'query': '{ daemonStatus { syncStatus } }' } } ,) @@ -97,9 +97,9 @@ 'Accept': 'application/json' }, 'json': { - 'query': 'mutation($worker_pk:PublicKey!, $fee:UInt64!){ setSnarkWorker(input: {publicKey:$worker_pk}) { lastSnarkWorker } setSnarkWorkFee(input: {fee:$fee}) }', + 'query': 'mutation($worker_pk: PublicKey!, $fee: UInt64!) { setSnarkWorker(input: { publicKey: $worker_pk }) { lastSnarkWorker } setSnarkWorkFee(input: { fee: $fee }) }', 'variables': { - 'fee': 'fee', + 'fee': 1, 'worker_pk': 'pk' } } @@ -117,7 +117,7 @@ 'Accept': 'application/json' }, 'json': { - 'query': 'query($publicKey:PublicKey!){ wallet(publicKey:$publicKey) { publicKey balance { total unknown } nonce receiptChainHash delegate votingFor stakingActive privateKeyPath } }', + 'query': 'query($publicKey: PublicKey!) { wallet(publicKey: $publicKey) { publicKey balance { total unknown } nonce receiptChainHash delegate votingFor stakingActive privateKeyPath } }', 'variables': { 'publicKey': 'pk' } @@ -136,7 +136,7 @@ 'Accept': 'application/json' }, 'json': { - 'query': 'query($paymentId:ID!){ transactionStatus(payment:$paymentId) }', + 'query': 'query($paymentId: ID!) { transactionStatus(payment: $paymentId) }', 'variables': { 'paymentId': 'payment_id' } @@ -145,7 +145,7 @@ ,) ] -snapshots['TestCodaClient.test_create_wallet_no_args 1'] = [ +snapshots['TestCodaClient.test_create_wallet 1'] = [ ( ( 'http://localhost:3085/graphql' @@ -155,7 +155,7 @@ 'Accept': 'application/json' }, 'json': { - 'query': 'mutation ($password: String!) { createAccount(input: {password: $password}) { publicKey } }', + 'query': 'mutation($password: String!) { createAccount(input: { password: $password }) { publicKey } }', 'variables': { 'password': 'password' } @@ -174,7 +174,7 @@ '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 } } }', + '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': 1000000000, 'fee': 100000000, @@ -186,3 +186,60 @@ } ,) ] + +snapshots['TestCodaClient.test_get_best_chain 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' + }, + 'json': { + 'query': 'query ($maxLength: Int!) { bestChain(maxLength: $maxLength) { protocolState { consensusState { blockHeight } previousStateHash } stateHash } }', + 'variables': { + 'maxLength': 42 + } + } + } + ,) +] + +snapshots['TestCodaClient.test_get_block_by_height 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' + }, + 'json': { + 'query': 'query ($height: Int!) { block(height: $height) { stateHash creator snarkJobs { fee prover } } }', + 'variables': { + 'height': 42 + } + } + } + ,) +] + +snapshots['TestCodaClient.test_get_block_by_state_hash 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' + }, + 'json': { + 'query': 'query ($stateHash: String!) { block(stateHash: $stateHash) { creator protocolState { consensusState { blockHeight } } snarkJobs { fee prover } } }', + 'variables': { + 'stateHash': 'some_state_hash' + } + } + } + ,) +] diff --git a/tests/test_client.py b/tests/test_client.py index cbd6c3b..e2a44ad 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -83,10 +83,10 @@ 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") + client.set_current_snark_worker("pk", 1) 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() @@ -101,3 +101,27 @@ def test_send_payment(self, mock_post, snapshot): fee = Currency(0.1) client.send_payment("to_pk", "from_pk", currency, fee, "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) From 59fc607ac4998b9d74dd84c2c789e23a76500e35 Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Mon, 1 Mar 2021 14:34:34 +0100 Subject: [PATCH 06/25] renaming coda to mina --- CodaClient.py => MinaClient.py | 70 ++--- README.md | 4 +- setup.py | 2 +- tests/snapshots/snap_test_client.py | 412 +++++++++++++--------------- tests/test_client.py | 6 +- tests/test_currency.py | 20 +- 6 files changed, 235 insertions(+), 279 deletions(-) rename CodaClient.py => MinaClient.py (92%) diff --git a/CodaClient.py b/MinaClient.py similarity index 92% rename from CodaClient.py rename to MinaClient.py index 90acf26..4ab6664 100644 --- a/CodaClient.py +++ b/MinaClient.py @@ -10,11 +10,11 @@ class CurrencyFormat(Enum): - """An Enum representing different formats of Currency in coda. + """An Enum representing different formats of Currency in mina. Constants: - WHOLE - represents whole coda (1 whole coda == 10^9 nanocodas) - NANO - represents the atomic unit of coda + WHOLE - represents whole mina (1 whole mina == 10^9 nanominas) + NANO - represents the atomic unit of mina """ WHOLE = 1 @@ -26,7 +26,7 @@ class CurrencyUnderflow(Exception): class Currency: - """A convenience wrapper around interacting with coda currency values. + """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 @@ -34,11 +34,11 @@ class Currency: or a int scalar). """ @classmethod - def __nanocodas_from_int(_cls, n): + def __nanominas_from_int(_cls, n): return n * 1000000000 @classmethod - def __nanocodas_from_string(_cls, s): + def __nanominas_from_string(_cls, s): segments = s.split(".") if len(segments) == 1: return int(segments[0]) @@ -47,7 +47,7 @@ def __nanocodas_from_string(_cls, s): if len(r) <= 9: return int(l + r + ("0" * (9 - len(r)))) else: - raise Exception("invalid coda currency format: %s" % s) + raise Exception("invalid mina currency format: %s" % s) @classmethod def random(_cls, lower_bound, upper_bound): @@ -70,13 +70,13 @@ def random(_cls, lower_bound, upper_bound): raise Exception( "invalid call to Currency.random: lower and upper bound must " "be instances of Currency") - if not upper_bound.nanocodas() >= lower_bound.nanocodas(): + 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.nanocodas() - lower_bound.nanocodas() + bound_range = upper_bound.nanominas() - lower_bound.nanominas() delta = random.randint(0, bound_range) return lower_bound + Currency(delta, format=CurrencyFormat.NANO) @@ -86,9 +86,9 @@ def __init__(self, value, format=CurrencyFormat.WHOLE): 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 nanocodas. + 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 nanocodas. + an int, as there can be no decimal point for nanominas. Args: value {int|float|string} - The value to construct the Currency @@ -100,17 +100,17 @@ def __init__(self, value, format=CurrencyFormat.WHOLE): """ if format == CurrencyFormat.WHOLE: if isinstance(value, int): - self.__nanocodas = Currency.__nanocodas_from_int(value) + self.__nanominas = Currency.__nanominas_from_int(value) elif isinstance(value, float): - self.__nanocodas = Currency.__nanocodas_from_string(str(value)) + self.__nanominas = Currency.__nanominas_from_string(str(value)) elif isinstance(value, str): - self.__nanocodas = Currency.__nanocodas_from_string(value) + 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.__nanocodas = value + self.__nanominas = value else: raise Exception("cannot construct nano Currency from %s" % type(value)) @@ -123,20 +123,20 @@ def decimal_format(self): Returns: str - The decimal format representation of the Currency instance """ - s = str(self.__nanocodas) + s = str(self.__nanominas) 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. + def nanominas(self): + """Accesses the raw nanominas representation of a Currency instance. Returns: - int - The nanocodas of the Currency instance represented as an + int - The nanominas of the Currency instance represented as an integer """ - return self.__nanocodas + return self.__nanominas def __str__(self): return self.decimal_format() @@ -146,14 +146,14 @@ def __repr__(self): def __add__(self, other): if isinstance(other, Currency): - return Currency(self.nanocodas() + other.nanocodas(), + 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.nanocodas() - other.nanocodas() + new_value = self.nanominas() - other.nanominas() if new_value >= 0: return Currency(new_value, format=CurrencyFormat.NANO) else: @@ -163,17 +163,17 @@ def __sub__(self, other): def __mul__(self, other): if isinstance(other, int): - return Currency(self.nanocodas() * other, + return Currency(self.nanominas() * other, format=CurrencyFormat.NANO) elif isinstance(other, Currency): - return Currency(self.nanocodas() * other.nanocodas(), + 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 Coda Daemon + # Implements a GraphQL Client for the Mina Daemon def __init__( self, @@ -190,7 +190,7 @@ def __init__( self.logger = logging.getLogger(__name__) def _send_query(self, query: str, variables: dict = {}) -> dict: - """Sends a query to the Coda Daemon's GraphQL Endpoint + """Sends a query to the Mina Daemon's GraphQL Endpoint Args: query {str} -- A GraphQL Query @@ -202,7 +202,7 @@ def _send_query(self, query: str, variables: dict = {}) -> dict: 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. + """Sends a mutation to the Mina Daemon's GraphQL Endpoint. Args: query {str} -- A GraphQL Mutation @@ -291,7 +291,7 @@ async def _graphql_subscription(self, print(message) def get_daemon_status(self) -> dict: - """Gets the status of the currently configured Coda Daemon. + """Gets the status of the currently configured Mina Daemon. Returns: dict -- Returns the "data" field of the JSON Response as a Dict. @@ -364,7 +364,7 @@ def get_daemon_status(self) -> dict: return res["data"] def get_daemon_version(self) -> dict: - """Gets the version of the currently configured Coda Daemon. + """Gets the version of the currently configured Mina Daemon. Returns: dict -- Returns the "data" field of the JSON Response as a Dict. @@ -378,7 +378,7 @@ def get_daemon_version(self) -> dict: return res["data"] def get_wallets(self) -> dict: - """Gets the wallets that are currently installed in the Coda Daemon. + """Gets the wallets that are currently installed in the Mina Daemon. Returns: dict -- Returns the "data" field of the JSON Response as a Dict. @@ -475,7 +475,7 @@ def unlock_wallet(self, pk: str, password: str) -> dict: return res["data"] def get_current_snark_worker(self) -> dict: - """Gets the currently configured SNARK Worker from the Coda Daemon. + """Gets the currently configured SNARK Worker from the Mina Daemon. Returns: dict -- Returns the "data" field of the JSON Response as a Dict. @@ -492,7 +492,7 @@ def get_current_snark_worker(self) -> dict: return res["data"] def get_sync_status(self) -> dict: - """Gets the Sync Status of the Coda Daemon. + """Gets the Sync Status of the Mina Daemon. Returns: dict -- Returns the "data" field of the JSON Response as a Dict. @@ -538,7 +538,7 @@ def send_payment(self, to_pk: str, from_pk: str, amount: Currency, 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 Coda to send + 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 @@ -573,8 +573,8 @@ def send_payment(self, to_pk: str, from_pk: str, amount: Currency, variables = { "from": from_pk, "to": to_pk, - "amount": amount.nanocodas(), - "fee": fee.nanocodas(), + "amount": amount.nanominas(), + "fee": fee.nanominas(), "memo": memo, } res = self._send_mutation(query, variables) 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/setup.py b/setup.py index 440efc8..d24e12c 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ name="CodaClient", version="0.0.14", python_requires=">=3.5", - description="A Python wrapper around the Coda Daemon GraphQL API.", + 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", diff --git a/tests/snapshots/snap_test_client.py b/tests/snapshots/snap_test_client.py index e151164..5cf30b1 100644 --- a/tests/snapshots/snap_test_client.py +++ b/tests/snapshots/snap_test_client.py @@ -4,242 +4,198 @@ from pysnap import Snapshot - snapshots = Snapshot() -snapshots['TestCodaClient.test_get_daemon_status 1'] = [ - ( - ( - 'http://localhost:3085/graphql' - ,), - { - 'headers': { - 'Accept': 'application/json' - }, - 'json': { - 'query': 'query { daemonStatus { addrsAndPorts { bindIp clientPort externalIp libp2pPort peer { host libp2pPort peerId } } blockProductionKeys blockchainLength commitId confDir consensusConfiguration { acceptableNetworkDelay delta epochDuration genesisStateTimestamp k slotDuration slotsPerEpoch } consensusMechanism consensusTimeBestTip { endTime epoch globalSlot slot startTime } consensusTimeNow { endTime epoch globalSlot slot startTime } highestBlockLengthReceived ledgerMerkleRoot nextBlockProduction { times { endTime epoch globalSlot slot startTime } } numAccounts peers snarkWorkFee snarkWorker stateHash syncStatus uptimeSecs userCommandsSent } }' - } - } - ,) -] - -snapshots['TestCodaClient.test_get_daemon_version 1'] = [ - ( - ( - 'http://localhost:3085/graphql' - ,), - { - 'headers': { - 'Accept': 'application/json' - }, - 'json': { - 'query': '{ version }' - } - } - ,) -] - -snapshots['TestCodaClient.test_get_wallets 1'] = [ - ( - ( - 'http://localhost:3085/graphql' - ,), - { - 'headers': { - 'Accept': 'application/json' - }, - 'json': { - 'query': '{ ownedWallets { publicKey balance { total } } }' - } +snapshots["TestMinaClient.test_get_daemon_status 1"] = [( + ("http://localhost:3085/graphql", ), + { + "headers": { + "Accept": "application/json" + }, + "json": { + "query": + "query { daemonStatus { addrsAndPorts { bindIp clientPort externalIp libp2pPort peer { host libp2pPort peerId } } blockProductionKeys blockchainLength commitId confDir consensusConfiguration { acceptableNetworkDelay delta epochDuration genesisStateTimestamp k slotDuration slotsPerEpoch } consensusMechanism consensusTimeBestTip { endTime epoch globalSlot slot startTime } consensusTimeNow { endTime epoch globalSlot slot startTime } highestBlockLengthReceived ledgerMerkleRoot nextBlockProduction { times { endTime epoch globalSlot slot startTime } } numAccounts peers snarkWorkFee snarkWorker stateHash syncStatus uptimeSecs userCommandsSent } }" + }, + }, +)] + +snapshots["TestMinaClient.test_get_daemon_version 1"] = [( + ("http://localhost:3085/graphql", ), + { + "headers": { + "Accept": "application/json" + }, + "json": { + "query": "{ version }" } - ,) -] - -snapshots['TestCodaClient.test_get_current_snark_worker 1'] = [ - ( - ( - 'http://localhost:3085/graphql' - ,), - { - 'headers': { - 'Accept': 'application/json' - }, - 'json': { - 'query': '{ currentSnarkWorker { key fee } }' - } - } - ,) -] - -snapshots['TestCodaClient.test_get_sync_status 1'] = [ - ( - ( - 'http://localhost:3085/graphql' - ,), - { - 'headers': { - 'Accept': 'application/json' - }, - 'json': { - 'query': '{ daemonStatus { syncStatus } }' - } - } - ,) -] - -snapshots['TestCodaClient.test_set_current_snark_worker 1'] = [ - ( - ( - 'http://localhost:3085/graphql' - ,), - { - 'headers': { - 'Accept': 'application/json' + }, +)] + +snapshots["TestMinaClient.test_get_wallets 1"] = [( + ("http://localhost:3085/graphql", ), + { + "headers": { + "Accept": "application/json" + }, + "json": { + "query": "{ ownedWallets { publicKey balance { total } } }" + }, + }, +)] + +snapshots["TestMinaClient.test_get_current_snark_worker 1"] = [( + ("http://localhost:3085/graphql", ), + { + "headers": { + "Accept": "application/json" + }, + "json": { + "query": "{ currentSnarkWorker { key fee } }" + }, + }, +)] + +snapshots["TestMinaClient.test_get_sync_status 1"] = [( + ("http://localhost:3085/graphql", ), + { + "headers": { + "Accept": "application/json" + }, + "json": { + "query": "{ daemonStatus { syncStatus } }" + }, + }, +)] + +snapshots["TestMinaClient.test_set_current_snark_worker 1"] = [( + ("http://localhost:3085/graphql", ), + { + "headers": { + "Accept": "application/json" + }, + "json": { + "query": + "mutation($worker_pk: PublicKey!, $fee: UInt64!) { setSnarkWorker(input: { publicKey: $worker_pk }) { lastSnarkWorker } setSnarkWorkFee(input: { fee: $fee }) }", + "variables": { + "fee": 1, + "worker_pk": "pk" }, - 'json': { - 'query': 'mutation($worker_pk: PublicKey!, $fee: UInt64!) { setSnarkWorker(input: { publicKey: $worker_pk }) { lastSnarkWorker } setSnarkWorkFee(input: { fee: $fee }) }', - 'variables': { - 'fee': 1, - 'worker_pk': 'pk' - } - } - } - ,) -] - -snapshots['TestCodaClient.test_get_wallet 1'] = [ - ( - ( - 'http://localhost:3085/graphql' - ,), - { - 'headers': { - 'Accept': 'application/json' + }, + }, +)] + +snapshots["TestMinaClient.test_get_wallet 1"] = [( + ("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" }, - 'json': { - 'query': 'query($publicKey: PublicKey!) { wallet(publicKey: $publicKey) { publicKey balance { total unknown } nonce receiptChainHash delegate votingFor stakingActive privateKeyPath } }', - 'variables': { - 'publicKey': 'pk' - } - } - } - ,) -] - -snapshots['TestCodaClient.test_get_transaction_status 1'] = [ - ( - ( - 'http://localhost:3085/graphql' - ,), - { - 'headers': { - 'Accept': 'application/json' + }, + }, +)] + +snapshots["TestMinaClient.test_get_transaction_status 1"] = [( + ("http://localhost:3085/graphql", ), + { + "headers": { + "Accept": "application/json" + }, + "json": { + "query": + "query($paymentId: ID!) { transactionStatus(payment: $paymentId) }", + "variables": { + "paymentId": "payment_id" }, - 'json': { - 'query': 'query($paymentId: ID!) { transactionStatus(payment: $paymentId) }', - 'variables': { - 'paymentId': 'payment_id' - } - } - } - ,) -] - -snapshots['TestCodaClient.test_create_wallet 1'] = [ - ( - ( - 'http://localhost:3085/graphql' - ,), - { - 'headers': { - 'Accept': 'application/json' + }, + }, +)] + +snapshots["TestMinaClient.test_create_wallet 1"] = [( + ("http://localhost:3085/graphql", ), + { + "headers": { + "Accept": "application/json" + }, + "json": { + "query": + "mutation($password: String!) { createAccount(input: { password: $password }) { publicKey } }", + "variables": { + "password": "password" }, - 'json': { - 'query': 'mutation($password: String!) { createAccount(input: { password: $password }) { publicKey } }', - 'variables': { - 'password': 'password' - } - } - } - ,) -] - -snapshots['TestCodaClient.test_send_payment 1'] = [ - ( - ( - 'http://localhost:3085/graphql' - ,), - { - 'headers': { - 'Accept': 'application/json' + }, + }, +)] + +snapshots["TestMinaClient.test_send_payment 1"] = [( + ("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": 1000000000, + "fee": 100000000, + "from": "from_pk", + "memo": "memo", + "to": "to_pk", }, - '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': 1000000000, - 'fee': 100000000, - 'from': 'from_pk', - 'memo': 'memo', - 'to': 'to_pk' - } - } - } - ,) -] - -snapshots['TestCodaClient.test_get_best_chain 1'] = [ - ( - ( - 'http://localhost:3085/graphql' - ,), - { - 'headers': { - 'Accept': 'application/json' + }, + }, +)] + +snapshots["TestMinaClient.test_get_best_chain 1"] = [( + ("http://localhost:3085/graphql", ), + { + "headers": { + "Accept": "application/json" + }, + "json": { + "query": + "query ($maxLength: Int!) { bestChain(maxLength: $maxLength) { protocolState { consensusState { blockHeight } previousStateHash } stateHash } }", + "variables": { + "maxLength": 42 }, - 'json': { - 'query': 'query ($maxLength: Int!) { bestChain(maxLength: $maxLength) { protocolState { consensusState { blockHeight } previousStateHash } stateHash } }', - 'variables': { - 'maxLength': 42 - } - } - } - ,) -] - -snapshots['TestCodaClient.test_get_block_by_height 1'] = [ - ( - ( - 'http://localhost:3085/graphql' - ,), - { - 'headers': { - 'Accept': 'application/json' + }, + }, +)] + +snapshots["TestMinaClient.test_get_block_by_height 1"] = [( + ("http://localhost:3085/graphql", ), + { + "headers": { + "Accept": "application/json" + }, + "json": { + "query": + "query ($height: Int!) { block(height: $height) { stateHash creator snarkJobs { fee prover } } }", + "variables": { + "height": 42 }, - 'json': { - 'query': 'query ($height: Int!) { block(height: $height) { stateHash creator snarkJobs { fee prover } } }', - 'variables': { - 'height': 42 - } - } - } - ,) -] - -snapshots['TestCodaClient.test_get_block_by_state_hash 1'] = [ - ( - ( - 'http://localhost:3085/graphql' - ,), - { - 'headers': { - 'Accept': 'application/json' + }, + }, +)] + +snapshots["TestMinaClient.test_get_block_by_state_hash 1"] = [( + ("http://localhost:3085/graphql", ), + { + "headers": { + "Accept": "application/json" + }, + "json": { + "query": + "query ($stateHash: String!) { block(stateHash: $stateHash) { creator protocolState { consensusState { blockHeight } } snarkJobs { fee prover } } }", + "variables": { + "stateHash": "some_state_hash" }, - 'json': { - 'query': 'query ($stateHash: String!) { block(stateHash: $stateHash) { creator protocolState { consensusState { blockHeight } } snarkJobs { fee prover } } }', - 'variables': { - 'stateHash': 'some_state_hash' - } - } - } - ,) -] + }, + }, +)] diff --git a/tests/test_client.py b/tests/test_client.py index e2a44ad..640f9b0 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -1,12 +1,12 @@ import mock -from CodaClient import Client, Currency +from MinaClient import Client, Currency @mock.patch("requests.post") -class TestCodaClient: +class TestMinaClient: """ - Tests the CodaClient.Client class + Tests the MinaClient.Client class """ def _mock_response( self, diff --git a/tests/test_currency.py b/tests/test_currency.py index d934e71..9ee583c 100644 --- a/tests/test_currency.py +++ b/tests/test_currency.py @@ -1,21 +1,21 @@ -from CodaClient import CurrencyFormat, CurrencyUnderflow, Currency +from MinaClient import CurrencyFormat, CurrencyUnderflow, Currency precision = 10**9 def test_constructor_whole_int(): n = 500 - assert Currency(n).nanocodas() == n * precision + assert Currency(n).nanominas() == n * precision def test_constructor_whole_float(): n = 5.5 - assert Currency(n).nanocodas() == n * precision + assert Currency(n).nanominas() == n * precision def test_constructor_whole_string(): n = "5.5" - assert Currency(n).nanocodas() == float(n) * precision + assert Currency(n).nanominas() == float(n) * precision def test_constructor_nano_int(): @@ -24,11 +24,11 @@ def test_constructor_nano_int(): 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(): @@ -42,21 +42,21 @@ def test_sub_underflow(): 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 + Currency(2, format=CurrencyFormat.NANO)).nanominas() == 10 * precision def test_random(): assert Currency.random(Currency(5), - Currency(5)).nanocodas() == 5 * precision + 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.nanocodas() and rand.nanocodas() <= 5 + assert 3 <= rand.nanominas() and rand.nanominas() <= 5 From 5d8b75ef0a900f85dce6d57cff4e43f81b01e25c Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Mon, 1 Mar 2021 21:05:35 +0100 Subject: [PATCH 07/25] adding peer info --- MinaClient.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MinaClient.py b/MinaClient.py index 4ab6664..7097a70 100644 --- a/MinaClient.py +++ b/MinaClient.py @@ -350,7 +350,11 @@ def get_daemon_status(self) -> dict: } } numAccounts - peers + peers { + host + libp2pPort + peerId + } snarkWorkFee snarkWorker stateHash From 08c089c2416dc3673d6090d357345994c9fd4001 Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Sat, 6 Mar 2021 14:41:54 +0100 Subject: [PATCH 08/25] sgqlc queries --- MinaClient.py | 423 +- mina_schema/create_schema.ipynb | 144 + mina_schema/mina_schema.json | 8100 +++++++++++++++++++++++++++++++ mina_schema/mina_schema.py | 1904 ++++++++ 4 files changed, 10376 insertions(+), 195 deletions(-) create mode 100644 mina_schema/create_schema.ipynb create mode 100644 mina_schema/mina_schema.json create mode 100644 mina_schema/mina_schema.py diff --git a/MinaClient.py b/MinaClient.py index 7097a70..bbcd191 100644 --- a/MinaClient.py +++ b/MinaClient.py @@ -6,7 +6,11 @@ from enum import Enum import requests +import sgqlc import websockets +from sgqlc.operation import Operation + +from mina_schema import mina_schema class CurrencyFormat(Enum): @@ -189,6 +193,20 @@ def __init__( 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 {str} -- A GraphQL Query + variables {dict} -- Optional Variables for the query (default: {{}}) + + 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 @@ -233,10 +251,14 @@ def _graphql_request(self, query: str, variables: dict = {}): """ # Strip all the whitespace and replace with spaces query = " ".join(query.split()) + #print(query) payload = {"query": query} if variables: payload = {**payload, "variables": variables} + #print(payload) + #print(type(payload)) + headers = {"Accept": "application/json"} self.logger.debug("Sending a Query: {}".format(payload)) response = requests.post(self.endpoint, json=payload, headers=headers) @@ -290,117 +312,61 @@ async def _graphql_subscription(self, else: print(message) - def get_daemon_status(self) -> dict: + def get_daemon_status(self, fields: list = None) -> dict: """Gets the status of the currently configured Mina Daemon. Returns: dict -- Returns the "data" field of the JSON Response as a Dict. """ - query = """ - query { - daemonStatus { - addrsAndPorts { - bindIp - clientPort - externalIp - libp2pPort - peer { - host - libp2pPort - peerId - } - } - blockProductionKeys - blockchainLength - commitId - confDir - consensusConfiguration { - acceptableNetworkDelay - delta - epochDuration - genesisStateTimestamp - k - slotDuration - slotsPerEpoch - } - consensusMechanism - consensusTimeBestTip { - endTime - epoch - globalSlot - slot - startTime - } - consensusTimeNow { - endTime - epoch - globalSlot - slot - startTime - } - highestBlockLengthReceived - ledgerMerkleRoot - nextBlockProduction { - times { - endTime - epoch - globalSlot - slot - startTime - } - } - numAccounts - peers { - host - libp2pPort - peerId - } - snarkWorkFee - snarkWorker - stateHash - syncStatus - uptimeSecs - userCommandsSent - } - } - """ - res = self._send_query(query) + if not fields: + fields = [] + + op = Operation(mina_schema.query) + op.daemon_status().__fields__(*fields) + + 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 -- Returns the "data" field of the JSON Response as a Dict. + """ + return self.get_daemon_status(fields=['sync_status']) + def get_daemon_version(self) -> dict: """Gets the version of the currently configured Mina Daemon. Returns: dict -- Returns the "data" field of the JSON Response as a Dict. """ - query = """ - { - version - } - """ - res = self._send_query(query) + op = Operation(mina_schema.query) + op.version() + + res = self._send_sgqlc_query(op) return res["data"] - def get_wallets(self) -> dict: + def get_wallets(self, fields: list = None) -> dict: """Gets the wallets that are currently installed in the Mina Daemon. Returns: dict -- Returns the "data" field of the JSON Response as a Dict. """ - query = """ - { - ownedWallets { - publicKey - balance { - total - } - } - } - """ - res = self._send_query(query) + + default_fields = ['public_key', 'balance'] + + fields = [] if isinstance(fields, + list) and not len(fields) else default_fields + + op = Operation(mina_schema.query) + op.owned_wallets().__fields__(*fields) + + res = self._send_sgqlc_query(op) return res["data"] - def get_wallet(self, pk: str) -> dict: + def get_wallet(self, pk: str, fields: list = None) -> dict: """Gets the wallet for the specified Public Key. Args: @@ -410,25 +376,18 @@ def get_wallet(self, pk: str) -> dict: 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) + default_fields = [ + 'balance', 'nonce', 'receipt_chain_hash', 'delegate', 'voting_for', + 'staking_active', 'private_key_path' + ] + + fields = [] if isinstance(fields, + list) and not len(fields) else default_fields + + op = Operation(mina_schema.query) + op.wallet(public_key=pk).__fields__(*fields) + + res = self._send_sgqlc_query(op) return res["data"] def create_wallet(self, password: str) -> dict: @@ -439,17 +398,11 @@ def create_wallet(self, password: str) -> dict: Returns: dict -- Returns the "data" field of the JSON Response as a Dict. - 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) + + 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: @@ -463,52 +416,42 @@ def unlock_wallet(self, pk: str, password: str) -> dict: 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) + op = Operation(mina_schema.mutation) + op.unlock_wallet(input={'public_key': pk, 'password': password}) + res = self._send_sgqlc_query(op) return res["data"] - def get_current_snark_worker(self) -> dict: - """Gets the currently configured SNARK Worker from the Mina Daemon. - + 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 -- Returns the "data" field of the JSON Response as a Dict. """ - query = """ - { - currentSnarkWorker { - key - fee - } - } - """ - res = self._send_query(query) + 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_sync_status(self) -> dict: - """Gets the Sync Status of the Mina Daemon. + def get_current_snark_worker(self, fields: list = None) -> dict: + """Gets the currently configured SNARK Worker from the Mina Daemon. Returns: dict -- Returns the "data" field of the JSON Response as a Dict. """ - query = """ - { - daemonStatus { - syncStatus - } - } - """ - res = self._send_query(query) + default_fields = ['key', 'fee'] + + fields = [] if isinstance(fields, + list) and not len(fields) else default_fields + + op = Operation(mina_schema.query) + op.current_snark_worker().__fields__(*fields) + + res = self._send_sgqlc_query(op) return res["data"] def set_current_snark_worker(self, worker_pk: str, fee: int) -> dict: @@ -522,16 +465,10 @@ def set_current_snark_worker(self, worker_pk: str, fee: int) -> dict: 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) + op = Operation(mina_schema.mutation) + op.set_snark_worker(input={'public_key': worker_pk}) + op.set_snark_work_fee(input={'fee': fee}) + res = self._send_sgqlc_query(op) return res["data"] def send_payment(self, to_pk: str, from_pk: str, amount: Currency, @@ -550,38 +487,24 @@ def send_payment(self, to_pk: str, from_pk: str, amount: Currency, 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.nanominas(), - "fee": fee.nanominas(), - "memo": memo, - } - res = self._send_mutation(query, variables) + + #TODO(Jan): add this once cconnected to a differetn testaccount + default_fields = [ + 'id', 'isDelegation', 'nonce', 'from', 'to', 'amount', 'fee', + 'memo' + ] + + op = Operation(mina_schema.mutation) + op.send_payment( + input={ + "from": from_pk, + "to": to_pk, + "fee": fee.nanominas(), + "memo": memo, + "amount": amount.nanominas(), + }) + res = self._send_sgqlc_query(op) + return res["data"] def get_pooled_payments(self, pk: str) -> dict: @@ -716,6 +639,116 @@ def get_block_by_state_hash(self, state_hash: str) -> dict: res = self._send_query(query, variables) return res["data"] + def send_any_query(self, query, variables=None): + if not variables: + variables = {} + #print(query) + + res = self._send_query(query, variables) + #print(res) + return res["data"] + + def get_schema(self): + query = """ +query IntrospectionQuery( + $includeDescription: Boolean!, + $includeDeprecated: Boolean!, +) { + __schema { + queryType { name } + mutationType { name } + subscriptionType { name } + types { + ...FullType + } + directives { + name + description @include(if: $includeDescription) + locations + args { + ...InputValue + } + } + } +} +fragment FullType on __Type { + kind + name + description @include(if: $includeDescription) + fields(includeDeprecated: $includeDeprecated) { + name + description @include(if: $includeDescription) + args { + ...InputValue + } + type { + ...TypeRef + } + isDeprecated @include(if: $includeDeprecated) + deprecationReason @include(if: $includeDeprecated) + } + inputFields { + ...InputValue + } + interfaces { + ...TypeRef + } + enumValues(includeDeprecated: $includeDeprecated) { + name + description @include(if: $includeDescription) + isDeprecated @include(if: $includeDeprecated) + deprecationReason @include(if: $includeDeprecated) + } + possibleTypes { + ...TypeRef + } +} +fragment InputValue on __InputValue { + name + description @include(if: $includeDescription) + type { ...TypeRef } + defaultValue +} +fragment TypeRef on __Type { + kind + name + ofType { + kind + name + ofType { + kind + name + ofType { + kind + name + ofType { + kind + name + ofType { + kind + name + ofType { + kind + name + ofType { + kind + name + } + } + } + } + } + } + } +} + """ + variables = { + 'includeDescription': True, + 'includeDeprecated': False, + } + res = self._send_query(query, variables) + return res + async def listen_sync_update(self, callback): """Creates a subscription for Network Sync Updates. """ query = """ diff --git a/mina_schema/create_schema.ipynb b/mina_schema/create_schema.ipynb new file mode 100644 index 0000000..e35b903 --- /dev/null +++ b/mina_schema/create_schema.ipynb @@ -0,0 +1,144 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "id": "wrong-concentrate", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-05T15:32:04.870174Z", + "start_time": "2021-03-05T15:32:04.469050Z" + } + }, + "outputs": [], + "source": [ + "%load_ext blackcellmagic\n", + "%load_ext autoreload\n", + "%autoreload 2" + ] + }, + { + "cell_type": "code", + "execution_count": 14, + "id": "later-quest", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-05T15:40:30.348037Z", + "start_time": "2021-03-05T15:40:30.329547Z" + } + }, + "outputs": [], + "source": [ + "import sys\n", + "sys.path.append('/Users/bakebrain/src')\n", + "\n", + "from mina.MinaClient import Client, Currency\n", + "import sgqlc\n", + "import json" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "id": "saving-convenience", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-05T15:32:29.959017Z", + "start_time": "2021-03-05T15:32:29.941517Z" + } + }, + "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": 16, + "id": "developmental-albany", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-05T15:40:50.206814Z", + "start_time": "2021-03-05T15:40:49.876734Z" + } + }, + "outputs": [], + "source": [ + "variables = {\"includeDescription\": True, \"includeDeprecated\": False}\n", + "\n", + "mina_schema = mina_client.send_any_query(sgqlc.introspection.query, variables=variables)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "automotive-rebate", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": 18, + "id": "graduate-setting", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-05T15:42:00.014706Z", + "start_time": "2021-03-05T15:41:59.978727Z" + } + }, + "outputs": [], + "source": [ + "with open('mina_schema.json', 'w') as f:\n", + " json.dump(mina_schema, f, sort_keys=True, indent=2, default=str)" + ] + }, + { + "cell_type": "code", + "execution_count": 19, + "id": "literary-absolute", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-05T15:43:01.624311Z", + "start_time": "2021-03-05T15:43:00.605819Z" + } + }, + "outputs": [], + "source": [ + "!sgqlc-codegen schema mina_schema.json mina_schema.py" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "existing-fusion", + "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_schema/mina_schema.json b/mina_schema/mina_schema.json new file mode 100644 index 0000000..30e0951 --- /dev/null +++ b/mina_schema/mina_schema.json @@ -0,0 +1,8100 @@ +{ + "__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": "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 + } + } + } + ], + "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 + } + } + } + ], + "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 + } + } + } + ], + "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 + } + } + } + ], + "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 + } + } + } + ], + "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 + } + } + } + ], + "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 + } + } + } + ], + "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 + } + } + } + ], + "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", + "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_schema/mina_schema.py b/mina_schema/mina_schema.py new file mode 100644 index 0000000..37bc4e0 --- /dev/null +++ b/mina_schema/mina_schema.py @@ -0,0 +1,1904 @@ +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 + + +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") + recipient = sgqlc.types.Field( + sgqlc.types.non_null(PublicKey), graphql_name="recipient" + ) + fee = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name="fee") + + +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 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", + ) + 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" + ) + + +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", + ) + 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, + ), + ), + ) + ), + ) + + +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 From 0920cc90890f643f7ad75526e274f9a9a99b844f Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Sat, 6 Mar 2021 14:56:19 +0100 Subject: [PATCH 09/25] cleanups --- MinaClient.py | 103 +------------------------------------------------- 1 file changed, 1 insertion(+), 102 deletions(-) diff --git a/MinaClient.py b/MinaClient.py index bbcd191..d04dbd2 100644 --- a/MinaClient.py +++ b/MinaClient.py @@ -642,112 +642,11 @@ def get_block_by_state_hash(self, state_hash: str) -> dict: def send_any_query(self, query, variables=None): if not variables: variables = {} - #print(query) res = self._send_query(query, variables) - #print(res) return res["data"] - def get_schema(self): - query = """ -query IntrospectionQuery( - $includeDescription: Boolean!, - $includeDeprecated: Boolean!, -) { - __schema { - queryType { name } - mutationType { name } - subscriptionType { name } - types { - ...FullType - } - directives { - name - description @include(if: $includeDescription) - locations - args { - ...InputValue - } - } - } -} -fragment FullType on __Type { - kind - name - description @include(if: $includeDescription) - fields(includeDeprecated: $includeDeprecated) { - name - description @include(if: $includeDescription) - args { - ...InputValue - } - type { - ...TypeRef - } - isDeprecated @include(if: $includeDeprecated) - deprecationReason @include(if: $includeDeprecated) - } - inputFields { - ...InputValue - } - interfaces { - ...TypeRef - } - enumValues(includeDeprecated: $includeDeprecated) { - name - description @include(if: $includeDescription) - isDeprecated @include(if: $includeDeprecated) - deprecationReason @include(if: $includeDeprecated) - } - possibleTypes { - ...TypeRef - } -} -fragment InputValue on __InputValue { - name - description @include(if: $includeDescription) - type { ...TypeRef } - defaultValue -} -fragment TypeRef on __Type { - kind - name - ofType { - kind - name - ofType { - kind - name - ofType { - kind - name - ofType { - kind - name - ofType { - kind - name - ofType { - kind - name - ofType { - kind - name - } - } - } - } - } - } - } -} - """ - variables = { - 'includeDescription': True, - 'includeDeprecated': False, - } - res = self._send_query(query, variables) - return res + async def listen_sync_update(self, callback): """Creates a subscription for Network Sync Updates. """ From f1582fe4f9c675a4d65912fa1bfad913204bc88d Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Sun, 14 Mar 2021 14:49:05 +0100 Subject: [PATCH 10/25] latest schema - also keep raw version, different handling of default fields, fixed subsciptions --- MinaClient.py | 344 +- mina_schema/create_schema.ipynb | 63 +- mina_schema/mina_schema.json | 14390 +++++++++++++++--------------- mina_schema/mina_schema.py | 1992 +---- 4 files changed, 7880 insertions(+), 8909 deletions(-) diff --git a/MinaClient.py b/MinaClient.py index d04dbd2..4fcab75 100644 --- a/MinaClient.py +++ b/MinaClient.py @@ -205,7 +205,8 @@ def _send_sgqlc_query(self, Returns: dict -- A Response object from the GraphQL Server. """ - return self._graphql_request(bytes(query).decode('utf-8'), variables) + + 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 @@ -251,14 +252,11 @@ def _graphql_request(self, query: str, variables: dict = {}): """ # Strip all the whitespace and replace with spaces query = " ".join(query.split()) - #print(query) + payload = {"query": query} if variables: payload = {**payload, "variables": variables} - #print(payload) - #print(type(payload)) - headers = {"Accept": "application/json"} self.logger.debug("Sending a Query: {}".format(payload)) response = requests.post(self.endpoint, json=payload, headers=headers) @@ -267,7 +265,6 @@ def _graphql_request(self, query: str, variables: dict = {}): 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())) @@ -278,6 +275,9 @@ async def _graphql_subscription(self, callback=None): hello_message = {"type": "connection_init", "payload": {}} + if isinstance(query, sgqlc.operation.Operation): + query = bytes(query).decode("utf-8") + # Strip all the whitespace and replace with spaces query = " ".join(query.split()) payload = {"query": query} @@ -289,6 +289,7 @@ async def _graphql_subscription(self, uri = self.websocket_endpoint self.logger.info(uri) + async with websockets.client.connect(uri, ping_timeout=None) as websocket: # Set up Websocket Connection @@ -312,17 +313,15 @@ async def _graphql_subscription(self, else: print(message) - def get_daemon_status(self, fields: list = None) -> dict: + def get_daemon_status(self) -> dict: """Gets the status of the currently configured Mina Daemon. Returns: dict -- Returns the "data" field of the JSON Response as a Dict. """ - if not fields: - fields = [] op = Operation(mina_schema.query) - op.daemon_status().__fields__(*fields) + op.daemon_status() res = self._send_sgqlc_query(op) @@ -334,7 +333,12 @@ def get_sync_status(self) -> dict: Returns: dict -- Returns the "data" field of the JSON Response as a Dict. """ - return self.get_daemon_status(fields=['sync_status']) + + op = Operation(mina_schema.query) + op.daemon_status().__fields__("sync_status") + + res = self._send_sgqlc_query(op) + return res def get_daemon_version(self) -> dict: """Gets the version of the currently configured Mina Daemon. @@ -348,25 +352,24 @@ def get_daemon_version(self) -> dict: res = self._send_sgqlc_query(op) return res["data"] - def get_wallets(self, fields: list = None) -> dict: + def get_wallets(self, all_fields: bool = False) -> dict: """Gets the wallets that are currently installed in the Mina Daemon. Returns: dict -- Returns the "data" field of the JSON Response as a Dict. """ - default_fields = ['public_key', 'balance'] - - fields = [] if isinstance(fields, - list) and not len(fields) else default_fields + default_fields = ["public_key", "balance"] op = Operation(mina_schema.query) - op.owned_wallets().__fields__(*fields) + 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, fields: list = None) -> dict: + def get_wallet(self, pk: str, all_fields: bool = False) -> dict: """Gets the wallet for the specified Public Key. Args: @@ -377,15 +380,20 @@ def get_wallet(self, pk: str, fields: list = None) -> dict: dict -- Returns the "data" field of the JSON Response as a Dict. """ default_fields = [ - 'balance', 'nonce', 'receipt_chain_hash', 'delegate', 'voting_for', - 'staking_active', 'private_key_path' + "balance", + "nonce", + "receipt_chain_hash", + "delegate", + "voting_for", + "staking_active", + "private_key_path", ] - fields = [] if isinstance(fields, - list) and not len(fields) else default_fields - op = Operation(mina_schema.query) - op.wallet(public_key=pk).__fields__(*fields) + op.wallet(public_key=pk) + + if not all_fields: + op.wallet.__fields__(*default_fields) res = self._send_sgqlc_query(op) return res["data"] @@ -401,7 +409,8 @@ def create_wallet(self, password: str) -> dict: """ op = Operation(mina_schema.mutation) - op.create_account(input={'password': password}) + op.create_account(input={"password": password}) + res = self._send_sgqlc_query(op) return res["data"] @@ -417,7 +426,8 @@ def unlock_wallet(self, pk: str, password: str) -> dict: dict -- Returns the "data" field of the JSON Response as a Dict. """ op = Operation(mina_schema.mutation) - op.unlock_wallet(input={'public_key': pk, 'password': password}) + op.unlock_wallet(input={"public_key": pk, "password": password}) + res = self._send_sgqlc_query(op) return res["data"] @@ -433,23 +443,24 @@ def lock_wallet(self, pk: str, password: str) -> dict: dict -- Returns the "data" field of the JSON Response as a Dict. """ op = Operation(mina_schema.mutation) - op.lock_wallet(input={'public_key': pk, 'password': password}) + op.lock_wallet(input={"public_key": pk, "password": password}) + res = self._send_sgqlc_query(op) return res["data"] - def get_current_snark_worker(self, fields: list = None) -> dict: + def get_current_snark_worker(self, all_fields: bool = False) -> dict: """Gets the currently configured SNARK Worker from the Mina Daemon. Returns: dict -- Returns the "data" field of the JSON Response as a Dict. """ - default_fields = ['key', 'fee'] - - fields = [] if isinstance(fields, - list) and not len(fields) else default_fields + default_fields = ["key", "fee"] op = Operation(mina_schema.query) - op.current_snark_worker().__fields__(*fields) + op.current_snark_worker() + + if not all_fields: + op.current_snark_worker().__fields__(*default_fields) res = self._send_sgqlc_query(op) return res["data"] @@ -466,13 +477,21 @@ def set_current_snark_worker(self, worker_pk: str, fee: int) -> dict: 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}) + op.set_snark_worker(input={"public_key": worker_pk}) + op.set_snark_work_fee(input={"fee": fee}) + 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: + def send_payment( + self, + to_pk: str, + from_pk: str, + amount: Currency, + fee: Currency, + memo: str, + all_fields: bool = False, + ) -> dict: """Send a payment from the specified wallet to specified target wallet. Args: @@ -483,56 +502,69 @@ def send_payment(self, to_pk: str, from_pk: str, amount: Currency, fee: Currency instance. The transaction fee that will be attached to the payment memo: memo to attach to the payment + all_fields: return all available fields in response + Returns: dict -- Returns the "data" field of the JSON Response as a Dict """ - - #TODO(Jan): add this once cconnected to a differetn testaccount + # test in devnet default_fields = [ - 'id', 'isDelegation', 'nonce', 'from', 'to', 'amount', 'fee', - 'memo' + "id", + "is_delegation", + "nonce", + "from", + "to", + "amount", + "fee", + "memo", ] + input_dict = { + "from": from_pk, + "to": to_pk, + "fee": fee.nanominas(), + "memo": memo, + "amount": amount.nanominas(), + } + op = Operation(mina_schema.mutation) - op.send_payment( - input={ - "from": from_pk, - "to": to_pk, - "fee": fee.nanominas(), - "memo": memo, - "amount": amount.nanominas(), - }) - res = self._send_sgqlc_query(op) + op.send_payment(input=input_dict) + if not all_fields: + op.send_payment(input=input_dict).__fields__(*default_fields) + + res = self._send_sgqlc_query(op) return res["data"] - def get_pooled_payments(self, pk: str) -> dict: + 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 -- 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) + + 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: @@ -544,133 +576,105 @@ def get_transaction_status(self, payment_id: str) -> dict: 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) + 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) -> dict: + 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 + max_length: defaults to 10 + all_fields: return all available fields in response Returns: dict -- Returns the "data" field of the JSON Response as a Dict. """ - query = """ - query ($maxLength: Int!) { - bestChain(maxLength: $maxLength) { - protocolState { - consensusState { - blockHeight - } - previousStateHash - } - stateHash - } - } - """ - variables = {"maxLength": max_length} - res = self._send_query(query, variables) + 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) -> dict: + 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 + height: block height + all_fields: return all available fields in response Returns: dict -- Returns the "data" field of the JSON Response as a Dict. """ - query = """ - query ($height: Int!) { - block(height: $height) { - stateHash - creator - snarkJobs { - fee - prover - } - } - } - """ - variables = {"height": height} - res = self._send_query(query, variables) + + 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) -> dict: + 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 + state_hash: state hash + all_fields: return all available fields in response Returns: dict -- Returns the "data" field of the JSON Response as a Dict. """ - query = """ - query ($stateHash: String!) { - block(stateHash: $stateHash) { - creator - protocolState { - consensusState { - blockHeight - } - } - snarkJobs { - fee - prover - } - } - } - """ - variables = {"stateHash": state_hash} - res = self._send_query(query, variables) + + 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 = {} - res = self._send_query(query, variables) - return res["data"] - - + 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. """ - 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 received. - """ - query = """ - subscription { - blockConfirmation { - stateHash - numConfirmations - } - } - """ - await self._graphql_subscription(query, {}, callback) + op = Operation(mina_schema.subscription_type) + op.new_sync_update() + variables = {} + await self._graphql_subscription(op, variables, callback) async def listen_new_blocks(self, callback): """Creates a subscription for new blocks. @@ -681,38 +685,8 @@ async def listen_new_blocks(self, callback): 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 - } - } - } - """ + # add filter for pk + op = Operation(mina_schema.subscription_type) + op.new_block() variables = {} - await self._graphql_subscription(query, variables, callback) + await self._graphql_subscription(op, variables, callback) diff --git a/mina_schema/create_schema.ipynb b/mina_schema/create_schema.ipynb index e35b903..db28b8e 100644 --- a/mina_schema/create_schema.ipynb +++ b/mina_schema/create_schema.ipynb @@ -2,29 +2,27 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, - "id": "wrong-concentrate", + "execution_count": 15, + "id": "hollywood-surveillance", "metadata": { "ExecuteTime": { - "end_time": "2021-03-05T15:32:04.870174Z", - "start_time": "2021-03-05T15:32:04.469050Z" + "end_time": "2021-03-14T11:48:32.924437Z", + "start_time": "2021-03-14T11:48:32.908414Z" } }, "outputs": [], "source": [ - "%load_ext blackcellmagic\n", - "%load_ext autoreload\n", - "%autoreload 2" + "from sgqlc.introspection import query" ] }, { "cell_type": "code", - "execution_count": 14, - "id": "later-quest", + "execution_count": 16, + "id": "serious-retail", "metadata": { "ExecuteTime": { - "end_time": "2021-03-05T15:40:30.348037Z", - "start_time": "2021-03-05T15:40:30.329547Z" + "end_time": "2021-03-14T11:48:33.409557Z", + "start_time": "2021-03-14T11:48:33.254426Z" } }, "outputs": [], @@ -33,18 +31,17 @@ "sys.path.append('/Users/bakebrain/src')\n", "\n", "from mina.MinaClient import Client, Currency\n", - "import sgqlc\n", "import json" ] }, { "cell_type": "code", - "execution_count": 3, - "id": "saving-convenience", + "execution_count": 17, + "id": "reserved-duplicate", "metadata": { "ExecuteTime": { - "end_time": "2021-03-05T15:32:29.959017Z", - "start_time": "2021-03-05T15:32:29.941517Z" + "end_time": "2021-03-14T11:48:33.607777Z", + "start_time": "2021-03-14T11:48:33.589701Z" } }, "outputs": [], @@ -57,12 +54,12 @@ }, { "cell_type": "code", - "execution_count": 16, - "id": "developmental-albany", + "execution_count": 19, + "id": "toxic-preview", "metadata": { "ExecuteTime": { - "end_time": "2021-03-05T15:40:50.206814Z", - "start_time": "2021-03-05T15:40:49.876734Z" + "end_time": "2021-03-14T11:49:02.575759Z", + "start_time": "2021-03-14T11:49:02.194624Z" } }, "outputs": [], @@ -74,20 +71,12 @@ }, { "cell_type": "code", - "execution_count": null, - "id": "automotive-rebate", - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": 18, - "id": "graduate-setting", + "execution_count": 22, + "id": "prospective-marker", "metadata": { "ExecuteTime": { - "end_time": "2021-03-05T15:42:00.014706Z", - "start_time": "2021-03-05T15:41:59.978727Z" + "end_time": "2021-03-14T11:49:20.627510Z", + "start_time": "2021-03-14T11:49:20.566090Z" } }, "outputs": [], @@ -98,12 +87,12 @@ }, { "cell_type": "code", - "execution_count": 19, - "id": "literary-absolute", + "execution_count": 23, + "id": "incorporate-trustee", "metadata": { "ExecuteTime": { - "end_time": "2021-03-05T15:43:01.624311Z", - "start_time": "2021-03-05T15:43:00.605819Z" + "end_time": "2021-03-14T11:49:23.355178Z", + "start_time": "2021-03-14T11:49:23.024797Z" } }, "outputs": [], @@ -114,7 +103,7 @@ { "cell_type": "code", "execution_count": null, - "id": "existing-fusion", + "id": "popular-disposal", "metadata": {}, "outputs": [], "source": [] diff --git a/mina_schema/mina_schema.json b/mina_schema/mina_schema.json index 30e0951..3055889 100644 --- a/mina_schema/mina_schema.json +++ b/mina_schema/mina_schema.json @@ -1,5860 +1,6241 @@ { - "__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 + "data": { + "__schema": { + "directives": [], + "mutationType": { + "name": "mutation" }, - { - "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", + "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 } } - ], - "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": [ + { + "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 + }, + { + "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": "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": "subscription", + "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 + ], + "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": "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 + }, + { + "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 + ], + "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": "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 + }, + { + "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 + ], + "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", + }, + { + "args": [], + "description": "Peers we will never allow connections from (unless they are also trusted!)", + "name": "bannedPeers", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "NetworkPeer", - "ofType": null + "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", + }, + { + "args": [], + "description": "Peers we will always allow connections from", + "name": "trustedPeers", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "NetworkPeer", - "ofType": null + "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 + ], + "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", + }, + { + "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": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "NetworkPeer", - "ofType": null + "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", + }, + { + "defaultValue": null, + "description": "Peers we will always allow connections from", + "name": "trustedPeers", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "NetworkPeer", - "ofType": null + "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": { + ], + "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": "UInt64", + "name": "PublicKey", "ofType": null } } - } - ], - "inputFields": [ - { - "defaultValue": null, - "description": "Fee to get rewarded for producing snark work", - "name": "fee", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + ], + "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": "UInt64", + "name": "PublicKey", "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": { + ], + "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": "UInt64", + "name": "PublicKey", "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", + ], + "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": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "PublicKey", - "ofType": null + "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", + ], + "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": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "PublicKey", - "ofType": null + "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", + ], + "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": "NON_NULL", + "kind": "LIST", "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", + "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": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "PublicKey", - "ofType": null + "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", + }, + { + "args": [], + "description": "Returns the public keys that are now staking their funds", + "name": "currentStakingKeys", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "PublicKey", - "ofType": null + "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": "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": "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": { + ], + "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": "UInt64", + "name": "UInt32", "ofType": null } - } - }, - { - "args": [], - "description": "Amount of token to create in the receiver's account", - "name": "amount", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { "kind": "SCALAR", - "name": "UInt64", + "name": "String", "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": { + }, + { + "args": [], + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { "kind": "SCALAR", - "name": "TokenId", + "name": "UInt32", "ofType": null } - } - }, - { - "args": [], - "description": "Public key of the token's owner", - "name": "tokenOwner", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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": { + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { "kind": "SCALAR", - "name": "UInt64", + "name": "UInt32", "ofType": null } - } - }, - { - "defaultValue": null, - "description": "Amount of token to create in the receiver's account", - "name": "amount", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "defaultValue": null, + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { "kind": "SCALAR", - "name": "UInt64", + "name": "String", "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": { + }, + { + "defaultValue": null, + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { "kind": "SCALAR", - "name": "TokenId", + "name": "UInt32", "ofType": null } - } - }, - { - "defaultValue": null, - "description": "Public key of the token's owner", - "name": "tokenOwner", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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 } - } - } - ], - "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 + }, + { + "defaultValue": null, + "description": "Token to mint more of", + "name": "token", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "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 + }, + { + "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 + } } } - }, - { - "args": [], - "description": "Public key to create the account for", - "name": "receiver", - "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 + } } } - }, - { - "args": [], - "description": "Token to create an account for", - "name": "token", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + ], + "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": "TokenId", + "name": "UInt32", "ofType": null } - } - }, - { - "args": [], - "description": "Public key of the token's owner", - "name": "tokenOwner", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { "kind": "SCALAR", - "name": "PublicKey", + "name": "String", "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": { + }, + { + "args": [], + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { "kind": "SCALAR", - "name": "UInt64", + "name": "UInt32", "ofType": null } - } - }, - { - "defaultValue": null, - "description": "Public key to create the account for", - "name": "receiver", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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 } - } - }, - { - "defaultValue": null, - "description": "Token to create an account for", - "name": "token", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "TokenId", - "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 + } } } - }, - { - "defaultValue": null, - "description": "Public key of the token's owner", - "name": "tokenOwner", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { "kind": "SCALAR", - "name": "PublicKey", + "name": "UInt32", "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", + }, + { + "defaultValue": null, + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", "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": { + }, + { + "defaultValue": null, + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { "kind": "SCALAR", - "name": "UInt64", + "name": "UInt32", "ofType": null } - } - }, - { - "args": [], - "description": "Public key to create the token for", - "name": "tokenOwner", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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 } - } - }, - { - "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": "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 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 + }, + { + "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 + } } - } - } - ], - "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 + }, + { + "defaultValue": null, + "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 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 the token's owner", + "name": "tokenOwner", + "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 + ], + "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": [ - { - "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": { + ], + "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": "UInt64", + "name": "UInt32", "ofType": null } - } - }, - { - "defaultValue": null, - "description": "Public key of the account being delegated to", - "name": "to", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { "kind": "SCALAR", - "name": "PublicKey", + "name": "String", "ofType": null } - } - }, - { - "defaultValue": null, - "description": "Public key of sender of a stake delegation", - "name": "from", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { "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", + "name": "UInt32", "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 + }, + { + "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 + } } - } - } - ], - "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 + }, + { + "args": [], + "description": "Public key to create the token for", + "name": "tokenOwner", + "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": { + }, + { + "args": [], + "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": "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": { + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { "kind": "SCALAR", - "name": "PublicKey", + "name": "UInt32", "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": { + }, + { + "defaultValue": null, + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { "kind": "SCALAR", - "name": "PublicKey", + "name": "String", "ofType": null } - } - } - ], - "inputFields": [ - { - "defaultValue": null, - "description": "Public key specifying which account to lock", - "name": "publicKey", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "defaultValue": null, + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { "kind": "SCALAR", - "name": "PublicKey", + "name": "UInt32", "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 + }, + { + "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 + } } - } - }, - { - "args": [], - "description": "Details of locked account", - "name": "account", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "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 + } } - } - } - ], - "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": { + }, + { + "defaultValue": null, + "description": "Public key to pay the fee from (defaults to the tokenOwner)", + "name": "feePayer", + "type": { "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 + ], + "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": [ - { - "defaultValue": null, - "description": "Public key specifying which account to unlock", - "name": "publicKey", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + ], + "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": "PublicKey", + "name": "UInt32", "ofType": null } - } - }, - { - "defaultValue": null, - "description": "Password for the account to be unlocked", - "name": "password", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { "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": { + }, + { + "args": [], + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { "kind": "SCALAR", - "name": "PublicKey", + "name": "UInt32", "ofType": null } - } - }, - { - "args": [], - "description": "Details of unlocked account", - "name": "account", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "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 + } } - } - } - ], - "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 + }, + { + "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 + } } - } - } - ], - "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 + }, + { + "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 + } } } - } - ], - "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": { + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { "kind": "SCALAR", - "name": "String", + "name": "UInt32", "ofType": null } - } - } - ], - "inputFields": [ - { - "defaultValue": null, - "description": "Password used to encrypt the new account", - "name": "password", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "defaultValue": null, + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { "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": { + }, + { + "defaultValue": null, + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { "kind": "SCALAR", - "name": "PublicKey", + "name": "UInt32", "ofType": null } - } - }, - { - "args": [], - "description": "Details of created account", - "name": "account", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "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 + } } - } - } - ], - "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 - } + }, + { + "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 } } - ], - "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 + }, + { + "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 + } } } - }, - { - "args": [ - { - "defaultValue": null, - "description": null, - "name": "input", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "AddAccountInput", - "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 } } - ], - "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 - } + ], + "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 } } - ], - "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 - } + ], + "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 } } - ], - "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 - } + ], + "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 } } - ], - "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 - } + ], + "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 } } - ], - "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 - } + ], + "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 } } - ], - "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 - } + ], + "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 } } - ], - "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 - } + ], + "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 } } - ], - "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 + ], + "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": "Reload tracked account information from disk", - "name": "reloadWallets", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "ReloadAccountsPayload", - "ofType": null + }, + { + "args": [], + "description": "Details of locked account", + "name": "account", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "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 - } + ], + "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 } } - ], - "description": "Send a payment", - "name": "sendPayment", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SendPaymentPayload", - "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 + } } } - }, - { - "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 - } + ], + "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 } } - ], - "description": "Change your delegate by sending a transaction", - "name": "sendDelegation", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SendDelegationPayload", - "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 + } } } - }, - { - "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 - } + ], + "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 } } - ], - "description": "Create a new token", - "name": "createToken", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "SendCreateTokenPayload", - "ofType": null + }, + { + "args": [], + "description": "Details of unlocked account", + "name": "account", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "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 - } + ], + "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 } } - ], - "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 - } + ], + "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 } } - ], - "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": { + ], + "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 } } - ], - "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 - } + ], + "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 } } - ], - "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 - } + ], + "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 } } - ], - "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": [], + "description": "Details of created account", + "name": "account", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "ofType": null + } } } - }, - { - "args": [ - { - "defaultValue": null, - "description": null, - "name": "input", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SetSnarkWorkFee", - "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 + } } - ], - "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 + }, + { + "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 + } } - ], - "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": "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": "seed", - "type": { - "kind": "SCALAR", - "name": "Boolean", + }, + { + "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 } - }, - { - "defaultValue": null, - "description": null, - "name": "peers", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", + } + }, + { + "args": [ + { + "defaultValue": null, + "description": null, + "name": "input", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "NetworkPeer", - "ofType": null - } + "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 + } } - ], - "description": "Connect to the given peers", - "name": "addPeers", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", + }, + { + "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": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Peer", + "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": "Block encoded in precomputed block format", - "name": "block", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "PrecomputedBlock", + }, + { + "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 } } - ], - "description": null, - "name": "archivePrecomputedBlock", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Applied", - "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": "Block encoded in extensional block format", - "name": "block", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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": "ExtensionalBlock", + "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 + } } - ], - "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": "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 + } } - } - } - ], - "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": [ + { + "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": [], - "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": [ + { + "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": [], - "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": [ + { + "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": [], - "description": "Public key of sender of payment", - "name": "from", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "PublicKey", - "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 + } + } + } } - } - } - ], - "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 + }, + { + "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 + } } } - }, - { - "defaultValue": null, - "description": "Amount of coda to send to to receiver", - "name": "amount", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + ], + "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": "UInt64", + "name": "String", "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": { + }, + { + "args": [], + "description": "Scalar component of signature", + "name": "scalar", + "type": { "kind": "SCALAR", - "name": "PublicKey", + "name": "String", "ofType": null } - } - }, - { - "defaultValue": null, - "description": "Public key of sender of payment", - "name": "from", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": "Field component of signature", + "name": "field", + "type": { "kind": "SCALAR", - "name": "PublicKey", + "name": "String", "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": { + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Raw encoded signature", + "name": "rawSignature", + "type": { "kind": "SCALAR", - "name": "UInt64", + "name": "String", "ofType": null } - } - }, - { - "args": [], - "description": "The amount received as a coinbase reward for producing a block", - "name": "coinbase", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "defaultValue": null, + "description": "Scalar component of signature", + "name": "scalar", + "type": { "kind": "SCALAR", - "name": "UInt64", + "name": "String", "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", + }, + { + "defaultValue": null, + "description": "Field component of signature", + "name": "field", + "type": { + "kind": "SCALAR", + "name": "String", "ofType": null } } - }, - { - "args": [], - "description": "Fee", - "name": "feeMagnitude", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + ], + "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": "UInt64", + "name": "UInt32", "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": { + }, + { + "args": [], + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { "kind": "SCALAR", "name": "String", "ofType": null } - } - }, - { - "args": [], - "description": "Base58Check-encoded hash of the target ledger", - "name": "targetLedgerHash", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { "kind": "SCALAR", - "name": "String", + "name": "UInt32", "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": "Fee amount in order to send payment", + "name": "fee", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "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": "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": "Unique identifier for a snark work", - "name": "workId", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": "Token to send", + "name": "token", + "type": { "kind": "SCALAR", - "name": "Int", + "name": "TokenId", "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", + }, + { + "args": [], + "description": "Public key of recipient of payment", + "name": "to", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "WorkDescription", - "ofType": null - } + "kind": "SCALAR", + "name": "PublicKey", + "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": "Public key of sender of payment", + "name": "from", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } } } - }, - { - "args": [], - "description": "libp2p Peer ID", - "name": "peer_id", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + ], + "inputFields": [ + { + "defaultValue": null, + "description": "Should only be set when cancelling transactions, otherwise a nonce is determined automatically", + "name": "nonce", + "type": { "kind": "SCALAR", - "name": "String", + "name": "UInt32", "ofType": null } - } - }, - { - "args": [], - "description": "Trust score", - "name": "trust", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "defaultValue": null, + "description": "Short arbitrary message provided by the sender", + "name": "memo", + "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "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": { + }, + { + "defaultValue": null, + "description": "The global slot number after which this transaction cannot be applied", + "name": "validUntil", + "type": { "kind": "SCALAR", - "name": "PublicKey", + "name": "UInt32", "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 + }, + { + "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 + } } - } - }, - { - "args": [], - "description": "Unique identifier for the snark work purchased", - "name": "workIds", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", + }, + { + "defaultValue": null, + "description": "Amount of coda to send to to receiver", + "name": "amount", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "UInt64", + "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": { + }, + { + "defaultValue": null, + "description": "Token to send", + "name": "token", + "type": { "kind": "SCALAR", - "name": "PublicKey", + "name": "TokenId", "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 - } - } - } - ], - "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 + }, + { + "defaultValue": null, + "description": "Public key of recipient of payment", + "name": "to", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "ofType": null + } } - } - }, - { - "args": [], - "description": null, - "name": "hash", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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 + } } } - }, - { - "args": [], - "description": "String describing the kind of user command", - "name": "kind", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UserCommandKind", - "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": "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": "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 + } } } - }, - { - "args": [], - "description": "Account that the command is sent from", - "name": "source", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "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": "Account that the command applies to", - "name": "receiver", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "ofType": null + }, + { + "args": [], + "description": "Fee", + "name": "feeMagnitude", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "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 + ], + "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": "Token used for the transaction", - "name": "token", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "TokenId", - "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": "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": "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": "Token used to pay the fee", - "name": "feeToken", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "TokenId", - "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": "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": "Unique identifier for a snark work", + "name": "workId", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "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 + ], + "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 + } + } + } } } - }, - { - "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 + ], + "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": "Public key of the sender", - "name": "from", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "PublicKey", - "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": "Account of the sender", - "name": "fromAccount", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "ofType": null + }, + { + "args": [], + "description": "Trust score", + "name": "trust", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } - } - }, - { - "args": [], - "description": "Public key of the receiver", - "name": "to", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": "Banned status", + "name": "banned_status", + "type": { "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", + "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 + ], + "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": null, - "name": "delegatee", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "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": null, - "name": "id", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "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 + } + } + } } } - }, - { - "args": [], - "description": null, - "name": "hash", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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": "String describing the kind of user command", - "name": "kind", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UserCommandKind", - "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": "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": "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 + } } } - }, - { - "args": [], - "description": "Account that the command is sent from", - "name": "source", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "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": "Account that the command applies to", - "name": "receiver", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "ofType": null + }, + { + "args": [], + "description": null, + "name": "hash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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": "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 + } + } + } + ], + "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 + } + } + } + ], + "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 + } + } + } + ], + "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": "Token used for the transaction", - "name": "token", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "TokenId", - "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": "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 for the transaction", + "name": "token", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "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": "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": "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": "Token used to pay the fee", + "name": "feeToken", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "TokenId", + "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": "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": "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": "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": "Public key of the sender", - "name": "from", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "PublicKey", - "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": "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 sender", + "name": "from", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "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 sender", + "name": "fromAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "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": "Public key of the receiver", + "name": "to", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "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": "Account of the receiver", + "name": "toAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "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 - } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "UserCommand", + "ofType": null } - }, - { - "args": [], - "description": null, - "name": "id", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "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": "hash", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + }, + { + "args": [], + "description": null, + "name": "id", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "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": null, + "name": "hash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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": "String describing the kind of user command", + "name": "kind", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UserCommandKind", + "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": "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 applies to", - "name": "receiver", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "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 pays the fees for the command", - "name": "feePayer", - "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": "Token used for the transaction", - "name": "token", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "TokenId", - "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": "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": "Account of the sender", + "name": "fromAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "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": "Public key of the receiver", + "name": "to", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "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": "Account of the receiver", + "name": "toAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "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 - } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "UserCommand", + "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 + ], + "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": "Public key of the sender", - "name": "from", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "PublicKey", - "ofType": null + }, + { + "args": [], + "description": null, + "name": "hash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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": "String describing the kind of user command", + "name": "kind", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UserCommandKind", + "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": "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 of the receiver", - "name": "toAccount", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "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 + } } - } - } - ], - "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": "Account that the command applies to", + "name": "receiver", + "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": "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": null, - "name": "id", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "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": null, - "name": "hash", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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": "String describing the kind of user command", - "name": "kind", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UserCommandKind", - "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": "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": "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": "Account that the command is sent from", - "name": "source", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "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": "Account that the command applies to", - "name": "receiver", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "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": "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": "Public key of the sender", + "name": "from", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "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": "Account of the sender", + "name": "fromAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "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": "Public key of the receiver", + "name": "to", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "PublicKey", + "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": "Account of the receiver", + "name": "toAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "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 - } + ], + "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 } - }, - { - "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 + ] + }, + { + "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": "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": "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": "Public key of the sender", - "name": "from", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "PublicKey", - "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 of the sender", - "name": "fromAccount", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": "Account to which the coinbase for this block was granted", + "name": "coinbaseReceiverAccount", + "type": { "kind": "OBJECT", "name": "Account", "ofType": null } } - }, - { - "args": [], - "description": "Public key of the receiver", - "name": "to", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + ], + "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": "PublicKey", + "name": "String", "ofType": null } } - }, - { - "args": [], - "description": "Account of the receiver", - "name": "toAccount", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "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 + } } - } - } - ], - "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": "seed", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } - } - }, - { - "args": [], - "description": null, - "name": "id", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null + }, + { + "args": [], + "description": null, + "name": "startCheckpoint", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } - } - }, - { - "args": [], - "description": null, - "name": "hash", - "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": "String describing the kind of user command", - "name": "kind", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UserCommandKind", - "ofType": null + }, + { + "args": [], + "description": null, + "name": "epochLength", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "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 + ], + "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": "Account that the command is sent from", - "name": "source", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "ofType": null + }, + { + "args": [], + "description": null, + "name": "totalCurrency", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "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 + ], + "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": "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": null, + "name": "seed", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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": null, + "name": "startCheckpoint", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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": null, + "name": "lockCheckpoint", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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": null, + "name": "epochLength", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "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 + ], + "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": "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": "Height of the blockchain at this block", + "name": "blockHeight", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "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": null, + "name": "epochCount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "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": null, + "name": "minWindowDensity", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "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": null, + "name": "lastVrfOutput", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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": "Total currency in circulation at this block", + "name": "totalCurrency", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt64", + "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, + "name": "stakingEpochData", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "StakingEpochData", + "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": "nextEpochData", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "NextEpochData", + "ofType": null + } } - } - }, - { - "args": [], - "description": null, - "name": "hash", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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": "String describing the kind of user command", - "name": "kind", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UserCommandKind", - "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 + } } } - }, - { - "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 + ], + "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": "Account that the command is sent from", - "name": "source", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "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": "Account that the command applies to", - "name": "receiver", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "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": "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": "Base58Check-encoded hash of the staged ledger", + "name": "stagedLedgerHash", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } } - }, - { - "args": [], - "description": "Token used by the command", - "name": "token", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "TokenId", - "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": "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": "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": "Token used to pay the fee", - "name": "feeToken", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "TokenId", - "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 + } } } - }, - { - "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 + ], + "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": "Short arbitrary message provided by the sender", - "name": "memo", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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": "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": "Account that won the slot (Delegator/Staker)", + "name": "winnerAccount", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "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": "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": "Account of the sender", - "name": "fromAccount", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", - "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": "Public key of the receiver", - "name": "to", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "PublicKey", - "ofType": null + }, + { + "args": [], + "description": null, + "name": "protocolState", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ProtocolState", + "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": "Snark proof of blockchain state", + "name": "protocolStateProof", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "protocolStateProof", + "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", + }, + { + "args": [], + "description": null, + "name": "transactions", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INTERFACE", - "name": "UserCommand", - "ofType": null - } + "kind": "OBJECT", + "name": "Transactions", + "ofType": null } } - } - }, - { - "args": [], - "description": "List of fee transfers included in this block", - "name": "feeTransfer", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", + }, + { + "args": [], + "description": null, + "name": "snarkJobs", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "FeeTransfer", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompletedWork", + "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 + ], + "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": null, - "name": "lockCheckpoint", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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": null, - "name": "epochLength", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UInt32", - "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": "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 + ], + "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": null, - "name": "totalCurrency", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UInt64", - "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 + } } - } - } - ], - "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": "libp2p_port", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } } - }, - { - "args": [], - "description": null, - "name": "seed", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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": null, - "name": "startCheckpoint", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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": null, - "name": "lockCheckpoint", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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 + } } } - }, - { - "args": [], - "description": null, - "name": "epochLength", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UInt32", - "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 + } } - } - } - ], - "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": "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": "Height of the blockchain at this block", - "name": "blockHeight", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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": "UInt32", + "name": "UInt64", "ofType": null } - } - }, - { - "args": [], - "description": null, - "name": "epochCount", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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": "UInt32", + "name": "UInt64", "ofType": null } - } - }, - { - "args": [], - "description": null, - "name": "minWindowDensity", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "UInt32", - "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": null, - "name": "lastVrfOutput", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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 } } - }, - { - "args": [], - "description": "Total currency in circulation at this block", - "name": "totalCurrency", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + ], + "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": 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": { + }, + { + "args": [], + "description": "The cliff time for a time-locked account", + "name": "cliff_time", + "type": { "kind": "SCALAR", "name": "UInt32", "ofType": null } - } - }, - { - "args": [], - "description": "Slot since genesis (across all hard-forks)", - "name": "slotSinceGenesis", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": "The cliff amount for a time-locked account", + "name": "cliff_amount", + "type": { "kind": "SCALAR", - "name": "UInt32", + "name": "UInt64", "ofType": null } - } - }, - { - "args": [], - "description": "Epoch in which this block was created", - "name": "epoch", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": "The vesting period for a time-locked account", + "name": "vesting_period", + "type": { "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": { + }, + { + "args": [], + "description": "The vesting increment for a time-locked account", + "name": "vesting_increment", + "type": { "kind": "SCALAR", - "name": "String", + "name": "UInt64", "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 + ], + "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": "Base58Check-encoded hash of the snarked ledger", - "name": "snarkedLedgerHash", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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": "Base58Check-encoded hash of the staged ledger", - "name": "stagedLedgerHash", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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 + } } - } - } - ], - "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": { + }, + { + "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": "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": { + }, + { + "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": "PublicKey", - "ofType": null - } - } - }, - { - "args": [], - "description": "Account that produced this block", - "name": "creatorAccount", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Account", + "name": "String", "ofType": null } - } - }, - { - "args": [], - "description": "Account that won the slot (Delegator/Staker)", - "name": "winnerAccount", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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": "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": { + }, + { + "args": [], + "description": "Top hash of the receipt chain merkle-list", + "name": "receiptChainHash", + "type": { "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": { + }, + { + "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": "Account of the current snark worker", - "name": "account", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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": "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": { + }, + { + "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": { @@ -5862,21 +6243,17 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "NetworkPeerPayload", + "name": "Account", "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": { + }, + { + "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": { @@ -5884,1444 +6261,1061 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "NetworkPeerPayload", + "name": "Account", "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": { + }, + { + "args": [], + "description": "The previous epoch lock hash of the chain which you are voting for", + "name": "votingFor", + "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "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": "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": "The amount of coda owned by the account whose origin is currently unknown", - "name": "unknown", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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": "UInt64", + "name": "Boolean", "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": { + }, + { + "args": [], + "description": "True if this account owns its associated token", + "name": "isTokenOwner", + "type": { "kind": "SCALAR", - "name": "UInt32", + "name": "Boolean", "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": { + }, + { + "args": [], + "description": "True if this account has been disabled by the owner of the associated token", + "name": "isDisabled", + "type": { "kind": "SCALAR", - "name": "PublicKey", + "name": "Boolean", "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 + ], + "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": "The timing associated with this account", - "name": "timing", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AccountTiming", - "ofType": null + }, + { + "args": [], + "description": null, + "name": "bindIp", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } - } - }, - { - "args": [], - "description": "The amount of coda owned by the account", - "name": "balance", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": null, + "name": "peer", + "type": { "kind": "OBJECT", - "name": "AnnotatedBalance", + "name": "Peer", "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": { + }, + { + "args": [], + "description": null, + "name": "libp2pPort", + "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Account", + "kind": "SCALAR", + "name": "Int", "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": { + }, + { + "args": [], + "description": null, + "name": "clientPort", + "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Account", + "kind": "SCALAR", + "name": "Int", "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 + ], + "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": "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": null, + "name": "k", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "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": "slotsPerEpoch", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } - } - }, - { - "args": [], - "description": null, - "name": "bindIp", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + }, + { + "args": [], + "description": null, + "name": "slotDuration", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "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": "epochDuration", + "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 + }, + { + "args": [], + "description": null, + "name": "genesisStateTimestamp", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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": "acceptableNetworkDelay", + "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 + ], + "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": "slotsPerEpoch", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + }, + { + "args": [], + "description": null, + "name": "globalSlotSinceGenesis", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "UInt32", + "ofType": null + } } } - }, - { - "args": [], - "description": null, - "name": "slotDuration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "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": null, - "name": "epochDuration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "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": null, - "name": "genesisStateTimestamp", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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 + } } } - }, - { - "args": [], - "description": null, - "name": "acceptableNetworkDelay", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "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 + } } - } - } - ], - "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": "endTime", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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": "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": "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", + ], + "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": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "ConsensusTime", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } } } - } - }, - { - "args": [], - "description": "Next block production global-slot-since-genesis ", - "name": "globalSlotSinceGenesis", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", + }, + { + "args": [], + "description": null, + "name": "intervals", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "UInt32", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Interval", + "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": "underflow", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } - } - }, - { - "args": [], - "description": null, - "name": "endTime", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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": "ConsensusTime", - "possibleTypes": null - }, - { - "description": null, - "enumValues": null, - "fields": [ - { - "args": [], - "description": null, - "name": "start", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", + ], + "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": "stop", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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 + } } - } - } - ], - "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", + }, + { + "args": [], + "description": null, + "name": "answerSyncLedgerQuery", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "OBJECT", + "name": "RpcPair", + "ofType": null } } - } - }, - { - "args": [], - "description": null, - "name": "intervals", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", + }, + { + "args": [], + "description": null, + "name": "getAncestry", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Interval", - "ofType": null - } + "kind": "OBJECT", + "name": "RpcPair", + "ofType": null } } - } - }, - { - "args": [], - "description": null, - "name": "underflow", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + }, + { + "args": [], + "description": null, + "name": "getTransitionChainProof", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "RpcPair", + "ofType": null + } } - } - }, - { - "args": [], - "description": null, - "name": "overflow", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "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": "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 + ], + "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": "answerSyncLedgerQuery", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": null, + "name": "externalTransitionLatency", + "type": { "kind": "OBJECT", - "name": "RpcPair", + "name": "Histogram", "ofType": null } - } - }, - { - "args": [], - "description": null, - "name": "getAncestry", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": null, + "name": "acceptedTransitionLocalLatency", + "type": { "kind": "OBJECT", - "name": "RpcPair", + "name": "Histogram", "ofType": null } - } - }, - { - "args": [], - "description": null, - "name": "getTransitionChainProof", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": null, + "name": "acceptedTransitionRemoteLatency", + "type": { "kind": "OBJECT", - "name": "RpcPair", + "name": "Histogram", "ofType": null } - } - }, - { - "args": [], - "description": null, - "name": "getTransitionChain", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": null, + "name": "snarkWorkerTransitionTime", + "type": { "kind": "OBJECT", - "name": "RpcPair", + "name": "Histogram", "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": { + }, + { + "args": [], + "description": null, + "name": "snarkWorkerMergeTime", + "type": { "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 + "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 + } } - } - } - ], - "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": "libp2pPort", + "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": "peerId", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } } - }, - { - "args": [], - "description": null, - "name": "uptimeSecs", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + ], + "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": "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": { + "ofType": null + } + }, + { + "args": [], + "description": null, + "name": "blockchainLength", + "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } - } - }, - { - "args": [], - "description": null, - "name": "commitId", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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": "confDir", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": null, + "name": "stateHash", + "type": { "kind": "SCALAR", "name": "String", "ofType": null } - } - }, - { - "args": [], - "description": null, - "name": "peers", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", + }, + { + "args": [], + "description": null, + "name": "chainId", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "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": "OBJECT", - "name": "Peer", - "ofType": null + "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": "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": { + }, + { + "args": [], + "description": null, + "name": "snarkWorker", + "type": { "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "args": [], - "description": null, - "name": "syncStatus", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SyncStatus", + "name": "String", "ofType": null } - } - }, - { - "args": [], - "description": null, - "name": "catchupStatus", - "type": { - "kind": "LIST", - "name": null, - "ofType": { + }, + { + "args": [], + "description": null, + "name": "snarkWorkFee", + "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } } - } - }, - { - "args": [], - "description": null, - "name": "blockProductionKeys", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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": { @@ -7334,329 +7328,415 @@ } } } - } - }, - { - "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": { + }, + { + "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": "consensusMechanism", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": null, + "name": "globalSlotSinceGenesisBestTip", + "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } - } - }, - { - "args": [], - "description": null, - "name": "consensusConfiguration", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [], + "description": null, + "name": "nextBlockProduction", + "type": { "kind": "OBJECT", - "name": "ConsensusConfiguration", + "name": "BlockProducerTimings", "ofType": null } - } - }, - { - "args": [], - "description": null, - "name": "addrsAndPorts", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "AddrsAndPorts", - "ofType": null + }, + { + "args": [], + "description": null, + "name": "consensusTimeNow", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ConsensusTime", + "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": 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 + } } } - }, - { - "args": [], - "description": "Get running daemon status", - "name": "daemonStatus", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "DaemonStatus", + ], + "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": "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", + }, + { + "args": [], + "description": "Wallets for which the daemon knows the private key", + "name": "ownedWallets", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Account", - "ofType": null + "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", + }, + { + "args": [], + "description": "Accounts for which the daemon tracks the private key", + "name": "trackedAccounts", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Account", - "ofType": null + "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": { + }, + { + "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": "PublicKey", + "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 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": { + ], + "description": "Find any account via a public key and token", + "name": "account", + "type": { "kind": "OBJECT", - "name": "SetConnectionGatingConfigPayload", + "name": "Account", "ofType": null } - } - }, - { - "args": [ - { - "defaultValue": null, - "description": "Token of account being retrieved (defaults to CODA)", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "TokenId", - "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 + } + } } - }, - { - "defaultValue": null, - "description": "Public key of account being retrieved", - "name": "publicKey", - "type": { - "kind": "NON_NULL", + ], + "description": "Find all accounts for a public key", + "name": "accounts", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "PublicKey", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Account", + "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": { + }, + { + "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": "PublicKey", + "name": "Int", "ofType": null } } - } - ], - "description": "Find all accounts for a public key", - "name": "accounts", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + ], + "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": { @@ -7664,67 +7744,38 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Account", + "name": "Block", "ofType": null } } } - } - }, - { - "args": [ - { - "defaultValue": null, - "description": "Token to find the owner for", - "name": "token", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "args": [ + { + "defaultValue": null, + "description": "The height of the desired block in the best chain", + "name": "height", + "type": { "kind": "SCALAR", - "name": "TokenId", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "The state hash of the desired block", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", "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": { + ], + "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": { @@ -7733,108 +7784,29 @@ "ofType": null } } - } - }, - { - "args": [ - { - "defaultValue": null, - "description": "The height of the desired block", - "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", + }, + { + "args": [], + "description": "Get the genesis block", + "name": "genesisBlock", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "OBJECT", + "name": "Block", + "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", + }, + { + "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": "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": { @@ -7847,108 +7819,130 @@ } } } - }, - { - "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", + }, + { + "args": [], + "description": "List of peers that the daemon is currently connected to", + "name": "getPeers", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "INTERFACE", - "name": "UserCommand", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Peer", + "ofType": null + } } } } - } - }, - { - "args": [ - { - "defaultValue": null, - "description": "Id of a UserCommand", - "name": "payment", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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": "ID", + "name": "PublicKey", "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", + ], + "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": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "UserCommand", + "ofType": null + } } } } - ], - "description": "Trust status for an IPv4 or IPv6 address", - "name": "trustStatus", - "type": { - "kind": "LIST", - "name": null, - "ofType": { + }, + { + "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": "OBJECT", - "name": "TrustStatusPayload", + "kind": "ENUM", + "name": "TransactionStatus", "ofType": null } } - } - }, - { - "args": [], - "description": "IP address and trust status for all peers", - "name": "trustStatusAll", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { + }, + { + "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": { @@ -7961,140 +7955,162 @@ } } } - } - }, - { - "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", + }, + { + "args": [], + "description": "IP address and trust status for all peers", + "name": "trustStatusAll", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "CompletedWork", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TrustStatusPayload", + "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", + }, + { + "args": [], + "description": "List of completed snark works that have the lowest fee so far", + "name": "snarkPool", + "type": { + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PendingSnarkWork", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CompletedWork", + "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": "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 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 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 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": [], + "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": [ - { - "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": { + }, + { + "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": "SendPaymentInput", + "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 } - } - ], - "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 - } - ] + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "query", + "possibleTypes": null + } + ] + } } } \ No newline at end of file diff --git a/mina_schema/mina_schema.py b/mina_schema/mina_schema.py index 37bc4e0..40ba574 100644 --- a/mina_schema/mina_schema.py +++ b/mina_schema/mina_schema.py @@ -4,15 +4,15 @@ mina_schema = sgqlc.types.Schema() + ######################################################################## # Scalars and Enumerations ######################################################################## Boolean = sgqlc.types.Boolean - class ChainReorganizationStatus(sgqlc.types.Enum): __schema__ = mina_schema - __choices__ = ("CHANGED",) + __choices__ = ('CHANGED',) class ExtensionalBlock(sgqlc.types.Scalar): @@ -25,7 +25,6 @@ class ExtensionalBlock(sgqlc.types.Scalar): Int = sgqlc.types.Int - class PrecomputedBlock(sgqlc.types.Scalar): __schema__ = mina_schema @@ -36,17 +35,9 @@ class PublicKey(sgqlc.types.Scalar): String = sgqlc.types.String - class SyncStatus(sgqlc.types.Enum): __schema__ = mina_schema - __choices__ = ( - "CONNECTING", - "LISTENING", - "OFFLINE", - "BOOTSTRAP", - "SYNCED", - "CATCHUP", - ) + __choices__ = ('CONNECTING', 'LISTENING', 'OFFLINE', 'BOOTSTRAP', 'SYNCED', 'CATCHUP') class TokenId(sgqlc.types.Scalar): @@ -55,7 +46,7 @@ class TokenId(sgqlc.types.Scalar): class TransactionStatus(sgqlc.types.Enum): __schema__ = mina_schema - __choices__ = ("INCLUDED", "PENDING", "UNKNOWN") + __choices__ = ('INCLUDED', 'PENDING', 'UNKNOWN') class UInt32(sgqlc.types.Scalar): @@ -72,7 +63,8 @@ class UserCommandKind(sgqlc.types.Scalar): class sign(sgqlc.types.Enum): __schema__ = mina_schema - __choices__ = ("PLUS", "MINUS") + __choices__ = ('PLUS', 'MINUS') + ######################################################################## @@ -80,195 +72,137 @@ class sign(sgqlc.types.Enum): ######################################################################## class AddAccountInput(sgqlc.types.Input): __schema__ = mina_schema - __field_names__ = ("password",) - password = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name="password") + __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") + __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" - ) + __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" - ) + __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") + __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" - ) + __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") + __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") + __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" - ) + __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") + __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", - ) + __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") + __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") + __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", - ) + __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") + __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") + __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') + ######################################################################## @@ -276,1615 +210,671 @@ class UnlockInput(sgqlc.types.Input): ######################################################################## 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") + __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") + __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") + __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" - ) + __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") + __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") + __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", - ) + __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", - ) + __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" - ) + __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", - ) + __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" - ) + __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") + __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") + __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" - ) + __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" - ) + __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" - ) + __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" - ) + __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") - recipient = sgqlc.types.Field( - sgqlc.types.non_null(PublicKey), graphql_name="recipient" - ) - fee = sgqlc.types.Field(sgqlc.types.non_null(UInt64), graphql_name="fee") + __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") + __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") + __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" - ) + __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") + __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") + __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" - ) + __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" - ) + __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") + __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", - ) + __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" - ) + __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") + __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") + __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" - ) + __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", - ) + __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" - ) + __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" - ) + __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" - ) + __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" - ) + __field_names__ = ('payment',) + payment = sgqlc.types.Field(sgqlc.types.non_null('UserCommand'), graphql_name='payment') 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") + __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") + __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") + __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", - ) + __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" - ) + __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") + __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" - ) + __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") + __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" - ) + __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") + __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") + __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", - ) - 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" - ) + __field_names__ = ('id', 'hash', 'kind', 'nonce', 'source', 'receiver', 'fee_payer', 'token', 'amount', 'fee_token', 'fee', 'memo', 'is_delegation', 'from_', 'from_account', 'to', 'to_account') + 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') 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") + __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" - ) + __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", - ) - 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, - ), - ), - ) - ), + __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') + 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_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, - ), - ), - ) - ), + 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)), +)) ) - 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, - ), - ), - ) - ), + 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_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, - ), - ), - ) - ), + 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)), +)) ) - 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, - ), - ), - ) - ), + 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_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, - ), - ), - ) - ), + 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)), +)) ) - 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, - ), - ), - ) - ), + 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_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, - ), - ), - ) - ), + 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)), +)) ) - reload_accounts = sgqlc.types.Field( - sgqlc.types.non_null(ReloadAccountsPayload), graphql_name="reloadAccounts" + 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_wallets = sgqlc.types.Field( - sgqlc.types.non_null(ReloadAccountsPayload), graphql_name="reloadWallets" + 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_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)), +)) ) - 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 = 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)), +)) ) - 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)), +)) ) - 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)), +)) ) - 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_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_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_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)), +)) ) - 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)), +)) ) - 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_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, - ), - ), - ) - ), + 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)), +)) ) class protocolStateProof(sgqlc.types.Type): __schema__ = mina_schema - __field_names__ = ("base64",) - base64 = sgqlc.types.Field(String, graphql_name="base64") + __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, - ), - ), - ) - ), + __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", + __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" - ) + __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" - ) + __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") + __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" - ) + __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): @@ -1892,6 +882,7 @@ class UserCommandPayment(sgqlc.types.Type, UserCommand): __field_names__ = () + ######################################################################## # Unions ######################################################################## @@ -1902,3 +893,4 @@ class UserCommandPayment(sgqlc.types.Type, UserCommand): mina_schema.query_type = query mina_schema.mutation_type = mutation mina_schema.subscription_type = subscription + From 9830e6b6ec0eb062e5f30b38d8319fe556598d6b Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Sun, 14 Mar 2021 15:02:41 +0100 Subject: [PATCH 11/25] reformat with black --- MinaClient.py | 92 +++++++++++++++++++++++++-------------------------- 1 file changed, 45 insertions(+), 47 deletions(-) diff --git a/MinaClient.py b/MinaClient.py index 4fcab75..7bac4af 100644 --- a/MinaClient.py +++ b/MinaClient.py @@ -37,6 +37,7 @@ class Currency: be scaled through multiplication (either against another Currency instance or a int scalar). """ + @classmethod def __nanominas_from_int(_cls, n): return n * 1000000000 @@ -69,15 +70,18 @@ def random(_cls, lower_bound, upper_bound): Currency - A randomly generated Currency instance between the lower_bound and upper_bound """ - if not (isinstance(lower_bound, Currency) - and isinstance(upper_bound, Currency)): + 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") + "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") + "than lower_bound" + ) if lower_bound == upper_bound: return lower_bound bound_range = upper_bound.nanominas() - lower_bound.nanominas() @@ -110,14 +114,12 @@ def __init__(self, value, format=CurrencyFormat.WHOLE): elif isinstance(value, str): self.__nanominas = Currency.__nanominas_from_string(value) else: - raise Exception("cannot construct whole Currency from %s" % - type(value)) + 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)) + raise Exception("cannot construct nano Currency from %s" % type(value)) else: raise Exception("invalid Currency format %s" % format) @@ -150,8 +152,9 @@ def __repr__(self): def __add__(self, other): if isinstance(other, Currency): - return Currency(self.nanominas() + other.nanominas(), - format=CurrencyFormat.NANO) + return Currency( + self.nanominas() + other.nanominas(), format=CurrencyFormat.NANO + ) else: raise Exception("cannot add Currency and %s" % type(other)) @@ -167,11 +170,11 @@ def __sub__(self, other): def __mul__(self, other): if isinstance(other, int): - return Currency(self.nanominas() * other, - format=CurrencyFormat.NANO) + return Currency(self.nanominas() * other, format=CurrencyFormat.NANO) elif isinstance(other, Currency): - return Currency(self.nanominas() * other.nanominas(), - format=CurrencyFormat.NANO) + return Currency( + self.nanominas() * other.nanominas(), format=CurrencyFormat.NANO + ) else: raise Exception("cannot multiply Currency and %s" % type(other)) @@ -187,15 +190,17 @@ def __init__( graphql_path: str = "/graphql", graphql_port: int = 3085, ): - self.endpoint = "{}://{}:{}{}".format(graphql_protocol, graphql_host, - graphql_port, graphql_path) + self.endpoint = "{}://{}:{}{}".format( + graphql_protocol, graphql_host, graphql_port, graphql_path + ) self.websocket_endpoint = "{}://{}:{}{}".format( - websocket_protocol, graphql_host, graphql_port, graphql_path) + 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: + def _send_sgqlc_query( + self, query: sgqlc.operation.Operation, variables: dict = {} + ) -> dict: """Sends a query to the Mina Daemon's GraphQL Endpoint Args: @@ -267,12 +272,13 @@ def _graphql_request(self, query: str, variables: dict = {}): else: raise Exception( "Query failed -- returned code {}. {} -> {}".format( - response.status_code, query, response.json())) + response.status_code, query, response.json() + ) + ) - async def _graphql_subscription(self, - query: str, - variables: dict = {}, - callback=None): + async def _graphql_subscription( + self, query: str, variables: dict = {}, callback=None + ): hello_message = {"type": "connection_init", "payload": {}} if isinstance(query, sgqlc.operation.Operation): @@ -290,24 +296,24 @@ async def _graphql_subscription(self, uri = self.websocket_endpoint self.logger.info(uri) - async with websockets.client.connect(uri, - ping_timeout=None) as websocket: + 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)) + "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)) + "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)) + "Recieved a message from a Subscription: {}".format(message) + ) if callback: await callback(message) else: @@ -537,9 +543,7 @@ def send_payment( res = self._send_sgqlc_query(op) return res["data"] - def get_pooled_payments(self, - pk: str = None, - all_fields: bool = False) -> dict: + def get_pooled_payments(self, pk: str = None, all_fields: bool = False) -> dict: """Get the current transactions in the payments pool. Args: @@ -551,9 +555,7 @@ def get_pooled_payments(self, dict -- Returns the "data" field of the JSON Response as a Dict """ - default_fields = [ - "from_", "to", "amount", "id", "is_delegation", "nonce" - ] + default_fields = ["from_", "to", "amount", "id", "is_delegation", "nonce"] op = Operation(mina_schema.query_type) if pk: @@ -582,9 +584,7 @@ def get_transaction_status(self, payment_id: str) -> dict: res = self._send_sgqlc_query(op) return res["data"] - def get_best_chain(self, - max_length: int = 10, - all_fields: bool = False) -> dict: + 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 @@ -607,9 +607,7 @@ def get_best_chain(self, res = self._send_sgqlc_query(op) return res["data"] - def get_block_by_height(self, - height: int, - all_fields: bool = False) -> dict: + 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 @@ -632,9 +630,9 @@ def get_block_by_height(self, res = self._send_sgqlc_query(op) return res["data"] - def get_block_by_state_hash(self, - state_hash: str, - all_fields: bool = False) -> dict: + 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 From ca8d134b99f2c5a6f5832acd7619f10f894cab4b Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Mon, 15 Mar 2021 10:38:52 +0100 Subject: [PATCH 12/25] adjust depth for the catch_all daemon status --- MinaClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MinaClient.py b/MinaClient.py index 7bac4af..e8cee74 100644 --- a/MinaClient.py +++ b/MinaClient.py @@ -327,7 +327,7 @@ def get_daemon_status(self) -> dict: """ op = Operation(mina_schema.query) - op.daemon_status() + op.daemon_status().__to_graphql__(auto_select_depth=3) res = self._send_sgqlc_query(op) From 31c7e44f0ca3eeb2122ff4e12760c01977bc4421 Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Mon, 15 Mar 2021 10:52:57 +0100 Subject: [PATCH 13/25] test the depth on the daemon query --- MinaClient.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MinaClient.py b/MinaClient.py index e8cee74..416e318 100644 --- a/MinaClient.py +++ b/MinaClient.py @@ -327,9 +327,11 @@ def get_daemon_status(self) -> dict: """ op = Operation(mina_schema.query) - op.daemon_status().__to_graphql__(auto_select_depth=3) + op.daemon_status() - res = self._send_sgqlc_query(op) + #tbd: such cases - it all depends on the final usecase + #notice the rewrite and the _send_query + res = self._send_query(op.__to_graphql__(auto_select_depth=3)) return res["data"] From fd95bd318ff8e9af2c0ee9a259f7e91a96e95fc7 Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Mon, 5 Apr 2021 19:15:46 +0200 Subject: [PATCH 14/25] adding mina explorer schema + quick support for provided endpoint --- MinaClient.py | 12 +- mina_schema/create_schema-minaexplorer.ipynb | 704 + mina_schema/mina_explorer_schema.json | 24167 +++++++++++++++++ mina_schema/mina_explorer_schema.py | 2787 ++ 4 files changed, 27667 insertions(+), 3 deletions(-) create mode 100644 mina_schema/create_schema-minaexplorer.ipynb create mode 100644 mina_schema/mina_explorer_schema.json create mode 100644 mina_schema/mina_explorer_schema.py diff --git a/MinaClient.py b/MinaClient.py index 416e318..bfd1e5d 100644 --- a/MinaClient.py +++ b/MinaClient.py @@ -189,10 +189,14 @@ def __init__( graphql_host: str = "localhost", graphql_path: str = "/graphql", graphql_port: int = 3085, + endpoint: str = None ): - self.endpoint = "{}://{}:{}{}".format( - graphql_protocol, graphql_host, graphql_port, graphql_path - ) + 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 ) @@ -264,8 +268,10 @@ def _graphql_request(self, query: str, variables: dict = {}): headers = {"Accept": "application/json"} self.logger.debug("Sending a Query: {}".format(payload)) + print(f"using: {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 diff --git a/mina_schema/create_schema-minaexplorer.ipynb b/mina_schema/create_schema-minaexplorer.ipynb new file mode 100644 index 0000000..88d1868 --- /dev/null +++ b/mina_schema/create_schema-minaexplorer.ipynb @@ -0,0 +1,704 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "id": "floating-guatemala", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-29T12:12:32.796463Z", + "start_time": "2021-03-29T12:12:32.647244Z" + } + }, + "outputs": [], + "source": [ + "%load_ext blackcellmagic\n", + "%load_ext autoreload\n", + "%autoreload 2" + ] + }, + { + "cell_type": "code", + "execution_count": 12, + "id": "surgical-unknown", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-29T12:13:33.809618Z", + "start_time": "2021-03-29T12:13:33.794147Z" + } + }, + "outputs": [], + "source": [ + "import sys\n", + "import json\n", + "sys.path.append('/Users/bakebrain/src')" + ] + }, + { + "cell_type": "code", + "execution_count": 13, + "id": "hollywood-surveillance", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-29T12:13:34.217929Z", + "start_time": "2021-03-29T12:13:34.200508Z" + } + }, + "outputs": [], + "source": [ + "from mina.MinaClient import Client\n", + "from sgqlc.introspection import query as intro_query" + ] + }, + { + "cell_type": "code", + "execution_count": 14, + "id": "stuck-sewing", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-29T12:13:34.551325Z", + "start_time": "2021-03-29T12:13:34.533446Z" + } + }, + "outputs": [], + "source": [ + "mina_client = Client(endpoint='https://graphql.minaexplorer.com/')" + ] + }, + { + "cell_type": "code", + "execution_count": 15, + "id": "careful-leather", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-29T12:13:36.782654Z", + "start_time": "2021-03-29T12:13:34.950667Z" + } + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "using: https://graphql.minaexplorer.com/\n" + ] + } + ], + "source": [ + "variables = {\"includeDescription\": True, \"includeDeprecated\": False}\n", + "\n", + "mina_exp_schema = mina_client.send_any_query(intro_query, variables=variables)" + ] + }, + { + "cell_type": "code", + "execution_count": 16, + "id": "cardiac-pulse", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-29T12:13:37.757277Z", + "start_time": "2021-03-29T12:13:37.691873Z" + } + }, + "outputs": [], + "source": [ + "with open('mina_explorer_schema.json', 'w') as f:\n", + " json.dump(mina_exp_schema, f, sort_keys=True, indent=2, default=str)" + ] + }, + { + "cell_type": "code", + "execution_count": 17, + "id": "right-october", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-29T12:13:40.848882Z", + "start_time": "2021-03-29T12:13:39.900106Z" + } + }, + "outputs": [], + "source": [ + "!sgqlc-codegen schema mina_explorer_schema.json mina_explorer_schema.py" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "outside-kitty", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "african-married", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "subjective-wagon", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "earned-faith", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "welsh-character", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": 82, + "id": "protecting-decision", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-17T11:54:14.428015Z", + "start_time": "2021-03-17T11:54:13.164271Z" + } + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "query { blocks(limit: 1, sortBy: DATETIME_DESC, query:{canonical: true}) { stateHash protocolState { consensusState { blockHeight } } winnerAccount { publicKey } creatorAccount { publicKey } transactions { coinbase } } }\n", + "using: https://graphql.minaexplorer.com/\n", + "{'data': {'blocks': [{'creatorAccount': {'publicKey': 'B62qjCuPisQjLW7YkB22BR9KieSmUZTyApftqxsAuB3U21r3vj1YnaG'}, 'protocolState': {'consensusState': {'blockHeight': 168}}, 'stateHash': '3NLnSEG1RWsTRifrn5kNdSGBCijXXjMRmdHKAp39kfuNQ21vTttv', 'transactions': {'coinbase': '720000000000'}, 'winnerAccount': {'publicKey': 'B62qjpLh6MJqKkrJxtfVuqcZ6nkPG7oKRaqLcuwLEf9k2SSgtHgcYh2'}}]}}\n" + ] + } + ], + "source": [ + "some_query = \"\"\"query {\n", + " blocks(limit: 1, sortBy: DATETIME_DESC, query:{canonical: true}) {\n", + " stateHash\n", + " protocolState {\n", + " consensusState {\n", + " blockHeight\n", + " }\n", + " }\n", + " winnerAccount {\n", + " publicKey\n", + " }\n", + " creatorAccount {\n", + " publicKey\n", + " }\n", + " transactions {\n", + " coinbase\n", + " }\n", + " }\n", + "}\"\"\"\n", + "\n", + "res = mina_client.send_any_query(some_query)" + ] + }, + { + "cell_type": "code", + "execution_count": 83, + "id": "similar-leonard", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-17T11:54:17.288360Z", + "start_time": "2021-03-17T11:54:17.268315Z" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'data': {'blocks': [{'creatorAccount': {'publicKey': 'B62qjCuPisQjLW7YkB22BR9KieSmUZTyApftqxsAuB3U21r3vj1YnaG'},\n", + " 'protocolState': {'consensusState': {'blockHeight': 168}},\n", + " 'stateHash': '3NLnSEG1RWsTRifrn5kNdSGBCijXXjMRmdHKAp39kfuNQ21vTttv',\n", + " 'transactions': {'coinbase': '720000000000'},\n", + " 'winnerAccount': {'publicKey': 'B62qjpLh6MJqKkrJxtfVuqcZ6nkPG7oKRaqLcuwLEf9k2SSgtHgcYh2'}}]}}" + ] + }, + "execution_count": 83, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "res" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "operating-decision", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "informed-arkansas", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": 51, + "id": "computational-property", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-17T11:23:27.741707Z", + "start_time": "2021-03-17T11:23:26.499231Z" + } + }, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "GraphQL query failed with 1 errors\n" + ] + } + ], + "source": [ + "from sgqlc.endpoint.http import HTTPEndpoint\n", + "\n", + "url = 'https://minagraph.com/graphql'\n", + "url = 'https://graphql.minaexplorer.com/'\n", + "headers = {'Authorization': 'bearer TOKEN',\n", + " \"User-Agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\"}\n", + "\n", + "query = \"\"\"query {\n", + " blocks(limit: 1, sortBy: DATETIME_DESC, query:{canonical: true}) {\n", + " stateHash\n", + " protocolState {\n", + " consensusState {\n", + " blockHeight\n", + " }\n", + " }\n", + " winnerAccount {\n", + " publicKey\n", + " }\n", + " creatorAccount {\n", + " publicKey\n", + " }\n", + " transactions {\n", + " coinbase\n", + " }\n", + " }\n", + "}\"\"\"\n", + "variables = {'varName': 'value'}\n", + "variables = {}\n", + "\n", + "\n", + "endpoint = HTTPEndpoint(url, headers)\n", + "data = endpoint(inttro_query, variables)" + ] + }, + { + "cell_type": "code", + "execution_count": 52, + "id": "varied-swift", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-17T11:23:28.700390Z", + "start_time": "2021-03-17T11:23:28.680258Z" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'data': None,\n", + " 'errors': [{'message': 'Variable \"$includeDescription\" of required type \"Boolean!\" was not provided.',\n", + " 'locations': [{'line': 3, 'column': 3}]}]}" + ] + }, + "execution_count": 52, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "data" + ] + }, + { + "cell_type": "code", + "execution_count": 46, + "id": "agreed-vacation", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-17T11:21:04.046779Z", + "start_time": "2021-03-17T11:21:04.027761Z" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "{'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36'}" + ] + }, + "execution_count": 46, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "headers" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "fluid-poison", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "dental-pakistan", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": 12, + "id": "serious-retail", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-17T10:36:12.351511Z", + "start_time": "2021-03-17T10:36:12.320413Z" + } + }, + "outputs": [], + "source": [ + "import sys\n", + "sys.path.append('/Users/bakebrain/src')\n", + "\n", + "from mina.MinaClient import Client, Currency\n", + "import json" + ] + }, + { + "cell_type": "code", + "execution_count": 68, + "id": "reserved-duplicate", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-17T11:48:32.836345Z", + "start_time": "2021-03-17T11:48:32.818886Z" + } + }, + "outputs": [], + "source": [ + "GRAPHQL_HOST = 'graphql.minaexplorer.com'\n", + "GRAPHQL_PORT = '80'\n", + "\n", + "mina_client = Client(graphql_host=GRAPHQL_HOST, graphql_port='', graphql_path='',\n", + " graphql_protocol='https')" + ] + }, + { + "cell_type": "code", + "execution_count": 69, + "id": "pregnant-charter", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-17T11:48:35.515579Z", + "start_time": "2021-03-17T11:48:35.493623Z" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "'https://graphql.minaexplorer.com:'" + ] + }, + "execution_count": 69, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "mina_client.endpoint \n" + ] + }, + { + "cell_type": "code", + "execution_count": 70, + "id": "suffering-myrtle", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-17T11:48:44.983614Z", + "start_time": "2021-03-17T11:48:44.965768Z" + } + }, + "outputs": [], + "source": [ + "mina_client.endpoint = 'https://graphql.minaexplorer.com/'" + ] + }, + { + "cell_type": "code", + "execution_count": 71, + "id": "involved-activation", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-17T11:48:48.063985Z", + "start_time": "2021-03-17T11:48:48.044981Z" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "'https://graphql.minaexplorer.com/'" + ] + }, + "execution_count": 71, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "mina_client.endpoint \n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "touched-official", + "metadata": {}, + "outputs": [], + "source": [ + "mina_client.send_any_query()" + ] + }, + { + "cell_type": "code", + "execution_count": 72, + "id": "comparative-barrel", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-17T11:49:41.074359Z", + "start_time": "2021-03-17T11:49:41.056365Z" + } + }, + "outputs": [], + "source": [ + "some_query = \"\"\"query {\n", + " blocks(limit: 1, sortBy: DATETIME_DESC, query:{canonical: true}) {\n", + " stateHash\n", + " protocolState {\n", + " consensusState {\n", + " blockHeight\n", + " }\n", + " }\n", + " winnerAccount {\n", + " publicKey\n", + " }\n", + " creatorAccount {\n", + " publicKey\n", + " }\n", + " transactions {\n", + " coinbase\n", + " }\n", + " }\n", + "}\"\"\"" + ] + }, + { + "cell_type": "code", + "execution_count": 76, + "id": "filled-david", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-17T11:51:24.375257Z", + "start_time": "2021-03-17T11:51:23.059490Z" + } + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "query { blocks(limit: 1, sortBy: DATETIME_DESC, query:{canonical: true}) { stateHash protocolState { consensusState { blockHeight } } winnerAccount { publicKey } creatorAccount { publicKey } transactions { coinbase } } }\n", + "using: https://graphql.minaexplorer.com/\n", + "{'data': {'blocks': [{'creatorAccount': {'publicKey': 'B62qpLST3UC1rpVT6SHfB7wqW2iQgiopFAGfrcovPgLjgfpDUN2LLeg'}, 'protocolState': {'consensusState': {'blockHeight': 167}}, 'stateHash': '3NLphTnhBsHxSySQajJVTsoMTHRzCXtWcR1Xg5BwH2B44ktbfk7F', 'transactions': {'coinbase': '720000000000'}, 'winnerAccount': {'publicKey': 'B62qpBVRzjqFcbzMk3JAFdjruMAoqdHyHiE9XNyshZ5NjGo2gY7CxZz'}}]}}\n" + ] + }, + { + "data": { + "text/plain": [ + "{'data': {'blocks': [{'creatorAccount': {'publicKey': 'B62qpLST3UC1rpVT6SHfB7wqW2iQgiopFAGfrcovPgLjgfpDUN2LLeg'},\n", + " 'protocolState': {'consensusState': {'blockHeight': 167}},\n", + " 'stateHash': '3NLphTnhBsHxSySQajJVTsoMTHRzCXtWcR1Xg5BwH2B44ktbfk7F',\n", + " 'transactions': {'coinbase': '720000000000'},\n", + " 'winnerAccount': {'publicKey': 'B62qpBVRzjqFcbzMk3JAFdjruMAoqdHyHiE9XNyshZ5NjGo2gY7CxZz'}}]}}" + ] + }, + "execution_count": 76, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "mina_client.send_any_query(some_query)" + ] + }, + { + "cell_type": "code", + "execution_count": 75, + "id": "harmful-north", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-17T11:50:47.302540Z", + "start_time": "2021-03-17T11:50:47.283042Z" + } + }, + "outputs": [ + { + "data": { + "text/plain": [ + "'https://graphql.minaexplorer.com/'" + ] + }, + "execution_count": 75, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "mina_client.endpoint" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "compliant-patio", + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": 16, + "id": "toxic-preview", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-17T10:36:35.739983Z", + "start_time": "2021-03-17T10:36:34.464753Z" + } + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "query IntrospectionQuery( $includeDescription: Boolean!, $includeDeprecated: Boolean!, ) { __schema { queryType { name } mutationType { name } subscriptionType { name } types { ...FullType } directives { name description @include(if: $includeDescription) locations args { ...InputValue } } } } fragment FullType on __Type { kind name description @include(if: $includeDescription) fields(includeDeprecated: $includeDeprecated) { name description @include(if: $includeDescription) args { ...InputValue } type { ...TypeRef } isDeprecated @include(if: $includeDeprecated) deprecationReason @include(if: $includeDeprecated) } inputFields { ...InputValue } interfaces { ...TypeRef } enumValues(includeDeprecated: $includeDeprecated) { name description @include(if: $includeDescription) isDeprecated @include(if: $includeDeprecated) deprecationReason @include(if: $includeDeprecated) } possibleTypes { ...TypeRef } } fragment InputValue on __InputValue { name description @include(if: $includeDescription) type { ...TypeRef } defaultValue } fragment TypeRef on __Type { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name } } } } } } } }\n" + ] + }, + { + "ename": "JSONDecodeError", + "evalue": "Expecting value: line 1 column 1 (char 0)", + "output_type": "error", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mJSONDecodeError\u001b[0m Traceback (most recent call last)", + "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[0mvariables\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m{\u001b[0m\u001b[0;34m\"includeDescription\"\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0;32mTrue\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"includeDeprecated\"\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0;32mFalse\u001b[0m\u001b[0;34m}\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 2\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 3\u001b[0;31m \u001b[0mmina_exp__schema\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmina_client\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend_any_query\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mquery\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mvariables\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mvariables\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m", + "\u001b[0;32m~/src/mina/MinaClient.py\u001b[0m in \u001b[0;36msend_any_query\u001b[0;34m(self, query, variables)\u001b[0m\n\u001b[1;32m 671\u001b[0m \u001b[0mres\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_sgqlc_query\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mquery\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 672\u001b[0m \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 673\u001b[0;31m \u001b[0mres\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_query\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mquery\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mvariables\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 674\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mres\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 675\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;32m~/src/mina/MinaClient.py\u001b[0m in \u001b[0;36m_send_query\u001b[0;34m(self, query, variables)\u001b[0m\n\u001b[1;32m 224\u001b[0m \u001b[0mdict\u001b[0m \u001b[0;34m-\u001b[0m\u001b[0;34m-\u001b[0m \u001b[0mA\u001b[0m \u001b[0mResponse\u001b[0m \u001b[0mobject\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mthe\u001b[0m \u001b[0mGraphQL\u001b[0m \u001b[0mServer\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 225\u001b[0m \"\"\"\n\u001b[0;32m--> 226\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_graphql_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mquery\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mvariables\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 227\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 228\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0m_send_mutation\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mquery\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mstr\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mvariables\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mdict\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m{\u001b[0m\u001b[0;34m}\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m->\u001b[0m \u001b[0mdict\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;32m~/src/mina/MinaClient.py\u001b[0m in \u001b[0;36m_graphql_request\u001b[0;34m(self, query, variables)\u001b[0m\n\u001b[1;32m 268\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlogger\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdebug\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"Sending a Query: {}\"\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mformat\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mpayload\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 269\u001b[0m \u001b[0mresponse\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpost\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendpoint\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mjson\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mpayload\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mheaders\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mheaders\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 270\u001b[0;31m \u001b[0mresp_json\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mresponse\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mjson\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 271\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 272\u001b[0m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mresp_json\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;32m~/anaconda3/envs/telebot/lib/python3.8/site-packages/requests/models.py\u001b[0m in \u001b[0;36mjson\u001b[0;34m(self, **kwargs)\u001b[0m\n\u001b[1;32m 898\u001b[0m \u001b[0;31m# used.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 899\u001b[0m \u001b[0;32mpass\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 900\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mcomplexjson\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mloads\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtext\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 901\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 902\u001b[0m \u001b[0;34m@\u001b[0m\u001b[0mproperty\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;32m~/anaconda3/envs/telebot/lib/python3.8/json/__init__.py\u001b[0m in \u001b[0;36mloads\u001b[0;34m(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)\u001b[0m\n\u001b[1;32m 355\u001b[0m \u001b[0mparse_int\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mNone\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0mparse_float\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mNone\u001b[0m \u001b[0;32mand\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 356\u001b[0m parse_constant is None and object_pairs_hook is None and not kw):\n\u001b[0;32m--> 357\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0m_default_decoder\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdecode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0ms\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 358\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mcls\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 359\u001b[0m \u001b[0mcls\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mJSONDecoder\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;32m~/anaconda3/envs/telebot/lib/python3.8/json/decoder.py\u001b[0m in \u001b[0;36mdecode\u001b[0;34m(self, s, _w)\u001b[0m\n\u001b[1;32m 335\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 336\u001b[0m \"\"\"\n\u001b[0;32m--> 337\u001b[0;31m \u001b[0mobj\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mend\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mraw_decode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0ms\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0midx\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0m_w\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0ms\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;36m0\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 338\u001b[0m \u001b[0mend\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0m_w\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0ms\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mend\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 339\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mend\u001b[0m \u001b[0;34m!=\u001b[0m \u001b[0mlen\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0ms\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;32m~/anaconda3/envs/telebot/lib/python3.8/json/decoder.py\u001b[0m in \u001b[0;36mraw_decode\u001b[0;34m(self, s, idx)\u001b[0m\n\u001b[1;32m 353\u001b[0m \u001b[0mobj\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mend\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mscan_once\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0ms\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0midx\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 354\u001b[0m \u001b[0;32mexcept\u001b[0m \u001b[0mStopIteration\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0merr\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 355\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mJSONDecodeError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"Expecting value\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0ms\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0merr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mvalue\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 356\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mobj\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mend\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", + "\u001b[0;31mJSONDecodeError\u001b[0m: Expecting value: line 1 column 1 (char 0)" + ] + } + ], + "source": [ + "variables = {\"includeDescription\": True, \"includeDeprecated\": False}\n", + "\n", + "mina_exp__schema = mina_client.send_any_query(query, variables=variables)" + ] + }, + { + "cell_type": "code", + "execution_count": 22, + "id": "prospective-marker", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-14T11:49:20.627510Z", + "start_time": "2021-03-14T11:49:20.566090Z" + } + }, + "outputs": [], + "source": [ + "with open('mina_schema.json', 'w') as f:\n", + " json.dump(mina_schema, f, sort_keys=True, indent=2, default=str)" + ] + }, + { + "cell_type": "code", + "execution_count": 23, + "id": "incorporate-trustee", + "metadata": { + "ExecuteTime": { + "end_time": "2021-03-14T11:49:23.355178Z", + "start_time": "2021-03-14T11:49:23.024797Z" + } + }, + "outputs": [], + "source": [ + "!sgqlc-codegen schema mina_schema.json mina_schema.py" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "popular-disposal", + "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_schema/mina_explorer_schema.json b/mina_schema/mina_explorer_schema.json new file mode 100644 index 0000000..907ddca --- /dev/null +++ b/mina_schema/mina_explorer_schema.json @@ -0,0 +1,24167 @@ +{ + "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": "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": "An enum describing what kind of type a given `__Type` is", + "enumValues": [ + { + "description": "Indicates this type is a scalar.", + "name": "SCALAR" + }, + { + "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", + "name": "OBJECT" + }, + { + "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" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "__TypeKind", + "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": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommandReceiver", + "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": [ + { + "args": [], + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "TransactionSource", + "possibleTypes": null + }, + { + "description": "", + "enumValues": [ + { + "description": "", + "name": "CHAINID_ASC" + }, + { + "description": "", + "name": "EPOCH_ASC" + }, + { + "description": "", + "name": "EPOCH_DESC" + }, + { + "description": "", + "name": "BALANCE_ASC" + }, + { + "description": "", + "name": "NONCE_ASC" + }, + { + "description": "", + "name": "PUBLIC_KEY_DESC" + }, + { + "description": "", + "name": "VOTING_FOR_ASC" + }, + { + "description": "", + "name": "TOKEN_DESC" + }, + { + "description": "", + "name": "DELEGATE_ASC" + }, + { + "description": "", + "name": "DELEGATE_DESC" + }, + { + "description": "", + "name": "NONCE_DESC" + }, + { + "description": "", + "name": "PUBLIC_KEY_ASC" + }, + { + "description": "", + "name": "RECEIPT_CHAIN_HASH_DESC" + }, + { + "description": "", + "name": "LEDGERHASH_ASC" + }, + { + "description": "", + "name": "CHAINID_DESC" + }, + { + "description": "", + "name": "RECEIPT_CHAIN_HASH_ASC" + }, + { + "description": "", + "name": "VOTING_FOR_DESC" + }, + { + "description": "", + "name": "LEDGERHASH_DESC" + }, + { + "description": "", + "name": "TOKEN_ASC" + }, + { + "description": "", + "name": "BALANCE_DESC" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "StakeSortByInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountInsertInput", + "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_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": "BlockTransactionUserCommandFeePayerQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gte", + "type": { + "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": "BlockTransactionUserCommandFeePayerQueryInput", + "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 + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "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": "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": [ + { + "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": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "epoch_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_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": "receipt_chain_hash_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": "voting_for", + "type": { + "kind": "SCALAR", + "name": "String", + "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": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "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": "StakeTimingUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "permissions", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakePermissionUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "permissions_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": "ledgerHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_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_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakeUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "epochLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_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": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "hash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Long", + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput", + "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": "BlockTransactionUserCommandFromAccountQueryInput", + "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_nin", + "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": "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": "BlockTransactionUserCommandFromAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountQueryInput", + "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": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionSourceInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionBlockStateHashRelationInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_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": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_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": "fee", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobUpdateInput", + "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 schema definition.", + "name": "SCHEMA" + }, + { + "description": "Location adjacent to an interface definition.", + "name": "INTERFACE" + }, + { + "description": "Location adjacent to an input object field definition.", + "name": "INPUT_FIELD_DEFINITION" + }, + { + "description": "Location adjacent to a fragment definition.", + "name": "FRAGMENT_DEFINITION" + }, + { + "description": "Location adjacent to a field definition.", + "name": "FIELD_DEFINITION" + }, + { + "description": "Location adjacent to a union definition.", + "name": "UNION" + }, + { + "description": "Location adjacent to a query operation.", + "name": "QUERY" + }, + { + "description": "Location adjacent to a field.", + "name": "FIELD" + }, + { + "description": "Location adjacent to a fragment spread.", + "name": "FRAGMENT_SPREAD" + }, + { + "description": "Location adjacent to an enum value definition.", + "name": "ENUM_VALUE" + }, + { + "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 subscription operation.", + "name": "SUBSCRIPTION" + }, + { + "description": "Location adjacent to an inline fragment.", + "name": "INLINE_FRAGMENT" + }, + { + "description": "Location adjacent to a scalar definition.", + "name": "SCALAR" + }, + { + "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" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "__DirectiveLocation", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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": "canonical_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "protocolState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "winnerAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "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": "stateHash_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": "stateHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_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": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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": "stateHashField_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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": "BlockQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "transactions_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_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 + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_gte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator", + "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": "creator_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkJobs", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobQueryInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_gte", + "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": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "winnerAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "transactions", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_lte", + "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": "stateHashField", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_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": "BlockQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "snarkJobs_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", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creatorAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creatorAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "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": "BlockWinnerAccountBalanceQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_lte", + "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_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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": "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": "unknown_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "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_ne", + "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": "unknown_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "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_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "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", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_nin", + "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": "stateHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "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": "liquid_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": "BlockWinnerAccountBalanceQueryInput", + "ofType": null + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "blockchainState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_gt", + "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_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": "blockchainState_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "consensusState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_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": "BlockProtocolStateQueryInput", + "ofType": null + } + } + } + }, + { + "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": "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": "previousStateHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "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": "amount", + "type": { + "kind": "SCALAR", + "name": "Int", + "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 + } + }, + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandInsertInput", + "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": "TransactionSourceUpdateInput", + "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": "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": "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_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": "epochLength_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput", + "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": "coinbase_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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": "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", + "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 + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "userCommands", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbaseReceiverAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_gte", + "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_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "userCommands_in", + "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_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeTransfer_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbaseReceiverAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountQueryInput", + "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_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": [ + { + "description": "", + "name": "CREATOR_ASC" + }, + { + "description": "", + "name": "CREATOR_DESC" + }, + { + "description": "", + "name": "STATEHASH_ASC" + }, + { + "description": "", + "name": "STATEHASH_DESC" + }, + { + "description": "", + "name": "STATEHASHFIELD_ASC" + }, + { + "description": "", + "name": "STATEHASHFIELD_DESC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_DESC" + }, + { + "description": "", + "name": "DATETIME_ASC" + }, + { + "description": "", + "name": "DATETIME_DESC" + }, + { + "description": "", + "name": "RECEIVEDTIME_ASC" + }, + { + "description": "", + "name": "RECEIVEDTIME_DESC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_ASC" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "BlockSortByInput", + "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": [ + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommandToAccount", + "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": "TransactionFeePayerQueryInput", + "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_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "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_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_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_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerQueryInput", + "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": "receipt_chain_hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "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": "timing", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakeTimingInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakeInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "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": "TransactionReceiverQueryInput", + "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 + } + }, + { + "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": "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 + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverQueryInput", + "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": "voting_for_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_lte", + "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": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_lt", + "type": { + "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": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_lte", + "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": "public_key_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_gt", + "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": "chainId_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch", + "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_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_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_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": "balance_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "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": "nonce_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_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": "nonce_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_gt", + "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": "delegate_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "timing_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "permissions_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_lt", + "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": "chainId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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": "epoch_ne", + "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": "receipt_chain_hash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_ne", + "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": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_gte", + "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_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": "voting_for_ne", + "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": "StakeQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_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_gt", + "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": "nonce_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_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": "voting_for_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_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": "ledgerHash_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": "nonce_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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": "public_key_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate", + "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_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_gte", + "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": "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 + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint", + "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": "token", + "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_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "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 + } + }, + { + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateUpdateInput", + "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": [ + { + "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": "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": "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": "", + "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": "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": [ + { + "description": "", + "name": "HASH_ASC" + }, + { + "description": "", + "name": "FEE_ASC" + }, + { + "description": "", + "name": "BLOCKSTATEHASH_DESC" + }, + { + "description": "", + "name": "TO_ASC" + }, + { + "description": "", + "name": "TOKEN_ASC" + }, + { + "description": "", + "name": "AMOUNT_ASC" + }, + { + "description": "", + "name": "NONCE_DESC" + }, + { + "description": "", + "name": "FEE_DESC" + }, + { + "description": "", + "name": "DATETIME_ASC" + }, + { + "description": "", + "name": "FAILUREREASON_ASC" + }, + { + "description": "", + "name": "TOKEN_DESC" + }, + { + "description": "", + "name": "ID_ASC" + }, + { + "description": "", + "name": "ID_DESC" + }, + { + "description": "", + "name": "DATETIME_DESC" + }, + { + "description": "", + "name": "TO_DESC" + }, + { + "description": "", + "name": "BLOCKSTATEHASH_ASC" + }, + { + "description": "", + "name": "AMOUNT_DESC" + }, + { + "description": "", + "name": "KIND_ASC" + }, + { + "description": "", + "name": "KIND_DESC" + }, + { + "description": "", + "name": "HASH_DESC" + }, + { + "description": "", + "name": "FAILUREREASON_DESC" + }, + { + "description": "", + "name": "FROM_ASC" + }, + { + "description": "", + "name": "FROM_DESC" + }, + { + "description": "", + "name": "MEMO_DESC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_ASC" + }, + { + "description": "", + "name": "NONCE_ASC" + }, + { + "description": "", + "name": "MEMO_ASC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_DESC" + }, + { + "description": "", + "name": "FEETOKEN_ASC" + }, + { + "description": "", + "name": "FEETOKEN_DESC" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "TransactionSortByInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": [ + { + "description": "", + "name": "FEE_DESC" + }, + { + "description": "", + "name": "PROVER_ASC" + }, + { + "description": "", + "name": "PROVER_DESC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_ASC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_DESC" + }, + { + "description": "", + "name": "BLOCKSTATEHASH_ASC" + }, + { + "description": "", + "name": "DATETIME_ASC" + }, + { + "description": "", + "name": "DATETIME_DESC" + }, + { + "description": "", + "name": "FEE_ASC" + }, + { + "description": "", + "name": "BLOCKSTATEHASH_DESC" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "SnarkSortByInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "protocolState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "winnerAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountInsertInput", + "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 + } + }, + { + "defaultValue": null, + "description": "", + "name": "transactions", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkJobs", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobInsertInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creatorAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockInsertInput", + "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": "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": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionSourceInsertInput", + "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": "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_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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput", + "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": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "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 + } + }, + { + "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": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SnarkInsertInput", + "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_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": "TransactionReceiverUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_in_epoch_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_inc", + "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_time_inc", + "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_unset", + "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": "untimed_slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting", + "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_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_inc", + "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": "vesting_increment", + "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": "timed_weighting_inc", + "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": "cliff_time_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_epoch_end_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", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakeTimingUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "coinbase_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUpdateInput", + "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": "send", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_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": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakePermissionQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "edit_state_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_gt", + "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_delegate", + "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": "set_delegate_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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_delegate_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_gte", + "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_delegate_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_lt", + "type": { + "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": "set_permissions_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_verification_key_gte", + "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_delegate_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_lte", + "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": "send_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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": "edit_state_lt", + "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": "set_delegate_ne", + "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_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions", + "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": "send_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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_delegate_gt", + "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_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_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": "set_permissions_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakePermissionQueryInput", + "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": "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": "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": "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": "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": "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": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockUpdateInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "updateManyBlocks", + "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": "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": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionUpdateInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "updateOneTransaction", + "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": "upsertOneBlock", + "type": { + "kind": "OBJECT", + "name": "Block", + "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": "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": "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": "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": "BlockCreatorAccountInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "ObjectId", + "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": "", + "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": "BlockTransactionCoinbaseReceiverAccountQueryInput", + "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_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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_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": "BlockTransactionCoinbaseReceiverAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lte", + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountQueryInput", + "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": "stakingEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount", + "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": "epoch", + "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 + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput", + "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": "BlockProtocolStateConsensusStateInsertInput", + "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": "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", + "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_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": "publicKey_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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_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_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": "BlockCreatorAccountQueryInput", + "ofType": null + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountQueryInput", + "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": "Long", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedger", + "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": "StakePermissionInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "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 + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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", + "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": "block_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", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "prover", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SnarkUpdateInput", + "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": "BlockTransactionUserCommandFeePayerUpdateInput", + "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": "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": "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": "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 + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobInsertInput", + "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": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "blockchainState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateInsertInput", + "ofType": null + } + }, + { + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateInsertInput", + "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": "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": "TransactionFeePayerUpdateInput", + "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": [ + { + "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": "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_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_lt", + "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_gt", + "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": "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", + "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_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionSourceQueryInput", + "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": "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": "Snark", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "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 + } + } + }, + { + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionInsertInput", + "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_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_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": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_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": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "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", + "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": "hash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "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": "hash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "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": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionSourceUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_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": "fee_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": "blockHeight_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer_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": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionBlockStateHashRelationInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_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": "canonical_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_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": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_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_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": "nonce_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver_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_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "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 + } + }, + { + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferUpdateInput", + "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": "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": "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": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey_gt", + "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": "BlockTransactionUserCommandSourceQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_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_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": "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": "BlockTransactionUserCommandSourceQueryInput", + "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", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_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": "BlockProtocolStateBlockchainStateQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_gt", + "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_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_ne", + "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": "snarkedLedgerHash_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": "stagedLedgerHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_gte", + "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_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_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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": "BlockProtocolStateBlockchainStateQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "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_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": "totalCurrency_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gt", + "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", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_nin", + "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": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "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": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerInsertInput", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumInsertInput", + "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": "publicKey_lt", + "type": { + "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": "BlockWinnerAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "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": "BlockWinnerAccountQueryInput", + "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_gt", + "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_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "slot_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": "slotSinceGenesis_lte", + "type": { + "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_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_gt", + "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_gt", + "type": { + "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": "blockchainLength_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_gte", + "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": "lastVrfOutput_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_in", + "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": "blockchainLength_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingEpochData_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot", + "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": "minWindowDensity_nin", + "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_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_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": "BlockProtocolStateConsensusStateQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hasAncestorInSameCheckpointWindow_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hasAncestorInSameCheckpointWindow_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_ne", + "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": "slot_gte", + "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": "slotSinceGenesis", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_gte", + "type": { + "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": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hasAncestorInSameCheckpointWindow", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_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": "BlockProtocolStateConsensusStateQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nextEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_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": "lastVrfOutput_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nextEpochData_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch", + "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_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "token_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "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": "TransactionFromAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "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_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_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 + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountQueryInput", + "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": "BlockTransactionFeeTransferQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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", + "type": { + "kind": "SCALAR", + "name": "Long", + "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": "AND", + "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_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_lt", + "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_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_gt", + "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_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "type", + "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_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient", + "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_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "seed_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_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": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint", + "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": "lockCheckpoint_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_ne", + "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": "startCheckpoint_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger_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": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed", + "type": { + "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": "epochLength_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", + "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_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_lte", + "type": { + "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": "epochLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", + "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": "prover_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "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": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_gte", + "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": "prover_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_gt", + "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_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_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": "SnarkQueryInput", + "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_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "block_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "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 + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "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": "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": "TransactionToAccountUpdateInput", + "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": "BlockTransactionCoinbaseReceiverAccountUpdateInput", + "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": "BlockTransactionUserCommandReceiverUpdateInput", + "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": "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": "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": "cliff_amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "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_weighting", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_in_epoch", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakeTimingInsertInput", + "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": "set_delegate_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_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "edit_state_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", + "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": "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": "stake_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakePermissionUpdateInput", + "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": "creator_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": "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": "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": "winnerAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "winnerAccount_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": "stateHashField", + "type": { + "kind": "SCALAR", + "name": "String", + "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": "BlockSnarkJobUpdateInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "transactions_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_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creatorAccount_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": "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": [ + { + "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": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + }, + { + "defaultValue": "100", + "description": "", + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sortBy", + "type": { + "kind": "ENUM", + "name": "BlockSortByInput", + "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": "SnarkQueryInput", + "ofType": null + } + } + ], + "description": "", + "name": "snark", + "type": { + "kind": "OBJECT", + "name": "Snark", + "ofType": null + } + }, + { + "args": [ + { + "defaultValue": null, + "description": "", + "name": "sortBy", + "type": { + "kind": "ENUM", + "name": "SnarkSortByInput", + "ofType": null + } + }, + { + "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 + } + } + ], + "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": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_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": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_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": "blockStateHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_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": "BlockSnarkJobQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lte", + "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": "blockStateHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "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": "blockStateHash_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", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Int", + "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_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_ne", + "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_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lt", + "type": { + "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": "dateTime_gte", + "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 + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobQueryInput", + "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_lte", + "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": "BlockTransactionUserCommandToAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "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_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "token_gte", + "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 + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountQueryInput", + "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_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": "AND", + "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 + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey_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": "BlockTransactionUserCommandReceiverQueryInput", + "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_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 + } + } + } + ], + "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": "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": "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": [ + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "TransactionToAccount", + "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": "locked_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_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": "liquid_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "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": "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": "unknown", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceUpdateInput", + "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": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_nin", + "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": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_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": "amount_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_in", + "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": "dateTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_gte", + "type": { + "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": "failureReason", + "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": "feeToken_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "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": "fee_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_in", + "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": "hash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_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": "kind_gte", + "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_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": "fee_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionSourceQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "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": "id_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "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": "TransactionQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "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": "hash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "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": "id_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_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": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver_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": "TransactionQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "source_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": "from_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_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": "id_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_ne", + "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": "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": "nonce_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_lte", + "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": "from_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_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": "memo_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": "memo_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": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "epochLength_lte", + "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": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_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": "lockCheckpoint_lte", + "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": "epochLength", + "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": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_gte", + "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": "startCheckpoint_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_ne", + "type": { + "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": "epochLength_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed", + "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": "lockCheckpoint_lt", + "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": "lockCheckpoint_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger_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": "startCheckpoint_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "seed_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": "startCheckpoint_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_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", + "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": 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": "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": "hasAncestorInSameCheckpointWindow_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nextEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "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_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_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": "blockchainLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "epochCount", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_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": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hasAncestorInSameCheckpointWindow", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_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": "slotSinceGenesis", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_inc", + "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": "memo_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_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": "from_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_lte", + "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": "failureReason_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "to", + "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": "hash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer_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": "from_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_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": "blockStateHash_lt", + "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": "nonce_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_in", + "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": "feeToken_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_gte", + "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": "feeToken_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "source_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_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_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "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", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_ne", + "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": "failureReason_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_nin", + "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": "amount_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_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_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_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": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_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": "to_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_gte", + "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": "memo_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_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": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_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": "kind_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_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": "kind_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_ne", + "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": "feeToken_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver_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": "blockStateHash_ne", + "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": "from_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_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": "BlockTransactionUserCommandQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_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": "BlockTransactionUserCommandQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_ne", + "type": { + "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": "from_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "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": "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 + } + } + }, + { + "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_lte", + "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_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "TransactionToAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ + { + "args": [], + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Long", + "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": "Long", + "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": "untimed_slot_gt", + "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": "untimed_slot_lte", + "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": "untimed_slot_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_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": "cliff_amount_gt", + "type": { + "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": "StakeTimingQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period", + "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": "timed_epoch_end_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "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": "cliff_time_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "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_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_lte", + "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_time_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_lte", + "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": "initial_minimum_balance_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_epoch_end_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "vesting_period_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_gte", + "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": "initial_minimum_balance_ne", + "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": "timed_weighting_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_lt", + "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": "cliff_amount_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_lte", + "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_increment", + "type": { + "kind": "SCALAR", + "name": "Float", + "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": "timed_epoch_end", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_ne", + "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": "timed_weighting_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "timed_in_epoch_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": "cliff_amount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "timed_weighting_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_gte", + "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": "StakeTimingQueryInput", + "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": "timed_weighting_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "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": "cliff_amount_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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_time_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": "initial_minimum_balance_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "timed_in_epoch_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount", + "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": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerInsertInput", + "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": [ + { + "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": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceInsertInput", + "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": [ + { + "args": [], + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "Int", + "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": [ + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "TransactionFromAccount", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source_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": "amount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount_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": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_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": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver_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": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_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": "nonce_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_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": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_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": "from_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandUpdateInput", + "possibleTypes": null + } + ] + } + } +} \ No newline at end of file diff --git a/mina_schema/mina_explorer_schema.py b/mina_schema/mina_explorer_schema.py new file mode 100644 index 0000000..533c0de --- /dev/null +++ b/mina_schema/mina_explorer_schema.py @@ -0,0 +1,2787 @@ +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__ = ('CREATOR_ASC', 'CREATOR_DESC', 'STATEHASH_ASC', 'STATEHASH_DESC', 'STATEHASHFIELD_ASC', 'STATEHASHFIELD_DESC', 'BLOCKHEIGHT_DESC', 'DATETIME_ASC', 'DATETIME_DESC', 'RECEIVEDTIME_ASC', 'RECEIVEDTIME_DESC', 'BLOCKHEIGHT_ASC') + + +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 ObjectId(sgqlc.types.Scalar): + __schema__ = mina_explorer_schema + + +class SnarkSortByInput(sgqlc.types.Enum): + __schema__ = mina_explorer_schema + __choices__ = ('FEE_DESC', 'PROVER_ASC', 'PROVER_DESC', 'BLOCKHEIGHT_ASC', 'BLOCKHEIGHT_DESC', 'BLOCKSTATEHASH_ASC', 'DATETIME_ASC', 'DATETIME_DESC', 'FEE_ASC', 'BLOCKSTATEHASH_DESC') + + +class StakeSortByInput(sgqlc.types.Enum): + __schema__ = mina_explorer_schema + __choices__ = ('CHAINID_ASC', 'EPOCH_ASC', 'EPOCH_DESC', 'BALANCE_ASC', 'NONCE_ASC', 'PUBLIC_KEY_DESC', 'VOTING_FOR_ASC', 'TOKEN_DESC', 'DELEGATE_ASC', 'DELEGATE_DESC', 'NONCE_DESC', 'PUBLIC_KEY_ASC', 'RECEIPT_CHAIN_HASH_DESC', 'LEDGERHASH_ASC', 'CHAINID_DESC', 'RECEIPT_CHAIN_HASH_ASC', 'VOTING_FOR_DESC', 'LEDGERHASH_DESC', 'TOKEN_ASC', 'BALANCE_DESC') + + +String = sgqlc.types.String + +class TransactionSortByInput(sgqlc.types.Enum): + __schema__ = mina_explorer_schema + __choices__ = ('HASH_ASC', 'FEE_ASC', 'BLOCKSTATEHASH_DESC', 'TO_ASC', 'TOKEN_ASC', 'AMOUNT_ASC', 'NONCE_DESC', 'FEE_DESC', 'DATETIME_ASC', 'FAILUREREASON_ASC', 'TOKEN_DESC', 'ID_ASC', 'ID_DESC', 'DATETIME_DESC', 'TO_DESC', 'BLOCKSTATEHASH_ASC', 'AMOUNT_DESC', 'KIND_ASC', 'KIND_DESC', 'HASH_DESC', 'FAILUREREASON_DESC', 'FROM_ASC', 'FROM_DESC', 'MEMO_DESC', 'BLOCKHEIGHT_ASC', 'NONCE_ASC', 'MEMO_ASC', 'BLOCKHEIGHT_DESC', 'FEETOKEN_ASC', 'FEETOKEN_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__ = ('and_', 'public_key', 'public_key_ne', 'public_key_gt', 'public_key_nin', 'public_key_exists', 'public_key_in', 'public_key_gte', 'public_key_lt', 'public_key_lte', 'or_') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockCreatorAccountQueryInput')), graphql_name='AND') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + 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') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockCreatorAccountQueryInput')), graphql_name='OR') + + +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__ = ('protocol_state', 'date_time', 'winner_account', 'state_hash', 'block_height', 'transactions', 'creator', 'snark_jobs', 'received_time', 'state_hash_field', 'creator_account', 'canonical') + protocol_state = sgqlc.types.Field('BlockProtocolStateInsertInput', graphql_name='protocolState') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + winner_account = sgqlc.types.Field('BlockWinnerAccountInsertInput', graphql_name='winnerAccount') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + transactions = sgqlc.types.Field('BlockTransactionInsertInput', graphql_name='transactions') + creator = sgqlc.types.Field(String, graphql_name='creator') + snark_jobs = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobInsertInput'), graphql_name='snarkJobs') + received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') + state_hash_field = sgqlc.types.Field(String, graphql_name='stateHashField') + creator_account = sgqlc.types.Field(BlockCreatorAccountInsertInput, graphql_name='creatorAccount') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + + +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__ = ('staged_ledger_hash_lte', 'and_', 'date_gt', 'snarked_ledger_hash_exists', 'date_in', 'staged_ledger_hash_ne', 'date_ne', 'staged_ledger_hash_in', 'snarked_ledger_hash_lt', 'utc_date_ne', 'staged_ledger_hash_gte', 'staged_ledger_hash', 'snarked_ledger_hash_nin', 'snarked_ledger_hash_ne', 'snarked_ledger_hash_gt', 'date_lte', 'staged_ledger_hash_lt', 'snarked_ledger_hash', 'utc_date_gt', 'utc_date_exists', 'date_lt', 'utc_date_lt', 'staged_ledger_hash_nin', 'date_gte', 'staged_ledger_hash_gt', 'date_exists', 'utc_date_nin', 'utc_date_gte', 'utc_date_lte', 'staged_ledger_hash_exists', 'date', 'snarked_ledger_hash_lte', 'date_nin', 'or_', 'utc_date_in', 'utc_date', 'snarked_ledger_hash_gte', 'snarked_ledger_hash_in') + staged_ledger_hash_lte = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_lte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateBlockchainStateQueryInput')), graphql_name='AND') + date_gt = sgqlc.types.Field(Long, graphql_name='date_gt') + snarked_ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='snarkedLedgerHash_exists') + date_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='date_in') + staged_ledger_hash_ne = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_ne') + date_ne = sgqlc.types.Field(Long, graphql_name='date_ne') + staged_ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stagedLedgerHash_in') + snarked_ledger_hash_lt = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_lt') + utc_date_ne = sgqlc.types.Field(Long, graphql_name='utcDate_ne') + staged_ledger_hash_gte = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_gte') + staged_ledger_hash = sgqlc.types.Field(String, graphql_name='stagedLedgerHash') + snarked_ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='snarkedLedgerHash_nin') + snarked_ledger_hash_ne = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_ne') + snarked_ledger_hash_gt = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_gt') + date_lte = sgqlc.types.Field(Long, graphql_name='date_lte') + staged_ledger_hash_lt = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_lt') + snarked_ledger_hash = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash') + utc_date_gt = sgqlc.types.Field(Long, graphql_name='utcDate_gt') + utc_date_exists = sgqlc.types.Field(Boolean, graphql_name='utcDate_exists') + date_lt = sgqlc.types.Field(Long, graphql_name='date_lt') + utc_date_lt = sgqlc.types.Field(Long, graphql_name='utcDate_lt') + staged_ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stagedLedgerHash_nin') + date_gte = sgqlc.types.Field(Long, graphql_name='date_gte') + staged_ledger_hash_gt = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_gt') + date_exists = sgqlc.types.Field(Boolean, graphql_name='date_exists') + utc_date_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='utcDate_nin') + utc_date_gte = sgqlc.types.Field(Long, graphql_name='utcDate_gte') + utc_date_lte = sgqlc.types.Field(Long, graphql_name='utcDate_lte') + staged_ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stagedLedgerHash_exists') + date = sgqlc.types.Field(Long, graphql_name='date') + snarked_ledger_hash_lte = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_lte') + date_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='date_nin') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateBlockchainStateQueryInput')), graphql_name='OR') + utc_date_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='utcDate_in') + utc_date = sgqlc.types.Field(Long, graphql_name='utcDate') + snarked_ledger_hash_gte = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_gte') + snarked_ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='snarkedLedgerHash_in') + + +class BlockProtocolStateBlockchainStateUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('date_unset', 'snarked_ledger_hash', 'snarked_ledger_hash_unset', 'staged_ledger_hash', 'staged_ledger_hash_unset', 'utc_date', 'utc_date_unset', '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') + 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') + + +class BlockProtocolStateConsensusStateInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('staking_epoch_data', 'total_currency', 'blockchain_length', 'min_window_density', 'epoch_count', 'slot', 'slot_since_genesis', 'epoch', 'next_epoch_data', 'has_ancestor_in_same_checkpoint_window', 'last_vrf_output', 'block_height') + staking_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateStakingEpochDatumInsertInput', graphql_name='stakingEpochData') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') + min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') + epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') + slot = sgqlc.types.Field(Int, graphql_name='slot') + slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + next_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateNextEpochDatumInsertInput', graphql_name='nextEpochData') + has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') + last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + + +class BlockProtocolStateConsensusStateNextEpochDatumInsertInput(sgqlc.types.Input): + __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('BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput', 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 BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('total_currency', 'hash') + total_currency = sgqlc.types.Field(Long, graphql_name='totalCurrency') + hash = sgqlc.types.Field(String, graphql_name='hash') + + +class BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('total_currency_exists', 'total_currency_gt', 'total_currency', 'hash_lte', 'hash_nin', 'hash_ne', 'hash_exists', 'total_currency_ne', 'total_currency_in', 'or_', 'total_currency_lt', 'hash_gt', 'hash_in', 'hash', 'hash_gte', 'total_currency_lte', 'total_currency_nin', 'and_', 'hash_lt', 'total_currency_gte') + total_currency_exists = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_exists') + total_currency_gt = sgqlc.types.Field(Long, graphql_name='totalCurrency_gt') + total_currency = sgqlc.types.Field(Long, graphql_name='totalCurrency') + hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') + hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') + hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') + hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') + total_currency_ne = sgqlc.types.Field(Long, graphql_name='totalCurrency_ne') + total_currency_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='totalCurrency_in') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput')), graphql_name='OR') + total_currency_lt = sgqlc.types.Field(Long, graphql_name='totalCurrency_lt') + hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') + hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') + hash = sgqlc.types.Field(String, graphql_name='hash') + hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') + total_currency_lte = sgqlc.types.Field(Long, graphql_name='totalCurrency_lte') + total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='totalCurrency_nin') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput')), graphql_name='AND') + hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') + total_currency_gte = sgqlc.types.Field(Long, graphql_name='totalCurrency_gte') + + +class BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('hash_unset', 'total_currency', 'total_currency_unset', 'hash') + hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') + total_currency = sgqlc.types.Field(Long, graphql_name='totalCurrency') + total_currency_unset = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_unset') + hash = sgqlc.types.Field(String, graphql_name='hash') + + +class BlockProtocolStateConsensusStateNextEpochDatumQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('seed_lt', 'start_checkpoint_lt', 'or_', 'lock_checkpoint', 'epoch_length_gte', 'start_checkpoint_exists', 'lock_checkpoint_lt', 'start_checkpoint', 'seed_in', 'lock_checkpoint_gt', 'seed_gt', 'lock_checkpoint_gte', 'seed_ne', 'start_checkpoint_in', 'start_checkpoint_gt', 'seed_lte', 'start_checkpoint_gte', 'lock_checkpoint_in', 'ledger_exists', 'and_', 'seed', 'epoch_length_ne', 'start_checkpoint_ne', 'epoch_length_exists', 'epoch_length_nin', 'seed_gte', 'start_checkpoint_lte', 'seed_exists', 'ledger', 'start_checkpoint_nin', 'epoch_length_in', 'lock_checkpoint_exists', 'epoch_length_lt', 'lock_checkpoint_ne', 'epoch_length_gt', 'lock_checkpoint_lte', 'seed_nin', 'epoch_length', 'epoch_length_lte', 'lock_checkpoint_nin') + seed_lt = sgqlc.types.Field(String, graphql_name='seed_lt') + start_checkpoint_lt = sgqlc.types.Field(String, graphql_name='startCheckpoint_lt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumQueryInput')), graphql_name='OR') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + epoch_length_gte = sgqlc.types.Field(Int, graphql_name='epochLength_gte') + start_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_exists') + lock_checkpoint_lt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lt') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + seed_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_in') + lock_checkpoint_gt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gt') + seed_gt = sgqlc.types.Field(String, graphql_name='seed_gt') + lock_checkpoint_gte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gte') + seed_ne = sgqlc.types.Field(String, graphql_name='seed_ne') + start_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_in') + start_checkpoint_gt = sgqlc.types.Field(String, graphql_name='startCheckpoint_gt') + seed_lte = sgqlc.types.Field(String, graphql_name='seed_lte') + start_checkpoint_gte = sgqlc.types.Field(String, graphql_name='startCheckpoint_gte') + lock_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_in') + ledger_exists = sgqlc.types.Field(Boolean, graphql_name='ledger_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumQueryInput')), graphql_name='AND') + seed = sgqlc.types.Field(String, graphql_name='seed') + epoch_length_ne = sgqlc.types.Field(Int, graphql_name='epochLength_ne') + start_checkpoint_ne = sgqlc.types.Field(String, graphql_name='startCheckpoint_ne') + epoch_length_exists = sgqlc.types.Field(Boolean, graphql_name='epochLength_exists') + epoch_length_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_nin') + seed_gte = sgqlc.types.Field(String, graphql_name='seed_gte') + start_checkpoint_lte = sgqlc.types.Field(String, graphql_name='startCheckpoint_lte') + seed_exists = sgqlc.types.Field(Boolean, graphql_name='seed_exists') + ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput, graphql_name='ledger') + start_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_nin') + epoch_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_in') + lock_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_exists') + epoch_length_lt = sgqlc.types.Field(Int, graphql_name='epochLength_lt') + lock_checkpoint_ne = sgqlc.types.Field(String, graphql_name='lockCheckpoint_ne') + epoch_length_gt = sgqlc.types.Field(Int, graphql_name='epochLength_gt') + lock_checkpoint_lte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lte') + seed_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_nin') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + epoch_length_lte = sgqlc.types.Field(Int, graphql_name='epochLength_lte') + lock_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_nin') + + +class BlockProtocolStateConsensusStateNextEpochDatumUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('epoch_length_unset', 'seed', 'start_checkpoint_unset', 'start_checkpoint', 'epoch_length', 'ledger_unset', 'lock_checkpoint_unset', 'epoch_length_inc', 'ledger', 'seed_unset', 'lock_checkpoint') + epoch_length_unset = sgqlc.types.Field(Boolean, graphql_name='epochLength_unset') + seed = sgqlc.types.Field(String, graphql_name='seed') + start_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_unset') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + ledger_unset = sgqlc.types.Field(Boolean, graphql_name='ledger_unset') + lock_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_unset') + epoch_length_inc = sgqlc.types.Field(Int, graphql_name='epochLength_inc') + ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput, graphql_name='ledger') + seed_unset = sgqlc.types.Field(Boolean, graphql_name='seed_unset') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + + +class BlockProtocolStateConsensusStateQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('slot_gt', 'total_currency_gt', 'slot_since_genesis_lte', 'blockchain_length_nin', 'epoch_count_ne', 'last_vrf_output_exists', 'last_vrf_output', 'epoch_count_exists', 'min_window_density_gt', 'min_window_density_ne', 'blockchain_length_gt', 'slot_in', 'blockchain_length_lte', 'block_height_lt', 'total_currency_exists', 'min_window_density_lte', 'blockchain_length_ne', 'epoch_count_gte', 'slot_exists', 'min_window_density_lt', 'slot_since_genesis_gte', 'epoch_in', 'last_vrf_output_nin', 'slot_since_genesis_in', 'epoch_lte', 'blockchain_length_in', 'epoch_ne', 'blockchain_length_gte', 'staking_epoch_data_exists', 'epoch_count_lt', 'slot', 'epoch_nin', 'min_window_density_nin', 'last_vrf_output_in', 'epoch_gt', 'total_currency_lte', 'epoch_count_lte', 'or_', 'total_currency_in', 'slot_since_genesis_lt', 'has_ancestor_in_same_checkpoint_window_exists', 'epoch_count_in', 'total_currency', 'slot_lte', 'total_currency_gte', 'epoch_lt', 'last_vrf_output_lte', 'epoch_count', 'block_height', 'epoch_gte', 'blockchain_length', 'epoch_count_nin', 'has_ancestor_in_same_checkpoint_window_ne', 'block_height_in', 'slot_since_genesis_exists', 'slot_lt', 'slot_since_genesis_ne', 'epoch_count_gt', 'last_vrf_output_lt', 'min_window_density', 'total_currency_ne', 'block_height_nin', 'slot_gte', 'slot_nin', 'slot_since_genesis', 'min_window_density_gte', 'total_currency_nin', 'block_height_gt', 'has_ancestor_in_same_checkpoint_window', 'slot_ne', 'and_', 'slot_since_genesis_gt', 'last_vrf_output_gt', 'next_epoch_data', 'total_currency_lt', 'last_vrf_output_ne', 'min_window_density_in', 'block_height_ne', 'block_height_gte', 'block_height_lte', 'block_height_exists', 'slot_since_genesis_nin', 'staking_epoch_data', 'min_window_density_exists', 'blockchain_length_exists', 'last_vrf_output_gte', 'next_epoch_data_exists', 'epoch', 'blockchain_length_lt', 'epoch_exists') + slot_gt = sgqlc.types.Field(Int, graphql_name='slot_gt') + total_currency_gt = sgqlc.types.Field(Float, graphql_name='totalCurrency_gt') + slot_since_genesis_lte = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_lte') + blockchain_length_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockchainLength_nin') + epoch_count_ne = sgqlc.types.Field(Int, graphql_name='epochCount_ne') + last_vrf_output_exists = sgqlc.types.Field(Boolean, graphql_name='lastVrfOutput_exists') + last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') + epoch_count_exists = sgqlc.types.Field(Boolean, graphql_name='epochCount_exists') + min_window_density_gt = sgqlc.types.Field(Int, graphql_name='minWindowDensity_gt') + min_window_density_ne = sgqlc.types.Field(Int, graphql_name='minWindowDensity_ne') + blockchain_length_gt = sgqlc.types.Field(Int, graphql_name='blockchainLength_gt') + slot_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slot_in') + blockchain_length_lte = sgqlc.types.Field(Int, graphql_name='blockchainLength_lte') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + total_currency_exists = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_exists') + min_window_density_lte = sgqlc.types.Field(Int, graphql_name='minWindowDensity_lte') + blockchain_length_ne = sgqlc.types.Field(Int, graphql_name='blockchainLength_ne') + epoch_count_gte = sgqlc.types.Field(Int, graphql_name='epochCount_gte') + slot_exists = sgqlc.types.Field(Boolean, graphql_name='slot_exists') + min_window_density_lt = sgqlc.types.Field(Int, graphql_name='minWindowDensity_lt') + slot_since_genesis_gte = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_gte') + epoch_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_in') + last_vrf_output_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lastVrfOutput_nin') + slot_since_genesis_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slotSinceGenesis_in') + epoch_lte = sgqlc.types.Field(Int, graphql_name='epoch_lte') + blockchain_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockchainLength_in') + epoch_ne = sgqlc.types.Field(Int, graphql_name='epoch_ne') + blockchain_length_gte = sgqlc.types.Field(Int, graphql_name='blockchainLength_gte') + staking_epoch_data_exists = sgqlc.types.Field(Boolean, graphql_name='stakingEpochData_exists') + epoch_count_lt = sgqlc.types.Field(Int, graphql_name='epochCount_lt') + slot = sgqlc.types.Field(Int, graphql_name='slot') + epoch_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_nin') + min_window_density_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='minWindowDensity_nin') + last_vrf_output_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lastVrfOutput_in') + epoch_gt = sgqlc.types.Field(Int, graphql_name='epoch_gt') + total_currency_lte = sgqlc.types.Field(Float, graphql_name='totalCurrency_lte') + epoch_count_lte = sgqlc.types.Field(Int, graphql_name='epochCount_lte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateQueryInput')), graphql_name='OR') + total_currency_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_in') + slot_since_genesis_lt = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_lt') + has_ancestor_in_same_checkpoint_window_exists = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_exists') + epoch_count_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochCount_in') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + slot_lte = sgqlc.types.Field(Int, graphql_name='slot_lte') + total_currency_gte = sgqlc.types.Field(Float, graphql_name='totalCurrency_gte') + epoch_lt = sgqlc.types.Field(Int, graphql_name='epoch_lt') + last_vrf_output_lte = sgqlc.types.Field(String, graphql_name='lastVrfOutput_lte') + epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + epoch_gte = sgqlc.types.Field(Int, graphql_name='epoch_gte') + blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') + epoch_count_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochCount_nin') + has_ancestor_in_same_checkpoint_window_ne = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_ne') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + slot_since_genesis_exists = sgqlc.types.Field(Boolean, graphql_name='slotSinceGenesis_exists') + slot_lt = sgqlc.types.Field(Int, graphql_name='slot_lt') + slot_since_genesis_ne = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_ne') + epoch_count_gt = sgqlc.types.Field(Int, graphql_name='epochCount_gt') + last_vrf_output_lt = sgqlc.types.Field(String, graphql_name='lastVrfOutput_lt') + min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') + total_currency_ne = sgqlc.types.Field(Float, graphql_name='totalCurrency_ne') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + slot_gte = sgqlc.types.Field(Int, graphql_name='slot_gte') + slot_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slot_nin') + slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') + min_window_density_gte = sgqlc.types.Field(Int, graphql_name='minWindowDensity_gte') + total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_nin') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') + slot_ne = sgqlc.types.Field(Int, graphql_name='slot_ne') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateQueryInput')), graphql_name='AND') + slot_since_genesis_gt = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_gt') + last_vrf_output_gt = sgqlc.types.Field(String, graphql_name='lastVrfOutput_gt') + next_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumQueryInput, graphql_name='nextEpochData') + total_currency_lt = sgqlc.types.Field(Float, graphql_name='totalCurrency_lt') + last_vrf_output_ne = sgqlc.types.Field(String, graphql_name='lastVrfOutput_ne') + min_window_density_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='minWindowDensity_in') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + slot_since_genesis_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slotSinceGenesis_nin') + staking_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateStakingEpochDatumQueryInput', graphql_name='stakingEpochData') + min_window_density_exists = sgqlc.types.Field(Boolean, graphql_name='minWindowDensity_exists') + blockchain_length_exists = sgqlc.types.Field(Boolean, graphql_name='blockchainLength_exists') + last_vrf_output_gte = sgqlc.types.Field(String, graphql_name='lastVrfOutput_gte') + next_epoch_data_exists = sgqlc.types.Field(Boolean, graphql_name='nextEpochData_exists') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + blockchain_length_lt = sgqlc.types.Field(Int, graphql_name='blockchainLength_lt') + epoch_exists = sgqlc.types.Field(Boolean, graphql_name='epoch_exists') + + +class BlockProtocolStateConsensusStateStakingEpochDatumInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('lock_checkpoint', 'seed', 'start_checkpoint', 'epoch_length', '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') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + ledger = sgqlc.types.Field('BlockProtocolStateConsensusStateStakingEpochDatumLedgerInsertInput', graphql_name='ledger') + + +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__ = ('hash', 'total_currency_gte', 'hash_exists', 'and_', 'hash_ne', 'or_', 'hash_nin', 'total_currency', 'total_currency_nin', 'hash_gte', 'total_currency_lt', 'total_currency_lte', 'total_currency_in', 'hash_lt', 'hash_in', 'total_currency_ne', 'hash_lte', 'total_currency_gt', 'total_currency_exists', 'hash_gt') + hash = sgqlc.types.Field(String, graphql_name='hash') + total_currency_gte = sgqlc.types.Field(Float, graphql_name='totalCurrency_gte') + hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput')), graphql_name='AND') + hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput')), graphql_name='OR') + hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_nin') + hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') + total_currency_lt = sgqlc.types.Field(Float, graphql_name='totalCurrency_lt') + total_currency_lte = sgqlc.types.Field(Float, graphql_name='totalCurrency_lte') + 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') + hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') + total_currency_ne = sgqlc.types.Field(Float, graphql_name='totalCurrency_ne') + hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') + total_currency_gt = sgqlc.types.Field(Float, graphql_name='totalCurrency_gt') + total_currency_exists = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_exists') + hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') + + +class BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('hash_unset', 'total_currency', 'total_currency_inc', 'total_currency_unset', 'hash') + hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + 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') + + +class BlockProtocolStateConsensusStateStakingEpochDatumQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('epoch_length_lte', 'and_', 'start_checkpoint', 'seed_exists', 'seed_lte', 'lock_checkpoint_nin', 'lock_checkpoint_lte', 'epoch_length_nin', 'epoch_length', 'or_', 'ledger', 'lock_checkpoint', 'start_checkpoint_gte', 'start_checkpoint_in', 'start_checkpoint_gt', 'lock_checkpoint_ne', 'seed_nin', 'epoch_length_lt', 'seed', 'epoch_length_in', 'lock_checkpoint_lt', 'start_checkpoint_nin', 'lock_checkpoint_in', 'epoch_length_gte', 'lock_checkpoint_gte', 'epoch_length_exists', 'start_checkpoint_lt', 'epoch_length_ne', 'ledger_exists', 'seed_lt', 'start_checkpoint_lte', 'lock_checkpoint_exists', 'seed_gte', 'lock_checkpoint_gt', 'seed_gt', 'epoch_length_gt', 'start_checkpoint_ne', 'seed_in', 'seed_ne', 'start_checkpoint_exists') + epoch_length_lte = sgqlc.types.Field(Int, graphql_name='epochLength_lte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumQueryInput')), graphql_name='AND') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + seed_exists = sgqlc.types.Field(Boolean, graphql_name='seed_exists') + seed_lte = sgqlc.types.Field(String, graphql_name='seed_lte') + lock_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_nin') + lock_checkpoint_lte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lte') + epoch_length_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_nin') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumQueryInput')), graphql_name='OR') + ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput, graphql_name='ledger') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + start_checkpoint_gte = sgqlc.types.Field(String, graphql_name='startCheckpoint_gte') + start_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_in') + start_checkpoint_gt = sgqlc.types.Field(String, graphql_name='startCheckpoint_gt') + lock_checkpoint_ne = sgqlc.types.Field(String, graphql_name='lockCheckpoint_ne') + seed_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_nin') + epoch_length_lt = sgqlc.types.Field(Int, graphql_name='epochLength_lt') + seed = sgqlc.types.Field(String, graphql_name='seed') + epoch_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_in') + lock_checkpoint_lt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lt') + start_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_nin') + lock_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_in') + epoch_length_gte = sgqlc.types.Field(Int, graphql_name='epochLength_gte') + lock_checkpoint_gte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gte') + epoch_length_exists = sgqlc.types.Field(Boolean, graphql_name='epochLength_exists') + start_checkpoint_lt = sgqlc.types.Field(String, graphql_name='startCheckpoint_lt') + epoch_length_ne = sgqlc.types.Field(Int, graphql_name='epochLength_ne') + ledger_exists = sgqlc.types.Field(Boolean, graphql_name='ledger_exists') + seed_lt = sgqlc.types.Field(String, graphql_name='seed_lt') + start_checkpoint_lte = sgqlc.types.Field(String, graphql_name='startCheckpoint_lte') + lock_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_exists') + seed_gte = sgqlc.types.Field(String, graphql_name='seed_gte') + lock_checkpoint_gt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gt') + seed_gt = sgqlc.types.Field(String, graphql_name='seed_gt') + epoch_length_gt = sgqlc.types.Field(Int, graphql_name='epochLength_gt') + start_checkpoint_ne = sgqlc.types.Field(String, graphql_name='startCheckpoint_ne') + seed_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_in') + seed_ne = sgqlc.types.Field(String, graphql_name='seed_ne') + start_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_exists') + + +class BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('epoch_length', 'epoch_length_unset', 'lock_checkpoint_unset', 'seed', 'ledger', 'lock_checkpoint', 'seed_unset', 'start_checkpoint', 'ledger_unset', 'start_checkpoint_unset', 'epoch_length_inc') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + epoch_length_unset = sgqlc.types.Field(Boolean, graphql_name='epochLength_unset') + lock_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_unset') + seed = sgqlc.types.Field(String, graphql_name='seed') + ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput, graphql_name='ledger') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + seed_unset = sgqlc.types.Field(Boolean, graphql_name='seed_unset') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + ledger_unset = sgqlc.types.Field(Boolean, graphql_name='ledger_unset') + start_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_unset') + epoch_length_inc = sgqlc.types.Field(Int, graphql_name='epochLength_inc') + + +class BlockProtocolStateConsensusStateUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('has_ancestor_in_same_checkpoint_window_unset', 'last_vrf_output', 'next_epoch_data', 'slot_unset', 'block_height', 'slot_inc', 'next_epoch_data_unset', 'last_vrf_output_unset', 'epoch_count_unset', 'block_height_unset', 'blockchain_length', 'min_window_density', 'epoch_count_inc', 'epoch', 'slot_since_genesis_unset', 'staking_epoch_data_unset', 'epoch_count', 'total_currency_unset', 'slot', 'min_window_density_inc', 'total_currency_inc', 'blockchain_length_unset', 'min_window_density_unset', 'total_currency', 'epoch_unset', 'has_ancestor_in_same_checkpoint_window', 'block_height_inc', 'epoch_inc', 'slot_since_genesis', 'staking_epoch_data', 'slot_since_genesis_inc', 'blockchain_length_inc') + has_ancestor_in_same_checkpoint_window_unset = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_unset') + last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') + next_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumUpdateInput, graphql_name='nextEpochData') + slot_unset = sgqlc.types.Field(Boolean, graphql_name='slot_unset') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + slot_inc = sgqlc.types.Field(Int, graphql_name='slot_inc') + next_epoch_data_unset = sgqlc.types.Field(Boolean, graphql_name='nextEpochData_unset') + last_vrf_output_unset = sgqlc.types.Field(Boolean, graphql_name='lastVrfOutput_unset') + epoch_count_unset = sgqlc.types.Field(Boolean, graphql_name='epochCount_unset') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') + min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') + epoch_count_inc = sgqlc.types.Field(Int, graphql_name='epochCount_inc') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + slot_since_genesis_unset = sgqlc.types.Field(Boolean, graphql_name='slotSinceGenesis_unset') + staking_epoch_data_unset = sgqlc.types.Field(Boolean, graphql_name='stakingEpochData_unset') + epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') + total_currency_unset = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_unset') + slot = sgqlc.types.Field(Int, graphql_name='slot') + min_window_density_inc = sgqlc.types.Field(Int, graphql_name='minWindowDensity_inc') + total_currency_inc = sgqlc.types.Field(Float, graphql_name='totalCurrency_inc') + blockchain_length_unset = sgqlc.types.Field(Boolean, graphql_name='blockchainLength_unset') + min_window_density_unset = sgqlc.types.Field(Boolean, graphql_name='minWindowDensity_unset') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + epoch_unset = sgqlc.types.Field(Boolean, graphql_name='epoch_unset') + has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + epoch_inc = sgqlc.types.Field(Int, graphql_name='epoch_inc') + slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') + staking_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput, graphql_name='stakingEpochData') + slot_since_genesis_inc = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_inc') + blockchain_length_inc = sgqlc.types.Field(Int, graphql_name='blockchainLength_inc') + + +class BlockProtocolStateInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('blockchain_state', 'consensus_state', 'previous_state_hash') + blockchain_state = sgqlc.types.Field(BlockProtocolStateBlockchainStateInsertInput, graphql_name='blockchainState') + consensus_state = sgqlc.types.Field(BlockProtocolStateConsensusStateInsertInput, graphql_name='consensusState') + previous_state_hash = sgqlc.types.Field(String, graphql_name='previousStateHash') + + +class BlockProtocolStateQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('blockchain_state', 'previous_state_hash_gt', 'consensus_state_exists', 'previous_state_hash_lte', 'previous_state_hash_in', 'previous_state_hash_nin', 'blockchain_state_exists', 'consensus_state', 'previous_state_hash_ne', 'or_', 'and_', 'previous_state_hash_exists', 'previous_state_hash_gte', 'previous_state_hash_lt', 'previous_state_hash') + blockchain_state = sgqlc.types.Field(BlockProtocolStateBlockchainStateQueryInput, graphql_name='blockchainState') + previous_state_hash_gt = sgqlc.types.Field(String, graphql_name='previousStateHash_gt') + consensus_state_exists = sgqlc.types.Field(Boolean, graphql_name='consensusState_exists') + 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') + blockchain_state_exists = sgqlc.types.Field(Boolean, graphql_name='blockchainState_exists') + consensus_state = sgqlc.types.Field(BlockProtocolStateConsensusStateQueryInput, graphql_name='consensusState') + previous_state_hash_ne = sgqlc.types.Field(String, graphql_name='previousStateHash_ne') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateQueryInput')), graphql_name='OR') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateQueryInput')), graphql_name='AND') + previous_state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='previousStateHash_exists') + previous_state_hash_gte = sgqlc.types.Field(String, graphql_name='previousStateHash_gte') + previous_state_hash_lt = sgqlc.types.Field(String, graphql_name='previousStateHash_lt') + previous_state_hash = sgqlc.types.Field(String, graphql_name='previousStateHash') + + +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_lte', 'state_hash_field_exists', 'received_time_in', 'date_time_lt', 'state_hash_field_nin', 'snark_jobs_nin', 'canonical_exists', 'protocol_state', 'winner_account_exists', 'creator_ne', 'received_time', 'state_hash', 'protocol_state_exists', 'state_hash_nin', 'block_height_gte', 'state_hash_ne', 'received_time_exists', 'date_time_gte', 'block_height_ne', 'creator_in', 'received_time_gt', 'canonical_ne', 'state_hash_field_ne', 'creator_gt', 'date_time_ne', 'state_hash_exists', 'block_height', 'date_time_nin', 'or_', 'state_hash_field_lt', 'transactions_exists', 'canonical', 'creator_gte', 'received_time_nin', 'block_height_exists', 'received_time_gte', 'creator', 'state_hash_in', 'creator_lt', 'creator_exists', 'snark_jobs', 'date_time_lte', 'state_hash_gt', 'state_hash_gte', 'block_height_in', 'date_time_gt', 'winner_account', 'state_hash_lt', 'state_hash_field_lte', 'state_hash_field_gt', 'state_hash_field_in', 'block_height_lt', 'transactions', 'block_height_nin', 'state_hash_lte', 'creator_nin', 'state_hash_field', 'state_hash_field_gte', 'and_', 'received_time_lte', 'block_height_gt', 'snark_jobs_in', 'snark_jobs_exists', 'received_time_lt', 'date_time', 'date_time_exists', 'creator_account', 'date_time_in', 'received_time_ne', 'creator_lte', 'creator_account_exists') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + state_hash_field_exists = sgqlc.types.Field(Boolean, graphql_name='stateHashField_exists') + received_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='receivedTime_in') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + state_hash_field_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHashField_nin') + snark_jobs_nin = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs_nin') + canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') + protocol_state = sgqlc.types.Field(BlockProtocolStateQueryInput, graphql_name='protocolState') + winner_account_exists = sgqlc.types.Field(Boolean, graphql_name='winnerAccount_exists') + creator_ne = sgqlc.types.Field(String, graphql_name='creator_ne') + received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + protocol_state_exists = sgqlc.types.Field(Boolean, graphql_name='protocolState_exists') + state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_nin') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + state_hash_ne = sgqlc.types.Field(String, graphql_name='stateHash_ne') + received_time_exists = sgqlc.types.Field(Boolean, graphql_name='receivedTime_exists') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + creator_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='creator_in') + received_time_gt = sgqlc.types.Field(DateTime, graphql_name='receivedTime_gt') + canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') + state_hash_field_ne = sgqlc.types.Field(String, graphql_name='stateHashField_ne') + creator_gt = sgqlc.types.Field(String, graphql_name='creator_gt') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') + state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stateHash_exists') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockQueryInput')), graphql_name='OR') + state_hash_field_lt = sgqlc.types.Field(String, graphql_name='stateHashField_lt') + transactions_exists = sgqlc.types.Field(Boolean, graphql_name='transactions_exists') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + creator_gte = sgqlc.types.Field(String, graphql_name='creator_gte') + received_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='receivedTime_nin') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + received_time_gte = sgqlc.types.Field(DateTime, graphql_name='receivedTime_gte') + creator = sgqlc.types.Field(String, graphql_name='creator') + state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_in') + creator_lt = sgqlc.types.Field(String, graphql_name='creator_lt') + creator_exists = sgqlc.types.Field(Boolean, graphql_name='creator_exists') + snark_jobs = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + state_hash_gt = sgqlc.types.Field(String, graphql_name='stateHash_gt') + state_hash_gte = sgqlc.types.Field(String, graphql_name='stateHash_gte') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + winner_account = sgqlc.types.Field('BlockWinnerAccountQueryInput', graphql_name='winnerAccount') + state_hash_lt = sgqlc.types.Field(String, graphql_name='stateHash_lt') + state_hash_field_lte = sgqlc.types.Field(String, graphql_name='stateHashField_lte') + state_hash_field_gt = sgqlc.types.Field(String, graphql_name='stateHashField_gt') + state_hash_field_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHashField_in') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + transactions = sgqlc.types.Field('BlockTransactionQueryInput', graphql_name='transactions') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + state_hash_lte = sgqlc.types.Field(String, graphql_name='stateHash_lte') + creator_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='creator_nin') + state_hash_field = sgqlc.types.Field(String, graphql_name='stateHashField') + state_hash_field_gte = sgqlc.types.Field(String, graphql_name='stateHashField_gte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockQueryInput')), graphql_name='AND') + received_time_lte = sgqlc.types.Field(DateTime, graphql_name='receivedTime_lte') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + snark_jobs_in = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs_in') + snark_jobs_exists = sgqlc.types.Field(Boolean, graphql_name='snarkJobs_exists') + received_time_lt = sgqlc.types.Field(DateTime, graphql_name='receivedTime_lt') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + creator_account = sgqlc.types.Field(BlockCreatorAccountQueryInput, graphql_name='creatorAccount') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + received_time_ne = sgqlc.types.Field(DateTime, graphql_name='receivedTime_ne') + creator_lte = sgqlc.types.Field(String, graphql_name='creator_lte') + creator_account_exists = sgqlc.types.Field(Boolean, graphql_name='creatorAccount_exists') + + +class BlockSnarkJobInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('fee', 'prover', 'work_ids', 'block_height', 'block_state_hash', 'date_time') + 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') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + + +class BlockSnarkJobQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('date_time', 'prover_gt', 'fee_gte', 'date_time_exists', 'block_height_gt', 'fee_exists', 'block_state_hash_exists', 'block_height_lt', 'block_state_hash_in', 'date_time_gt', 'block_height_exists', 'and_', 'fee_lte', 'prover_nin', 'block_state_hash_gte', 'work_ids_exists', 'date_time_in', 'prover_lt', 'work_ids_nin', 'block_height_ne', 'block_height_nin', 'block_state_hash_nin', 'date_time_nin', 'block_height', 'fee', 'fee_in', 'prover_in', 'work_ids_in', 'block_state_hash_ne', 'prover_exists', 'prover_ne', 'work_ids', 'fee_nin', 'block_height_lte', 'date_time_ne', 'prover_gte', 'block_state_hash_lt', 'prover', 'block_state_hash_gt', 'prover_lte', 'block_height_gte', 'fee_ne', 'fee_gt', 'block_state_hash', 'block_state_hash_lte', 'fee_lt', 'date_time_lte', 'date_time_lt', 'block_height_in', 'date_time_gte', 'or_') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + prover_gt = sgqlc.types.Field(String, graphql_name='prover_gt') + fee_gte = sgqlc.types.Field(Int, graphql_name='fee_gte') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + block_state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_exists') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + block_state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_in') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockSnarkJobQueryInput')), graphql_name='AND') + fee_lte = sgqlc.types.Field(Int, graphql_name='fee_lte') + prover_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_nin') + block_state_hash_gte = sgqlc.types.Field(String, graphql_name='blockStateHash_gte') + work_ids_exists = sgqlc.types.Field(Boolean, graphql_name='workIds_exists') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + prover_lt = sgqlc.types.Field(String, graphql_name='prover_lt') + work_ids_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_nin') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + block_state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_nin') + date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + fee = sgqlc.types.Field(Int, graphql_name='fee') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_in') + prover_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_in') + work_ids_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_in') + block_state_hash_ne = sgqlc.types.Field(String, graphql_name='blockStateHash_ne') + prover_exists = sgqlc.types.Field(Boolean, graphql_name='prover_exists') + prover_ne = sgqlc.types.Field(String, graphql_name='prover_ne') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_nin') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') + prover_gte = sgqlc.types.Field(String, graphql_name='prover_gte') + block_state_hash_lt = sgqlc.types.Field(String, graphql_name='blockStateHash_lt') + prover = sgqlc.types.Field(String, graphql_name='prover') + block_state_hash_gt = sgqlc.types.Field(String, graphql_name='blockStateHash_gt') + prover_lte = sgqlc.types.Field(String, graphql_name='prover_lte') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + fee_ne = sgqlc.types.Field(Int, graphql_name='fee_ne') + fee_gt = sgqlc.types.Field(Int, graphql_name='fee_gt') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + block_state_hash_lte = sgqlc.types.Field(String, graphql_name='blockStateHash_lte') + fee_lt = sgqlc.types.Field(Int, graphql_name='fee_lt') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockSnarkJobQueryInput')), graphql_name='OR') + + +class BlockSnarkJobUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('block_state_hash_unset', 'block_height_inc', 'date_time_unset', 'date_time', 'block_state_hash', 'block_height_unset', 'fee_inc', 'block_height', 'work_ids_unset', 'work_ids', 'fee', 'fee_unset', 'prover', 'prover_unset') + block_state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_unset') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + fee_inc = sgqlc.types.Field(Int, graphql_name='fee_inc') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + work_ids_unset = sgqlc.types.Field(Boolean, graphql_name='workIds_unset') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + fee = sgqlc.types.Field(Int, graphql_name='fee') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + prover = sgqlc.types.Field(String, graphql_name='prover') + prover_unset = sgqlc.types.Field(Boolean, graphql_name='prover_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__ = ('and_', 'public_key_ne', 'public_key_gte', 'public_key_in', 'public_key', 'public_key_lt', 'public_key_nin', 'or_', 'public_key_lte', 'public_key_gt', 'public_key_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionCoinbaseReceiverAccountQueryInput')), graphql_name='AND') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + 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') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionCoinbaseReceiverAccountQueryInput')), graphql_name='OR') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + + +class BlockTransactionCoinbaseReceiverAccountUpdateInput(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 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__ = ('or_', 'fee_gt', 'fee_exists', 'type_in', 'fee', 'fee_gte', 'recipient_ne', 'and_', 'type_ne', 'fee_nin', 'type_lt', 'type_lte', 'recipient_in', 'recipient_lt', 'recipient_gt', 'recipient_lte', 'fee_in', 'type', 'recipient_nin', 'type_gte', 'fee_ne', 'recipient_gte', 'type_gt', 'recipient_exists', 'recipient', 'type_nin', 'fee_lte', 'fee_lt', 'type_exists') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionFeeTransferQueryInput')), graphql_name='OR') + fee_gt = sgqlc.types.Field(Long, graphql_name='fee_gt') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + type_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='type_in') + fee = sgqlc.types.Field(Long, graphql_name='fee') + fee_gte = sgqlc.types.Field(Long, graphql_name='fee_gte') + recipient_ne = sgqlc.types.Field(String, graphql_name='recipient_ne') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionFeeTransferQueryInput')), graphql_name='AND') + type_ne = sgqlc.types.Field(String, graphql_name='type_ne') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_nin') + type_lt = sgqlc.types.Field(String, graphql_name='type_lt') + type_lte = sgqlc.types.Field(String, graphql_name='type_lte') + recipient_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='recipient_in') + recipient_lt = sgqlc.types.Field(String, graphql_name='recipient_lt') + recipient_gt = sgqlc.types.Field(String, graphql_name='recipient_gt') + recipient_lte = sgqlc.types.Field(String, graphql_name='recipient_lte') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_in') + type = sgqlc.types.Field(String, graphql_name='type') + recipient_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='recipient_nin') + type_gte = sgqlc.types.Field(String, graphql_name='type_gte') + fee_ne = sgqlc.types.Field(Long, graphql_name='fee_ne') + recipient_gte = sgqlc.types.Field(String, graphql_name='recipient_gte') + type_gt = sgqlc.types.Field(String, graphql_name='type_gt') + recipient_exists = sgqlc.types.Field(Boolean, graphql_name='recipient_exists') + recipient = sgqlc.types.Field(String, graphql_name='recipient') + type_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='type_nin') + fee_lte = sgqlc.types.Field(Long, graphql_name='fee_lte') + fee_lt = sgqlc.types.Field(Long, graphql_name='fee_lt') + type_exists = sgqlc.types.Field(Boolean, graphql_name='type_exists') + + +class BlockTransactionFeeTransferUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('fee', 'fee_unset', 'recipient', 'recipient_unset', 'type', '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') + 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') + + +class BlockTransactionInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('fee_transfer', 'user_commands', 'coinbase', 'coinbase_receiver_account') + 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') + coinbase = sgqlc.types.Field(Long, graphql_name='coinbase') + coinbase_receiver_account = sgqlc.types.Field(BlockTransactionCoinbaseReceiverAccountInsertInput, graphql_name='coinbaseReceiverAccount') + + +class BlockTransactionQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('coinbase_in', 'fee_transfer_in', 'and_', 'fee_transfer', 'fee_transfer_nin', 'user_commands', 'coinbase_receiver_account_exists', 'coinbase', 'coinbase_gt', 'coinbase_gte', 'user_commands_exists', 'coinbase_lt', 'coinbase_exists', 'user_commands_in', 'user_commands_nin', 'coinbase_lte', 'coinbase_nin', 'fee_transfer_exists', 'coinbase_receiver_account', 'or_', 'coinbase_ne') + coinbase_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='coinbase_in') + fee_transfer_in = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer_in') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionQueryInput')), graphql_name='AND') + fee_transfer = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer') + fee_transfer_nin = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer_nin') + user_commands = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandQueryInput'), graphql_name='userCommands') + coinbase_receiver_account_exists = sgqlc.types.Field(Boolean, graphql_name='coinbaseReceiverAccount_exists') + coinbase = sgqlc.types.Field(Long, graphql_name='coinbase') + coinbase_gt = sgqlc.types.Field(Long, graphql_name='coinbase_gt') + coinbase_gte = sgqlc.types.Field(Long, graphql_name='coinbase_gte') + user_commands_exists = sgqlc.types.Field(Boolean, graphql_name='userCommands_exists') + coinbase_lt = sgqlc.types.Field(Long, graphql_name='coinbase_lt') + coinbase_exists = sgqlc.types.Field(Boolean, graphql_name='coinbase_exists') + user_commands_in = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandQueryInput'), graphql_name='userCommands_in') + user_commands_nin = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandQueryInput'), graphql_name='userCommands_nin') + coinbase_lte = sgqlc.types.Field(Long, graphql_name='coinbase_lte') + coinbase_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='coinbase_nin') + fee_transfer_exists = sgqlc.types.Field(Boolean, graphql_name='feeTransfer_exists') + coinbase_receiver_account = sgqlc.types.Field(BlockTransactionCoinbaseReceiverAccountQueryInput, graphql_name='coinbaseReceiverAccount') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionQueryInput')), graphql_name='OR') + coinbase_ne = sgqlc.types.Field(Long, graphql_name='coinbase_ne') + + +class BlockTransactionUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('coinbase_unset', 'coinbase_receiver_account', 'coinbase_receiver_account_unset', 'fee_transfer', 'fee_transfer_unset', 'user_commands', 'user_commands_unset', 'coinbase') + coinbase_unset = sgqlc.types.Field(Boolean, graphql_name='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') + + +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_gt', 'token_lte', 'or_', 'token_gte', 'token_exists', 'and_', 'token_ne', 'token_lt', 'token_nin', 'token_in', 'token') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFeePayerQueryInput')), graphql_name='OR') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFeePayerQueryInput')), graphql_name='AND') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + token = sgqlc.types.Field(Int, graphql_name='token') + + +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__ = ('and_', 'token_lte', 'token_in', 'token_nin', 'token_gt', 'token_gte', 'or_', 'token', 'token_lt', 'token_exists', 'token_ne') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFromAccountQueryInput')), graphql_name='AND') + 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_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + 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_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + + +class BlockTransactionUserCommandFromAccountUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token', 'token_unset', 'token_inc') + token = sgqlc.types.Field(Int, graphql_name='token') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + + +class BlockTransactionUserCommandInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('fee_token', 'receiver', 'block_height', 'from_account', 'hash', 'block_state_hash', 'date_time', 'amount', 'id', 'to', 'source', 'token', 'fee', 'from_', 'failure_reason', 'memo', 'kind', 'fee_payer', 'nonce', 'to_account', 'is_delegation') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + receiver = sgqlc.types.Field('BlockTransactionUserCommandReceiverInsertInput', graphql_name='receiver') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + from_account = sgqlc.types.Field(BlockTransactionUserCommandFromAccountInsertInput, graphql_name='fromAccount') + hash = sgqlc.types.Field(String, graphql_name='hash') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + amount = sgqlc.types.Field(Int, graphql_name='amount') + id = sgqlc.types.Field(String, graphql_name='id') + to = sgqlc.types.Field(String, graphql_name='to') + source = sgqlc.types.Field('BlockTransactionUserCommandSourceInsertInput', graphql_name='source') + token = sgqlc.types.Field(Int, graphql_name='token') + fee = sgqlc.types.Field(Int, graphql_name='fee') + from_ = sgqlc.types.Field(String, graphql_name='from') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + memo = sgqlc.types.Field(String, graphql_name='memo') + kind = sgqlc.types.Field(String, graphql_name='kind') + fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerInsertInput, graphql_name='feePayer') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + to_account = sgqlc.types.Field('BlockTransactionUserCommandToAccountInsertInput', graphql_name='toAccount') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + + +class BlockTransactionUserCommandQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('memo_ne', 'amount_lte', 'hash_gte', 'fee_lt', 'hash_lte', 'from_gt', 'token_gt', 'date_time_in', 'receiver', 'memo_exists', 'block_state_hash_lte', 'from_in', 'failure_reason_in', 'hash_nin', 'to', 'fee_nin', 'hash_exists', 'to_account_exists', 'from_', 'date_time_gte', 'token_lte', 'fee_token_ne', 'kind_exists', 'fee_payer_exists', 'block_height_exists', 'from_exists', 'nonce_ne', 'block_height_lte', 'kind_gt', 'block_state_hash_gte', 'fee_token_exists', 'date_time_nin', 'block_state_hash_lt', 'block_height_in', 'nonce_gt', 'fee', 'from_account_exists', 'amount_in', 'nonce_lt', 'fee_token_nin', 'token_lt', 'date_time', 'amount', 'fee_lte', 'memo_gte', 'failure_reason_gte', 'token_nin', 'fee_token_in', 'id_gt', 'id_exists', 'to_gte', 'nonce_lte', 'memo_lte', 'nonce_exists', 'date_time_lt', 'id_nin', 'source_exists', 'source', 'from_ne', 'hash_gt', 'from_account', 'fee_ne', 'failure_reason_nin', 'hash', 'date_time_gt', 'kind', 'failure_reason_gt', 'id', 'id_gte', 'nonce', 'amount_gte', 'from_nin', 'block_height', 'block_state_hash', 'hash_ne', 'token_in', 'failure_reason_exists', 'id_lte', 'fee_gt', 'memo_nin', 'is_delegation_ne', 'amount_nin', 'amount_gt', 'memo', 'block_height_lt', 'block_state_hash_exists', 'fee_token', 'to_gt', 'date_time_lte', 'kind_lt', 'hash_lt', 'fee_exists', 'block_height_nin', 'amount_lt', 'failure_reason', 'date_time_exists', 'nonce_gte', 'memo_in', 'to_lt', 'to_exists', 'block_height_gt', 'kind_gte', 'kind_nin', 'memo_gt', 'fee_token_gte', 'id_lt', 'hash_in', 'block_height_ne', 'id_ne', 'block_state_hash_nin', 'to_in', 'failure_reason_lte', 'to_ne', 'token_exists', 'kind_lte', 'fee_token_lt', 'block_height_gte', 'token_ne', 'kind_in', 'fee_payer', 'amount_exists', 'is_delegation_exists', 'block_state_hash_gt', 'date_time_ne', 'token', 'fee_token_lte', 'failure_reason_ne', 'id_in', 'fee_token_gt', 'receiver_exists', 'token_gte', 'block_state_hash_ne', 'nonce_nin', 'from_lt', 'block_state_hash_in', 'from_lte', 'memo_lt', 'amount_ne', 'to_nin', 'or_', 'to_lte', 'and_', 'fee_gte', 'to_account', 'is_delegation', 'kind_ne', 'nonce_in', 'from_gte', 'failure_reason_lt', 'fee_in') + memo_ne = sgqlc.types.Field(String, graphql_name='memo_ne') + amount_lte = sgqlc.types.Field(Int, graphql_name='amount_lte') + hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') + fee_lt = sgqlc.types.Field(Int, graphql_name='fee_lt') + hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') + from_gt = sgqlc.types.Field(String, graphql_name='from_gt') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + receiver = sgqlc.types.Field('BlockTransactionUserCommandReceiverQueryInput', graphql_name='receiver') + memo_exists = sgqlc.types.Field(Boolean, graphql_name='memo_exists') + block_state_hash_lte = sgqlc.types.Field(String, graphql_name='blockStateHash_lte') + from_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_in') + failure_reason_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_in') + hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') + to = sgqlc.types.Field(String, graphql_name='to') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_nin') + hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') + to_account_exists = sgqlc.types.Field(Boolean, graphql_name='toAccount_exists') + from_ = sgqlc.types.Field(String, graphql_name='from') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + fee_token_ne = sgqlc.types.Field(Int, graphql_name='feeToken_ne') + kind_exists = sgqlc.types.Field(Boolean, graphql_name='kind_exists') + fee_payer_exists = sgqlc.types.Field(Boolean, graphql_name='feePayer_exists') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + from_exists = sgqlc.types.Field(Boolean, graphql_name='from_exists') + nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + kind_gt = sgqlc.types.Field(String, graphql_name='kind_gt') + block_state_hash_gte = sgqlc.types.Field(String, graphql_name='blockStateHash_gte') + fee_token_exists = sgqlc.types.Field(Boolean, graphql_name='feeToken_exists') + date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') + block_state_hash_lt = sgqlc.types.Field(String, graphql_name='blockStateHash_lt') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') + fee = sgqlc.types.Field(Int, graphql_name='fee') + from_account_exists = sgqlc.types.Field(Boolean, graphql_name='fromAccount_exists') + amount_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='amount_in') + nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') + fee_token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_nin') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + amount = sgqlc.types.Field(Int, graphql_name='amount') + fee_lte = sgqlc.types.Field(Int, graphql_name='fee_lte') + memo_gte = sgqlc.types.Field(String, graphql_name='memo_gte') + failure_reason_gte = sgqlc.types.Field(String, graphql_name='failureReason_gte') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + fee_token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_in') + id_gt = sgqlc.types.Field(String, graphql_name='id_gt') + id_exists = sgqlc.types.Field(Boolean, graphql_name='id_exists') + to_gte = sgqlc.types.Field(String, graphql_name='to_gte') + nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') + memo_lte = sgqlc.types.Field(String, graphql_name='memo_lte') + nonce_exists = sgqlc.types.Field(Boolean, graphql_name='nonce_exists') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_nin') + source_exists = sgqlc.types.Field(Boolean, graphql_name='source_exists') + source = sgqlc.types.Field('BlockTransactionUserCommandSourceQueryInput', graphql_name='source') + from_ne = sgqlc.types.Field(String, graphql_name='from_ne') + hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') + from_account = sgqlc.types.Field(BlockTransactionUserCommandFromAccountQueryInput, graphql_name='fromAccount') + fee_ne = sgqlc.types.Field(Int, graphql_name='fee_ne') + failure_reason_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_nin') + hash = sgqlc.types.Field(String, graphql_name='hash') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + kind = sgqlc.types.Field(String, graphql_name='kind') + failure_reason_gt = sgqlc.types.Field(String, graphql_name='failureReason_gt') + id = sgqlc.types.Field(String, graphql_name='id') + id_gte = sgqlc.types.Field(String, graphql_name='id_gte') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + amount_gte = sgqlc.types.Field(Int, graphql_name='amount_gte') + from_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_nin') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + failure_reason_exists = sgqlc.types.Field(Boolean, graphql_name='failureReason_exists') + id_lte = sgqlc.types.Field(String, graphql_name='id_lte') + fee_gt = sgqlc.types.Field(Int, graphql_name='fee_gt') + memo_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_nin') + is_delegation_ne = sgqlc.types.Field(Boolean, graphql_name='isDelegation_ne') + amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='amount_nin') + amount_gt = sgqlc.types.Field(Int, graphql_name='amount_gt') + memo = sgqlc.types.Field(String, graphql_name='memo') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + block_state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_exists') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + to_gt = sgqlc.types.Field(String, graphql_name='to_gt') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + kind_lt = sgqlc.types.Field(String, graphql_name='kind_lt') + hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + amount_lt = sgqlc.types.Field(Int, graphql_name='amount_lt') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') + memo_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_in') + to_lt = sgqlc.types.Field(String, graphql_name='to_lt') + to_exists = sgqlc.types.Field(Boolean, graphql_name='to_exists') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + kind_gte = sgqlc.types.Field(String, graphql_name='kind_gte') + kind_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_nin') + memo_gt = sgqlc.types.Field(String, graphql_name='memo_gt') + fee_token_gte = sgqlc.types.Field(Int, graphql_name='feeToken_gte') + id_lt = sgqlc.types.Field(String, graphql_name='id_lt') + hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + id_ne = sgqlc.types.Field(String, graphql_name='id_ne') + block_state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_nin') + to_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_in') + failure_reason_lte = sgqlc.types.Field(String, graphql_name='failureReason_lte') + to_ne = sgqlc.types.Field(String, graphql_name='to_ne') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + kind_lte = sgqlc.types.Field(String, graphql_name='kind_lte') + fee_token_lt = sgqlc.types.Field(Int, graphql_name='feeToken_lt') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + kind_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_in') + fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerQueryInput, graphql_name='feePayer') + amount_exists = sgqlc.types.Field(Boolean, graphql_name='amount_exists') + is_delegation_exists = sgqlc.types.Field(Boolean, graphql_name='isDelegation_exists') + block_state_hash_gt = sgqlc.types.Field(String, graphql_name='blockStateHash_gt') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') + token = sgqlc.types.Field(Int, graphql_name='token') + fee_token_lte = sgqlc.types.Field(Int, graphql_name='feeToken_lte') + failure_reason_ne = sgqlc.types.Field(String, graphql_name='failureReason_ne') + id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_in') + fee_token_gt = sgqlc.types.Field(Int, graphql_name='feeToken_gt') + receiver_exists = sgqlc.types.Field(Boolean, graphql_name='receiver_exists') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + block_state_hash_ne = sgqlc.types.Field(String, graphql_name='blockStateHash_ne') + nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') + from_lt = sgqlc.types.Field(String, graphql_name='from_lt') + block_state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_in') + from_lte = sgqlc.types.Field(String, graphql_name='from_lte') + memo_lt = sgqlc.types.Field(String, graphql_name='memo_lt') + amount_ne = sgqlc.types.Field(Int, graphql_name='amount_ne') + to_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_nin') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandQueryInput')), graphql_name='OR') + to_lte = sgqlc.types.Field(String, graphql_name='to_lte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandQueryInput')), graphql_name='AND') + fee_gte = sgqlc.types.Field(Int, graphql_name='fee_gte') + to_account = sgqlc.types.Field('BlockTransactionUserCommandToAccountQueryInput', graphql_name='toAccount') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + kind_ne = sgqlc.types.Field(String, graphql_name='kind_ne') + nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') + from_gte = sgqlc.types.Field(String, graphql_name='from_gte') + failure_reason_lt = sgqlc.types.Field(String, graphql_name='failureReason_lt') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_in') + + +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_ne', 'public_key_gte', 'and_', 'public_key', 'public_key_nin', 'public_key_lte', 'or_', 'public_key_gt', 'public_key_exists', 'public_key_lt', 'public_key_in') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandReceiverQueryInput')), graphql_name='AND') + 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_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandReceiverQueryInput')), graphql_name='OR') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + 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') + + +class BlockTransactionUserCommandReceiverUpdateInput(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 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_gt', 'or_', 'public_key_exists', 'public_key_lt', 'public_key_ne', 'public_key_lte', 'public_key_gte', 'and_', 'public_key_in', 'public_key_nin', 'public_key') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandSourceQueryInput')), graphql_name='OR') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandSourceQueryInput')), 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 = sgqlc.types.Field(String, graphql_name='publicKey') + + +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__ = ('token', 'token_lte', 'and_', 'token_lt', 'token_ne', 'or_', 'token_exists', 'token_in', 'token_gt', 'token_gte', 'token_nin') + token = sgqlc.types.Field(Int, graphql_name='token') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandToAccountQueryInput')), graphql_name='AND') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandToAccountQueryInput')), graphql_name='OR') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + + +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__ = ('fee_payer', 'source_unset', 'kind_unset', 'amount_unset', 'block_height', 'block_state_hash_unset', 'from_account_unset', 'source', 'date_time', 'amount_inc', 'block_height_unset', 'nonce', 'fee_token', 'is_delegation', 'hash_unset', 'from_account', 'token_inc', 'receiver_unset', 'date_time_unset', 'kind', 'to_unset', 'block_state_hash', 'memo', 'memo_unset', 'fee_unset', 'fee_token_unset', 'nonce_inc', 'fee_token_inc', 'is_delegation_unset', 'failure_reason', 'failure_reason_unset', 'receiver', 'token_unset', 'nonce_unset', 'to', 'token', 'fee', 'fee_inc', 'id_unset', 'block_height_inc', 'from_unset', 'id', 'amount', 'to_account', 'from_', 'fee_payer_unset', 'hash', 'to_account_unset') + fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerUpdateInput, graphql_name='feePayer') + source_unset = sgqlc.types.Field(Boolean, graphql_name='source_unset') + kind_unset = sgqlc.types.Field(Boolean, graphql_name='kind_unset') + amount_unset = sgqlc.types.Field(Boolean, graphql_name='amount_unset') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + block_state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_unset') + from_account_unset = sgqlc.types.Field(Boolean, graphql_name='fromAccount_unset') + source = sgqlc.types.Field(BlockTransactionUserCommandSourceUpdateInput, graphql_name='source') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + amount_inc = sgqlc.types.Field(Int, graphql_name='amount_inc') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') + from_account = sgqlc.types.Field(BlockTransactionUserCommandFromAccountUpdateInput, graphql_name='fromAccount') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + receiver_unset = sgqlc.types.Field(Boolean, graphql_name='receiver_unset') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + kind = sgqlc.types.Field(String, graphql_name='kind') + to_unset = sgqlc.types.Field(Boolean, graphql_name='to_unset') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + memo = sgqlc.types.Field(String, graphql_name='memo') + memo_unset = sgqlc.types.Field(Boolean, graphql_name='memo_unset') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + fee_token_unset = sgqlc.types.Field(Boolean, graphql_name='feeToken_unset') + nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') + fee_token_inc = sgqlc.types.Field(Int, graphql_name='feeToken_inc') + is_delegation_unset = sgqlc.types.Field(Boolean, graphql_name='isDelegation_unset') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + failure_reason_unset = sgqlc.types.Field(Boolean, graphql_name='failureReason_unset') + receiver = sgqlc.types.Field(BlockTransactionUserCommandReceiverUpdateInput, graphql_name='receiver') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') + to = sgqlc.types.Field(String, graphql_name='to') + token = sgqlc.types.Field(Int, graphql_name='token') + fee = sgqlc.types.Field(Int, graphql_name='fee') + fee_inc = sgqlc.types.Field(Int, graphql_name='fee_inc') + id_unset = sgqlc.types.Field(Boolean, graphql_name='id_unset') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + from_unset = sgqlc.types.Field(Boolean, graphql_name='from_unset') + id = sgqlc.types.Field(String, graphql_name='id') + amount = sgqlc.types.Field(Int, graphql_name='amount') + to_account = sgqlc.types.Field(BlockTransactionUserCommandToAccountUpdateInput, graphql_name='toAccount') + from_ = sgqlc.types.Field(String, graphql_name='from') + fee_payer_unset = sgqlc.types.Field(Boolean, graphql_name='feePayer_unset') + hash = sgqlc.types.Field(String, graphql_name='hash') + to_account_unset = sgqlc.types.Field(Boolean, graphql_name='toAccount_unset') + + +class BlockUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('date_time_unset', 'creator_unset', 'canonical_unset', 'protocol_state_unset', 'transactions', 'protocol_state', 'snark_jobs_unset', 'state_hash_unset', 'winner_account', 'winner_account_unset', 'creator_account', 'state_hash_field', 'date_time', 'snark_jobs', 'state_hash', 'received_time', 'received_time_unset', 'canonical', 'state_hash_field_unset', 'block_height', 'transactions_unset', 'block_height_inc', 'block_height_unset', 'creator', 'creator_account_unset') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + creator_unset = sgqlc.types.Field(Boolean, graphql_name='creator_unset') + canonical_unset = sgqlc.types.Field(Boolean, graphql_name='canonical_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') + snark_jobs_unset = sgqlc.types.Field(Boolean, graphql_name='snarkJobs_unset') + state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='stateHash_unset') + winner_account = sgqlc.types.Field('BlockWinnerAccountUpdateInput', graphql_name='winnerAccount') + winner_account_unset = sgqlc.types.Field(Boolean, graphql_name='winnerAccount_unset') + creator_account = sgqlc.types.Field(BlockCreatorAccountUpdateInput, graphql_name='creatorAccount') + state_hash_field = sgqlc.types.Field(String, graphql_name='stateHashField') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + snark_jobs = sgqlc.types.Field(sgqlc.types.list_of(BlockSnarkJobUpdateInput), graphql_name='snarkJobs') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') + received_time_unset = sgqlc.types.Field(Boolean, graphql_name='receivedTime_unset') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + state_hash_field_unset = sgqlc.types.Field(Boolean, graphql_name='stateHashField_unset') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + transactions_unset = sgqlc.types.Field(Boolean, graphql_name='transactions_unset') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + creator = sgqlc.types.Field(String, graphql_name='creator') + creator_account_unset = sgqlc.types.Field(Boolean, graphql_name='creatorAccount_unset') + + +class BlockWinnerAccountBalanceInsertInput(sgqlc.types.Input): + __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 BlockWinnerAccountBalanceQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('and_', 'unknown_gt', 'total', 'locked_in', 'total_lt', 'liquid_lte', 'state_hash', 'unknown_in', 'state_hash_lt', 'unknown_lte', 'liquid_exists', 'locked_lt', 'liquid_nin', 'state_hash_in', 'block_height_lt', 'block_height_gt', 'unknown_lt', 'block_height_lte', 'liquid', 'block_height_exists', 'state_hash_gte', 'liquid_in', 'total_lte', 'total_gte', 'block_height_nin', 'liquid_ne', 'total_nin', 'unknown_gte', 'total_gt', 'locked_gt', 'total_ne', 'block_height_ne', 'block_height_gte', 'total_in', 'locked_ne', 'unknown_nin', 'unknown', 'state_hash_ne', 'locked_exists', 'locked_lte', 'locked_gte', 'unknown_ne', 'liquid_gt', 'liquid_gte', 'unknown_exists', 'block_height_in', 'locked_nin', 'locked', 'state_hash_lte', 'state_hash_exists', 'state_hash_gt', 'total_exists', 'block_height', 'state_hash_nin', 'liquid_lt', 'or_') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountBalanceQueryInput')), graphql_name='AND') + unknown_gt = sgqlc.types.Field(Long, graphql_name='unknown_gt') + total = sgqlc.types.Field(Long, graphql_name='total') + locked_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='locked_in') + total_lt = sgqlc.types.Field(Long, graphql_name='total_lt') + liquid_lte = sgqlc.types.Field(Int, graphql_name='liquid_lte') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + unknown_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='unknown_in') + state_hash_lt = sgqlc.types.Field(String, graphql_name='stateHash_lt') + unknown_lte = sgqlc.types.Field(Long, graphql_name='unknown_lte') + liquid_exists = sgqlc.types.Field(Boolean, graphql_name='liquid_exists') + locked_lt = sgqlc.types.Field(Long, graphql_name='locked_lt') + liquid_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='liquid_nin') + state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_in') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + unknown_lt = sgqlc.types.Field(Long, graphql_name='unknown_lt') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + liquid = sgqlc.types.Field(Int, graphql_name='liquid') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + state_hash_gte = sgqlc.types.Field(String, graphql_name='stateHash_gte') + liquid_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='liquid_in') + total_lte = sgqlc.types.Field(Long, graphql_name='total_lte') + total_gte = sgqlc.types.Field(Long, graphql_name='total_gte') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + liquid_ne = sgqlc.types.Field(Int, graphql_name='liquid_ne') + total_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='total_nin') + unknown_gte = sgqlc.types.Field(Long, graphql_name='unknown_gte') + total_gt = sgqlc.types.Field(Long, graphql_name='total_gt') + locked_gt = sgqlc.types.Field(Long, graphql_name='locked_gt') + total_ne = sgqlc.types.Field(Long, graphql_name='total_ne') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + total_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='total_in') + locked_ne = sgqlc.types.Field(Long, graphql_name='locked_ne') + unknown_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='unknown_nin') + unknown = sgqlc.types.Field(Long, graphql_name='unknown') + state_hash_ne = sgqlc.types.Field(String, graphql_name='stateHash_ne') + locked_exists = sgqlc.types.Field(Boolean, graphql_name='locked_exists') + locked_lte = sgqlc.types.Field(Long, graphql_name='locked_lte') + locked_gte = sgqlc.types.Field(Long, graphql_name='locked_gte') + unknown_ne = sgqlc.types.Field(Long, graphql_name='unknown_ne') + liquid_gt = sgqlc.types.Field(Int, graphql_name='liquid_gt') + liquid_gte = sgqlc.types.Field(Int, graphql_name='liquid_gte') + unknown_exists = sgqlc.types.Field(Boolean, graphql_name='unknown_exists') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + locked_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='locked_nin') + locked = sgqlc.types.Field(Long, graphql_name='locked') + state_hash_lte = sgqlc.types.Field(String, graphql_name='stateHash_lte') + state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stateHash_exists') + state_hash_gt = sgqlc.types.Field(String, graphql_name='stateHash_gt') + total_exists = sgqlc.types.Field(Boolean, graphql_name='total_exists') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_nin') + liquid_lt = sgqlc.types.Field(Int, graphql_name='liquid_lt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountBalanceQueryInput')), graphql_name='OR') + + +class BlockWinnerAccountBalanceUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('locked_unset', 'total', 'block_height_unset', 'state_hash_unset', 'liquid_unset', 'liquid', 'locked', 'block_height_inc', 'block_height', 'unknown', 'liquid_inc', 'unknown_unset', 'total_unset', 'state_hash') + locked_unset = sgqlc.types.Field(Boolean, graphql_name='locked_unset') + total = sgqlc.types.Field(Long, graphql_name='total') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='stateHash_unset') + liquid_unset = sgqlc.types.Field(Boolean, graphql_name='liquid_unset') + liquid = sgqlc.types.Field(Int, graphql_name='liquid') + locked = sgqlc.types.Field(Long, graphql_name='locked') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + unknown = sgqlc.types.Field(Long, graphql_name='unknown') + liquid_inc = sgqlc.types.Field(Int, graphql_name='liquid_inc') + unknown_unset = sgqlc.types.Field(Boolean, graphql_name='unknown_unset') + total_unset = sgqlc.types.Field(Boolean, graphql_name='total_unset') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + + +class BlockWinnerAccountInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('balance', 'public_key') + balance = sgqlc.types.Field(BlockWinnerAccountBalanceInsertInput, graphql_name='balance') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + + +class BlockWinnerAccountQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key_lt', 'public_key_ne', 'or_', 'balance', 'public_key', 'public_key_gte', 'and_', 'public_key_lte', 'public_key_nin', 'public_key_gt', 'public_key_in', 'public_key_exists', 'balance_exists') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountQueryInput')), graphql_name='OR') + balance = sgqlc.types.Field(BlockWinnerAccountBalanceQueryInput, graphql_name='balance') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountQueryInput')), graphql_name='AND') + 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_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + balance_exists = sgqlc.types.Field(Boolean, graphql_name='balance_exists') + + +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 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__ = ('prover', 'work_ids', 'block_height', 'block', 'canonical', 'date_time', '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') + 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(Int, graphql_name='fee') + + +class SnarkQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('prover_ne', 'date_time_gte', 'fee_lte', 'work_ids_exists', 'block_height_nin', 'canonical', 'canonical_ne', 'block_height_ne', 'date_time_ne', 'block_height_exists', 'fee', 'work_ids_in', 'block_height_gte', 'prover_in', 'fee_gt', 'date_time', 'fee_exists', 'fee_lt', 'fee_gte', 'prover_lt', 'canonical_exists', 'date_time_in', 'prover_nin', 'work_ids', 'block_height_lte', 'prover_gte', 'block_height_in', 'prover_lte', 'date_time_gt', 'prover_gt', 'prover_exists', 'date_time_lt', 'block_height', 'date_time_exists', 'fee_ne', 'work_ids_nin', 'or_', 'date_time_nin', 'block_height_gt', 'block_height_lt', 'date_time_lte', 'fee_nin', 'block_exists', 'fee_in', 'prover', 'block', 'and_') + prover_ne = sgqlc.types.Field(String, graphql_name='prover_ne') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + fee_lte = sgqlc.types.Field(Int, graphql_name='fee_lte') + work_ids_exists = sgqlc.types.Field(Boolean, graphql_name='workIds_exists') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + fee = sgqlc.types.Field(Int, graphql_name='fee') + work_ids_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_in') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + prover_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_in') + fee_gt = sgqlc.types.Field(Int, graphql_name='fee_gt') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + fee_lt = sgqlc.types.Field(Int, graphql_name='fee_lt') + fee_gte = sgqlc.types.Field(Int, graphql_name='fee_gte') + prover_lt = sgqlc.types.Field(String, graphql_name='prover_lt') + canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + prover_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_nin') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + prover_gte = sgqlc.types.Field(String, graphql_name='prover_gte') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + prover_lte = sgqlc.types.Field(String, graphql_name='prover_lte') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + prover_gt = sgqlc.types.Field(String, graphql_name='prover_gt') + prover_exists = sgqlc.types.Field(Boolean, graphql_name='prover_exists') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + fee_ne = sgqlc.types.Field(Int, graphql_name='fee_ne') + work_ids_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_nin') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SnarkQueryInput')), graphql_name='OR') + date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_nin') + block_exists = sgqlc.types.Field(Boolean, graphql_name='block_exists') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_in') + prover = sgqlc.types.Field(String, graphql_name='prover') + block = sgqlc.types.Field(BlockQueryInput, graphql_name='block') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SnarkQueryInput')), graphql_name='AND') + + +class SnarkUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('block_height_inc', 'block', 'canonical_unset', 'date_time', 'canonical', 'fee', 'prover_unset', 'block_height_unset', 'block_unset', 'work_ids', 'block_height', 'date_time_unset', 'fee_inc', 'fee_unset', 'prover', 'work_ids_unset') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + block = sgqlc.types.Field(SnarkBlockStateHashRelationInput, graphql_name='block') + canonical_unset = sgqlc.types.Field(Boolean, graphql_name='canonical_unset') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + 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') + block_unset = sgqlc.types.Field(Boolean, graphql_name='block_unset') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + fee_inc = sgqlc.types.Field(Int, graphql_name='fee_inc') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + prover = sgqlc.types.Field(String, graphql_name='prover') + work_ids_unset = sgqlc.types.Field(Boolean, graphql_name='workIds_unset') + + +class StakeInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('receipt_chain_hash', 'epoch', 'ledger_hash', 'balance', 'delegate', 'timing', 'chain_id', 'public_key', 'voting_for', 'token', 'nonce', 'permissions') + receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + balance = sgqlc.types.Field(Float, graphql_name='balance') + delegate = sgqlc.types.Field(String, graphql_name='delegate') + timing = sgqlc.types.Field('StakeTimingInsertInput', graphql_name='timing') + chain_id = sgqlc.types.Field(String, graphql_name='chainId') + public_key = sgqlc.types.Field(String, graphql_name='public_key') + voting_for = sgqlc.types.Field(String, graphql_name='voting_for') + token = sgqlc.types.Field(Int, graphql_name='token') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + permissions = sgqlc.types.Field('StakePermissionInsertInput', graphql_name='permissions') + + +class StakePermissionInsertInput(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 StakePermissionQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('send', 'set_delegate_lte', 'set_permissions_in', 'or_', 'stake_exists', 'set_delegate_lt', 'set_permissions_nin', 'edit_state_in', 'edit_state_gte', 'send_gt', 'set_verification_key_ne', 'set_delegate', 'stake', 'edit_state', 'set_delegate_in', 'edit_state_gt', 'set_delegate_nin', 'set_permissions_gt', 'send_gte', 'send_lt', 'set_delegate_gte', 'set_permissions_lt', 'set_verification_key_gt', 'set_permissions_lte', 'set_verification_key_exists', 'set_verification_key_gte', 'set_permissions_ne', 'set_delegate_exists', 'set_permissions_exists', 'send_lte', 'set_verification_key_nin', 'send_nin', 'set_verification_key_in', 'edit_state_lt', 'edit_state_ne', 'set_delegate_ne', 'set_verification_key', 'set_verification_key_lt', 'set_permissions', 'and_', 'send_exists', 'send_in', 'edit_state_nin', 'set_delegate_gt', 'edit_state_lte', 'edit_state_exists', 'send_ne', 'set_verification_key_lte', 'set_permissions_gte', 'stake_ne') + send = sgqlc.types.Field(String, graphql_name='send') + set_delegate_lte = sgqlc.types.Field(String, graphql_name='set_delegate_lte') + set_permissions_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_permissions_in') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakePermissionQueryInput')), graphql_name='OR') + stake_exists = sgqlc.types.Field(Boolean, graphql_name='stake_exists') + 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') + edit_state_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='edit_state_in') + edit_state_gte = sgqlc.types.Field(String, graphql_name='edit_state_gte') + send_gt = sgqlc.types.Field(String, graphql_name='send_gt') + set_verification_key_ne = sgqlc.types.Field(String, graphql_name='set_verification_key_ne') + set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') + stake = sgqlc.types.Field(Boolean, graphql_name='stake') + edit_state = sgqlc.types.Field(String, graphql_name='edit_state') + set_delegate_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_delegate_in') + edit_state_gt = sgqlc.types.Field(String, graphql_name='edit_state_gt') + set_delegate_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_delegate_nin') + set_permissions_gt = sgqlc.types.Field(String, graphql_name='set_permissions_gt') + send_gte = sgqlc.types.Field(String, graphql_name='send_gte') + send_lt = sgqlc.types.Field(String, graphql_name='send_lt') + set_delegate_gte = sgqlc.types.Field(String, graphql_name='set_delegate_gte') + set_permissions_lt = sgqlc.types.Field(String, graphql_name='set_permissions_lt') + set_verification_key_gt = sgqlc.types.Field(String, graphql_name='set_verification_key_gt') + set_permissions_lte = sgqlc.types.Field(String, graphql_name='set_permissions_lte') + set_verification_key_exists = sgqlc.types.Field(Boolean, graphql_name='set_verification_key_exists') + set_verification_key_gte = sgqlc.types.Field(String, graphql_name='set_verification_key_gte') + set_permissions_ne = sgqlc.types.Field(String, graphql_name='set_permissions_ne') + set_delegate_exists = sgqlc.types.Field(Boolean, graphql_name='set_delegate_exists') + set_permissions_exists = sgqlc.types.Field(Boolean, graphql_name='set_permissions_exists') + send_lte = sgqlc.types.Field(String, graphql_name='send_lte') + set_verification_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_verification_key_nin') + send_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='send_nin') + set_verification_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_verification_key_in') + edit_state_lt = sgqlc.types.Field(String, graphql_name='edit_state_lt') + edit_state_ne = sgqlc.types.Field(String, graphql_name='edit_state_ne') + set_delegate_ne = sgqlc.types.Field(String, graphql_name='set_delegate_ne') + set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') + set_verification_key_lt = sgqlc.types.Field(String, graphql_name='set_verification_key_lt') + set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakePermissionQueryInput')), graphql_name='AND') + send_exists = sgqlc.types.Field(Boolean, graphql_name='send_exists') + send_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='send_in') + edit_state_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='edit_state_nin') + set_delegate_gt = sgqlc.types.Field(String, graphql_name='set_delegate_gt') + edit_state_lte = sgqlc.types.Field(String, graphql_name='edit_state_lte') + edit_state_exists = sgqlc.types.Field(Boolean, graphql_name='edit_state_exists') + send_ne = sgqlc.types.Field(String, graphql_name='send_ne') + set_verification_key_lte = sgqlc.types.Field(String, graphql_name='set_verification_key_lte') + set_permissions_gte = sgqlc.types.Field(String, graphql_name='set_permissions_gte') + stake_ne = sgqlc.types.Field(Boolean, graphql_name='stake_ne') + + +class StakePermissionUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('set_delegate_unset', 'stake', 'send', 'set_verification_key_unset', 'edit_state', 'edit_state_unset', 'set_delegate', 'set_permissions', 'set_permissions_unset', 'set_verification_key', 'send_unset', 'stake_unset') + set_delegate_unset = sgqlc.types.Field(Boolean, graphql_name='set_delegate_unset') + stake = sgqlc.types.Field(Boolean, graphql_name='stake') + send = sgqlc.types.Field(String, graphql_name='send') + set_verification_key_unset = sgqlc.types.Field(Boolean, graphql_name='set_verification_key_unset') + edit_state = sgqlc.types.Field(String, graphql_name='edit_state') + edit_state_unset = sgqlc.types.Field(Boolean, graphql_name='edit_state_unset') + set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') + set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') + set_permissions_unset = sgqlc.types.Field(Boolean, graphql_name='set_permissions_unset') + set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') + send_unset = sgqlc.types.Field(Boolean, graphql_name='send_unset') + stake_unset = sgqlc.types.Field(Boolean, graphql_name='stake_unset') + + +class StakeQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('token_gt', 'voting_for_in', 'receipt_chain_hash', 'balance_gt', 'receipt_chain_hash_lt', 'balance_lte', 'ledger_hash_nin', 'nonce', 'voting_for_lt', 'receipt_chain_hash_ne', 'token_lt', 'delegate_lte', 'balance_nin', 'public_key_gte', 'delegate_lt', 'token_lte', 'nonce_gt', 'voting_for_lte', 'chain_id_lte', 'epoch_lt', 'epoch', 'receipt_chain_hash_lte', 'receipt_chain_hash_gte', 'token_gte', 'ledger_hash_gte', 'permissions', 'delegate_ne', 'ledger_hash_lte', 'balance_gte', 'public_key_ne', 'balance_ne', 'receipt_chain_hash_nin', 'nonce_lte', 'ledger_hash_ne', 'token_exists', 'nonce_lt', 'epoch_gt', 'balance_in', 'delegate_gte', 'token_ne', 'balance', 'delegate_in', 'timing_exists', 'receipt_chain_hash_exists', 'public_key_nin', 'permissions_exists', 'voting_for', 'chain_id_lt', 'public_key_gt', 'chain_id', 'public_key', 'balance_exists', 'delegate_nin', 'receipt_chain_hash_in', 'epoch_ne', 'public_key_lte', 'receipt_chain_hash_gt', 'chain_id_ne', 'ledger_hash_in', 'token', 'chain_id_gte', 'timing', 'voting_for_exists', 'token_nin', 'voting_for_ne', 'and_', 'chain_id_in', 'public_key_lt', 'voting_for_gt', 'or_', 'nonce_exists', 'epoch_exists', 'public_key_exists', 'nonce_in', 'voting_for_nin', 'ledger_hash_exists', 'chain_id_nin', 'token_in', 'ledger_hash_gt', 'balance_lt', 'nonce_nin', 'epoch_in', 'public_key_in', 'delegate_gt', 'chain_id_gt', 'epoch_nin', 'epoch_gte', 'delegate', 'nonce_gte', 'delegate_exists', 'epoch_lte', 'ledger_hash', 'chain_id_exists', 'nonce_ne', 'ledger_hash_lt', 'voting_for_gte') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + voting_for_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='voting_for_in') + receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') + balance_gt = sgqlc.types.Field(Float, graphql_name='balance_gt') + receipt_chain_hash_lt = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_lt') + balance_lte = sgqlc.types.Field(Float, graphql_name='balance_lte') + ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='ledgerHash_nin') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + voting_for_lt = sgqlc.types.Field(String, graphql_name='voting_for_lt') + receipt_chain_hash_ne = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_ne') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + delegate_lte = sgqlc.types.Field(String, graphql_name='delegate_lte') + balance_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='balance_nin') + public_key_gte = sgqlc.types.Field(String, graphql_name='public_key_gte') + delegate_lt = sgqlc.types.Field(String, graphql_name='delegate_lt') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') + voting_for_lte = sgqlc.types.Field(String, graphql_name='voting_for_lte') + chain_id_lte = sgqlc.types.Field(String, graphql_name='chainId_lte') + epoch_lt = sgqlc.types.Field(Int, graphql_name='epoch_lt') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + receipt_chain_hash_lte = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_lte') + receipt_chain_hash_gte = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_gte') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + ledger_hash_gte = sgqlc.types.Field(String, graphql_name='ledgerHash_gte') + permissions = sgqlc.types.Field(StakePermissionQueryInput, graphql_name='permissions') + delegate_ne = sgqlc.types.Field(String, graphql_name='delegate_ne') + ledger_hash_lte = sgqlc.types.Field(String, graphql_name='ledgerHash_lte') + balance_gte = sgqlc.types.Field(Float, graphql_name='balance_gte') + public_key_ne = sgqlc.types.Field(String, graphql_name='public_key_ne') + balance_ne = sgqlc.types.Field(Float, graphql_name='balance_ne') + receipt_chain_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='receipt_chain_hash_nin') + nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') + ledger_hash_ne = sgqlc.types.Field(String, graphql_name='ledgerHash_ne') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') + epoch_gt = sgqlc.types.Field(Int, graphql_name='epoch_gt') + balance_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='balance_in') + delegate_gte = sgqlc.types.Field(String, graphql_name='delegate_gte') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + balance = sgqlc.types.Field(Float, graphql_name='balance') + delegate_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='delegate_in') + timing_exists = sgqlc.types.Field(Boolean, graphql_name='timing_exists') + receipt_chain_hash_exists = sgqlc.types.Field(Boolean, graphql_name='receipt_chain_hash_exists') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='public_key_nin') + permissions_exists = sgqlc.types.Field(Boolean, graphql_name='permissions_exists') + voting_for = sgqlc.types.Field(String, graphql_name='voting_for') + chain_id_lt = sgqlc.types.Field(String, graphql_name='chainId_lt') + public_key_gt = sgqlc.types.Field(String, graphql_name='public_key_gt') + chain_id = sgqlc.types.Field(String, graphql_name='chainId') + public_key = sgqlc.types.Field(String, graphql_name='public_key') + balance_exists = sgqlc.types.Field(Boolean, graphql_name='balance_exists') + delegate_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='delegate_nin') + receipt_chain_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='receipt_chain_hash_in') + epoch_ne = sgqlc.types.Field(Int, graphql_name='epoch_ne') + public_key_lte = sgqlc.types.Field(String, graphql_name='public_key_lte') + receipt_chain_hash_gt = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_gt') + chain_id_ne = sgqlc.types.Field(String, graphql_name='chainId_ne') + ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='ledgerHash_in') + token = sgqlc.types.Field(Int, graphql_name='token') + chain_id_gte = sgqlc.types.Field(String, graphql_name='chainId_gte') + timing = sgqlc.types.Field('StakeTimingQueryInput', graphql_name='timing') + voting_for_exists = sgqlc.types.Field(Boolean, graphql_name='voting_for_exists') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + voting_for_ne = sgqlc.types.Field(String, graphql_name='voting_for_ne') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeQueryInput')), graphql_name='AND') + chain_id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='chainId_in') + public_key_lt = sgqlc.types.Field(String, graphql_name='public_key_lt') + voting_for_gt = sgqlc.types.Field(String, graphql_name='voting_for_gt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeQueryInput')), graphql_name='OR') + nonce_exists = sgqlc.types.Field(Boolean, graphql_name='nonce_exists') + epoch_exists = sgqlc.types.Field(Boolean, graphql_name='epoch_exists') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='public_key_exists') + nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') + voting_for_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='voting_for_nin') + ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='ledgerHash_exists') + chain_id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='chainId_nin') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + ledger_hash_gt = sgqlc.types.Field(String, graphql_name='ledgerHash_gt') + balance_lt = sgqlc.types.Field(Float, graphql_name='balance_lt') + nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') + epoch_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_in') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='public_key_in') + delegate_gt = sgqlc.types.Field(String, graphql_name='delegate_gt') + chain_id_gt = sgqlc.types.Field(String, graphql_name='chainId_gt') + epoch_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_nin') + epoch_gte = sgqlc.types.Field(Int, graphql_name='epoch_gte') + delegate = sgqlc.types.Field(String, graphql_name='delegate') + nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') + delegate_exists = sgqlc.types.Field(Boolean, graphql_name='delegate_exists') + epoch_lte = sgqlc.types.Field(Int, graphql_name='epoch_lte') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + chain_id_exists = sgqlc.types.Field(Boolean, graphql_name='chainId_exists') + nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') + ledger_hash_lt = sgqlc.types.Field(String, graphql_name='ledgerHash_lt') + voting_for_gte = sgqlc.types.Field(String, graphql_name='voting_for_gte') + + +class StakeTimingInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('timed_epoch_end', 'cliff_time', 'cliff_amount', 'untimed_slot', 'vesting_increment', 'timed_weighting', 'vesting_period', 'timed_in_epoch', 'initial_minimum_balance') + timed_epoch_end = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end') + cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') + cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') + timed_weighting = sgqlc.types.Field(Float, graphql_name='timed_weighting') + vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') + timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') + initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') + + +class StakeTimingQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('untimed_slot_gt', 'initial_minimum_balance_lte', 'untimed_slot_lte', 'initial_minimum_balance', 'untimed_slot_exists', 'vesting_increment_gt', 'timed_weighting_in', 'cliff_amount_gt', 'or_', 'vesting_period', 'vesting_period_gt', 'timed_epoch_end_exists', 'cliff_amount_ne', 'timed_weighting_nin', 'cliff_time_gte', 'vesting_increment_gte', 'cliff_amount_nin', 'cliff_time_ne', 'cliff_time_lte', 'vesting_period_lte', 'cliff_time_lt', 'vesting_increment_lte', 'cliff_amount_lt', 'initial_minimum_balance_exists', 'cliff_time_gt', 'vesting_period_gte', 'timed_epoch_end_ne', 'vesting_period_nin', 'vesting_period_lt', 'untimed_slot', 'timed_weighting_ne', 'initial_minimum_balance_gte', 'untimed_slot_gte', 'initial_minimum_balance_ne', 'vesting_increment_in', 'timed_weighting_gt', 'untimed_slot_lt', 'vesting_increment_ne', 'cliff_amount_gte', 'cliff_amount_lte', 'timed_weighting', 'vesting_increment', 'vesting_increment_lt', 'cliff_time_in', 'timed_epoch_end', 'vesting_period_ne', 'vesting_increment_nin', 'timed_weighting_exists', 'initial_minimum_balance_in', 'timed_in_epoch_exists', 'timed_in_epoch', 'cliff_amount_exists', 'vesting_period_exists', 'vesting_period_in', 'timed_weighting_lte', 'timed_weighting_gte', 'and_', 'cliff_time_nin', 'timed_weighting_lt', 'untimed_slot_in', 'cliff_amount_in', 'initial_minimum_balance_nin', 'cliff_time_exists', 'initial_minimum_balance_gt', 'initial_minimum_balance_lt', 'untimed_slot_ne', 'vesting_increment_exists', 'cliff_time', 'untimed_slot_nin', 'timed_in_epoch_ne', 'cliff_amount') + untimed_slot_gt = sgqlc.types.Field(Int, graphql_name='untimed_slot_gt') + initial_minimum_balance_lte = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_lte') + untimed_slot_lte = sgqlc.types.Field(Int, graphql_name='untimed_slot_lte') + initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') + untimed_slot_exists = sgqlc.types.Field(Boolean, graphql_name='untimed_slot_exists') + vesting_increment_gt = sgqlc.types.Field(Float, graphql_name='vesting_increment_gt') + timed_weighting_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='timed_weighting_in') + cliff_amount_gt = sgqlc.types.Field(Float, graphql_name='cliff_amount_gt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeTimingQueryInput')), graphql_name='OR') + vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') + vesting_period_gt = sgqlc.types.Field(Int, graphql_name='vesting_period_gt') + timed_epoch_end_exists = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end_exists') + cliff_amount_ne = sgqlc.types.Field(Float, graphql_name='cliff_amount_ne') + timed_weighting_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='timed_weighting_nin') + cliff_time_gte = sgqlc.types.Field(Int, graphql_name='cliff_time_gte') + vesting_increment_gte = sgqlc.types.Field(Float, graphql_name='vesting_increment_gte') + cliff_amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='cliff_amount_nin') + cliff_time_ne = sgqlc.types.Field(Int, graphql_name='cliff_time_ne') + cliff_time_lte = sgqlc.types.Field(Int, graphql_name='cliff_time_lte') + vesting_period_lte = sgqlc.types.Field(Int, graphql_name='vesting_period_lte') + cliff_time_lt = sgqlc.types.Field(Int, graphql_name='cliff_time_lt') + vesting_increment_lte = sgqlc.types.Field(Float, graphql_name='vesting_increment_lte') + cliff_amount_lt = sgqlc.types.Field(Float, graphql_name='cliff_amount_lt') + initial_minimum_balance_exists = sgqlc.types.Field(Boolean, graphql_name='initial_minimum_balance_exists') + cliff_time_gt = sgqlc.types.Field(Int, graphql_name='cliff_time_gt') + vesting_period_gte = sgqlc.types.Field(Int, graphql_name='vesting_period_gte') + timed_epoch_end_ne = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end_ne') + vesting_period_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='vesting_period_nin') + vesting_period_lt = sgqlc.types.Field(Int, graphql_name='vesting_period_lt') + untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') + timed_weighting_ne = sgqlc.types.Field(Float, graphql_name='timed_weighting_ne') + initial_minimum_balance_gte = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_gte') + untimed_slot_gte = sgqlc.types.Field(Int, graphql_name='untimed_slot_gte') + initial_minimum_balance_ne = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_ne') + vesting_increment_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='vesting_increment_in') + timed_weighting_gt = sgqlc.types.Field(Float, graphql_name='timed_weighting_gt') + untimed_slot_lt = sgqlc.types.Field(Int, graphql_name='untimed_slot_lt') + vesting_increment_ne = sgqlc.types.Field(Float, graphql_name='vesting_increment_ne') + cliff_amount_gte = sgqlc.types.Field(Float, graphql_name='cliff_amount_gte') + cliff_amount_lte = sgqlc.types.Field(Float, graphql_name='cliff_amount_lte') + timed_weighting = sgqlc.types.Field(Float, graphql_name='timed_weighting') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') + 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') + timed_epoch_end = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end') + vesting_period_ne = sgqlc.types.Field(Int, graphql_name='vesting_period_ne') + vesting_increment_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='vesting_increment_nin') + timed_weighting_exists = sgqlc.types.Field(Boolean, graphql_name='timed_weighting_exists') + initial_minimum_balance_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='initial_minimum_balance_in') + timed_in_epoch_exists = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_exists') + timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') + cliff_amount_exists = sgqlc.types.Field(Boolean, graphql_name='cliff_amount_exists') + vesting_period_exists = sgqlc.types.Field(Boolean, graphql_name='vesting_period_exists') + vesting_period_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='vesting_period_in') + timed_weighting_lte = sgqlc.types.Field(Float, graphql_name='timed_weighting_lte') + timed_weighting_gte = sgqlc.types.Field(Float, graphql_name='timed_weighting_gte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeTimingQueryInput')), graphql_name='AND') + cliff_time_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='cliff_time_nin') + timed_weighting_lt = sgqlc.types.Field(Float, graphql_name='timed_weighting_lt') + untimed_slot_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='untimed_slot_in') + cliff_amount_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='cliff_amount_in') + initial_minimum_balance_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='initial_minimum_balance_nin') + cliff_time_exists = sgqlc.types.Field(Boolean, graphql_name='cliff_time_exists') + initial_minimum_balance_gt = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_gt') + initial_minimum_balance_lt = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_lt') + untimed_slot_ne = sgqlc.types.Field(Int, graphql_name='untimed_slot_ne') + vesting_increment_exists = sgqlc.types.Field(Boolean, graphql_name='vesting_increment_exists') + cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') + untimed_slot_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='untimed_slot_nin') + timed_in_epoch_ne = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_ne') + cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + + +class StakeTimingUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('vesting_increment_inc', 'timed_in_epoch_unset', 'cliff_amount', 'initial_minimum_balance_inc', 'vesting_period', 'cliff_time_inc', 'initial_minimum_balance', 'vesting_period_unset', 'untimed_slot_inc', 'untimed_slot', 'timed_weighting', 'vesting_increment_unset', 'cliff_amount_unset', 'timed_in_epoch', 'vesting_period_inc', 'initial_minimum_balance_unset', 'vesting_increment', 'untimed_slot_unset', 'timed_weighting_inc', 'timed_epoch_end', 'cliff_time_unset', 'timed_weighting_unset', 'timed_epoch_end_unset', 'cliff_amount_inc', 'cliff_time') + vesting_increment_inc = sgqlc.types.Field(Float, graphql_name='vesting_increment_inc') + timed_in_epoch_unset = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_unset') + cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + initial_minimum_balance_inc = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_inc') + vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') + cliff_time_inc = sgqlc.types.Field(Int, graphql_name='cliff_time_inc') + initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') + vesting_period_unset = sgqlc.types.Field(Boolean, graphql_name='vesting_period_unset') + untimed_slot_inc = sgqlc.types.Field(Int, graphql_name='untimed_slot_inc') + untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') + timed_weighting = sgqlc.types.Field(Float, graphql_name='timed_weighting') + vesting_increment_unset = sgqlc.types.Field(Boolean, graphql_name='vesting_increment_unset') + cliff_amount_unset = sgqlc.types.Field(Boolean, graphql_name='cliff_amount_unset') + timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') + vesting_period_inc = sgqlc.types.Field(Int, graphql_name='vesting_period_inc') + initial_minimum_balance_unset = sgqlc.types.Field(Boolean, graphql_name='initial_minimum_balance_unset') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') + untimed_slot_unset = sgqlc.types.Field(Boolean, graphql_name='untimed_slot_unset') + timed_weighting_inc = sgqlc.types.Field(Float, graphql_name='timed_weighting_inc') + timed_epoch_end = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end') + cliff_time_unset = sgqlc.types.Field(Boolean, graphql_name='cliff_time_unset') + timed_weighting_unset = sgqlc.types.Field(Boolean, graphql_name='timed_weighting_unset') + timed_epoch_end_unset = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end_unset') + cliff_amount_inc = sgqlc.types.Field(Float, graphql_name='cliff_amount_inc') + cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') + + +class StakeUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('epoch_inc', 'token', 'chain_id', 'token_unset', 'receipt_chain_hash', 'receipt_chain_hash_unset', 'public_key', 'voting_for', 'epoch', 'balance_unset', 'nonce', 'nonce_unset', 'voting_for_unset', 'delegate', 'public_key_unset', 'timing', 'chain_id_unset', 'ledger_hash', 'nonce_inc', 'permissions', 'balance', 'balance_inc', 'permissions_unset', 'timing_unset', 'ledger_hash_unset', 'delegate_unset', 'token_inc', 'epoch_unset') + epoch_inc = sgqlc.types.Field(Int, graphql_name='epoch_inc') + token = sgqlc.types.Field(Int, graphql_name='token') + chain_id = sgqlc.types.Field(String, graphql_name='chainId') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') + receipt_chain_hash_unset = sgqlc.types.Field(Boolean, graphql_name='receipt_chain_hash_unset') + public_key = sgqlc.types.Field(String, graphql_name='public_key') + voting_for = sgqlc.types.Field(String, graphql_name='voting_for') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + balance_unset = sgqlc.types.Field(Boolean, graphql_name='balance_unset') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') + voting_for_unset = sgqlc.types.Field(Boolean, graphql_name='voting_for_unset') + delegate = sgqlc.types.Field(String, graphql_name='delegate') + public_key_unset = sgqlc.types.Field(Boolean, graphql_name='public_key_unset') + timing = sgqlc.types.Field(StakeTimingUpdateInput, graphql_name='timing') + chain_id_unset = sgqlc.types.Field(Boolean, graphql_name='chainId_unset') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') + permissions = sgqlc.types.Field(StakePermissionUpdateInput, graphql_name='permissions') + balance = sgqlc.types.Field(Float, graphql_name='balance') + balance_inc = sgqlc.types.Field(Float, graphql_name='balance_inc') + permissions_unset = sgqlc.types.Field(Boolean, graphql_name='permissions_unset') + timing_unset = sgqlc.types.Field(Boolean, graphql_name='timing_unset') + ledger_hash_unset = sgqlc.types.Field(Boolean, graphql_name='ledgerHash_unset') + delegate_unset = sgqlc.types.Field(Boolean, graphql_name='delegate_unset') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + epoch_unset = sgqlc.types.Field(Boolean, graphql_name='epoch_unset') + + +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__ = ('and_', 'token', 'token_gte', 'token_in', 'token_lt', 'token_lte', 'token_nin', 'or_', 'token_exists', 'token_ne', 'token_gt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFeePayerQueryInput')), graphql_name='AND') + token = sgqlc.types.Field(Int, graphql_name='token') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + 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_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + 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', '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 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_in', 'token', 'token_lte', 'or_', 'token_lt', 'token_nin', 'token_exists', 'token_ne', 'token_gte', 'token_gt', 'and_') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + token = sgqlc.types.Field(Int, graphql_name='token') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFromAccountQueryInput')), graphql_name='OR') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + 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_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + 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') + + +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__ = ('failure_reason', 'source', 'fee_token', 'from_account', 'nonce', 'amount', 'is_delegation', 'to', 'kind', 'block_height', 'hash', 'memo', 'receiver', 'from_', 'date_time', 'id', 'to_account', 'fee_payer', 'block', 'canonical', 'fee', 'token') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + source = sgqlc.types.Field('TransactionSourceInsertInput', graphql_name='source') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + from_account = sgqlc.types.Field(TransactionFromAccountInsertInput, graphql_name='fromAccount') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + amount = sgqlc.types.Field(Long, graphql_name='amount') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + to = sgqlc.types.Field(String, graphql_name='to') + kind = sgqlc.types.Field(String, graphql_name='kind') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + hash = sgqlc.types.Field(String, graphql_name='hash') + memo = sgqlc.types.Field(String, graphql_name='memo') + receiver = sgqlc.types.Field('TransactionReceiverInsertInput', graphql_name='receiver') + from_ = sgqlc.types.Field(String, graphql_name='from') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + id = sgqlc.types.Field(String, graphql_name='id') + to_account = sgqlc.types.Field('TransactionToAccountInsertInput', graphql_name='toAccount') + fee_payer = sgqlc.types.Field(TransactionFeePayerInsertInput, graphql_name='feePayer') + block = sgqlc.types.Field(TransactionBlockStateHashRelationInput, graphql_name='block') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + fee = sgqlc.types.Field(Long, graphql_name='fee') + token = sgqlc.types.Field(Int, graphql_name='token') + + +class TransactionQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('date_time_ne', 'memo_nin', 'hash_gt', 'token_ne', 'nonce', 'date_time_nin', 'memo', 'token_exists', 'kind_gt', 'amount_gt', 'canonical_exists', 'date_time_in', 'date_time_gt', 'date_time_lt', 'failure_reason_gte', 'fee_token_gte', 'fee_token_nin', 'failure_reason', 'fee_in', 'fee_token_lt', 'from_account', 'canonical_ne', 'to_account_exists', 'id', 'failure_reason_nin', 'fee_lt', 'date_time', 'memo_gt', 'token_gte', 'memo_lte', 'id_gte', 'token_lte', 'from_', 'fee_token_ne', 'id_ne', 'from_account_exists', 'failure_reason_in', 'fee_token', 'amount_gte', 'block_height_gte', 'token_gt', 'hash_ne', 'amount_ne', 'to_ne', 'kind_in', 'date_time_gte', 'hash_gte', 'to_gt', 'to_exists', 'block_exists', 'kind_gte', 'fee_payer', 'hash_lte', 'token_in', 'fee_gte', 'amount_lt', 'is_delegation_ne', 'block_height_gt', 'id_nin', 'source', 'nonce_lte', 'kind_ne', 'is_delegation_exists', 'kind_exists', 'from_exists', 'amount_lte', 'kind_nin', 'hash', 'block_height_in', 'id_lt', 'amount', 'fee_token_in', 'token_lt', 'or_', 'fee_nin', 'from_ne', 'id_exists', 'canonical', 'nonce_in', 'hash_nin', 'hash_exists', 'token_nin', 'id_gt', 'kind', 'fee_token_gt', 'amount_exists', 'from_in', 'id_in', 'nonce_gte', 'from_nin', 'fee_exists', 'amount_in', 'amount_nin', 'nonce_exists', 'memo_exists', 'block_height_nin', 'token', 'receiver', 'kind_lt', 'to_in', 'nonce_gt', 'memo_lt', 'fee', 'block_height_ne', 'to_lt', 'fee_ne', 'fee_token_lte', 'date_time_lte', 'fee_gt', 'nonce_nin', 'from_lte', 'block_height', 'fee_lte', 'fee_payer_exists', 'is_delegation', 'block_height_lt', 'receiver_exists', 'and_', 'to_nin', 'source_exists', 'failure_reason_exists', 'from_gte', 'failure_reason_lt', 'to_gte', 'block_height_lte', 'id_lte', 'to_account', 'from_lt', 'failure_reason_lte', 'fee_token_exists', 'failure_reason_ne', 'hash_in', 'block_height_exists', 'to', 'nonce_ne', 'to_lte', 'memo_in', 'from_gt', 'hash_lt', 'failure_reason_gt', 'block', 'date_time_exists', 'kind_lte', 'memo_gte', 'nonce_lt', 'memo_ne') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') + memo_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_nin') + hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') + memo = sgqlc.types.Field(String, graphql_name='memo') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + kind_gt = sgqlc.types.Field(String, graphql_name='kind_gt') + amount_gt = sgqlc.types.Field(Long, graphql_name='amount_gt') + canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + failure_reason_gte = sgqlc.types.Field(String, graphql_name='failureReason_gte') + fee_token_gte = sgqlc.types.Field(Int, graphql_name='feeToken_gte') + fee_token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_nin') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_in') + fee_token_lt = sgqlc.types.Field(Int, graphql_name='feeToken_lt') + from_account = sgqlc.types.Field(TransactionFromAccountQueryInput, graphql_name='fromAccount') + canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') + to_account_exists = sgqlc.types.Field(Boolean, graphql_name='toAccount_exists') + id = sgqlc.types.Field(String, graphql_name='id') + failure_reason_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_nin') + fee_lt = sgqlc.types.Field(Long, graphql_name='fee_lt') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + memo_gt = sgqlc.types.Field(String, graphql_name='memo_gt') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + memo_lte = sgqlc.types.Field(String, graphql_name='memo_lte') + id_gte = sgqlc.types.Field(String, graphql_name='id_gte') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + from_ = sgqlc.types.Field(String, graphql_name='from') + fee_token_ne = sgqlc.types.Field(Int, graphql_name='feeToken_ne') + id_ne = sgqlc.types.Field(String, graphql_name='id_ne') + from_account_exists = sgqlc.types.Field(Boolean, graphql_name='fromAccount_exists') + failure_reason_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_in') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + amount_gte = sgqlc.types.Field(Long, graphql_name='amount_gte') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') + amount_ne = sgqlc.types.Field(Long, graphql_name='amount_ne') + to_ne = sgqlc.types.Field(String, graphql_name='to_ne') + kind_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_in') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') + to_gt = sgqlc.types.Field(String, graphql_name='to_gt') + to_exists = sgqlc.types.Field(Boolean, graphql_name='to_exists') + block_exists = sgqlc.types.Field(Boolean, graphql_name='block_exists') + kind_gte = sgqlc.types.Field(String, graphql_name='kind_gte') + fee_payer = sgqlc.types.Field(TransactionFeePayerQueryInput, graphql_name='feePayer') + hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + fee_gte = sgqlc.types.Field(Long, graphql_name='fee_gte') + amount_lt = sgqlc.types.Field(Long, graphql_name='amount_lt') + is_delegation_ne = sgqlc.types.Field(Boolean, graphql_name='isDelegation_ne') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_nin') + source = sgqlc.types.Field('TransactionSourceQueryInput', graphql_name='source') + nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') + kind_ne = sgqlc.types.Field(String, graphql_name='kind_ne') + is_delegation_exists = sgqlc.types.Field(Boolean, graphql_name='isDelegation_exists') + kind_exists = sgqlc.types.Field(Boolean, graphql_name='kind_exists') + from_exists = sgqlc.types.Field(Boolean, graphql_name='from_exists') + amount_lte = sgqlc.types.Field(Long, graphql_name='amount_lte') + kind_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_nin') + hash = sgqlc.types.Field(String, graphql_name='hash') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + id_lt = sgqlc.types.Field(String, graphql_name='id_lt') + amount = sgqlc.types.Field(Long, graphql_name='amount') + fee_token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_in') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionQueryInput')), graphql_name='OR') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_nin') + from_ne = sgqlc.types.Field(String, graphql_name='from_ne') + id_exists = sgqlc.types.Field(Boolean, graphql_name='id_exists') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') + hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') + hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + id_gt = sgqlc.types.Field(String, graphql_name='id_gt') + kind = sgqlc.types.Field(String, graphql_name='kind') + fee_token_gt = sgqlc.types.Field(Int, graphql_name='feeToken_gt') + amount_exists = sgqlc.types.Field(Boolean, graphql_name='amount_exists') + from_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_in') + id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_in') + nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') + from_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_nin') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + amount_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='amount_in') + amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='amount_nin') + nonce_exists = sgqlc.types.Field(Boolean, graphql_name='nonce_exists') + memo_exists = sgqlc.types.Field(Boolean, graphql_name='memo_exists') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + token = sgqlc.types.Field(Int, graphql_name='token') + receiver = sgqlc.types.Field('TransactionReceiverQueryInput', graphql_name='receiver') + kind_lt = sgqlc.types.Field(String, graphql_name='kind_lt') + to_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_in') + nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') + memo_lt = sgqlc.types.Field(String, graphql_name='memo_lt') + fee = sgqlc.types.Field(Long, graphql_name='fee') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + to_lt = sgqlc.types.Field(String, graphql_name='to_lt') + fee_ne = sgqlc.types.Field(Long, graphql_name='fee_ne') + fee_token_lte = sgqlc.types.Field(Int, graphql_name='feeToken_lte') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + fee_gt = sgqlc.types.Field(Long, graphql_name='fee_gt') + nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') + from_lte = sgqlc.types.Field(String, graphql_name='from_lte') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + fee_lte = sgqlc.types.Field(Long, graphql_name='fee_lte') + fee_payer_exists = sgqlc.types.Field(Boolean, graphql_name='feePayer_exists') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + receiver_exists = sgqlc.types.Field(Boolean, graphql_name='receiver_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionQueryInput')), graphql_name='AND') + to_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_nin') + source_exists = sgqlc.types.Field(Boolean, graphql_name='source_exists') + failure_reason_exists = sgqlc.types.Field(Boolean, graphql_name='failureReason_exists') + from_gte = sgqlc.types.Field(String, graphql_name='from_gte') + failure_reason_lt = sgqlc.types.Field(String, graphql_name='failureReason_lt') + to_gte = sgqlc.types.Field(String, graphql_name='to_gte') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + id_lte = sgqlc.types.Field(String, graphql_name='id_lte') + to_account = sgqlc.types.Field('TransactionToAccountQueryInput', graphql_name='toAccount') + from_lt = sgqlc.types.Field(String, graphql_name='from_lt') + failure_reason_lte = sgqlc.types.Field(String, graphql_name='failureReason_lte') + fee_token_exists = sgqlc.types.Field(Boolean, graphql_name='feeToken_exists') + failure_reason_ne = sgqlc.types.Field(String, graphql_name='failureReason_ne') + hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + to = sgqlc.types.Field(String, graphql_name='to') + nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') + to_lte = sgqlc.types.Field(String, graphql_name='to_lte') + memo_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_in') + from_gt = sgqlc.types.Field(String, graphql_name='from_gt') + hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') + failure_reason_gt = sgqlc.types.Field(String, graphql_name='failureReason_gt') + block = sgqlc.types.Field(BlockQueryInput, graphql_name='block') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + kind_lte = sgqlc.types.Field(String, graphql_name='kind_lte') + memo_gte = sgqlc.types.Field(String, graphql_name='memo_gte') + nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') + memo_ne = sgqlc.types.Field(String, graphql_name='memo_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_lt', 'public_key', 'public_key_gte', 'public_key_exists', 'or_', 'public_key_gt', 'public_key_lte', 'public_key_nin', 'public_key_ne', 'and_', 'public_key_in') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + 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('TransactionReceiverQueryInput')), graphql_name='OR') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + 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') + 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') + + +class TransactionReceiverUpdateInput(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 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__ = ('public_key_nin', 'public_key_lt', 'public_key_exists', 'public_key_gt', 'and_', 'public_key_in', 'or_', 'public_key', 'public_key_gte', 'public_key_lte', 'public_key_ne') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_nin') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + 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') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionSourceQueryInput')), graphql_name='OR') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + + +class TransactionSourceUpdateInput(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 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_gte', 'token_in', 'or_', 'token_lte', 'token_gt', 'token_ne', 'token', 'token_exists', 'token_lt', 'and_', 'token_nin') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionToAccountQueryInput')), graphql_name='OR') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + token = sgqlc.types.Field(Int, graphql_name='token') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionToAccountQueryInput')), graphql_name='AND') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + + +class TransactionToAccountUpdateInput(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 TransactionUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('source', 'token_unset', 'token_inc', 'fee_unset', 'from_unset', 'block_height_inc', 'nonce', 'date_time_unset', 'fee_token', 'amount', 'fee_payer', 'from_', 'fee_payer_unset', 'block_height_unset', 'block', 'memo_unset', 'token', 'nonce_unset', 'block_unset', 'canonical_unset', 'from_account', 'from_account_unset', 'fee', 'failure_reason', 'kind', 'fee_token_inc', 'canonical', 'failure_reason_unset', 'hash_unset', 'to_account', 'is_delegation', 'to_account_unset', 'amount_unset', 'fee_token_unset', 'is_delegation_unset', 'receiver', 'nonce_inc', 'block_height', 'receiver_unset', 'kind_unset', 'to_unset', 'memo', 'to', 'hash', 'date_time', 'id', 'id_unset', 'source_unset') + source = sgqlc.types.Field(TransactionSourceUpdateInput, graphql_name='source') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + from_unset = sgqlc.types.Field(Boolean, graphql_name='from_unset') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + amount = sgqlc.types.Field(Long, graphql_name='amount') + fee_payer = sgqlc.types.Field(TransactionFeePayerUpdateInput, graphql_name='feePayer') + from_ = sgqlc.types.Field(String, graphql_name='from') + fee_payer_unset = sgqlc.types.Field(Boolean, graphql_name='feePayer_unset') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + block = sgqlc.types.Field(TransactionBlockStateHashRelationInput, graphql_name='block') + memo_unset = sgqlc.types.Field(Boolean, graphql_name='memo_unset') + token = sgqlc.types.Field(Int, graphql_name='token') + nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') + block_unset = sgqlc.types.Field(Boolean, graphql_name='block_unset') + canonical_unset = sgqlc.types.Field(Boolean, graphql_name='canonical_unset') + from_account = sgqlc.types.Field(TransactionFromAccountUpdateInput, graphql_name='fromAccount') + from_account_unset = sgqlc.types.Field(Boolean, graphql_name='fromAccount_unset') + fee = sgqlc.types.Field(Long, graphql_name='fee') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + kind = sgqlc.types.Field(String, graphql_name='kind') + fee_token_inc = sgqlc.types.Field(Int, graphql_name='feeToken_inc') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + failure_reason_unset = sgqlc.types.Field(Boolean, graphql_name='failureReason_unset') + hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') + to_account = sgqlc.types.Field(TransactionToAccountUpdateInput, graphql_name='toAccount') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + to_account_unset = sgqlc.types.Field(Boolean, graphql_name='toAccount_unset') + amount_unset = sgqlc.types.Field(Boolean, graphql_name='amount_unset') + fee_token_unset = sgqlc.types.Field(Boolean, graphql_name='feeToken_unset') + is_delegation_unset = sgqlc.types.Field(Boolean, graphql_name='isDelegation_unset') + receiver = sgqlc.types.Field(TransactionReceiverUpdateInput, graphql_name='receiver') + nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + receiver_unset = sgqlc.types.Field(Boolean, graphql_name='receiver_unset') + kind_unset = sgqlc.types.Field(Boolean, graphql_name='kind_unset') + to_unset = sgqlc.types.Field(Boolean, graphql_name='to_unset') + memo = sgqlc.types.Field(String, graphql_name='memo') + to = sgqlc.types.Field(String, graphql_name='to') + hash = sgqlc.types.Field(String, graphql_name='hash') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + id = sgqlc.types.Field(String, graphql_name='id') + id_unset = sgqlc.types.Field(Boolean, graphql_name='id_unset') + source_unset = sgqlc.types.Field(Boolean, graphql_name='source_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(Long, 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(Int, 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(Int, 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_snarks', 'delete_many_stakes', 'delete_many_transactions', 'delete_one_block', 'delete_one_snark', 'delete_one_stake', 'delete_one_transaction', 'insert_many_blocks', 'insert_many_snarks', 'insert_many_stakes', 'insert_many_transactions', 'insert_one_block', 'insert_one_snark', 'insert_one_stake', 'insert_one_transaction', 'replace_one_block', 'replace_one_snark', 'replace_one_stake', 'replace_one_transaction', 'update_many_blocks', 'update_many_snarks', 'update_many_stakes', 'update_many_transactions', 'update_one_block', 'update_one_snark', 'update_one_stake', 'update_one_transaction', 'upsert_one_block', '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_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_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_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_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_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(( + ('set', sgqlc.types.Arg(sgqlc.types.non_null(BlockUpdateInput), graphql_name='set', default=None)), + ('query', sgqlc.types.Arg(BlockQueryInput, graphql_name='query', 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_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(( + ('set', sgqlc.types.Arg(sgqlc.types.non_null(TransactionUpdateInput), graphql_name='set', default=None)), + ('query', sgqlc.types.Arg(TransactionQueryInput, graphql_name='query', default=None)), +)) + ) + upsert_one_block = sgqlc.types.Field(Block, graphql_name='upsertOneBlock', 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)), +)) + ) + 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(( + ('query', sgqlc.types.Arg(StakeQueryInput, graphql_name='query', default=None)), + ('data', sgqlc.types.Arg(sgqlc.types.non_null(StakeInsertInput), graphql_name='data', 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 Query(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('block', 'blocks', '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(( + ('query', sgqlc.types.Arg(BlockQueryInput, graphql_name='query', default=None)), + ('limit', sgqlc.types.Arg(Int, graphql_name='limit', default=100)), + ('sort_by', sgqlc.types.Arg(BlockSortByInput, 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(( + ('sort_by', sgqlc.types.Arg(SnarkSortByInput, graphql_name='sortBy', default=None)), + ('query', sgqlc.types.Arg(SnarkQueryInput, graphql_name='query', default=None)), + ('limit', sgqlc.types.Arg(Int, graphql_name='limit', default=100)), +)) + ) + 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(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 Stake(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('balance', 'chain_id', 'delegate', 'delegation_totals', 'epoch', 'ledger_hash', 'nonce', 'permissions', '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') + 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(Long, 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(Long, 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 + From 424a28da02913a201da7f9cd41facd5c1d7092f2 Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Mon, 5 Apr 2021 19:22:19 +0200 Subject: [PATCH 15/25] cleanup --- mina_schema/create_schema-minaexplorer.ipynb | 550 ------------------- 1 file changed, 550 deletions(-) diff --git a/mina_schema/create_schema-minaexplorer.ipynb b/mina_schema/create_schema-minaexplorer.ipynb index 88d1868..705ec73 100644 --- a/mina_schema/create_schema-minaexplorer.ipynb +++ b/mina_schema/create_schema-minaexplorer.ipynb @@ -128,556 +128,6 @@ "metadata": {}, "outputs": [], "source": [] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "african-married", - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "subjective-wagon", - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "earned-faith", - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "welsh-character", - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": 82, - "id": "protecting-decision", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-17T11:54:14.428015Z", - "start_time": "2021-03-17T11:54:13.164271Z" - } - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "query { blocks(limit: 1, sortBy: DATETIME_DESC, query:{canonical: true}) { stateHash protocolState { consensusState { blockHeight } } winnerAccount { publicKey } creatorAccount { publicKey } transactions { coinbase } } }\n", - "using: https://graphql.minaexplorer.com/\n", - "{'data': {'blocks': [{'creatorAccount': {'publicKey': 'B62qjCuPisQjLW7YkB22BR9KieSmUZTyApftqxsAuB3U21r3vj1YnaG'}, 'protocolState': {'consensusState': {'blockHeight': 168}}, 'stateHash': '3NLnSEG1RWsTRifrn5kNdSGBCijXXjMRmdHKAp39kfuNQ21vTttv', 'transactions': {'coinbase': '720000000000'}, 'winnerAccount': {'publicKey': 'B62qjpLh6MJqKkrJxtfVuqcZ6nkPG7oKRaqLcuwLEf9k2SSgtHgcYh2'}}]}}\n" - ] - } - ], - "source": [ - "some_query = \"\"\"query {\n", - " blocks(limit: 1, sortBy: DATETIME_DESC, query:{canonical: true}) {\n", - " stateHash\n", - " protocolState {\n", - " consensusState {\n", - " blockHeight\n", - " }\n", - " }\n", - " winnerAccount {\n", - " publicKey\n", - " }\n", - " creatorAccount {\n", - " publicKey\n", - " }\n", - " transactions {\n", - " coinbase\n", - " }\n", - " }\n", - "}\"\"\"\n", - "\n", - "res = mina_client.send_any_query(some_query)" - ] - }, - { - "cell_type": "code", - "execution_count": 83, - "id": "similar-leonard", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-17T11:54:17.288360Z", - "start_time": "2021-03-17T11:54:17.268315Z" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "{'data': {'blocks': [{'creatorAccount': {'publicKey': 'B62qjCuPisQjLW7YkB22BR9KieSmUZTyApftqxsAuB3U21r3vj1YnaG'},\n", - " 'protocolState': {'consensusState': {'blockHeight': 168}},\n", - " 'stateHash': '3NLnSEG1RWsTRifrn5kNdSGBCijXXjMRmdHKAp39kfuNQ21vTttv',\n", - " 'transactions': {'coinbase': '720000000000'},\n", - " 'winnerAccount': {'publicKey': 'B62qjpLh6MJqKkrJxtfVuqcZ6nkPG7oKRaqLcuwLEf9k2SSgtHgcYh2'}}]}}" - ] - }, - "execution_count": 83, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "res" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "operating-decision", - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "informed-arkansas", - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": 51, - "id": "computational-property", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-17T11:23:27.741707Z", - "start_time": "2021-03-17T11:23:26.499231Z" - } - }, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "GraphQL query failed with 1 errors\n" - ] - } - ], - "source": [ - "from sgqlc.endpoint.http import HTTPEndpoint\n", - "\n", - "url = 'https://minagraph.com/graphql'\n", - "url = 'https://graphql.minaexplorer.com/'\n", - "headers = {'Authorization': 'bearer TOKEN',\n", - " \"User-Agent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36\"}\n", - "\n", - "query = \"\"\"query {\n", - " blocks(limit: 1, sortBy: DATETIME_DESC, query:{canonical: true}) {\n", - " stateHash\n", - " protocolState {\n", - " consensusState {\n", - " blockHeight\n", - " }\n", - " }\n", - " winnerAccount {\n", - " publicKey\n", - " }\n", - " creatorAccount {\n", - " publicKey\n", - " }\n", - " transactions {\n", - " coinbase\n", - " }\n", - " }\n", - "}\"\"\"\n", - "variables = {'varName': 'value'}\n", - "variables = {}\n", - "\n", - "\n", - "endpoint = HTTPEndpoint(url, headers)\n", - "data = endpoint(inttro_query, variables)" - ] - }, - { - "cell_type": "code", - "execution_count": 52, - "id": "varied-swift", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-17T11:23:28.700390Z", - "start_time": "2021-03-17T11:23:28.680258Z" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "{'data': None,\n", - " 'errors': [{'message': 'Variable \"$includeDescription\" of required type \"Boolean!\" was not provided.',\n", - " 'locations': [{'line': 3, 'column': 3}]}]}" - ] - }, - "execution_count": 52, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "data" - ] - }, - { - "cell_type": "code", - "execution_count": 46, - "id": "agreed-vacation", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-17T11:21:04.046779Z", - "start_time": "2021-03-17T11:21:04.027761Z" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "{'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36'}" - ] - }, - "execution_count": 46, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "headers" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "fluid-poison", - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "dental-pakistan", - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": 12, - "id": "serious-retail", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-17T10:36:12.351511Z", - "start_time": "2021-03-17T10:36:12.320413Z" - } - }, - "outputs": [], - "source": [ - "import sys\n", - "sys.path.append('/Users/bakebrain/src')\n", - "\n", - "from mina.MinaClient import Client, Currency\n", - "import json" - ] - }, - { - "cell_type": "code", - "execution_count": 68, - "id": "reserved-duplicate", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-17T11:48:32.836345Z", - "start_time": "2021-03-17T11:48:32.818886Z" - } - }, - "outputs": [], - "source": [ - "GRAPHQL_HOST = 'graphql.minaexplorer.com'\n", - "GRAPHQL_PORT = '80'\n", - "\n", - "mina_client = Client(graphql_host=GRAPHQL_HOST, graphql_port='', graphql_path='',\n", - " graphql_protocol='https')" - ] - }, - { - "cell_type": "code", - "execution_count": 69, - "id": "pregnant-charter", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-17T11:48:35.515579Z", - "start_time": "2021-03-17T11:48:35.493623Z" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "'https://graphql.minaexplorer.com:'" - ] - }, - "execution_count": 69, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "mina_client.endpoint \n" - ] - }, - { - "cell_type": "code", - "execution_count": 70, - "id": "suffering-myrtle", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-17T11:48:44.983614Z", - "start_time": "2021-03-17T11:48:44.965768Z" - } - }, - "outputs": [], - "source": [ - "mina_client.endpoint = 'https://graphql.minaexplorer.com/'" - ] - }, - { - "cell_type": "code", - "execution_count": 71, - "id": "involved-activation", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-17T11:48:48.063985Z", - "start_time": "2021-03-17T11:48:48.044981Z" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "'https://graphql.minaexplorer.com/'" - ] - }, - "execution_count": 71, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "mina_client.endpoint \n" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "touched-official", - "metadata": {}, - "outputs": [], - "source": [ - "mina_client.send_any_query()" - ] - }, - { - "cell_type": "code", - "execution_count": 72, - "id": "comparative-barrel", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-17T11:49:41.074359Z", - "start_time": "2021-03-17T11:49:41.056365Z" - } - }, - "outputs": [], - "source": [ - "some_query = \"\"\"query {\n", - " blocks(limit: 1, sortBy: DATETIME_DESC, query:{canonical: true}) {\n", - " stateHash\n", - " protocolState {\n", - " consensusState {\n", - " blockHeight\n", - " }\n", - " }\n", - " winnerAccount {\n", - " publicKey\n", - " }\n", - " creatorAccount {\n", - " publicKey\n", - " }\n", - " transactions {\n", - " coinbase\n", - " }\n", - " }\n", - "}\"\"\"" - ] - }, - { - "cell_type": "code", - "execution_count": 76, - "id": "filled-david", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-17T11:51:24.375257Z", - "start_time": "2021-03-17T11:51:23.059490Z" - } - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "query { blocks(limit: 1, sortBy: DATETIME_DESC, query:{canonical: true}) { stateHash protocolState { consensusState { blockHeight } } winnerAccount { publicKey } creatorAccount { publicKey } transactions { coinbase } } }\n", - "using: https://graphql.minaexplorer.com/\n", - "{'data': {'blocks': [{'creatorAccount': {'publicKey': 'B62qpLST3UC1rpVT6SHfB7wqW2iQgiopFAGfrcovPgLjgfpDUN2LLeg'}, 'protocolState': {'consensusState': {'blockHeight': 167}}, 'stateHash': '3NLphTnhBsHxSySQajJVTsoMTHRzCXtWcR1Xg5BwH2B44ktbfk7F', 'transactions': {'coinbase': '720000000000'}, 'winnerAccount': {'publicKey': 'B62qpBVRzjqFcbzMk3JAFdjruMAoqdHyHiE9XNyshZ5NjGo2gY7CxZz'}}]}}\n" - ] - }, - { - "data": { - "text/plain": [ - "{'data': {'blocks': [{'creatorAccount': {'publicKey': 'B62qpLST3UC1rpVT6SHfB7wqW2iQgiopFAGfrcovPgLjgfpDUN2LLeg'},\n", - " 'protocolState': {'consensusState': {'blockHeight': 167}},\n", - " 'stateHash': '3NLphTnhBsHxSySQajJVTsoMTHRzCXtWcR1Xg5BwH2B44ktbfk7F',\n", - " 'transactions': {'coinbase': '720000000000'},\n", - " 'winnerAccount': {'publicKey': 'B62qpBVRzjqFcbzMk3JAFdjruMAoqdHyHiE9XNyshZ5NjGo2gY7CxZz'}}]}}" - ] - }, - "execution_count": 76, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "mina_client.send_any_query(some_query)" - ] - }, - { - "cell_type": "code", - "execution_count": 75, - "id": "harmful-north", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-17T11:50:47.302540Z", - "start_time": "2021-03-17T11:50:47.283042Z" - } - }, - "outputs": [ - { - "data": { - "text/plain": [ - "'https://graphql.minaexplorer.com/'" - ] - }, - "execution_count": 75, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "mina_client.endpoint" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "compliant-patio", - "metadata": {}, - "outputs": [], - "source": [] - }, - { - "cell_type": "code", - "execution_count": 16, - "id": "toxic-preview", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-17T10:36:35.739983Z", - "start_time": "2021-03-17T10:36:34.464753Z" - } - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "query IntrospectionQuery( $includeDescription: Boolean!, $includeDeprecated: Boolean!, ) { __schema { queryType { name } mutationType { name } subscriptionType { name } types { ...FullType } directives { name description @include(if: $includeDescription) locations args { ...InputValue } } } } fragment FullType on __Type { kind name description @include(if: $includeDescription) fields(includeDeprecated: $includeDeprecated) { name description @include(if: $includeDescription) args { ...InputValue } type { ...TypeRef } isDeprecated @include(if: $includeDeprecated) deprecationReason @include(if: $includeDeprecated) } inputFields { ...InputValue } interfaces { ...TypeRef } enumValues(includeDeprecated: $includeDeprecated) { name description @include(if: $includeDescription) isDeprecated @include(if: $includeDeprecated) deprecationReason @include(if: $includeDeprecated) } possibleTypes { ...TypeRef } } fragment InputValue on __InputValue { name description @include(if: $includeDescription) type { ...TypeRef } defaultValue } fragment TypeRef on __Type { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name ofType { kind name } } } } } } } }\n" - ] - }, - { - "ename": "JSONDecodeError", - "evalue": "Expecting value: line 1 column 1 (char 0)", - "output_type": "error", - "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mJSONDecodeError\u001b[0m Traceback (most recent call last)", - "\u001b[0;32m\u001b[0m in \u001b[0;36m\u001b[0;34m\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[0mvariables\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m{\u001b[0m\u001b[0;34m\"includeDescription\"\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0;32mTrue\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m\"includeDeprecated\"\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0;32mFalse\u001b[0m\u001b[0;34m}\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 2\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m----> 3\u001b[0;31m \u001b[0mmina_exp__schema\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mmina_client\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0msend_any_query\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mquery\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mvariables\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mvariables\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m", - "\u001b[0;32m~/src/mina/MinaClient.py\u001b[0m in \u001b[0;36msend_any_query\u001b[0;34m(self, query, variables)\u001b[0m\n\u001b[1;32m 671\u001b[0m \u001b[0mres\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_sgqlc_query\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mquery\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 672\u001b[0m \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 673\u001b[0;31m \u001b[0mres\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_send_query\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mquery\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mvariables\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 674\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mres\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 675\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/src/mina/MinaClient.py\u001b[0m in \u001b[0;36m_send_query\u001b[0;34m(self, query, variables)\u001b[0m\n\u001b[1;32m 224\u001b[0m \u001b[0mdict\u001b[0m \u001b[0;34m-\u001b[0m\u001b[0;34m-\u001b[0m \u001b[0mA\u001b[0m \u001b[0mResponse\u001b[0m \u001b[0mobject\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0mthe\u001b[0m \u001b[0mGraphQL\u001b[0m \u001b[0mServer\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 225\u001b[0m \"\"\"\n\u001b[0;32m--> 226\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_graphql_request\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mquery\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mvariables\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 227\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 228\u001b[0m \u001b[0;32mdef\u001b[0m \u001b[0m_send_mutation\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mquery\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mstr\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mvariables\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mdict\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m{\u001b[0m\u001b[0;34m}\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m->\u001b[0m \u001b[0mdict\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/src/mina/MinaClient.py\u001b[0m in \u001b[0;36m_graphql_request\u001b[0;34m(self, query, variables)\u001b[0m\n\u001b[1;32m 268\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mlogger\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdebug\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"Sending a Query: {}\"\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mformat\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mpayload\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 269\u001b[0m \u001b[0mresponse\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mrequests\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpost\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mendpoint\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mjson\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mpayload\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mheaders\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mheaders\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 270\u001b[0;31m \u001b[0mresp_json\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mresponse\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mjson\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 271\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 272\u001b[0m \u001b[0mprint\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mresp_json\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/anaconda3/envs/telebot/lib/python3.8/site-packages/requests/models.py\u001b[0m in \u001b[0;36mjson\u001b[0;34m(self, **kwargs)\u001b[0m\n\u001b[1;32m 898\u001b[0m \u001b[0;31m# used.\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 899\u001b[0m \u001b[0;32mpass\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 900\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0mcomplexjson\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mloads\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mtext\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 901\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 902\u001b[0m \u001b[0;34m@\u001b[0m\u001b[0mproperty\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/anaconda3/envs/telebot/lib/python3.8/json/__init__.py\u001b[0m in \u001b[0;36mloads\u001b[0;34m(s, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)\u001b[0m\n\u001b[1;32m 355\u001b[0m \u001b[0mparse_int\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mNone\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0mparse_float\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mNone\u001b[0m \u001b[0;32mand\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 356\u001b[0m parse_constant is None and object_pairs_hook is None and not kw):\n\u001b[0;32m--> 357\u001b[0;31m \u001b[0;32mreturn\u001b[0m \u001b[0m_default_decoder\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdecode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0ms\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 358\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mcls\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 359\u001b[0m \u001b[0mcls\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mJSONDecoder\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/anaconda3/envs/telebot/lib/python3.8/json/decoder.py\u001b[0m in \u001b[0;36mdecode\u001b[0;34m(self, s, _w)\u001b[0m\n\u001b[1;32m 335\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 336\u001b[0m \"\"\"\n\u001b[0;32m--> 337\u001b[0;31m \u001b[0mobj\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mend\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mraw_decode\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0ms\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0midx\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0m_w\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0ms\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;36m0\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 338\u001b[0m \u001b[0mend\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0m_w\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0ms\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mend\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mend\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 339\u001b[0m \u001b[0;32mif\u001b[0m \u001b[0mend\u001b[0m \u001b[0;34m!=\u001b[0m \u001b[0mlen\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0ms\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;32m~/anaconda3/envs/telebot/lib/python3.8/json/decoder.py\u001b[0m in \u001b[0;36mraw_decode\u001b[0;34m(self, s, idx)\u001b[0m\n\u001b[1;32m 353\u001b[0m \u001b[0mobj\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mend\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mscan_once\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0ms\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0midx\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 354\u001b[0m \u001b[0;32mexcept\u001b[0m \u001b[0mStopIteration\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0merr\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 355\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mJSONDecodeError\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"Expecting value\"\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0ms\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0merr\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mvalue\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;32mfrom\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 356\u001b[0m \u001b[0;32mreturn\u001b[0m \u001b[0mobj\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mend\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", - "\u001b[0;31mJSONDecodeError\u001b[0m: Expecting value: line 1 column 1 (char 0)" - ] - } - ], - "source": [ - "variables = {\"includeDescription\": True, \"includeDeprecated\": False}\n", - "\n", - "mina_exp__schema = mina_client.send_any_query(query, variables=variables)" - ] - }, - { - "cell_type": "code", - "execution_count": 22, - "id": "prospective-marker", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-14T11:49:20.627510Z", - "start_time": "2021-03-14T11:49:20.566090Z" - } - }, - "outputs": [], - "source": [ - "with open('mina_schema.json', 'w') as f:\n", - " json.dump(mina_schema, f, sort_keys=True, indent=2, default=str)" - ] - }, - { - "cell_type": "code", - "execution_count": 23, - "id": "incorporate-trustee", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-14T11:49:23.355178Z", - "start_time": "2021-03-14T11:49:23.024797Z" - } - }, - "outputs": [], - "source": [ - "!sgqlc-codegen schema mina_schema.json mina_schema.py" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "popular-disposal", - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { From de5704ff98d26925478df8b65016fe9b3a6d264e Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Tue, 6 Apr 2021 11:26:45 +0200 Subject: [PATCH 16/25] fixed tests --- MinaClient.py | 28 +- tests/snapshots/snap_test_client.py | 383 +++++++++++++++------------- tests/test_client.py | 4 +- 3 files changed, 206 insertions(+), 209 deletions(-) diff --git a/MinaClient.py b/MinaClient.py index bfd1e5d..eb68d7b 100644 --- a/MinaClient.py +++ b/MinaClient.py @@ -189,7 +189,7 @@ def __init__( graphql_host: str = "localhost", graphql_path: str = "/graphql", graphql_port: int = 3085, - endpoint: str = None + endpoint: str = None, ): if endpoint: self.endpoint = endpoint @@ -335,8 +335,8 @@ def get_daemon_status(self) -> dict: op = Operation(mina_schema.query) op.daemon_status() - #tbd: such cases - it all depends on the final usecase - #notice the rewrite and the _send_query + # tbd: such cases - it all depends on the final usecase + # notice the rewrite and the _send_query res = self._send_query(op.__to_graphql__(auto_select_depth=3)) return res["data"] @@ -498,13 +498,7 @@ def set_current_snark_worker(self, worker_pk: str, fee: int) -> dict: return res["data"] def send_payment( - self, - to_pk: str, - from_pk: str, - amount: Currency, - fee: Currency, - memo: str, - all_fields: bool = False, + 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. @@ -522,17 +516,6 @@ def send_payment( Returns: dict -- Returns the "data" field of the JSON Response as a Dict """ - # test in devnet - default_fields = [ - "id", - "is_delegation", - "nonce", - "from", - "to", - "amount", - "fee", - "memo", - ] input_dict = { "from": from_pk, @@ -545,9 +528,6 @@ def send_payment( op = Operation(mina_schema.mutation) op.send_payment(input=input_dict) - if not all_fields: - op.send_payment(input=input_dict).__fields__(*default_fields) - res = self._send_sgqlc_query(op) return res["data"] diff --git a/tests/snapshots/snap_test_client.py b/tests/snapshots/snap_test_client.py index 5cf30b1..813b39d 100644 --- a/tests/snapshots/snap_test_client.py +++ b/tests/snapshots/snap_test_client.py @@ -4,198 +4,213 @@ from pysnap import Snapshot + snapshots = Snapshot() -snapshots["TestMinaClient.test_get_daemon_status 1"] = [( - ("http://localhost:3085/graphql", ), - { - "headers": { - "Accept": "application/json" - }, - "json": { - "query": - "query { daemonStatus { addrsAndPorts { bindIp clientPort externalIp libp2pPort peer { host libp2pPort peerId } } blockProductionKeys blockchainLength commitId confDir consensusConfiguration { acceptableNetworkDelay delta epochDuration genesisStateTimestamp k slotDuration slotsPerEpoch } consensusMechanism consensusTimeBestTip { endTime epoch globalSlot slot startTime } consensusTimeNow { endTime epoch globalSlot slot startTime } highestBlockLengthReceived ledgerMerkleRoot nextBlockProduction { times { endTime epoch globalSlot slot startTime } } numAccounts peers snarkWorkFee snarkWorker stateHash syncStatus uptimeSecs userCommandsSent } }" - }, - }, -)] - -snapshots["TestMinaClient.test_get_daemon_version 1"] = [( - ("http://localhost:3085/graphql", ), - { - "headers": { - "Accept": "application/json" - }, - "json": { - "query": "{ version }" +snapshots['TestMinaClient.test_get_daemon_status 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' + }, + 'json': { + 'query': 'query { daemonStatus { numAccounts blockchainLength highestBlockLengthReceived highestUnvalidatedBlockLengthReceived uptimeSecs ledgerMerkleRoot stateHash chainId commitId confDir peers { host libp2pPort peerId } userCommandsSent snarkWorker snarkWorkFee syncStatus catchupStatus blockProductionKeys histograms { externalTransitionLatency { values underflow overflow } acceptedTransitionLocalLatency { values underflow overflow } acceptedTransitionRemoteLatency { values underflow overflow } snarkWorkerTransitionTime { values underflow overflow } snarkWorkerMergeTime { values underflow overflow } } consensusTimeBestTip { epoch slot globalSlot startTime endTime } globalSlotSinceGenesisBestTip nextBlockProduction { times { epoch slot globalSlot startTime endTime } globalSlotSinceGenesis generatedFromConsensusAt { globalSlotSinceGenesis } } consensusTimeNow { epoch slot globalSlot startTime endTime } consensusMechanism consensusConfiguration { delta k slotsPerEpoch slotDuration epochDuration genesisStateTimestamp acceptableNetworkDelay } addrsAndPorts { externalIp bindIp peer { host libp2pPort peerId } libp2pPort clientPort } } }' + } + } + ,) +] + +snapshots['TestMinaClient.test_get_daemon_version 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' + }, + 'json': { + 'query': 'query { version }' + } + } + ,) +] + +snapshots['TestMinaClient.test_get_wallets 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' + }, + 'json': { + 'query': 'query { ownedWallets { publicKey balance { total unknown liquid locked blockHeight stateHash } } }' + } } - }, -)] - -snapshots["TestMinaClient.test_get_wallets 1"] = [( - ("http://localhost:3085/graphql", ), - { - "headers": { - "Accept": "application/json" - }, - "json": { - "query": "{ ownedWallets { publicKey balance { total } } }" - }, - }, -)] - -snapshots["TestMinaClient.test_get_current_snark_worker 1"] = [( - ("http://localhost:3085/graphql", ), - { - "headers": { - "Accept": "application/json" - }, - "json": { - "query": "{ currentSnarkWorker { key fee } }" - }, - }, -)] - -snapshots["TestMinaClient.test_get_sync_status 1"] = [( - ("http://localhost:3085/graphql", ), - { - "headers": { - "Accept": "application/json" - }, - "json": { - "query": "{ daemonStatus { syncStatus } }" - }, - }, -)] - -snapshots["TestMinaClient.test_set_current_snark_worker 1"] = [( - ("http://localhost:3085/graphql", ), - { - "headers": { - "Accept": "application/json" - }, - "json": { - "query": - "mutation($worker_pk: PublicKey!, $fee: UInt64!) { setSnarkWorker(input: { publicKey: $worker_pk }) { lastSnarkWorker } setSnarkWorkFee(input: { fee: $fee }) }", - "variables": { - "fee": 1, - "worker_pk": "pk" + ,) +] + +snapshots['TestMinaClient.test_get_current_snark_worker 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' + }, + 'json': { + 'query': 'query { currentSnarkWorker { key fee } }' + } + } + ,) +] + +snapshots['TestMinaClient.test_get_sync_status 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' + }, + 'json': { + 'query': 'query { daemonStatus { syncStatus } }' + } + } + ,) +] + +snapshots['TestMinaClient.test_set_current_snark_worker 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' }, - }, - }, -)] - -snapshots["TestMinaClient.test_get_wallet 1"] = [( - ("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" + 'json': { + 'query': 'mutation { setSnarkWorker(input: {publicKey: "pk"}) { lastSnarkWorker } setSnarkWorkFee(input: {fee: 1}) { lastFee } }' + } + } + ,) +] + +snapshots['TestMinaClient.test_get_wallet 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' }, - }, - }, -)] - -snapshots["TestMinaClient.test_get_transaction_status 1"] = [( - ("http://localhost:3085/graphql", ), - { - "headers": { - "Accept": "application/json" - }, - "json": { - "query": - "query($paymentId: ID!) { transactionStatus(payment: $paymentId) }", - "variables": { - "paymentId": "payment_id" + 'json': { + 'query': 'query { wallet(publicKey: "pk") { balance { total unknown liquid locked blockHeight stateHash } nonce receiptChainHash delegate votingFor stakingActive privateKeyPath } }' + } + } + ,) +] + +snapshots['TestMinaClient.test_get_transaction_status 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' }, - }, - }, -)] - -snapshots["TestMinaClient.test_create_wallet 1"] = [( - ("http://localhost:3085/graphql", ), - { - "headers": { - "Accept": "application/json" - }, - "json": { - "query": - "mutation($password: String!) { createAccount(input: { password: $password }) { publicKey } }", - "variables": { - "password": "password" + 'json': { + 'query': 'query { transactionStatus(payment: "payment_id") }' + } + } + ,) +] + +snapshots['TestMinaClient.test_create_wallet 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' }, - }, - }, -)] - -snapshots["TestMinaClient.test_send_payment 1"] = [( - ("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": 1000000000, - "fee": 100000000, - "from": "from_pk", - "memo": "memo", - "to": "to_pk", + 'json': { + 'query': 'mutation { createAccount(input: {password: "password"}) { publicKey account { publicKey token nonce inferredNonce receiptChainHash delegate votingFor stakingActive privateKeyPath locked isTokenOwner isDisabled } } }' + } + } + ,) +] + +snapshots['TestMinaClient.test_get_best_chain 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' }, - }, - }, -)] - -snapshots["TestMinaClient.test_get_best_chain 1"] = [( - ("http://localhost:3085/graphql", ), - { - "headers": { - "Accept": "application/json" - }, - "json": { - "query": - "query ($maxLength: Int!) { bestChain(maxLength: $maxLength) { protocolState { consensusState { blockHeight } previousStateHash } stateHash } }", - "variables": { - "maxLength": 42 + 'json': { + '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['TestMinaClient.test_get_block_by_height 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' }, - }, - }, -)] - -snapshots["TestMinaClient.test_get_block_by_height 1"] = [( - ("http://localhost:3085/graphql", ), - { - "headers": { - "Accept": "application/json" - }, - "json": { - "query": - "query ($height: Int!) { block(height: $height) { stateHash creator snarkJobs { fee prover } } }", - "variables": { - "height": 42 + 'json': { + 'query': 'query { block(height: 42) { stateHash creator snarkJobs { prover fee workIds } } }' + } + } + ,) +] + +snapshots['TestMinaClient.test_get_block_by_state_hash 1'] = [ + ( + ( + 'http://localhost:3085/graphql' + ,), + { + 'headers': { + 'Accept': 'application/json' }, - }, - }, -)] - -snapshots["TestMinaClient.test_get_block_by_state_hash 1"] = [( - ("http://localhost:3085/graphql", ), - { - "headers": { - "Accept": "application/json" - }, - "json": { - "query": - "query ($stateHash: String!) { block(stateHash: $stateHash) { creator protocolState { consensusState { blockHeight } } snarkJobs { fee prover } } }", - "variables": { - "stateHash": "some_state_hash" + 'json': { + '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 } } }' + } + } + ,) +] diff --git a/tests/test_client.py b/tests/test_client.py index 640f9b0..9ef871b 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -99,7 +99,9 @@ def test_send_payment(self, mock_post, snapshot): client = Client() currency = Currency(1) fee = Currency(0.1) - client.send_payment("to_pk", "from_pk", currency, fee, "memo") + 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): From f3efb33a04f5b58b829225d22bced22997edb41f Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Fri, 16 Apr 2021 13:29:16 +0200 Subject: [PATCH 17/25] updates schema generation + setup cleanups --- MinaClient.py | 19 ++++++++++--------- mina_schemas/generate_mina_explorer_schema.py | 16 ++++++++++++++++ mina_schemas/generate_mina_explorer_schema.sh | 4 ++++ mina_schemas/generate_mina_schema.py | 14 ++++++++++++++ mina_schemas/generate_mina_schema.sh | 4 ++++ setup.py | 6 +++--- tests/snapshots/snap_test_client.py | 2 +- 7 files changed, 52 insertions(+), 13 deletions(-) create mode 100755 mina_schemas/generate_mina_explorer_schema.py create mode 100755 mina_schemas/generate_mina_explorer_schema.sh create mode 100644 mina_schemas/generate_mina_schema.py create mode 100755 mina_schemas/generate_mina_schema.sh diff --git a/MinaClient.py b/MinaClient.py index eb68d7b..3fdf004 100644 --- a/MinaClient.py +++ b/MinaClient.py @@ -10,7 +10,7 @@ import websockets from sgqlc.operation import Operation -from mina_schema import mina_schema +from mina_schemas import mina_schema class CurrencyFormat(Enum): @@ -179,6 +179,9 @@ def __mul__(self, other): raise Exception("cannot multiply Currency and %s" % type(other)) + + + class Client: # Implements a GraphQL Client for the Mina Daemon @@ -267,8 +270,7 @@ def _graphql_request(self, query: str, variables: dict = {}): payload = {**payload, "variables": variables} headers = {"Accept": "application/json"} - self.logger.debug("Sending a Query: {}".format(payload)) - print(f"using: {self.endpoint}") + self.logger.debug(f"Sending a Query: {payload} via {self.endpoint}") response = requests.post(self.endpoint, json=payload, headers=headers) resp_json = response.json() @@ -335,10 +337,7 @@ def get_daemon_status(self) -> dict: op = Operation(mina_schema.query) op.daemon_status() - # tbd: such cases - it all depends on the final usecase - # notice the rewrite and the _send_query - res = self._send_query(op.__to_graphql__(auto_select_depth=3)) - + res = self._send_sgqlc_query(op) return res["data"] def get_sync_status(self) -> dict: @@ -352,7 +351,7 @@ def get_sync_status(self) -> dict: op.daemon_status().__fields__("sync_status") res = self._send_sgqlc_query(op) - return res + return res["data"] def get_daemon_version(self) -> dict: """Gets the version of the currently configured Mina Daemon. @@ -525,8 +524,10 @@ def send_payment( "amount": amount.nanominas(), } + send_payment_input = mina_schema.SendPaymentInput(input_dict) + op = Operation(mina_schema.mutation) - op.send_payment(input=input_dict) + op.send_payment(input=send_payment_input) res = self._send_sgqlc_query(op) return res["data"] 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/setup.py b/setup.py index d24e12c..da0bc71 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ tests_require = ["six", "pytest", "pytest-cov", "python-coveralls", "mock", "pysnap"] setup( - name="CodaClient", + name="MinaClient", version="0.0.14", python_requires=">=3.5", description="A Python wrapper around the Mina Daemon GraphQL API.", @@ -19,8 +19,8 @@ author="Conner Swann", author_email="conner@o1labs.org", license="Apache License 2.0", - py_modules=["CodaClient"], - install_requires=["requests", "websockets>=7.0", "asyncio"], + 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(), diff --git a/tests/snapshots/snap_test_client.py b/tests/snapshots/snap_test_client.py index 813b39d..df757b0 100644 --- a/tests/snapshots/snap_test_client.py +++ b/tests/snapshots/snap_test_client.py @@ -209,7 +209,7 @@ '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 } } }' + '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 } } }' } } ,) From dd9af36290a53e072bf8c52dc5e13b6c1cc64a69 Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Fri, 16 Apr 2021 13:32:41 +0200 Subject: [PATCH 18/25] cleanup --- mina_schema/create_schema-minaexplorer.ipynb | 154 - mina_schema/create_schema.ipynb | 133 - mina_schema/mina_explorer_schema.json | 24167 ----------------- mina_schema/mina_explorer_schema.py | 2787 -- mina_schema/mina_schema.json | 8116 ------ mina_schema/mina_schema.py | 896 - 6 files changed, 36253 deletions(-) delete mode 100644 mina_schema/create_schema-minaexplorer.ipynb delete mode 100644 mina_schema/create_schema.ipynb delete mode 100644 mina_schema/mina_explorer_schema.json delete mode 100644 mina_schema/mina_explorer_schema.py delete mode 100644 mina_schema/mina_schema.json delete mode 100644 mina_schema/mina_schema.py diff --git a/mina_schema/create_schema-minaexplorer.ipynb b/mina_schema/create_schema-minaexplorer.ipynb deleted file mode 100644 index 705ec73..0000000 --- a/mina_schema/create_schema-minaexplorer.ipynb +++ /dev/null @@ -1,154 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 1, - "id": "floating-guatemala", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-29T12:12:32.796463Z", - "start_time": "2021-03-29T12:12:32.647244Z" - } - }, - "outputs": [], - "source": [ - "%load_ext blackcellmagic\n", - "%load_ext autoreload\n", - "%autoreload 2" - ] - }, - { - "cell_type": "code", - "execution_count": 12, - "id": "surgical-unknown", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-29T12:13:33.809618Z", - "start_time": "2021-03-29T12:13:33.794147Z" - } - }, - "outputs": [], - "source": [ - "import sys\n", - "import json\n", - "sys.path.append('/Users/bakebrain/src')" - ] - }, - { - "cell_type": "code", - "execution_count": 13, - "id": "hollywood-surveillance", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-29T12:13:34.217929Z", - "start_time": "2021-03-29T12:13:34.200508Z" - } - }, - "outputs": [], - "source": [ - "from mina.MinaClient import Client\n", - "from sgqlc.introspection import query as intro_query" - ] - }, - { - "cell_type": "code", - "execution_count": 14, - "id": "stuck-sewing", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-29T12:13:34.551325Z", - "start_time": "2021-03-29T12:13:34.533446Z" - } - }, - "outputs": [], - "source": [ - "mina_client = Client(endpoint='https://graphql.minaexplorer.com/')" - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "id": "careful-leather", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-29T12:13:36.782654Z", - "start_time": "2021-03-29T12:13:34.950667Z" - } - }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "using: https://graphql.minaexplorer.com/\n" - ] - } - ], - "source": [ - "variables = {\"includeDescription\": True, \"includeDeprecated\": False}\n", - "\n", - "mina_exp_schema = mina_client.send_any_query(intro_query, variables=variables)" - ] - }, - { - "cell_type": "code", - "execution_count": 16, - "id": "cardiac-pulse", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-29T12:13:37.757277Z", - "start_time": "2021-03-29T12:13:37.691873Z" - } - }, - "outputs": [], - "source": [ - "with open('mina_explorer_schema.json', 'w') as f:\n", - " json.dump(mina_exp_schema, f, sort_keys=True, indent=2, default=str)" - ] - }, - { - "cell_type": "code", - "execution_count": 17, - "id": "right-october", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-29T12:13:40.848882Z", - "start_time": "2021-03-29T12:13:39.900106Z" - } - }, - "outputs": [], - "source": [ - "!sgqlc-codegen schema mina_explorer_schema.json mina_explorer_schema.py" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "outside-kitty", - "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_schema/create_schema.ipynb b/mina_schema/create_schema.ipynb deleted file mode 100644 index db28b8e..0000000 --- a/mina_schema/create_schema.ipynb +++ /dev/null @@ -1,133 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 15, - "id": "hollywood-surveillance", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-14T11:48:32.924437Z", - "start_time": "2021-03-14T11:48:32.908414Z" - } - }, - "outputs": [], - "source": [ - "from sgqlc.introspection import query" - ] - }, - { - "cell_type": "code", - "execution_count": 16, - "id": "serious-retail", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-14T11:48:33.409557Z", - "start_time": "2021-03-14T11:48:33.254426Z" - } - }, - "outputs": [], - "source": [ - "import sys\n", - "sys.path.append('/Users/bakebrain/src')\n", - "\n", - "from mina.MinaClient import Client, Currency\n", - "import json" - ] - }, - { - "cell_type": "code", - "execution_count": 17, - "id": "reserved-duplicate", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-14T11:48:33.607777Z", - "start_time": "2021-03-14T11:48:33.589701Z" - } - }, - "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": 19, - "id": "toxic-preview", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-14T11:49:02.575759Z", - "start_time": "2021-03-14T11:49:02.194624Z" - } - }, - "outputs": [], - "source": [ - "variables = {\"includeDescription\": True, \"includeDeprecated\": False}\n", - "\n", - "mina_schema = mina_client.send_any_query(sgqlc.introspection.query, variables=variables)" - ] - }, - { - "cell_type": "code", - "execution_count": 22, - "id": "prospective-marker", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-14T11:49:20.627510Z", - "start_time": "2021-03-14T11:49:20.566090Z" - } - }, - "outputs": [], - "source": [ - "with open('mina_schema.json', 'w') as f:\n", - " json.dump(mina_schema, f, sort_keys=True, indent=2, default=str)" - ] - }, - { - "cell_type": "code", - "execution_count": 23, - "id": "incorporate-trustee", - "metadata": { - "ExecuteTime": { - "end_time": "2021-03-14T11:49:23.355178Z", - "start_time": "2021-03-14T11:49:23.024797Z" - } - }, - "outputs": [], - "source": [ - "!sgqlc-codegen schema mina_schema.json mina_schema.py" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "popular-disposal", - "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_schema/mina_explorer_schema.json b/mina_schema/mina_explorer_schema.json deleted file mode 100644 index 907ddca..0000000 --- a/mina_schema/mina_explorer_schema.json +++ /dev/null @@ -1,24167 +0,0 @@ -{ - "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": "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": "An enum describing what kind of type a given `__Type` is", - "enumValues": [ - { - "description": "Indicates this type is a scalar.", - "name": "SCALAR" - }, - { - "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", - "name": "OBJECT" - }, - { - "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" - } - ], - "fields": null, - "inputFields": null, - "interfaces": null, - "kind": "ENUM", - "name": "__TypeKind", - "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": "publicKey", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockTransactionUserCommandReceiver", - "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": [ - { - "args": [], - "description": "", - "name": "publicKey", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "TransactionSource", - "possibleTypes": null - }, - { - "description": "", - "enumValues": [ - { - "description": "", - "name": "CHAINID_ASC" - }, - { - "description": "", - "name": "EPOCH_ASC" - }, - { - "description": "", - "name": "EPOCH_DESC" - }, - { - "description": "", - "name": "BALANCE_ASC" - }, - { - "description": "", - "name": "NONCE_ASC" - }, - { - "description": "", - "name": "PUBLIC_KEY_DESC" - }, - { - "description": "", - "name": "VOTING_FOR_ASC" - }, - { - "description": "", - "name": "TOKEN_DESC" - }, - { - "description": "", - "name": "DELEGATE_ASC" - }, - { - "description": "", - "name": "DELEGATE_DESC" - }, - { - "description": "", - "name": "NONCE_DESC" - }, - { - "description": "", - "name": "PUBLIC_KEY_ASC" - }, - { - "description": "", - "name": "RECEIPT_CHAIN_HASH_DESC" - }, - { - "description": "", - "name": "LEDGERHASH_ASC" - }, - { - "description": "", - "name": "CHAINID_DESC" - }, - { - "description": "", - "name": "RECEIPT_CHAIN_HASH_ASC" - }, - { - "description": "", - "name": "VOTING_FOR_DESC" - }, - { - "description": "", - "name": "LEDGERHASH_DESC" - }, - { - "description": "", - "name": "TOKEN_ASC" - }, - { - "description": "", - "name": "BALANCE_DESC" - } - ], - "fields": null, - "inputFields": null, - "interfaces": null, - "kind": "ENUM", - "name": "StakeSortByInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "balance", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountBalanceInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "publicKey", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountInsertInput", - "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_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": "BlockTransactionUserCommandFeePayerQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_gte", - "type": { - "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": "BlockTransactionUserCommandFeePayerQueryInput", - "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 - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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", - "type": { - "kind": "SCALAR", - "name": "Int", - "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": "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": "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": [ - { - "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": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "epoch_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "chainId", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_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": "receipt_chain_hash_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": "voting_for", - "type": { - "kind": "SCALAR", - "name": "String", - "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": "nonce", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "voting_for_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "delegate", - "type": { - "kind": "SCALAR", - "name": "String", - "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": "StakeTimingUpdateInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "chainId_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "ledgerHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "permissions", - "type": { - "kind": "INPUT_OBJECT", - "name": "StakePermissionUpdateInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "balance", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "balance_inc", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "permissions_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": "ledgerHash_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "delegate_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_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "StakeUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "epochLength", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochLength_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": "ledger", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "seed_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "startCheckpoint", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "ledger_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "startCheckpoint_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochLength_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "hash_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency", - "type": { - "kind": "SCALAR", - "name": "Long", - "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 - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput", - "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": "BlockTransactionUserCommandFromAccountQueryInput", - "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_nin", - "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": "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": "BlockTransactionUserCommandFromAccountQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "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 - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFromAccountQueryInput", - "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": "failureReason", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "source", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionSourceInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fromAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionFromAccountInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "isDelegation", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "to", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight", - "type": { - "kind": "SCALAR", - "name": "Int", - "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": "receiver", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionReceiverInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "from", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "toAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionToAccountInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feePayer", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionFeePayerInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionBlockStateHashRelationInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "canonical", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "blockStateHash_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": "dateTime", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "workIds_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": "fee", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobUpdateInput", - "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 schema definition.", - "name": "SCHEMA" - }, - { - "description": "Location adjacent to an interface definition.", - "name": "INTERFACE" - }, - { - "description": "Location adjacent to an input object field definition.", - "name": "INPUT_FIELD_DEFINITION" - }, - { - "description": "Location adjacent to a fragment definition.", - "name": "FRAGMENT_DEFINITION" - }, - { - "description": "Location adjacent to a field definition.", - "name": "FIELD_DEFINITION" - }, - { - "description": "Location adjacent to a union definition.", - "name": "UNION" - }, - { - "description": "Location adjacent to a query operation.", - "name": "QUERY" - }, - { - "description": "Location adjacent to a field.", - "name": "FIELD" - }, - { - "description": "Location adjacent to a fragment spread.", - "name": "FRAGMENT_SPREAD" - }, - { - "description": "Location adjacent to an enum value definition.", - "name": "ENUM_VALUE" - }, - { - "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 subscription operation.", - "name": "SUBSCRIPTION" - }, - { - "description": "Location adjacent to an inline fragment.", - "name": "INLINE_FRAGMENT" - }, - { - "description": "Location adjacent to a scalar definition.", - "name": "SCALAR" - }, - { - "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" - } - ], - "fields": null, - "inputFields": null, - "interfaces": null, - "kind": "ENUM", - "name": "__DirectiveLocation", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "blockHeight_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHashField_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "receivedTime_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_lt", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHashField_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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": "canonical_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "protocolState", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "winnerAccount_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "creator_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "receivedTime", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "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": "stateHash_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": "stateHash_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "receivedTime_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": "blockHeight_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "creator_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "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": "stateHashField_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "creator_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_ne", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHash_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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": "BlockQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHashField_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "transactions_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "canonical", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "creator_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "receivedTime_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 - } - }, - { - "defaultValue": null, - "description": "", - "name": "receivedTime_gte", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "creator", - "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": "creator_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "creator_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "snarkJobs", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobQueryInput", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_lte", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHash_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHash_gte", - "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": "dateTime_gt", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "winnerAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHash_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHashField_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHashField_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHashField_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "transactions", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHash_lte", - "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": "stateHashField", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHashField_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": "BlockQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "receivedTime_lte", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "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": "snarkJobs_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", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "creatorAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockCreatorAccountQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "receivedTime_ne", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "creator_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "creatorAccount_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockQueryInput", - "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": "BlockWinnerAccountBalanceQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "unknown_gt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "total", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "locked_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "total_lt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "liquid_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "unknown_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHash_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "unknown_lte", - "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_lt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "liquid_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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": "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": "unknown_lt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "liquid", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHash_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "liquid_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "total_lte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "total_gte", - "type": { - "kind": "SCALAR", - "name": "Long", - "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_ne", - "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": "unknown_gte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "total_gt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "locked_gt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "total_ne", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "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_ne", - "type": { - "kind": "SCALAR", - "name": "Long", - "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", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHash_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "locked_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "locked_lte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "locked_gte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "unknown_ne", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "liquid_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "liquid_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "unknown_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "locked_nin", - "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": "stateHash_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHash_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHash_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "total_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight", - "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": "liquid_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": "BlockWinnerAccountBalanceQueryInput", - "ofType": null - } - } - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountBalanceQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "blockchainState", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateBlockchainStateQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "previousStateHash_gt", - "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_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": "blockchainState_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "consensusState", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "previousStateHash_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": "BlockProtocolStateQueryInput", - "ofType": null - } - } - } - }, - { - "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": "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": "previousStateHash_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "previousStateHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "feeToken", - "type": { - "kind": "SCALAR", - "name": "Int", - "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": "fromAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFromAccountInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "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": "amount", - "type": { - "kind": "SCALAR", - "name": "Int", - "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 - } - }, - { - "defaultValue": null, - "description": "", - "name": "source", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandSourceInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "from", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feePayer", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFeePayerInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "toAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandToAccountInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "isDelegation", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandInsertInput", - "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": "TransactionSourceUpdateInput", - "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": "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": "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_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": "epochLength_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "ledger", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "seed_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "totalCurrency", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput", - "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": "coinbase_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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": "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", - "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 - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "userCommands", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandQueryInput", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "coinbaseReceiverAccount_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "coinbase", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "coinbase_gt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "coinbase_gte", - "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_lt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "coinbase_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "userCommands_in", - "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_lte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "coinbase_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeTransfer_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "coinbaseReceiverAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionCoinbaseReceiverAccountQueryInput", - "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_ne", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": [ - { - "description": "", - "name": "CREATOR_ASC" - }, - { - "description": "", - "name": "CREATOR_DESC" - }, - { - "description": "", - "name": "STATEHASH_ASC" - }, - { - "description": "", - "name": "STATEHASH_DESC" - }, - { - "description": "", - "name": "STATEHASHFIELD_ASC" - }, - { - "description": "", - "name": "STATEHASHFIELD_DESC" - }, - { - "description": "", - "name": "BLOCKHEIGHT_DESC" - }, - { - "description": "", - "name": "DATETIME_ASC" - }, - { - "description": "", - "name": "DATETIME_DESC" - }, - { - "description": "", - "name": "RECEIVEDTIME_ASC" - }, - { - "description": "", - "name": "RECEIVEDTIME_DESC" - }, - { - "description": "", - "name": "BLOCKHEIGHT_ASC" - } - ], - "fields": null, - "inputFields": null, - "interfaces": null, - "kind": "ENUM", - "name": "BlockSortByInput", - "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": [ - { - "args": [], - "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockTransactionUserCommandToAccount", - "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": "TransactionFeePayerQueryInput", - "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_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_lt", - "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_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_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_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionFeePayerQueryInput", - "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": "receipt_chain_hash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epoch", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "ledgerHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "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": "timing", - "type": { - "kind": "INPUT_OBJECT", - "name": "StakeTimingInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "chainId", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "public_key", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "voting_for", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "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 - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "StakeInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "publicKey_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "publicKey", - "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": "TransactionReceiverQueryInput", - "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 - } - }, - { - "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": "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 - } - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionReceiverQueryInput", - "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": "voting_for_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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_gt", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "receipt_chain_hash_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "balance_lte", - "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": "nonce", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "voting_for_lt", - "type": { - "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": "token_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "delegate_lte", - "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": "public_key_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "delegate_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce_gt", - "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": "chainId_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epoch_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epoch", - "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_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "ledgerHash_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_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": "balance_gte", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "public_key_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "balance_ne", - "type": { - "kind": "SCALAR", - "name": "Float", - "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": "nonce_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "ledgerHash_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": "nonce_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epoch_gt", - "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": "delegate_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "balance", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "delegate_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "timing_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "receipt_chain_hash_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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": "permissions_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "voting_for", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "chainId_lt", - "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": "chainId", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "public_key", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "balance_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "delegate_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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": "epoch_ne", - "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": "receipt_chain_hash_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "chainId_ne", - "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": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "chainId_gte", - "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_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": "voting_for_ne", - "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": "StakeQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "chainId_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_gt", - "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": "nonce_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epoch_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "public_key_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": "voting_for_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "ledgerHash_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "chainId_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": "ledgerHash_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": "nonce_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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": "public_key_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "delegate_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "chainId_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epoch_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "epoch_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "delegate", - "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_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epoch_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "ledgerHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "chainId_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "ledgerHash_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "voting_for_gte", - "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": "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 - } - }, - { - "defaultValue": null, - "description": "", - "name": "startCheckpoint", - "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": "token", - "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_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFromAccountUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "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 - } - }, - { - "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 - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateBlockchainStateUpdateInput", - "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": [ - { - "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": "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": "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": "", - "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": "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": [ - { - "description": "", - "name": "HASH_ASC" - }, - { - "description": "", - "name": "FEE_ASC" - }, - { - "description": "", - "name": "BLOCKSTATEHASH_DESC" - }, - { - "description": "", - "name": "TO_ASC" - }, - { - "description": "", - "name": "TOKEN_ASC" - }, - { - "description": "", - "name": "AMOUNT_ASC" - }, - { - "description": "", - "name": "NONCE_DESC" - }, - { - "description": "", - "name": "FEE_DESC" - }, - { - "description": "", - "name": "DATETIME_ASC" - }, - { - "description": "", - "name": "FAILUREREASON_ASC" - }, - { - "description": "", - "name": "TOKEN_DESC" - }, - { - "description": "", - "name": "ID_ASC" - }, - { - "description": "", - "name": "ID_DESC" - }, - { - "description": "", - "name": "DATETIME_DESC" - }, - { - "description": "", - "name": "TO_DESC" - }, - { - "description": "", - "name": "BLOCKSTATEHASH_ASC" - }, - { - "description": "", - "name": "AMOUNT_DESC" - }, - { - "description": "", - "name": "KIND_ASC" - }, - { - "description": "", - "name": "KIND_DESC" - }, - { - "description": "", - "name": "HASH_DESC" - }, - { - "description": "", - "name": "FAILUREREASON_DESC" - }, - { - "description": "", - "name": "FROM_ASC" - }, - { - "description": "", - "name": "FROM_DESC" - }, - { - "description": "", - "name": "MEMO_DESC" - }, - { - "description": "", - "name": "BLOCKHEIGHT_ASC" - }, - { - "description": "", - "name": "NONCE_ASC" - }, - { - "description": "", - "name": "MEMO_ASC" - }, - { - "description": "", - "name": "BLOCKHEIGHT_DESC" - }, - { - "description": "", - "name": "FEETOKEN_ASC" - }, - { - "description": "", - "name": "FEETOKEN_DESC" - } - ], - "fields": null, - "inputFields": null, - "interfaces": null, - "kind": "ENUM", - "name": "TransactionSortByInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": [ - { - "description": "", - "name": "FEE_DESC" - }, - { - "description": "", - "name": "PROVER_ASC" - }, - { - "description": "", - "name": "PROVER_DESC" - }, - { - "description": "", - "name": "BLOCKHEIGHT_ASC" - }, - { - "description": "", - "name": "BLOCKHEIGHT_DESC" - }, - { - "description": "", - "name": "BLOCKSTATEHASH_ASC" - }, - { - "description": "", - "name": "DATETIME_ASC" - }, - { - "description": "", - "name": "DATETIME_DESC" - }, - { - "description": "", - "name": "FEE_ASC" - }, - { - "description": "", - "name": "BLOCKSTATEHASH_DESC" - } - ], - "fields": null, - "inputFields": null, - "interfaces": null, - "kind": "ENUM", - "name": "SnarkSortByInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "protocolState", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "winnerAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountInsertInput", - "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 - } - }, - { - "defaultValue": null, - "description": "", - "name": "transactions", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "creator", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "snarkJobs", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobInsertInput", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "receivedTime", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHashField", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "creatorAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockCreatorAccountInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "canonical", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockInsertInput", - "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": "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": "publicKey", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionSourceInsertInput", - "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": "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_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 - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput", - "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": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "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 - } - }, - { - "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": "Int", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "SnarkInsertInput", - "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_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": "TransactionReceiverUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "vesting_increment_inc", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "timed_in_epoch_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "cliff_amount", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "initial_minimum_balance_inc", - "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_time_inc", - "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_unset", - "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": "untimed_slot", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "timed_weighting", - "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_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_inc", - "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": "vesting_increment", - "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": "timed_weighting_inc", - "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": "cliff_time_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "timed_weighting_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "timed_epoch_end_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", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "StakeTimingUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "coinbase_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "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 - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUpdateInput", - "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": "send", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "set_delegate_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": "OR", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "StakePermissionQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "stake_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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": "edit_state_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "edit_state_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "send_gt", - "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_delegate", - "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": "set_delegate_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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_delegate_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "set_permissions_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "send_gte", - "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_delegate_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "set_permissions_lt", - "type": { - "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": "set_permissions_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_verification_key_gte", - "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_delegate_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "set_permissions_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "send_lte", - "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": "send_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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": "edit_state_lt", - "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": "set_delegate_ne", - "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_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "set_permissions", - "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": "send_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "send_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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_delegate_gt", - "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_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "send_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": "set_permissions_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stake_ne", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "StakePermissionQueryInput", - "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": "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": "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": "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": "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": "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": "set", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockUpdateInput", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockQueryInput", - "ofType": null - } - } - ], - "description": "", - "name": "updateManyBlocks", - "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": "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": "set", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionUpdateInput", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionQueryInput", - "ofType": null - } - } - ], - "description": "", - "name": "updateOneTransaction", - "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": "upsertOneBlock", - "type": { - "kind": "OBJECT", - "name": "Block", - "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": "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": "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": "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": "BlockCreatorAccountInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "kind": "SCALAR", - "name": "ObjectId", - "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": "", - "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": "BlockTransactionCoinbaseReceiverAccountQueryInput", - "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_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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_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": "BlockTransactionCoinbaseReceiverAccountQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "publicKey_lte", - "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 - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionCoinbaseReceiverAccountQueryInput", - "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": "stakingEpochData", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockchainLength", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "minWindowDensity", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochCount", - "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": "epoch", - "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 - } - }, - { - "defaultValue": null, - "description": "", - "name": "lastVrfOutput", - "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": "BlockProtocolStateConsensusStateInsertInput", - "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": "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", - "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_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": "publicKey_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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_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_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": "BlockCreatorAccountQueryInput", - "ofType": null - } - } - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockCreatorAccountQueryInput", - "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": "Long", - "ofType": null - } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedger", - "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": "StakePermissionInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "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 - } - }, - { - "defaultValue": null, - "description": "", - "name": "canonical_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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", - "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": "block_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", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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": "prover", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "workIds_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "SnarkUpdateInput", - "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": "BlockTransactionUserCommandFeePayerUpdateInput", - "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": "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": "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": "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 - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobInsertInput", - "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": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "blockchainState", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateBlockchainStateInsertInput", - "ofType": null - } - }, - { - "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 - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateInsertInput", - "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": "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": "TransactionFeePayerUpdateInput", - "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": [ - { - "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": "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_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "publicKey_lt", - "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_gt", - "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": "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", - "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_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "publicKey_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionSourceQueryInput", - "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": "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": "Snark", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "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 - } - } - }, - { - "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 - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionInsertInput", - "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_gte", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_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": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_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": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", - "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", - "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": "hash_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_lt", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_lte", - "type": { - "kind": "SCALAR", - "name": "Float", - "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": "hash_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_ne", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_gt", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", - "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": "source", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionSourceUpdateInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_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": "fee_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": "blockHeight_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feePayer", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionFeePayerUpdateInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "from", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feePayer_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": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionBlockStateHashRelationInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce_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": "canonical_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fromAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionFromAccountUpdateInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fromAccount_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "canonical", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason_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": "toAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionToAccountUpdateInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "isDelegation", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "toAccount_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_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_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": "nonce_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "receiver_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_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "to", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "source_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "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 - } - }, - { - "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 - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionFeeTransferUpdateInput", - "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": "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": "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": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "publicKey_gt", - "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": "BlockTransactionUserCommandSourceQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "publicKey_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_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": "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": "BlockTransactionUserCommandSourceQueryInput", - "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", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandSourceQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "stagedLedgerHash_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": "BlockProtocolStateBlockchainStateQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "date_gt", - "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_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "stagedLedgerHash_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "date_ne", - "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": "snarkedLedgerHash_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": "stagedLedgerHash_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stagedLedgerHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "snarkedLedgerHash_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "snarkedLedgerHash_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "snarkedLedgerHash_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "date_lte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stagedLedgerHash_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "snarkedLedgerHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "utcDate_gt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "utcDate_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "date_lt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "utcDate_lt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stagedLedgerHash_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "date_gte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stagedLedgerHash_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "date_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "utcDate_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "utcDate_gte", - "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_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_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "date_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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": "BlockProtocolStateBlockchainStateQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "utcDate_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "utcDate", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "snarkedLedgerHash_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "snarkedLedgerHash_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateBlockchainStateQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_gt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "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_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": "totalCurrency_ne", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_lt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_gt", - "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", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_lte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_nin", - "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": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_gte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint", - "type": { - "kind": "SCALAR", - "name": "String", - "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": "ledger", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerInsertInput", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumInsertInput", - "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": "publicKey_lt", - "type": { - "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": "BlockWinnerAccountQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "balance", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountBalanceQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "publicKey", - "type": { - "kind": "SCALAR", - "name": "String", - "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": "BlockWinnerAccountQueryInput", - "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_gt", - "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_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "balance_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "slot_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": "slotSinceGenesis_lte", - "type": { - "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_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lastVrfOutput_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lastVrfOutput", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochCount_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "minWindowDensity_gt", - "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_gt", - "type": { - "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": "blockchainLength_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "minWindowDensity_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockchainLength_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochCount_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "slot_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "minWindowDensity_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "slotSinceGenesis_gte", - "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": "lastVrfOutput_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "slotSinceGenesis_in", - "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": "blockchainLength_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "epoch_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockchainLength_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stakingEpochData_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochCount_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "slot", - "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": "minWindowDensity_nin", - "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_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_lte", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochCount_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": "BlockProtocolStateConsensusStateQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "slotSinceGenesis_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hasAncestorInSameCheckpointWindow_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochCount_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "slot_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_gte", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epoch_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lastVrfOutput_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochCount", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epoch_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockchainLength", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochCount_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "hasAncestorInSameCheckpointWindow_ne", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "slotSinceGenesis_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "slot_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "slotSinceGenesis_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochCount_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lastVrfOutput_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "minWindowDensity", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_ne", - "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": "slot_gte", - "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": "slotSinceGenesis", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "minWindowDensity_gte", - "type": { - "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": "blockHeight_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hasAncestorInSameCheckpointWindow", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "slot_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": "BlockProtocolStateConsensusStateQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "slotSinceGenesis_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lastVrfOutput_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nextEpochData", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_lt", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lastVrfOutput_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "minWindowDensity_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "slotSinceGenesis_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "stakingEpochData", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "minWindowDensity_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": "lastVrfOutput_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nextEpochData_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epoch", - "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_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "token_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "token", - "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": "TransactionFromAccountQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_lt", - "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_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_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 - } - } - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionFromAccountQueryInput", - "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": "BlockTransactionFeeTransferQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_gt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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", - "type": { - "kind": "SCALAR", - "name": "Long", - "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": "AND", - "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_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "type_lt", - "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_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "recipient_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "recipient_gt", - "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_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "type", - "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_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_ne", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "recipient_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "type_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "recipient_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "recipient", - "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_lte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_lt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "type_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionFeeTransferQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "seed_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "startCheckpoint_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": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochLength_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "startCheckpoint_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "startCheckpoint", - "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": "lockCheckpoint_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "seed_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "seed_ne", - "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": "startCheckpoint_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "seed_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "startCheckpoint_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "ledger_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": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "seed", - "type": { - "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": "epochLength_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "startCheckpoint_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "seed_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "ledger", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", - "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_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochLength_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochLength_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint_lte", - "type": { - "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": "epochLength", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochLength_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", - "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": "prover_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_gte", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "workIds_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "canonical", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "canonical_ne", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_ne", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee", - "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": "blockHeight_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "canonical_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover_gte", - "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": "prover_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_gt", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover_gt", - "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_lt", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "workIds_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": "SnarkQueryInput", - "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_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_lte", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "block_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockQueryInput", - "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 - } - } - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "SnarkQueryInput", - "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": "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": "TransactionToAccountUpdateInput", - "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": "BlockTransactionCoinbaseReceiverAccountUpdateInput", - "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": "BlockTransactionUserCommandReceiverUpdateInput", - "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": "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": "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": "cliff_amount", - "type": { - "kind": "SCALAR", - "name": "Float", - "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_weighting", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "vesting_period", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "timed_in_epoch", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "initial_minimum_balance", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "StakeTimingInsertInput", - "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": "set_delegate_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_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "edit_state", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "edit_state_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", - "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": "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": "stake_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "StakePermissionUpdateInput", - "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": "creator_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": "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": "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": "winnerAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountUpdateInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "winnerAccount_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": "stateHashField", - "type": { - "kind": "SCALAR", - "name": "String", - "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": "BlockSnarkJobUpdateInput", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "receivedTime", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "receivedTime_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "canonical", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHashField_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "transactions_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_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "creator", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "creatorAccount_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": "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": [ - { - "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": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockQueryInput", - "ofType": null - } - }, - { - "defaultValue": "100", - "description": "", - "name": "limit", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "sortBy", - "type": { - "kind": "ENUM", - "name": "BlockSortByInput", - "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": "SnarkQueryInput", - "ofType": null - } - } - ], - "description": "", - "name": "snark", - "type": { - "kind": "OBJECT", - "name": "Snark", - "ofType": null - } - }, - { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "sortBy", - "type": { - "kind": "ENUM", - "name": "SnarkSortByInput", - "ofType": null - } - }, - { - "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 - } - } - ], - "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": "dateTime", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_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": "blockHeight_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash_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": "blockStateHash_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_gt", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_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": "BlockSnarkJobQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_lte", - "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": "blockStateHash_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "workIds_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "workIds_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_ne", - "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": "blockStateHash_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", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee", - "type": { - "kind": "SCALAR", - "name": "Int", - "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_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "workIds_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover_ne", - "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_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_ne", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_lte", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_lt", - "type": { - "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": "dateTime_gte", - "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 - } - } - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobQueryInput", - "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_lte", - "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": "BlockTransactionUserCommandToAccountQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_ne", - "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_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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": "token_gte", - "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 - } - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandToAccountQueryInput", - "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_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": "AND", - "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 - } - }, - { - "defaultValue": null, - "description": "", - "name": "publicKey_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "publicKey_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": "BlockTransactionUserCommandReceiverQueryInput", - "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_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 - } - } - } - ], - "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": "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": "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": [ - { - "args": [], - "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "TransactionToAccount", - "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": "locked_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "total", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_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": "liquid_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "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": "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": "unknown", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "liquid_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "unknown_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "total_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stateHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountBalanceUpdateInput", - "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": "dateTime_ne", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo_nin", - "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": "token_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_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": "amount_gt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "canonical_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_in", - "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": "dateTime_lt", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken_gte", - "type": { - "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": "failureReason", - "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": "feeToken_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fromAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionFromAccountQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "canonical_ne", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "toAccount_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id", - "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": "fee_lt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "from", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fromAccount_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_gte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_ne", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind_in", - "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": "hash_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_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": "kind_gte", - "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_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": "fee_gte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_lt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "isDelegation_ne", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "source", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionSourceQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "isDelegation_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "from_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_lte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash", - "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": "id_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "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": "TransactionQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "from_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "canonical", - "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": "hash_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "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": "id_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "from_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "receiver", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionReceiverQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_ne", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_lte", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_gt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce_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": "blockHeight", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_lte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feePayer_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "isDelegation", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "receiver_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": "TransactionQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "source_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": "from_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_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": "id_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "toAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionToAccountQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "from_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason_ne", - "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": "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": "nonce_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_lte", - "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": "from_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "block", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_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": "memo_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": "memo_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": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionFeePayerInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "epochLength_lte", - "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": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "startCheckpoint", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "seed_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "seed_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": "lockCheckpoint_lte", - "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": "epochLength", - "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": "ledger", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "startCheckpoint_gte", - "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": "startCheckpoint_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint_ne", - "type": { - "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": "epochLength_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "seed", - "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": "lockCheckpoint_lt", - "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": "lockCheckpoint_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "startCheckpoint_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochLength_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "ledger_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": "startCheckpoint_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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": "seed_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": "startCheckpoint_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_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "startCheckpoint_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", - "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": 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": "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": "hasAncestorInSameCheckpointWindow_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lastVrfOutput", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nextEpochData", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumUpdateInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "slot_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight", - "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_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lastVrfOutput_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochCount_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": "blockchainLength", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "minWindowDensity", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epochCount_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epoch", - "type": { - "kind": "SCALAR", - "name": "Int", - "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": "epochCount", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "slot", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "minWindowDensity_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency_inc", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockchainLength_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": "totalCurrency", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "epoch_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hasAncestorInSameCheckpointWindow", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_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": "slotSinceGenesis", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "stakingEpochData", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "slotSinceGenesis_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockchainLength_inc", - "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": "memo_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_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": "from_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "receiver", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandReceiverQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash_lte", - "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": "failureReason_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "to", - "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": "hash_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "toAccount_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "from", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_gte", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feePayer_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": "from_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken_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": "blockStateHash_lt", - "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": "nonce_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fromAccount_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_in", - "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": "feeToken_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason_gte", - "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": "feeToken_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "id_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_lt", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "source_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "source", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandSourceQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "from_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_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_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_gt", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "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", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_ne", - "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": "failureReason_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo_nin", - "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": "amount_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash_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_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_lte", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_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": "blockHeight_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce_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": "to_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind_gte", - "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": "memo_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id_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": "blockHeight_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_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": "kind_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_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": "kind_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "feePayer", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFeePayerQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "isDelegation_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "dateTime_ne", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason_ne", - "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": "feeToken_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "receiver_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": "blockStateHash_ne", - "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": "from_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "from_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_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": "BlockTransactionUserCommandQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_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": "BlockTransactionUserCommandQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "toAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandToAccountQueryInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "isDelegation", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind_ne", - "type": { - "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": "from_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandQueryInput", - "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": "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 - } - } - }, - { - "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_lte", - "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_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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": "TransactionToAccountQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionToAccountQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ - { - "args": [], - "description": "", - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Long", - "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": "Long", - "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": "untimed_slot_gt", - "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": "untimed_slot_lte", - "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": "untimed_slot_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "vesting_increment_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": "cliff_amount_gt", - "type": { - "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": "StakeTimingQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "vesting_period", - "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": "timed_epoch_end_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "cliff_amount_ne", - "type": { - "kind": "SCALAR", - "name": "Float", - "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": "cliff_time_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "vesting_increment_gte", - "type": { - "kind": "SCALAR", - "name": "Float", - "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_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "cliff_time_lte", - "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_time_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "vesting_increment_lte", - "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": "initial_minimum_balance_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "cliff_time_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "vesting_period_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "timed_epoch_end_ne", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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": "vesting_period_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "untimed_slot", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "timed_weighting_ne", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "initial_minimum_balance_gte", - "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": "initial_minimum_balance_ne", - "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": "timed_weighting_gt", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "untimed_slot_lt", - "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": "cliff_amount_gte", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "cliff_amount_lte", - "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_increment", - "type": { - "kind": "SCALAR", - "name": "Float", - "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": "timed_epoch_end", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "vesting_period_ne", - "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": "timed_weighting_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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": "timed_in_epoch_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": "cliff_amount_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "vesting_period_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "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": "timed_weighting_lte", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "timed_weighting_gte", - "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": "StakeTimingQueryInput", - "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": "timed_weighting_lt", - "type": { - "kind": "SCALAR", - "name": "Float", - "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": "cliff_amount_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "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_time_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": "initial_minimum_balance_lt", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "untimed_slot_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "vesting_increment_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "cliff_time", - "type": { - "kind": "SCALAR", - "name": "Int", - "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": "timed_in_epoch_ne", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "cliff_amount", - "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": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFeePayerInsertInput", - "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": [ - { - "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": "blockHeight", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "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 - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountBalanceInsertInput", - "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": [ - { - "args": [], - "description": "", - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Int", - "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": "Int", - "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": [ - { - "args": [], - "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "TransactionFromAccount", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "feePayer", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFeePayerUpdateInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "source_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": "amount_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fromAccount_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": "dateTime", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "nonce", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "isDelegation", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_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": "token_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "receiver_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": "kind", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "to_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "memo_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_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": "nonce_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feeToken_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "isDelegation_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "failureReason_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "receiver", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandReceiverUpdateInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_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": "to", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id_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": "from_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "id", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "toAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandToAccountUpdateInput", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "from", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "feePayer_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "toAccount_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandUpdateInput", - "possibleTypes": null - } - ] - } - } -} \ No newline at end of file diff --git a/mina_schema/mina_explorer_schema.py b/mina_schema/mina_explorer_schema.py deleted file mode 100644 index 533c0de..0000000 --- a/mina_schema/mina_explorer_schema.py +++ /dev/null @@ -1,2787 +0,0 @@ -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__ = ('CREATOR_ASC', 'CREATOR_DESC', 'STATEHASH_ASC', 'STATEHASH_DESC', 'STATEHASHFIELD_ASC', 'STATEHASHFIELD_DESC', 'BLOCKHEIGHT_DESC', 'DATETIME_ASC', 'DATETIME_DESC', 'RECEIVEDTIME_ASC', 'RECEIVEDTIME_DESC', 'BLOCKHEIGHT_ASC') - - -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 ObjectId(sgqlc.types.Scalar): - __schema__ = mina_explorer_schema - - -class SnarkSortByInput(sgqlc.types.Enum): - __schema__ = mina_explorer_schema - __choices__ = ('FEE_DESC', 'PROVER_ASC', 'PROVER_DESC', 'BLOCKHEIGHT_ASC', 'BLOCKHEIGHT_DESC', 'BLOCKSTATEHASH_ASC', 'DATETIME_ASC', 'DATETIME_DESC', 'FEE_ASC', 'BLOCKSTATEHASH_DESC') - - -class StakeSortByInput(sgqlc.types.Enum): - __schema__ = mina_explorer_schema - __choices__ = ('CHAINID_ASC', 'EPOCH_ASC', 'EPOCH_DESC', 'BALANCE_ASC', 'NONCE_ASC', 'PUBLIC_KEY_DESC', 'VOTING_FOR_ASC', 'TOKEN_DESC', 'DELEGATE_ASC', 'DELEGATE_DESC', 'NONCE_DESC', 'PUBLIC_KEY_ASC', 'RECEIPT_CHAIN_HASH_DESC', 'LEDGERHASH_ASC', 'CHAINID_DESC', 'RECEIPT_CHAIN_HASH_ASC', 'VOTING_FOR_DESC', 'LEDGERHASH_DESC', 'TOKEN_ASC', 'BALANCE_DESC') - - -String = sgqlc.types.String - -class TransactionSortByInput(sgqlc.types.Enum): - __schema__ = mina_explorer_schema - __choices__ = ('HASH_ASC', 'FEE_ASC', 'BLOCKSTATEHASH_DESC', 'TO_ASC', 'TOKEN_ASC', 'AMOUNT_ASC', 'NONCE_DESC', 'FEE_DESC', 'DATETIME_ASC', 'FAILUREREASON_ASC', 'TOKEN_DESC', 'ID_ASC', 'ID_DESC', 'DATETIME_DESC', 'TO_DESC', 'BLOCKSTATEHASH_ASC', 'AMOUNT_DESC', 'KIND_ASC', 'KIND_DESC', 'HASH_DESC', 'FAILUREREASON_DESC', 'FROM_ASC', 'FROM_DESC', 'MEMO_DESC', 'BLOCKHEIGHT_ASC', 'NONCE_ASC', 'MEMO_ASC', 'BLOCKHEIGHT_DESC', 'FEETOKEN_ASC', 'FEETOKEN_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__ = ('and_', 'public_key', 'public_key_ne', 'public_key_gt', 'public_key_nin', 'public_key_exists', 'public_key_in', 'public_key_gte', 'public_key_lt', 'public_key_lte', 'or_') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockCreatorAccountQueryInput')), graphql_name='AND') - public_key = sgqlc.types.Field(String, graphql_name='publicKey') - public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') - 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') - public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') - public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') - public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') - public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') - public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockCreatorAccountQueryInput')), graphql_name='OR') - - -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__ = ('protocol_state', 'date_time', 'winner_account', 'state_hash', 'block_height', 'transactions', 'creator', 'snark_jobs', 'received_time', 'state_hash_field', 'creator_account', 'canonical') - protocol_state = sgqlc.types.Field('BlockProtocolStateInsertInput', graphql_name='protocolState') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - winner_account = sgqlc.types.Field('BlockWinnerAccountInsertInput', graphql_name='winnerAccount') - state_hash = sgqlc.types.Field(String, graphql_name='stateHash') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - transactions = sgqlc.types.Field('BlockTransactionInsertInput', graphql_name='transactions') - creator = sgqlc.types.Field(String, graphql_name='creator') - snark_jobs = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobInsertInput'), graphql_name='snarkJobs') - received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') - state_hash_field = sgqlc.types.Field(String, graphql_name='stateHashField') - creator_account = sgqlc.types.Field(BlockCreatorAccountInsertInput, graphql_name='creatorAccount') - canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') - - -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__ = ('staged_ledger_hash_lte', 'and_', 'date_gt', 'snarked_ledger_hash_exists', 'date_in', 'staged_ledger_hash_ne', 'date_ne', 'staged_ledger_hash_in', 'snarked_ledger_hash_lt', 'utc_date_ne', 'staged_ledger_hash_gte', 'staged_ledger_hash', 'snarked_ledger_hash_nin', 'snarked_ledger_hash_ne', 'snarked_ledger_hash_gt', 'date_lte', 'staged_ledger_hash_lt', 'snarked_ledger_hash', 'utc_date_gt', 'utc_date_exists', 'date_lt', 'utc_date_lt', 'staged_ledger_hash_nin', 'date_gte', 'staged_ledger_hash_gt', 'date_exists', 'utc_date_nin', 'utc_date_gte', 'utc_date_lte', 'staged_ledger_hash_exists', 'date', 'snarked_ledger_hash_lte', 'date_nin', 'or_', 'utc_date_in', 'utc_date', 'snarked_ledger_hash_gte', 'snarked_ledger_hash_in') - staged_ledger_hash_lte = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_lte') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateBlockchainStateQueryInput')), graphql_name='AND') - date_gt = sgqlc.types.Field(Long, graphql_name='date_gt') - snarked_ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='snarkedLedgerHash_exists') - date_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='date_in') - staged_ledger_hash_ne = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_ne') - date_ne = sgqlc.types.Field(Long, graphql_name='date_ne') - staged_ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stagedLedgerHash_in') - snarked_ledger_hash_lt = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_lt') - utc_date_ne = sgqlc.types.Field(Long, graphql_name='utcDate_ne') - staged_ledger_hash_gte = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_gte') - staged_ledger_hash = sgqlc.types.Field(String, graphql_name='stagedLedgerHash') - snarked_ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='snarkedLedgerHash_nin') - snarked_ledger_hash_ne = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_ne') - snarked_ledger_hash_gt = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_gt') - date_lte = sgqlc.types.Field(Long, graphql_name='date_lte') - staged_ledger_hash_lt = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_lt') - snarked_ledger_hash = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash') - utc_date_gt = sgqlc.types.Field(Long, graphql_name='utcDate_gt') - utc_date_exists = sgqlc.types.Field(Boolean, graphql_name='utcDate_exists') - date_lt = sgqlc.types.Field(Long, graphql_name='date_lt') - utc_date_lt = sgqlc.types.Field(Long, graphql_name='utcDate_lt') - staged_ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stagedLedgerHash_nin') - date_gte = sgqlc.types.Field(Long, graphql_name='date_gte') - staged_ledger_hash_gt = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_gt') - date_exists = sgqlc.types.Field(Boolean, graphql_name='date_exists') - utc_date_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='utcDate_nin') - utc_date_gte = sgqlc.types.Field(Long, graphql_name='utcDate_gte') - utc_date_lte = sgqlc.types.Field(Long, graphql_name='utcDate_lte') - staged_ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stagedLedgerHash_exists') - date = sgqlc.types.Field(Long, graphql_name='date') - snarked_ledger_hash_lte = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_lte') - date_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='date_nin') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateBlockchainStateQueryInput')), graphql_name='OR') - utc_date_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='utcDate_in') - utc_date = sgqlc.types.Field(Long, graphql_name='utcDate') - snarked_ledger_hash_gte = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_gte') - snarked_ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='snarkedLedgerHash_in') - - -class BlockProtocolStateBlockchainStateUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('date_unset', 'snarked_ledger_hash', 'snarked_ledger_hash_unset', 'staged_ledger_hash', 'staged_ledger_hash_unset', 'utc_date', 'utc_date_unset', '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') - 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') - - -class BlockProtocolStateConsensusStateInsertInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('staking_epoch_data', 'total_currency', 'blockchain_length', 'min_window_density', 'epoch_count', 'slot', 'slot_since_genesis', 'epoch', 'next_epoch_data', 'has_ancestor_in_same_checkpoint_window', 'last_vrf_output', 'block_height') - staking_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateStakingEpochDatumInsertInput', graphql_name='stakingEpochData') - total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') - blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') - min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') - epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') - slot = sgqlc.types.Field(Int, graphql_name='slot') - slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') - epoch = sgqlc.types.Field(Int, graphql_name='epoch') - next_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateNextEpochDatumInsertInput', graphql_name='nextEpochData') - has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') - last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - - -class BlockProtocolStateConsensusStateNextEpochDatumInsertInput(sgqlc.types.Input): - __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('BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput', 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 BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('total_currency', 'hash') - total_currency = sgqlc.types.Field(Long, graphql_name='totalCurrency') - hash = sgqlc.types.Field(String, graphql_name='hash') - - -class BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('total_currency_exists', 'total_currency_gt', 'total_currency', 'hash_lte', 'hash_nin', 'hash_ne', 'hash_exists', 'total_currency_ne', 'total_currency_in', 'or_', 'total_currency_lt', 'hash_gt', 'hash_in', 'hash', 'hash_gte', 'total_currency_lte', 'total_currency_nin', 'and_', 'hash_lt', 'total_currency_gte') - total_currency_exists = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_exists') - total_currency_gt = sgqlc.types.Field(Long, graphql_name='totalCurrency_gt') - total_currency = sgqlc.types.Field(Long, graphql_name='totalCurrency') - hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') - hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') - hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') - hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') - total_currency_ne = sgqlc.types.Field(Long, graphql_name='totalCurrency_ne') - total_currency_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='totalCurrency_in') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput')), graphql_name='OR') - total_currency_lt = sgqlc.types.Field(Long, graphql_name='totalCurrency_lt') - hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') - hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') - hash = sgqlc.types.Field(String, graphql_name='hash') - hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') - total_currency_lte = sgqlc.types.Field(Long, graphql_name='totalCurrency_lte') - total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='totalCurrency_nin') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput')), graphql_name='AND') - hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') - total_currency_gte = sgqlc.types.Field(Long, graphql_name='totalCurrency_gte') - - -class BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('hash_unset', 'total_currency', 'total_currency_unset', 'hash') - hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') - total_currency = sgqlc.types.Field(Long, graphql_name='totalCurrency') - total_currency_unset = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_unset') - hash = sgqlc.types.Field(String, graphql_name='hash') - - -class BlockProtocolStateConsensusStateNextEpochDatumQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('seed_lt', 'start_checkpoint_lt', 'or_', 'lock_checkpoint', 'epoch_length_gte', 'start_checkpoint_exists', 'lock_checkpoint_lt', 'start_checkpoint', 'seed_in', 'lock_checkpoint_gt', 'seed_gt', 'lock_checkpoint_gte', 'seed_ne', 'start_checkpoint_in', 'start_checkpoint_gt', 'seed_lte', 'start_checkpoint_gte', 'lock_checkpoint_in', 'ledger_exists', 'and_', 'seed', 'epoch_length_ne', 'start_checkpoint_ne', 'epoch_length_exists', 'epoch_length_nin', 'seed_gte', 'start_checkpoint_lte', 'seed_exists', 'ledger', 'start_checkpoint_nin', 'epoch_length_in', 'lock_checkpoint_exists', 'epoch_length_lt', 'lock_checkpoint_ne', 'epoch_length_gt', 'lock_checkpoint_lte', 'seed_nin', 'epoch_length', 'epoch_length_lte', 'lock_checkpoint_nin') - seed_lt = sgqlc.types.Field(String, graphql_name='seed_lt') - start_checkpoint_lt = sgqlc.types.Field(String, graphql_name='startCheckpoint_lt') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumQueryInput')), graphql_name='OR') - lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') - epoch_length_gte = sgqlc.types.Field(Int, graphql_name='epochLength_gte') - start_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_exists') - lock_checkpoint_lt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lt') - start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') - seed_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_in') - lock_checkpoint_gt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gt') - seed_gt = sgqlc.types.Field(String, graphql_name='seed_gt') - lock_checkpoint_gte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gte') - seed_ne = sgqlc.types.Field(String, graphql_name='seed_ne') - start_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_in') - start_checkpoint_gt = sgqlc.types.Field(String, graphql_name='startCheckpoint_gt') - seed_lte = sgqlc.types.Field(String, graphql_name='seed_lte') - start_checkpoint_gte = sgqlc.types.Field(String, graphql_name='startCheckpoint_gte') - lock_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_in') - ledger_exists = sgqlc.types.Field(Boolean, graphql_name='ledger_exists') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumQueryInput')), graphql_name='AND') - seed = sgqlc.types.Field(String, graphql_name='seed') - epoch_length_ne = sgqlc.types.Field(Int, graphql_name='epochLength_ne') - start_checkpoint_ne = sgqlc.types.Field(String, graphql_name='startCheckpoint_ne') - epoch_length_exists = sgqlc.types.Field(Boolean, graphql_name='epochLength_exists') - epoch_length_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_nin') - seed_gte = sgqlc.types.Field(String, graphql_name='seed_gte') - start_checkpoint_lte = sgqlc.types.Field(String, graphql_name='startCheckpoint_lte') - seed_exists = sgqlc.types.Field(Boolean, graphql_name='seed_exists') - ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput, graphql_name='ledger') - start_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_nin') - epoch_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_in') - lock_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_exists') - epoch_length_lt = sgqlc.types.Field(Int, graphql_name='epochLength_lt') - lock_checkpoint_ne = sgqlc.types.Field(String, graphql_name='lockCheckpoint_ne') - epoch_length_gt = sgqlc.types.Field(Int, graphql_name='epochLength_gt') - lock_checkpoint_lte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lte') - seed_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_nin') - epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') - epoch_length_lte = sgqlc.types.Field(Int, graphql_name='epochLength_lte') - lock_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_nin') - - -class BlockProtocolStateConsensusStateNextEpochDatumUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('epoch_length_unset', 'seed', 'start_checkpoint_unset', 'start_checkpoint', 'epoch_length', 'ledger_unset', 'lock_checkpoint_unset', 'epoch_length_inc', 'ledger', 'seed_unset', 'lock_checkpoint') - epoch_length_unset = sgqlc.types.Field(Boolean, graphql_name='epochLength_unset') - seed = sgqlc.types.Field(String, graphql_name='seed') - start_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_unset') - start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') - epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') - ledger_unset = sgqlc.types.Field(Boolean, graphql_name='ledger_unset') - lock_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_unset') - epoch_length_inc = sgqlc.types.Field(Int, graphql_name='epochLength_inc') - ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput, graphql_name='ledger') - seed_unset = sgqlc.types.Field(Boolean, graphql_name='seed_unset') - lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') - - -class BlockProtocolStateConsensusStateQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('slot_gt', 'total_currency_gt', 'slot_since_genesis_lte', 'blockchain_length_nin', 'epoch_count_ne', 'last_vrf_output_exists', 'last_vrf_output', 'epoch_count_exists', 'min_window_density_gt', 'min_window_density_ne', 'blockchain_length_gt', 'slot_in', 'blockchain_length_lte', 'block_height_lt', 'total_currency_exists', 'min_window_density_lte', 'blockchain_length_ne', 'epoch_count_gte', 'slot_exists', 'min_window_density_lt', 'slot_since_genesis_gte', 'epoch_in', 'last_vrf_output_nin', 'slot_since_genesis_in', 'epoch_lte', 'blockchain_length_in', 'epoch_ne', 'blockchain_length_gte', 'staking_epoch_data_exists', 'epoch_count_lt', 'slot', 'epoch_nin', 'min_window_density_nin', 'last_vrf_output_in', 'epoch_gt', 'total_currency_lte', 'epoch_count_lte', 'or_', 'total_currency_in', 'slot_since_genesis_lt', 'has_ancestor_in_same_checkpoint_window_exists', 'epoch_count_in', 'total_currency', 'slot_lte', 'total_currency_gte', 'epoch_lt', 'last_vrf_output_lte', 'epoch_count', 'block_height', 'epoch_gte', 'blockchain_length', 'epoch_count_nin', 'has_ancestor_in_same_checkpoint_window_ne', 'block_height_in', 'slot_since_genesis_exists', 'slot_lt', 'slot_since_genesis_ne', 'epoch_count_gt', 'last_vrf_output_lt', 'min_window_density', 'total_currency_ne', 'block_height_nin', 'slot_gte', 'slot_nin', 'slot_since_genesis', 'min_window_density_gte', 'total_currency_nin', 'block_height_gt', 'has_ancestor_in_same_checkpoint_window', 'slot_ne', 'and_', 'slot_since_genesis_gt', 'last_vrf_output_gt', 'next_epoch_data', 'total_currency_lt', 'last_vrf_output_ne', 'min_window_density_in', 'block_height_ne', 'block_height_gte', 'block_height_lte', 'block_height_exists', 'slot_since_genesis_nin', 'staking_epoch_data', 'min_window_density_exists', 'blockchain_length_exists', 'last_vrf_output_gte', 'next_epoch_data_exists', 'epoch', 'blockchain_length_lt', 'epoch_exists') - slot_gt = sgqlc.types.Field(Int, graphql_name='slot_gt') - total_currency_gt = sgqlc.types.Field(Float, graphql_name='totalCurrency_gt') - slot_since_genesis_lte = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_lte') - blockchain_length_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockchainLength_nin') - epoch_count_ne = sgqlc.types.Field(Int, graphql_name='epochCount_ne') - last_vrf_output_exists = sgqlc.types.Field(Boolean, graphql_name='lastVrfOutput_exists') - last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') - epoch_count_exists = sgqlc.types.Field(Boolean, graphql_name='epochCount_exists') - min_window_density_gt = sgqlc.types.Field(Int, graphql_name='minWindowDensity_gt') - min_window_density_ne = sgqlc.types.Field(Int, graphql_name='minWindowDensity_ne') - blockchain_length_gt = sgqlc.types.Field(Int, graphql_name='blockchainLength_gt') - slot_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slot_in') - blockchain_length_lte = sgqlc.types.Field(Int, graphql_name='blockchainLength_lte') - block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') - total_currency_exists = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_exists') - min_window_density_lte = sgqlc.types.Field(Int, graphql_name='minWindowDensity_lte') - blockchain_length_ne = sgqlc.types.Field(Int, graphql_name='blockchainLength_ne') - epoch_count_gte = sgqlc.types.Field(Int, graphql_name='epochCount_gte') - slot_exists = sgqlc.types.Field(Boolean, graphql_name='slot_exists') - min_window_density_lt = sgqlc.types.Field(Int, graphql_name='minWindowDensity_lt') - slot_since_genesis_gte = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_gte') - epoch_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_in') - last_vrf_output_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lastVrfOutput_nin') - slot_since_genesis_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slotSinceGenesis_in') - epoch_lte = sgqlc.types.Field(Int, graphql_name='epoch_lte') - blockchain_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockchainLength_in') - epoch_ne = sgqlc.types.Field(Int, graphql_name='epoch_ne') - blockchain_length_gte = sgqlc.types.Field(Int, graphql_name='blockchainLength_gte') - staking_epoch_data_exists = sgqlc.types.Field(Boolean, graphql_name='stakingEpochData_exists') - epoch_count_lt = sgqlc.types.Field(Int, graphql_name='epochCount_lt') - slot = sgqlc.types.Field(Int, graphql_name='slot') - epoch_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_nin') - min_window_density_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='minWindowDensity_nin') - last_vrf_output_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lastVrfOutput_in') - epoch_gt = sgqlc.types.Field(Int, graphql_name='epoch_gt') - total_currency_lte = sgqlc.types.Field(Float, graphql_name='totalCurrency_lte') - epoch_count_lte = sgqlc.types.Field(Int, graphql_name='epochCount_lte') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateQueryInput')), graphql_name='OR') - total_currency_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_in') - slot_since_genesis_lt = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_lt') - has_ancestor_in_same_checkpoint_window_exists = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_exists') - epoch_count_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochCount_in') - total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') - slot_lte = sgqlc.types.Field(Int, graphql_name='slot_lte') - total_currency_gte = sgqlc.types.Field(Float, graphql_name='totalCurrency_gte') - epoch_lt = sgqlc.types.Field(Int, graphql_name='epoch_lt') - last_vrf_output_lte = sgqlc.types.Field(String, graphql_name='lastVrfOutput_lte') - epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - epoch_gte = sgqlc.types.Field(Int, graphql_name='epoch_gte') - blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') - epoch_count_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochCount_nin') - has_ancestor_in_same_checkpoint_window_ne = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_ne') - block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') - slot_since_genesis_exists = sgqlc.types.Field(Boolean, graphql_name='slotSinceGenesis_exists') - slot_lt = sgqlc.types.Field(Int, graphql_name='slot_lt') - slot_since_genesis_ne = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_ne') - epoch_count_gt = sgqlc.types.Field(Int, graphql_name='epochCount_gt') - last_vrf_output_lt = sgqlc.types.Field(String, graphql_name='lastVrfOutput_lt') - min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') - total_currency_ne = sgqlc.types.Field(Float, graphql_name='totalCurrency_ne') - block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') - slot_gte = sgqlc.types.Field(Int, graphql_name='slot_gte') - slot_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slot_nin') - slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') - min_window_density_gte = sgqlc.types.Field(Int, graphql_name='minWindowDensity_gte') - total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_nin') - block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') - has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') - slot_ne = sgqlc.types.Field(Int, graphql_name='slot_ne') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateQueryInput')), graphql_name='AND') - slot_since_genesis_gt = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_gt') - last_vrf_output_gt = sgqlc.types.Field(String, graphql_name='lastVrfOutput_gt') - next_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumQueryInput, graphql_name='nextEpochData') - total_currency_lt = sgqlc.types.Field(Float, graphql_name='totalCurrency_lt') - last_vrf_output_ne = sgqlc.types.Field(String, graphql_name='lastVrfOutput_ne') - min_window_density_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='minWindowDensity_in') - block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') - block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') - block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') - block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') - slot_since_genesis_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slotSinceGenesis_nin') - staking_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateStakingEpochDatumQueryInput', graphql_name='stakingEpochData') - min_window_density_exists = sgqlc.types.Field(Boolean, graphql_name='minWindowDensity_exists') - blockchain_length_exists = sgqlc.types.Field(Boolean, graphql_name='blockchainLength_exists') - last_vrf_output_gte = sgqlc.types.Field(String, graphql_name='lastVrfOutput_gte') - next_epoch_data_exists = sgqlc.types.Field(Boolean, graphql_name='nextEpochData_exists') - epoch = sgqlc.types.Field(Int, graphql_name='epoch') - blockchain_length_lt = sgqlc.types.Field(Int, graphql_name='blockchainLength_lt') - epoch_exists = sgqlc.types.Field(Boolean, graphql_name='epoch_exists') - - -class BlockProtocolStateConsensusStateStakingEpochDatumInsertInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('lock_checkpoint', 'seed', 'start_checkpoint', 'epoch_length', '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') - epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') - ledger = sgqlc.types.Field('BlockProtocolStateConsensusStateStakingEpochDatumLedgerInsertInput', graphql_name='ledger') - - -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__ = ('hash', 'total_currency_gte', 'hash_exists', 'and_', 'hash_ne', 'or_', 'hash_nin', 'total_currency', 'total_currency_nin', 'hash_gte', 'total_currency_lt', 'total_currency_lte', 'total_currency_in', 'hash_lt', 'hash_in', 'total_currency_ne', 'hash_lte', 'total_currency_gt', 'total_currency_exists', 'hash_gt') - hash = sgqlc.types.Field(String, graphql_name='hash') - total_currency_gte = sgqlc.types.Field(Float, graphql_name='totalCurrency_gte') - hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput')), graphql_name='AND') - hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput')), graphql_name='OR') - hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') - total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') - total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_nin') - hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') - total_currency_lt = sgqlc.types.Field(Float, graphql_name='totalCurrency_lt') - total_currency_lte = sgqlc.types.Field(Float, graphql_name='totalCurrency_lte') - 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') - hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') - total_currency_ne = sgqlc.types.Field(Float, graphql_name='totalCurrency_ne') - hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') - total_currency_gt = sgqlc.types.Field(Float, graphql_name='totalCurrency_gt') - total_currency_exists = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_exists') - hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') - - -class BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('hash_unset', 'total_currency', 'total_currency_inc', 'total_currency_unset', 'hash') - hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') - total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') - 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') - - -class BlockProtocolStateConsensusStateStakingEpochDatumQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('epoch_length_lte', 'and_', 'start_checkpoint', 'seed_exists', 'seed_lte', 'lock_checkpoint_nin', 'lock_checkpoint_lte', 'epoch_length_nin', 'epoch_length', 'or_', 'ledger', 'lock_checkpoint', 'start_checkpoint_gte', 'start_checkpoint_in', 'start_checkpoint_gt', 'lock_checkpoint_ne', 'seed_nin', 'epoch_length_lt', 'seed', 'epoch_length_in', 'lock_checkpoint_lt', 'start_checkpoint_nin', 'lock_checkpoint_in', 'epoch_length_gte', 'lock_checkpoint_gte', 'epoch_length_exists', 'start_checkpoint_lt', 'epoch_length_ne', 'ledger_exists', 'seed_lt', 'start_checkpoint_lte', 'lock_checkpoint_exists', 'seed_gte', 'lock_checkpoint_gt', 'seed_gt', 'epoch_length_gt', 'start_checkpoint_ne', 'seed_in', 'seed_ne', 'start_checkpoint_exists') - epoch_length_lte = sgqlc.types.Field(Int, graphql_name='epochLength_lte') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumQueryInput')), graphql_name='AND') - start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') - seed_exists = sgqlc.types.Field(Boolean, graphql_name='seed_exists') - seed_lte = sgqlc.types.Field(String, graphql_name='seed_lte') - lock_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_nin') - lock_checkpoint_lte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lte') - epoch_length_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_nin') - epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumQueryInput')), graphql_name='OR') - ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput, graphql_name='ledger') - lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') - start_checkpoint_gte = sgqlc.types.Field(String, graphql_name='startCheckpoint_gte') - start_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_in') - start_checkpoint_gt = sgqlc.types.Field(String, graphql_name='startCheckpoint_gt') - lock_checkpoint_ne = sgqlc.types.Field(String, graphql_name='lockCheckpoint_ne') - seed_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_nin') - epoch_length_lt = sgqlc.types.Field(Int, graphql_name='epochLength_lt') - seed = sgqlc.types.Field(String, graphql_name='seed') - epoch_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_in') - lock_checkpoint_lt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lt') - start_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_nin') - lock_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_in') - epoch_length_gte = sgqlc.types.Field(Int, graphql_name='epochLength_gte') - lock_checkpoint_gte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gte') - epoch_length_exists = sgqlc.types.Field(Boolean, graphql_name='epochLength_exists') - start_checkpoint_lt = sgqlc.types.Field(String, graphql_name='startCheckpoint_lt') - epoch_length_ne = sgqlc.types.Field(Int, graphql_name='epochLength_ne') - ledger_exists = sgqlc.types.Field(Boolean, graphql_name='ledger_exists') - seed_lt = sgqlc.types.Field(String, graphql_name='seed_lt') - start_checkpoint_lte = sgqlc.types.Field(String, graphql_name='startCheckpoint_lte') - lock_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_exists') - seed_gte = sgqlc.types.Field(String, graphql_name='seed_gte') - lock_checkpoint_gt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gt') - seed_gt = sgqlc.types.Field(String, graphql_name='seed_gt') - epoch_length_gt = sgqlc.types.Field(Int, graphql_name='epochLength_gt') - start_checkpoint_ne = sgqlc.types.Field(String, graphql_name='startCheckpoint_ne') - seed_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_in') - seed_ne = sgqlc.types.Field(String, graphql_name='seed_ne') - start_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_exists') - - -class BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('epoch_length', 'epoch_length_unset', 'lock_checkpoint_unset', 'seed', 'ledger', 'lock_checkpoint', 'seed_unset', 'start_checkpoint', 'ledger_unset', 'start_checkpoint_unset', 'epoch_length_inc') - epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') - epoch_length_unset = sgqlc.types.Field(Boolean, graphql_name='epochLength_unset') - lock_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_unset') - seed = sgqlc.types.Field(String, graphql_name='seed') - ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput, graphql_name='ledger') - lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') - seed_unset = sgqlc.types.Field(Boolean, graphql_name='seed_unset') - start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') - ledger_unset = sgqlc.types.Field(Boolean, graphql_name='ledger_unset') - start_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_unset') - epoch_length_inc = sgqlc.types.Field(Int, graphql_name='epochLength_inc') - - -class BlockProtocolStateConsensusStateUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('has_ancestor_in_same_checkpoint_window_unset', 'last_vrf_output', 'next_epoch_data', 'slot_unset', 'block_height', 'slot_inc', 'next_epoch_data_unset', 'last_vrf_output_unset', 'epoch_count_unset', 'block_height_unset', 'blockchain_length', 'min_window_density', 'epoch_count_inc', 'epoch', 'slot_since_genesis_unset', 'staking_epoch_data_unset', 'epoch_count', 'total_currency_unset', 'slot', 'min_window_density_inc', 'total_currency_inc', 'blockchain_length_unset', 'min_window_density_unset', 'total_currency', 'epoch_unset', 'has_ancestor_in_same_checkpoint_window', 'block_height_inc', 'epoch_inc', 'slot_since_genesis', 'staking_epoch_data', 'slot_since_genesis_inc', 'blockchain_length_inc') - has_ancestor_in_same_checkpoint_window_unset = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_unset') - last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') - next_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumUpdateInput, graphql_name='nextEpochData') - slot_unset = sgqlc.types.Field(Boolean, graphql_name='slot_unset') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - slot_inc = sgqlc.types.Field(Int, graphql_name='slot_inc') - next_epoch_data_unset = sgqlc.types.Field(Boolean, graphql_name='nextEpochData_unset') - last_vrf_output_unset = sgqlc.types.Field(Boolean, graphql_name='lastVrfOutput_unset') - epoch_count_unset = sgqlc.types.Field(Boolean, graphql_name='epochCount_unset') - block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') - blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') - min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') - epoch_count_inc = sgqlc.types.Field(Int, graphql_name='epochCount_inc') - epoch = sgqlc.types.Field(Int, graphql_name='epoch') - slot_since_genesis_unset = sgqlc.types.Field(Boolean, graphql_name='slotSinceGenesis_unset') - staking_epoch_data_unset = sgqlc.types.Field(Boolean, graphql_name='stakingEpochData_unset') - epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') - total_currency_unset = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_unset') - slot = sgqlc.types.Field(Int, graphql_name='slot') - min_window_density_inc = sgqlc.types.Field(Int, graphql_name='minWindowDensity_inc') - total_currency_inc = sgqlc.types.Field(Float, graphql_name='totalCurrency_inc') - blockchain_length_unset = sgqlc.types.Field(Boolean, graphql_name='blockchainLength_unset') - min_window_density_unset = sgqlc.types.Field(Boolean, graphql_name='minWindowDensity_unset') - total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') - epoch_unset = sgqlc.types.Field(Boolean, graphql_name='epoch_unset') - has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') - block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') - epoch_inc = sgqlc.types.Field(Int, graphql_name='epoch_inc') - slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') - staking_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput, graphql_name='stakingEpochData') - slot_since_genesis_inc = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_inc') - blockchain_length_inc = sgqlc.types.Field(Int, graphql_name='blockchainLength_inc') - - -class BlockProtocolStateInsertInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('blockchain_state', 'consensus_state', 'previous_state_hash') - blockchain_state = sgqlc.types.Field(BlockProtocolStateBlockchainStateInsertInput, graphql_name='blockchainState') - consensus_state = sgqlc.types.Field(BlockProtocolStateConsensusStateInsertInput, graphql_name='consensusState') - previous_state_hash = sgqlc.types.Field(String, graphql_name='previousStateHash') - - -class BlockProtocolStateQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('blockchain_state', 'previous_state_hash_gt', 'consensus_state_exists', 'previous_state_hash_lte', 'previous_state_hash_in', 'previous_state_hash_nin', 'blockchain_state_exists', 'consensus_state', 'previous_state_hash_ne', 'or_', 'and_', 'previous_state_hash_exists', 'previous_state_hash_gte', 'previous_state_hash_lt', 'previous_state_hash') - blockchain_state = sgqlc.types.Field(BlockProtocolStateBlockchainStateQueryInput, graphql_name='blockchainState') - previous_state_hash_gt = sgqlc.types.Field(String, graphql_name='previousStateHash_gt') - consensus_state_exists = sgqlc.types.Field(Boolean, graphql_name='consensusState_exists') - 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') - blockchain_state_exists = sgqlc.types.Field(Boolean, graphql_name='blockchainState_exists') - consensus_state = sgqlc.types.Field(BlockProtocolStateConsensusStateQueryInput, graphql_name='consensusState') - previous_state_hash_ne = sgqlc.types.Field(String, graphql_name='previousStateHash_ne') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateQueryInput')), graphql_name='OR') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateQueryInput')), graphql_name='AND') - previous_state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='previousStateHash_exists') - previous_state_hash_gte = sgqlc.types.Field(String, graphql_name='previousStateHash_gte') - previous_state_hash_lt = sgqlc.types.Field(String, graphql_name='previousStateHash_lt') - previous_state_hash = sgqlc.types.Field(String, graphql_name='previousStateHash') - - -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_lte', 'state_hash_field_exists', 'received_time_in', 'date_time_lt', 'state_hash_field_nin', 'snark_jobs_nin', 'canonical_exists', 'protocol_state', 'winner_account_exists', 'creator_ne', 'received_time', 'state_hash', 'protocol_state_exists', 'state_hash_nin', 'block_height_gte', 'state_hash_ne', 'received_time_exists', 'date_time_gte', 'block_height_ne', 'creator_in', 'received_time_gt', 'canonical_ne', 'state_hash_field_ne', 'creator_gt', 'date_time_ne', 'state_hash_exists', 'block_height', 'date_time_nin', 'or_', 'state_hash_field_lt', 'transactions_exists', 'canonical', 'creator_gte', 'received_time_nin', 'block_height_exists', 'received_time_gte', 'creator', 'state_hash_in', 'creator_lt', 'creator_exists', 'snark_jobs', 'date_time_lte', 'state_hash_gt', 'state_hash_gte', 'block_height_in', 'date_time_gt', 'winner_account', 'state_hash_lt', 'state_hash_field_lte', 'state_hash_field_gt', 'state_hash_field_in', 'block_height_lt', 'transactions', 'block_height_nin', 'state_hash_lte', 'creator_nin', 'state_hash_field', 'state_hash_field_gte', 'and_', 'received_time_lte', 'block_height_gt', 'snark_jobs_in', 'snark_jobs_exists', 'received_time_lt', 'date_time', 'date_time_exists', 'creator_account', 'date_time_in', 'received_time_ne', 'creator_lte', 'creator_account_exists') - block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') - state_hash_field_exists = sgqlc.types.Field(Boolean, graphql_name='stateHashField_exists') - received_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='receivedTime_in') - date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') - state_hash_field_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHashField_nin') - snark_jobs_nin = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs_nin') - canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') - protocol_state = sgqlc.types.Field(BlockProtocolStateQueryInput, graphql_name='protocolState') - winner_account_exists = sgqlc.types.Field(Boolean, graphql_name='winnerAccount_exists') - creator_ne = sgqlc.types.Field(String, graphql_name='creator_ne') - received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') - state_hash = sgqlc.types.Field(String, graphql_name='stateHash') - protocol_state_exists = sgqlc.types.Field(Boolean, graphql_name='protocolState_exists') - state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_nin') - block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') - state_hash_ne = sgqlc.types.Field(String, graphql_name='stateHash_ne') - received_time_exists = sgqlc.types.Field(Boolean, graphql_name='receivedTime_exists') - date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') - block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') - creator_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='creator_in') - received_time_gt = sgqlc.types.Field(DateTime, graphql_name='receivedTime_gt') - canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') - state_hash_field_ne = sgqlc.types.Field(String, graphql_name='stateHashField_ne') - creator_gt = sgqlc.types.Field(String, graphql_name='creator_gt') - date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') - state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stateHash_exists') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockQueryInput')), graphql_name='OR') - state_hash_field_lt = sgqlc.types.Field(String, graphql_name='stateHashField_lt') - transactions_exists = sgqlc.types.Field(Boolean, graphql_name='transactions_exists') - canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') - creator_gte = sgqlc.types.Field(String, graphql_name='creator_gte') - received_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='receivedTime_nin') - block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') - received_time_gte = sgqlc.types.Field(DateTime, graphql_name='receivedTime_gte') - creator = sgqlc.types.Field(String, graphql_name='creator') - state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_in') - creator_lt = sgqlc.types.Field(String, graphql_name='creator_lt') - creator_exists = sgqlc.types.Field(Boolean, graphql_name='creator_exists') - snark_jobs = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs') - date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') - state_hash_gt = sgqlc.types.Field(String, graphql_name='stateHash_gt') - state_hash_gte = sgqlc.types.Field(String, graphql_name='stateHash_gte') - block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') - date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') - winner_account = sgqlc.types.Field('BlockWinnerAccountQueryInput', graphql_name='winnerAccount') - state_hash_lt = sgqlc.types.Field(String, graphql_name='stateHash_lt') - state_hash_field_lte = sgqlc.types.Field(String, graphql_name='stateHashField_lte') - state_hash_field_gt = sgqlc.types.Field(String, graphql_name='stateHashField_gt') - state_hash_field_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHashField_in') - block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') - transactions = sgqlc.types.Field('BlockTransactionQueryInput', graphql_name='transactions') - block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') - state_hash_lte = sgqlc.types.Field(String, graphql_name='stateHash_lte') - creator_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='creator_nin') - state_hash_field = sgqlc.types.Field(String, graphql_name='stateHashField') - state_hash_field_gte = sgqlc.types.Field(String, graphql_name='stateHashField_gte') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockQueryInput')), graphql_name='AND') - received_time_lte = sgqlc.types.Field(DateTime, graphql_name='receivedTime_lte') - block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') - snark_jobs_in = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs_in') - snark_jobs_exists = sgqlc.types.Field(Boolean, graphql_name='snarkJobs_exists') - received_time_lt = sgqlc.types.Field(DateTime, graphql_name='receivedTime_lt') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') - creator_account = sgqlc.types.Field(BlockCreatorAccountQueryInput, graphql_name='creatorAccount') - date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') - received_time_ne = sgqlc.types.Field(DateTime, graphql_name='receivedTime_ne') - creator_lte = sgqlc.types.Field(String, graphql_name='creator_lte') - creator_account_exists = sgqlc.types.Field(Boolean, graphql_name='creatorAccount_exists') - - -class BlockSnarkJobInsertInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('fee', 'prover', 'work_ids', 'block_height', 'block_state_hash', 'date_time') - 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') - block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - - -class BlockSnarkJobQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('date_time', 'prover_gt', 'fee_gte', 'date_time_exists', 'block_height_gt', 'fee_exists', 'block_state_hash_exists', 'block_height_lt', 'block_state_hash_in', 'date_time_gt', 'block_height_exists', 'and_', 'fee_lte', 'prover_nin', 'block_state_hash_gte', 'work_ids_exists', 'date_time_in', 'prover_lt', 'work_ids_nin', 'block_height_ne', 'block_height_nin', 'block_state_hash_nin', 'date_time_nin', 'block_height', 'fee', 'fee_in', 'prover_in', 'work_ids_in', 'block_state_hash_ne', 'prover_exists', 'prover_ne', 'work_ids', 'fee_nin', 'block_height_lte', 'date_time_ne', 'prover_gte', 'block_state_hash_lt', 'prover', 'block_state_hash_gt', 'prover_lte', 'block_height_gte', 'fee_ne', 'fee_gt', 'block_state_hash', 'block_state_hash_lte', 'fee_lt', 'date_time_lte', 'date_time_lt', 'block_height_in', 'date_time_gte', 'or_') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - prover_gt = sgqlc.types.Field(String, graphql_name='prover_gt') - fee_gte = sgqlc.types.Field(Int, graphql_name='fee_gte') - date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') - block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') - fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') - block_state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_exists') - block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') - block_state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_in') - date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') - block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockSnarkJobQueryInput')), graphql_name='AND') - fee_lte = sgqlc.types.Field(Int, graphql_name='fee_lte') - prover_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_nin') - block_state_hash_gte = sgqlc.types.Field(String, graphql_name='blockStateHash_gte') - work_ids_exists = sgqlc.types.Field(Boolean, graphql_name='workIds_exists') - date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') - prover_lt = sgqlc.types.Field(String, graphql_name='prover_lt') - work_ids_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_nin') - block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') - block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') - block_state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_nin') - date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - fee = sgqlc.types.Field(Int, graphql_name='fee') - fee_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_in') - prover_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_in') - work_ids_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_in') - block_state_hash_ne = sgqlc.types.Field(String, graphql_name='blockStateHash_ne') - prover_exists = sgqlc.types.Field(Boolean, graphql_name='prover_exists') - prover_ne = sgqlc.types.Field(String, graphql_name='prover_ne') - work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') - fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_nin') - block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') - date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') - prover_gte = sgqlc.types.Field(String, graphql_name='prover_gte') - block_state_hash_lt = sgqlc.types.Field(String, graphql_name='blockStateHash_lt') - prover = sgqlc.types.Field(String, graphql_name='prover') - block_state_hash_gt = sgqlc.types.Field(String, graphql_name='blockStateHash_gt') - prover_lte = sgqlc.types.Field(String, graphql_name='prover_lte') - block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') - fee_ne = sgqlc.types.Field(Int, graphql_name='fee_ne') - fee_gt = sgqlc.types.Field(Int, graphql_name='fee_gt') - block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') - block_state_hash_lte = sgqlc.types.Field(String, graphql_name='blockStateHash_lte') - fee_lt = sgqlc.types.Field(Int, graphql_name='fee_lt') - date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') - date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') - block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') - date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockSnarkJobQueryInput')), graphql_name='OR') - - -class BlockSnarkJobUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('block_state_hash_unset', 'block_height_inc', 'date_time_unset', 'date_time', 'block_state_hash', 'block_height_unset', 'fee_inc', 'block_height', 'work_ids_unset', 'work_ids', 'fee', 'fee_unset', 'prover', 'prover_unset') - block_state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_unset') - block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') - date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') - block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') - fee_inc = sgqlc.types.Field(Int, graphql_name='fee_inc') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - work_ids_unset = sgqlc.types.Field(Boolean, graphql_name='workIds_unset') - work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') - fee = sgqlc.types.Field(Int, graphql_name='fee') - fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') - prover = sgqlc.types.Field(String, graphql_name='prover') - prover_unset = sgqlc.types.Field(Boolean, graphql_name='prover_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__ = ('and_', 'public_key_ne', 'public_key_gte', 'public_key_in', 'public_key', 'public_key_lt', 'public_key_nin', 'or_', 'public_key_lte', 'public_key_gt', 'public_key_exists') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionCoinbaseReceiverAccountQueryInput')), graphql_name='AND') - public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') - public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') - public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') - public_key = sgqlc.types.Field(String, graphql_name='publicKey') - 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') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionCoinbaseReceiverAccountQueryInput')), graphql_name='OR') - public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') - public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') - public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') - - -class BlockTransactionCoinbaseReceiverAccountUpdateInput(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 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__ = ('or_', 'fee_gt', 'fee_exists', 'type_in', 'fee', 'fee_gte', 'recipient_ne', 'and_', 'type_ne', 'fee_nin', 'type_lt', 'type_lte', 'recipient_in', 'recipient_lt', 'recipient_gt', 'recipient_lte', 'fee_in', 'type', 'recipient_nin', 'type_gte', 'fee_ne', 'recipient_gte', 'type_gt', 'recipient_exists', 'recipient', 'type_nin', 'fee_lte', 'fee_lt', 'type_exists') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionFeeTransferQueryInput')), graphql_name='OR') - fee_gt = sgqlc.types.Field(Long, graphql_name='fee_gt') - fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') - type_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='type_in') - fee = sgqlc.types.Field(Long, graphql_name='fee') - fee_gte = sgqlc.types.Field(Long, graphql_name='fee_gte') - recipient_ne = sgqlc.types.Field(String, graphql_name='recipient_ne') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionFeeTransferQueryInput')), graphql_name='AND') - type_ne = sgqlc.types.Field(String, graphql_name='type_ne') - fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_nin') - type_lt = sgqlc.types.Field(String, graphql_name='type_lt') - type_lte = sgqlc.types.Field(String, graphql_name='type_lte') - recipient_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='recipient_in') - recipient_lt = sgqlc.types.Field(String, graphql_name='recipient_lt') - recipient_gt = sgqlc.types.Field(String, graphql_name='recipient_gt') - recipient_lte = sgqlc.types.Field(String, graphql_name='recipient_lte') - fee_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_in') - type = sgqlc.types.Field(String, graphql_name='type') - recipient_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='recipient_nin') - type_gte = sgqlc.types.Field(String, graphql_name='type_gte') - fee_ne = sgqlc.types.Field(Long, graphql_name='fee_ne') - recipient_gte = sgqlc.types.Field(String, graphql_name='recipient_gte') - type_gt = sgqlc.types.Field(String, graphql_name='type_gt') - recipient_exists = sgqlc.types.Field(Boolean, graphql_name='recipient_exists') - recipient = sgqlc.types.Field(String, graphql_name='recipient') - type_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='type_nin') - fee_lte = sgqlc.types.Field(Long, graphql_name='fee_lte') - fee_lt = sgqlc.types.Field(Long, graphql_name='fee_lt') - type_exists = sgqlc.types.Field(Boolean, graphql_name='type_exists') - - -class BlockTransactionFeeTransferUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('fee', 'fee_unset', 'recipient', 'recipient_unset', 'type', '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') - 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') - - -class BlockTransactionInsertInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('fee_transfer', 'user_commands', 'coinbase', 'coinbase_receiver_account') - 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') - coinbase = sgqlc.types.Field(Long, graphql_name='coinbase') - coinbase_receiver_account = sgqlc.types.Field(BlockTransactionCoinbaseReceiverAccountInsertInput, graphql_name='coinbaseReceiverAccount') - - -class BlockTransactionQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('coinbase_in', 'fee_transfer_in', 'and_', 'fee_transfer', 'fee_transfer_nin', 'user_commands', 'coinbase_receiver_account_exists', 'coinbase', 'coinbase_gt', 'coinbase_gte', 'user_commands_exists', 'coinbase_lt', 'coinbase_exists', 'user_commands_in', 'user_commands_nin', 'coinbase_lte', 'coinbase_nin', 'fee_transfer_exists', 'coinbase_receiver_account', 'or_', 'coinbase_ne') - coinbase_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='coinbase_in') - fee_transfer_in = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer_in') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionQueryInput')), graphql_name='AND') - fee_transfer = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer') - fee_transfer_nin = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer_nin') - user_commands = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandQueryInput'), graphql_name='userCommands') - coinbase_receiver_account_exists = sgqlc.types.Field(Boolean, graphql_name='coinbaseReceiverAccount_exists') - coinbase = sgqlc.types.Field(Long, graphql_name='coinbase') - coinbase_gt = sgqlc.types.Field(Long, graphql_name='coinbase_gt') - coinbase_gte = sgqlc.types.Field(Long, graphql_name='coinbase_gte') - user_commands_exists = sgqlc.types.Field(Boolean, graphql_name='userCommands_exists') - coinbase_lt = sgqlc.types.Field(Long, graphql_name='coinbase_lt') - coinbase_exists = sgqlc.types.Field(Boolean, graphql_name='coinbase_exists') - user_commands_in = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandQueryInput'), graphql_name='userCommands_in') - user_commands_nin = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandQueryInput'), graphql_name='userCommands_nin') - coinbase_lte = sgqlc.types.Field(Long, graphql_name='coinbase_lte') - coinbase_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='coinbase_nin') - fee_transfer_exists = sgqlc.types.Field(Boolean, graphql_name='feeTransfer_exists') - coinbase_receiver_account = sgqlc.types.Field(BlockTransactionCoinbaseReceiverAccountQueryInput, graphql_name='coinbaseReceiverAccount') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionQueryInput')), graphql_name='OR') - coinbase_ne = sgqlc.types.Field(Long, graphql_name='coinbase_ne') - - -class BlockTransactionUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('coinbase_unset', 'coinbase_receiver_account', 'coinbase_receiver_account_unset', 'fee_transfer', 'fee_transfer_unset', 'user_commands', 'user_commands_unset', 'coinbase') - coinbase_unset = sgqlc.types.Field(Boolean, graphql_name='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') - - -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_gt', 'token_lte', 'or_', 'token_gte', 'token_exists', 'and_', 'token_ne', 'token_lt', 'token_nin', 'token_in', 'token') - token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') - token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFeePayerQueryInput')), graphql_name='OR') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') - token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFeePayerQueryInput')), graphql_name='AND') - token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') - token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') - token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') - token = sgqlc.types.Field(Int, graphql_name='token') - - -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__ = ('and_', 'token_lte', 'token_in', 'token_nin', 'token_gt', 'token_gte', 'or_', 'token', 'token_lt', 'token_exists', 'token_ne') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFromAccountQueryInput')), graphql_name='AND') - 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_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') - token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') - 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_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') - token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') - - -class BlockTransactionUserCommandFromAccountUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('token', 'token_unset', 'token_inc') - token = sgqlc.types.Field(Int, graphql_name='token') - token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') - token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') - - -class BlockTransactionUserCommandInsertInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('fee_token', 'receiver', 'block_height', 'from_account', 'hash', 'block_state_hash', 'date_time', 'amount', 'id', 'to', 'source', 'token', 'fee', 'from_', 'failure_reason', 'memo', 'kind', 'fee_payer', 'nonce', 'to_account', 'is_delegation') - fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') - receiver = sgqlc.types.Field('BlockTransactionUserCommandReceiverInsertInput', graphql_name='receiver') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - from_account = sgqlc.types.Field(BlockTransactionUserCommandFromAccountInsertInput, graphql_name='fromAccount') - hash = sgqlc.types.Field(String, graphql_name='hash') - block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - amount = sgqlc.types.Field(Int, graphql_name='amount') - id = sgqlc.types.Field(String, graphql_name='id') - to = sgqlc.types.Field(String, graphql_name='to') - source = sgqlc.types.Field('BlockTransactionUserCommandSourceInsertInput', graphql_name='source') - token = sgqlc.types.Field(Int, graphql_name='token') - fee = sgqlc.types.Field(Int, graphql_name='fee') - from_ = sgqlc.types.Field(String, graphql_name='from') - failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') - memo = sgqlc.types.Field(String, graphql_name='memo') - kind = sgqlc.types.Field(String, graphql_name='kind') - fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerInsertInput, graphql_name='feePayer') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - to_account = sgqlc.types.Field('BlockTransactionUserCommandToAccountInsertInput', graphql_name='toAccount') - is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') - - -class BlockTransactionUserCommandQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('memo_ne', 'amount_lte', 'hash_gte', 'fee_lt', 'hash_lte', 'from_gt', 'token_gt', 'date_time_in', 'receiver', 'memo_exists', 'block_state_hash_lte', 'from_in', 'failure_reason_in', 'hash_nin', 'to', 'fee_nin', 'hash_exists', 'to_account_exists', 'from_', 'date_time_gte', 'token_lte', 'fee_token_ne', 'kind_exists', 'fee_payer_exists', 'block_height_exists', 'from_exists', 'nonce_ne', 'block_height_lte', 'kind_gt', 'block_state_hash_gte', 'fee_token_exists', 'date_time_nin', 'block_state_hash_lt', 'block_height_in', 'nonce_gt', 'fee', 'from_account_exists', 'amount_in', 'nonce_lt', 'fee_token_nin', 'token_lt', 'date_time', 'amount', 'fee_lte', 'memo_gte', 'failure_reason_gte', 'token_nin', 'fee_token_in', 'id_gt', 'id_exists', 'to_gte', 'nonce_lte', 'memo_lte', 'nonce_exists', 'date_time_lt', 'id_nin', 'source_exists', 'source', 'from_ne', 'hash_gt', 'from_account', 'fee_ne', 'failure_reason_nin', 'hash', 'date_time_gt', 'kind', 'failure_reason_gt', 'id', 'id_gte', 'nonce', 'amount_gte', 'from_nin', 'block_height', 'block_state_hash', 'hash_ne', 'token_in', 'failure_reason_exists', 'id_lte', 'fee_gt', 'memo_nin', 'is_delegation_ne', 'amount_nin', 'amount_gt', 'memo', 'block_height_lt', 'block_state_hash_exists', 'fee_token', 'to_gt', 'date_time_lte', 'kind_lt', 'hash_lt', 'fee_exists', 'block_height_nin', 'amount_lt', 'failure_reason', 'date_time_exists', 'nonce_gte', 'memo_in', 'to_lt', 'to_exists', 'block_height_gt', 'kind_gte', 'kind_nin', 'memo_gt', 'fee_token_gte', 'id_lt', 'hash_in', 'block_height_ne', 'id_ne', 'block_state_hash_nin', 'to_in', 'failure_reason_lte', 'to_ne', 'token_exists', 'kind_lte', 'fee_token_lt', 'block_height_gte', 'token_ne', 'kind_in', 'fee_payer', 'amount_exists', 'is_delegation_exists', 'block_state_hash_gt', 'date_time_ne', 'token', 'fee_token_lte', 'failure_reason_ne', 'id_in', 'fee_token_gt', 'receiver_exists', 'token_gte', 'block_state_hash_ne', 'nonce_nin', 'from_lt', 'block_state_hash_in', 'from_lte', 'memo_lt', 'amount_ne', 'to_nin', 'or_', 'to_lte', 'and_', 'fee_gte', 'to_account', 'is_delegation', 'kind_ne', 'nonce_in', 'from_gte', 'failure_reason_lt', 'fee_in') - memo_ne = sgqlc.types.Field(String, graphql_name='memo_ne') - amount_lte = sgqlc.types.Field(Int, graphql_name='amount_lte') - hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') - fee_lt = sgqlc.types.Field(Int, graphql_name='fee_lt') - hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') - from_gt = sgqlc.types.Field(String, graphql_name='from_gt') - token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') - date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') - receiver = sgqlc.types.Field('BlockTransactionUserCommandReceiverQueryInput', graphql_name='receiver') - memo_exists = sgqlc.types.Field(Boolean, graphql_name='memo_exists') - block_state_hash_lte = sgqlc.types.Field(String, graphql_name='blockStateHash_lte') - from_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_in') - failure_reason_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_in') - hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') - to = sgqlc.types.Field(String, graphql_name='to') - fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_nin') - hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') - to_account_exists = sgqlc.types.Field(Boolean, graphql_name='toAccount_exists') - from_ = sgqlc.types.Field(String, graphql_name='from') - date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') - token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') - fee_token_ne = sgqlc.types.Field(Int, graphql_name='feeToken_ne') - kind_exists = sgqlc.types.Field(Boolean, graphql_name='kind_exists') - fee_payer_exists = sgqlc.types.Field(Boolean, graphql_name='feePayer_exists') - block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') - from_exists = sgqlc.types.Field(Boolean, graphql_name='from_exists') - nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') - block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') - kind_gt = sgqlc.types.Field(String, graphql_name='kind_gt') - block_state_hash_gte = sgqlc.types.Field(String, graphql_name='blockStateHash_gte') - fee_token_exists = sgqlc.types.Field(Boolean, graphql_name='feeToken_exists') - date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') - block_state_hash_lt = sgqlc.types.Field(String, graphql_name='blockStateHash_lt') - block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') - nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') - fee = sgqlc.types.Field(Int, graphql_name='fee') - from_account_exists = sgqlc.types.Field(Boolean, graphql_name='fromAccount_exists') - amount_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='amount_in') - nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') - fee_token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_nin') - token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - amount = sgqlc.types.Field(Int, graphql_name='amount') - fee_lte = sgqlc.types.Field(Int, graphql_name='fee_lte') - memo_gte = sgqlc.types.Field(String, graphql_name='memo_gte') - failure_reason_gte = sgqlc.types.Field(String, graphql_name='failureReason_gte') - token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') - fee_token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_in') - id_gt = sgqlc.types.Field(String, graphql_name='id_gt') - id_exists = sgqlc.types.Field(Boolean, graphql_name='id_exists') - to_gte = sgqlc.types.Field(String, graphql_name='to_gte') - nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') - memo_lte = sgqlc.types.Field(String, graphql_name='memo_lte') - nonce_exists = sgqlc.types.Field(Boolean, graphql_name='nonce_exists') - date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') - id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_nin') - source_exists = sgqlc.types.Field(Boolean, graphql_name='source_exists') - source = sgqlc.types.Field('BlockTransactionUserCommandSourceQueryInput', graphql_name='source') - from_ne = sgqlc.types.Field(String, graphql_name='from_ne') - hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') - from_account = sgqlc.types.Field(BlockTransactionUserCommandFromAccountQueryInput, graphql_name='fromAccount') - fee_ne = sgqlc.types.Field(Int, graphql_name='fee_ne') - failure_reason_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_nin') - hash = sgqlc.types.Field(String, graphql_name='hash') - date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') - kind = sgqlc.types.Field(String, graphql_name='kind') - failure_reason_gt = sgqlc.types.Field(String, graphql_name='failureReason_gt') - id = sgqlc.types.Field(String, graphql_name='id') - id_gte = sgqlc.types.Field(String, graphql_name='id_gte') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - amount_gte = sgqlc.types.Field(Int, graphql_name='amount_gte') - from_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_nin') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') - hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') - token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') - failure_reason_exists = sgqlc.types.Field(Boolean, graphql_name='failureReason_exists') - id_lte = sgqlc.types.Field(String, graphql_name='id_lte') - fee_gt = sgqlc.types.Field(Int, graphql_name='fee_gt') - memo_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_nin') - is_delegation_ne = sgqlc.types.Field(Boolean, graphql_name='isDelegation_ne') - amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='amount_nin') - amount_gt = sgqlc.types.Field(Int, graphql_name='amount_gt') - memo = sgqlc.types.Field(String, graphql_name='memo') - block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') - block_state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_exists') - fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') - to_gt = sgqlc.types.Field(String, graphql_name='to_gt') - date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') - kind_lt = sgqlc.types.Field(String, graphql_name='kind_lt') - hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') - fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') - block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') - amount_lt = sgqlc.types.Field(Int, graphql_name='amount_lt') - failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') - date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') - nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') - memo_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_in') - to_lt = sgqlc.types.Field(String, graphql_name='to_lt') - to_exists = sgqlc.types.Field(Boolean, graphql_name='to_exists') - block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') - kind_gte = sgqlc.types.Field(String, graphql_name='kind_gte') - kind_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_nin') - memo_gt = sgqlc.types.Field(String, graphql_name='memo_gt') - fee_token_gte = sgqlc.types.Field(Int, graphql_name='feeToken_gte') - id_lt = sgqlc.types.Field(String, graphql_name='id_lt') - hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') - block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') - id_ne = sgqlc.types.Field(String, graphql_name='id_ne') - block_state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_nin') - to_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_in') - failure_reason_lte = sgqlc.types.Field(String, graphql_name='failureReason_lte') - to_ne = sgqlc.types.Field(String, graphql_name='to_ne') - token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') - kind_lte = sgqlc.types.Field(String, graphql_name='kind_lte') - fee_token_lt = sgqlc.types.Field(Int, graphql_name='feeToken_lt') - block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') - token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') - kind_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_in') - fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerQueryInput, graphql_name='feePayer') - amount_exists = sgqlc.types.Field(Boolean, graphql_name='amount_exists') - is_delegation_exists = sgqlc.types.Field(Boolean, graphql_name='isDelegation_exists') - block_state_hash_gt = sgqlc.types.Field(String, graphql_name='blockStateHash_gt') - date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') - token = sgqlc.types.Field(Int, graphql_name='token') - fee_token_lte = sgqlc.types.Field(Int, graphql_name='feeToken_lte') - failure_reason_ne = sgqlc.types.Field(String, graphql_name='failureReason_ne') - id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_in') - fee_token_gt = sgqlc.types.Field(Int, graphql_name='feeToken_gt') - receiver_exists = sgqlc.types.Field(Boolean, graphql_name='receiver_exists') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') - block_state_hash_ne = sgqlc.types.Field(String, graphql_name='blockStateHash_ne') - nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') - from_lt = sgqlc.types.Field(String, graphql_name='from_lt') - block_state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_in') - from_lte = sgqlc.types.Field(String, graphql_name='from_lte') - memo_lt = sgqlc.types.Field(String, graphql_name='memo_lt') - amount_ne = sgqlc.types.Field(Int, graphql_name='amount_ne') - to_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_nin') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandQueryInput')), graphql_name='OR') - to_lte = sgqlc.types.Field(String, graphql_name='to_lte') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandQueryInput')), graphql_name='AND') - fee_gte = sgqlc.types.Field(Int, graphql_name='fee_gte') - to_account = sgqlc.types.Field('BlockTransactionUserCommandToAccountQueryInput', graphql_name='toAccount') - is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') - kind_ne = sgqlc.types.Field(String, graphql_name='kind_ne') - nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') - from_gte = sgqlc.types.Field(String, graphql_name='from_gte') - failure_reason_lt = sgqlc.types.Field(String, graphql_name='failureReason_lt') - fee_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_in') - - -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_ne', 'public_key_gte', 'and_', 'public_key', 'public_key_nin', 'public_key_lte', 'or_', 'public_key_gt', 'public_key_exists', 'public_key_lt', 'public_key_in') - public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') - public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandReceiverQueryInput')), graphql_name='AND') - 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_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandReceiverQueryInput')), graphql_name='OR') - public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') - public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') - 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') - - -class BlockTransactionUserCommandReceiverUpdateInput(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 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_gt', 'or_', 'public_key_exists', 'public_key_lt', 'public_key_ne', 'public_key_lte', 'public_key_gte', 'and_', 'public_key_in', 'public_key_nin', 'public_key') - public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandSourceQueryInput')), graphql_name='OR') - public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') - public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') - public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') - public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') - public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandSourceQueryInput')), 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 = sgqlc.types.Field(String, graphql_name='publicKey') - - -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__ = ('token', 'token_lte', 'and_', 'token_lt', 'token_ne', 'or_', 'token_exists', 'token_in', 'token_gt', 'token_gte', 'token_nin') - token = sgqlc.types.Field(Int, graphql_name='token') - token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandToAccountQueryInput')), graphql_name='AND') - token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandToAccountQueryInput')), graphql_name='OR') - token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') - token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') - token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') - token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') - - -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__ = ('fee_payer', 'source_unset', 'kind_unset', 'amount_unset', 'block_height', 'block_state_hash_unset', 'from_account_unset', 'source', 'date_time', 'amount_inc', 'block_height_unset', 'nonce', 'fee_token', 'is_delegation', 'hash_unset', 'from_account', 'token_inc', 'receiver_unset', 'date_time_unset', 'kind', 'to_unset', 'block_state_hash', 'memo', 'memo_unset', 'fee_unset', 'fee_token_unset', 'nonce_inc', 'fee_token_inc', 'is_delegation_unset', 'failure_reason', 'failure_reason_unset', 'receiver', 'token_unset', 'nonce_unset', 'to', 'token', 'fee', 'fee_inc', 'id_unset', 'block_height_inc', 'from_unset', 'id', 'amount', 'to_account', 'from_', 'fee_payer_unset', 'hash', 'to_account_unset') - fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerUpdateInput, graphql_name='feePayer') - source_unset = sgqlc.types.Field(Boolean, graphql_name='source_unset') - kind_unset = sgqlc.types.Field(Boolean, graphql_name='kind_unset') - amount_unset = sgqlc.types.Field(Boolean, graphql_name='amount_unset') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - block_state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_unset') - from_account_unset = sgqlc.types.Field(Boolean, graphql_name='fromAccount_unset') - source = sgqlc.types.Field(BlockTransactionUserCommandSourceUpdateInput, graphql_name='source') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - amount_inc = sgqlc.types.Field(Int, graphql_name='amount_inc') - block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') - is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') - hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') - from_account = sgqlc.types.Field(BlockTransactionUserCommandFromAccountUpdateInput, graphql_name='fromAccount') - token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') - receiver_unset = sgqlc.types.Field(Boolean, graphql_name='receiver_unset') - date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') - kind = sgqlc.types.Field(String, graphql_name='kind') - to_unset = sgqlc.types.Field(Boolean, graphql_name='to_unset') - block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') - memo = sgqlc.types.Field(String, graphql_name='memo') - memo_unset = sgqlc.types.Field(Boolean, graphql_name='memo_unset') - fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') - fee_token_unset = sgqlc.types.Field(Boolean, graphql_name='feeToken_unset') - nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') - fee_token_inc = sgqlc.types.Field(Int, graphql_name='feeToken_inc') - is_delegation_unset = sgqlc.types.Field(Boolean, graphql_name='isDelegation_unset') - failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') - failure_reason_unset = sgqlc.types.Field(Boolean, graphql_name='failureReason_unset') - receiver = sgqlc.types.Field(BlockTransactionUserCommandReceiverUpdateInput, graphql_name='receiver') - token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') - nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') - to = sgqlc.types.Field(String, graphql_name='to') - token = sgqlc.types.Field(Int, graphql_name='token') - fee = sgqlc.types.Field(Int, graphql_name='fee') - fee_inc = sgqlc.types.Field(Int, graphql_name='fee_inc') - id_unset = sgqlc.types.Field(Boolean, graphql_name='id_unset') - block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') - from_unset = sgqlc.types.Field(Boolean, graphql_name='from_unset') - id = sgqlc.types.Field(String, graphql_name='id') - amount = sgqlc.types.Field(Int, graphql_name='amount') - to_account = sgqlc.types.Field(BlockTransactionUserCommandToAccountUpdateInput, graphql_name='toAccount') - from_ = sgqlc.types.Field(String, graphql_name='from') - fee_payer_unset = sgqlc.types.Field(Boolean, graphql_name='feePayer_unset') - hash = sgqlc.types.Field(String, graphql_name='hash') - to_account_unset = sgqlc.types.Field(Boolean, graphql_name='toAccount_unset') - - -class BlockUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('date_time_unset', 'creator_unset', 'canonical_unset', 'protocol_state_unset', 'transactions', 'protocol_state', 'snark_jobs_unset', 'state_hash_unset', 'winner_account', 'winner_account_unset', 'creator_account', 'state_hash_field', 'date_time', 'snark_jobs', 'state_hash', 'received_time', 'received_time_unset', 'canonical', 'state_hash_field_unset', 'block_height', 'transactions_unset', 'block_height_inc', 'block_height_unset', 'creator', 'creator_account_unset') - date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') - creator_unset = sgqlc.types.Field(Boolean, graphql_name='creator_unset') - canonical_unset = sgqlc.types.Field(Boolean, graphql_name='canonical_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') - snark_jobs_unset = sgqlc.types.Field(Boolean, graphql_name='snarkJobs_unset') - state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='stateHash_unset') - winner_account = sgqlc.types.Field('BlockWinnerAccountUpdateInput', graphql_name='winnerAccount') - winner_account_unset = sgqlc.types.Field(Boolean, graphql_name='winnerAccount_unset') - creator_account = sgqlc.types.Field(BlockCreatorAccountUpdateInput, graphql_name='creatorAccount') - state_hash_field = sgqlc.types.Field(String, graphql_name='stateHashField') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - snark_jobs = sgqlc.types.Field(sgqlc.types.list_of(BlockSnarkJobUpdateInput), graphql_name='snarkJobs') - state_hash = sgqlc.types.Field(String, graphql_name='stateHash') - received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') - received_time_unset = sgqlc.types.Field(Boolean, graphql_name='receivedTime_unset') - canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') - state_hash_field_unset = sgqlc.types.Field(Boolean, graphql_name='stateHashField_unset') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - transactions_unset = sgqlc.types.Field(Boolean, graphql_name='transactions_unset') - block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') - block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') - creator = sgqlc.types.Field(String, graphql_name='creator') - creator_account_unset = sgqlc.types.Field(Boolean, graphql_name='creatorAccount_unset') - - -class BlockWinnerAccountBalanceInsertInput(sgqlc.types.Input): - __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 BlockWinnerAccountBalanceQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('and_', 'unknown_gt', 'total', 'locked_in', 'total_lt', 'liquid_lte', 'state_hash', 'unknown_in', 'state_hash_lt', 'unknown_lte', 'liquid_exists', 'locked_lt', 'liquid_nin', 'state_hash_in', 'block_height_lt', 'block_height_gt', 'unknown_lt', 'block_height_lte', 'liquid', 'block_height_exists', 'state_hash_gte', 'liquid_in', 'total_lte', 'total_gte', 'block_height_nin', 'liquid_ne', 'total_nin', 'unknown_gte', 'total_gt', 'locked_gt', 'total_ne', 'block_height_ne', 'block_height_gte', 'total_in', 'locked_ne', 'unknown_nin', 'unknown', 'state_hash_ne', 'locked_exists', 'locked_lte', 'locked_gte', 'unknown_ne', 'liquid_gt', 'liquid_gte', 'unknown_exists', 'block_height_in', 'locked_nin', 'locked', 'state_hash_lte', 'state_hash_exists', 'state_hash_gt', 'total_exists', 'block_height', 'state_hash_nin', 'liquid_lt', 'or_') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountBalanceQueryInput')), graphql_name='AND') - unknown_gt = sgqlc.types.Field(Long, graphql_name='unknown_gt') - total = sgqlc.types.Field(Long, graphql_name='total') - locked_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='locked_in') - total_lt = sgqlc.types.Field(Long, graphql_name='total_lt') - liquid_lte = sgqlc.types.Field(Int, graphql_name='liquid_lte') - state_hash = sgqlc.types.Field(String, graphql_name='stateHash') - unknown_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='unknown_in') - state_hash_lt = sgqlc.types.Field(String, graphql_name='stateHash_lt') - unknown_lte = sgqlc.types.Field(Long, graphql_name='unknown_lte') - liquid_exists = sgqlc.types.Field(Boolean, graphql_name='liquid_exists') - locked_lt = sgqlc.types.Field(Long, graphql_name='locked_lt') - liquid_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='liquid_nin') - state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_in') - block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') - block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') - unknown_lt = sgqlc.types.Field(Long, graphql_name='unknown_lt') - block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') - liquid = sgqlc.types.Field(Int, graphql_name='liquid') - block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') - state_hash_gte = sgqlc.types.Field(String, graphql_name='stateHash_gte') - liquid_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='liquid_in') - total_lte = sgqlc.types.Field(Long, graphql_name='total_lte') - total_gte = sgqlc.types.Field(Long, graphql_name='total_gte') - block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') - liquid_ne = sgqlc.types.Field(Int, graphql_name='liquid_ne') - total_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='total_nin') - unknown_gte = sgqlc.types.Field(Long, graphql_name='unknown_gte') - total_gt = sgqlc.types.Field(Long, graphql_name='total_gt') - locked_gt = sgqlc.types.Field(Long, graphql_name='locked_gt') - total_ne = sgqlc.types.Field(Long, graphql_name='total_ne') - block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') - block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') - total_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='total_in') - locked_ne = sgqlc.types.Field(Long, graphql_name='locked_ne') - unknown_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='unknown_nin') - unknown = sgqlc.types.Field(Long, graphql_name='unknown') - state_hash_ne = sgqlc.types.Field(String, graphql_name='stateHash_ne') - locked_exists = sgqlc.types.Field(Boolean, graphql_name='locked_exists') - locked_lte = sgqlc.types.Field(Long, graphql_name='locked_lte') - locked_gte = sgqlc.types.Field(Long, graphql_name='locked_gte') - unknown_ne = sgqlc.types.Field(Long, graphql_name='unknown_ne') - liquid_gt = sgqlc.types.Field(Int, graphql_name='liquid_gt') - liquid_gte = sgqlc.types.Field(Int, graphql_name='liquid_gte') - unknown_exists = sgqlc.types.Field(Boolean, graphql_name='unknown_exists') - block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') - locked_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='locked_nin') - locked = sgqlc.types.Field(Long, graphql_name='locked') - state_hash_lte = sgqlc.types.Field(String, graphql_name='stateHash_lte') - state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stateHash_exists') - state_hash_gt = sgqlc.types.Field(String, graphql_name='stateHash_gt') - total_exists = sgqlc.types.Field(Boolean, graphql_name='total_exists') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_nin') - liquid_lt = sgqlc.types.Field(Int, graphql_name='liquid_lt') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountBalanceQueryInput')), graphql_name='OR') - - -class BlockWinnerAccountBalanceUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('locked_unset', 'total', 'block_height_unset', 'state_hash_unset', 'liquid_unset', 'liquid', 'locked', 'block_height_inc', 'block_height', 'unknown', 'liquid_inc', 'unknown_unset', 'total_unset', 'state_hash') - locked_unset = sgqlc.types.Field(Boolean, graphql_name='locked_unset') - total = sgqlc.types.Field(Long, graphql_name='total') - block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') - state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='stateHash_unset') - liquid_unset = sgqlc.types.Field(Boolean, graphql_name='liquid_unset') - liquid = sgqlc.types.Field(Int, graphql_name='liquid') - locked = sgqlc.types.Field(Long, graphql_name='locked') - block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - unknown = sgqlc.types.Field(Long, graphql_name='unknown') - liquid_inc = sgqlc.types.Field(Int, graphql_name='liquid_inc') - unknown_unset = sgqlc.types.Field(Boolean, graphql_name='unknown_unset') - total_unset = sgqlc.types.Field(Boolean, graphql_name='total_unset') - state_hash = sgqlc.types.Field(String, graphql_name='stateHash') - - -class BlockWinnerAccountInsertInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('balance', 'public_key') - balance = sgqlc.types.Field(BlockWinnerAccountBalanceInsertInput, graphql_name='balance') - public_key = sgqlc.types.Field(String, graphql_name='publicKey') - - -class BlockWinnerAccountQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('public_key_lt', 'public_key_ne', 'or_', 'balance', 'public_key', 'public_key_gte', 'and_', 'public_key_lte', 'public_key_nin', 'public_key_gt', 'public_key_in', 'public_key_exists', 'balance_exists') - public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') - public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountQueryInput')), graphql_name='OR') - balance = sgqlc.types.Field(BlockWinnerAccountBalanceQueryInput, graphql_name='balance') - public_key = sgqlc.types.Field(String, graphql_name='publicKey') - public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountQueryInput')), graphql_name='AND') - 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_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') - public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') - public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') - balance_exists = sgqlc.types.Field(Boolean, graphql_name='balance_exists') - - -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 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__ = ('prover', 'work_ids', 'block_height', 'block', 'canonical', 'date_time', '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') - 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(Int, graphql_name='fee') - - -class SnarkQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('prover_ne', 'date_time_gte', 'fee_lte', 'work_ids_exists', 'block_height_nin', 'canonical', 'canonical_ne', 'block_height_ne', 'date_time_ne', 'block_height_exists', 'fee', 'work_ids_in', 'block_height_gte', 'prover_in', 'fee_gt', 'date_time', 'fee_exists', 'fee_lt', 'fee_gte', 'prover_lt', 'canonical_exists', 'date_time_in', 'prover_nin', 'work_ids', 'block_height_lte', 'prover_gte', 'block_height_in', 'prover_lte', 'date_time_gt', 'prover_gt', 'prover_exists', 'date_time_lt', 'block_height', 'date_time_exists', 'fee_ne', 'work_ids_nin', 'or_', 'date_time_nin', 'block_height_gt', 'block_height_lt', 'date_time_lte', 'fee_nin', 'block_exists', 'fee_in', 'prover', 'block', 'and_') - prover_ne = sgqlc.types.Field(String, graphql_name='prover_ne') - date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') - fee_lte = sgqlc.types.Field(Int, graphql_name='fee_lte') - work_ids_exists = sgqlc.types.Field(Boolean, graphql_name='workIds_exists') - block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') - canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') - canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') - block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') - date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') - block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') - fee = sgqlc.types.Field(Int, graphql_name='fee') - work_ids_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_in') - block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') - prover_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_in') - fee_gt = sgqlc.types.Field(Int, graphql_name='fee_gt') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') - fee_lt = sgqlc.types.Field(Int, graphql_name='fee_lt') - fee_gte = sgqlc.types.Field(Int, graphql_name='fee_gte') - prover_lt = sgqlc.types.Field(String, graphql_name='prover_lt') - canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') - date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') - prover_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_nin') - work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') - block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') - prover_gte = sgqlc.types.Field(String, graphql_name='prover_gte') - block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') - prover_lte = sgqlc.types.Field(String, graphql_name='prover_lte') - date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') - prover_gt = sgqlc.types.Field(String, graphql_name='prover_gt') - prover_exists = sgqlc.types.Field(Boolean, graphql_name='prover_exists') - date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') - fee_ne = sgqlc.types.Field(Int, graphql_name='fee_ne') - work_ids_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_nin') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SnarkQueryInput')), graphql_name='OR') - date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') - block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') - block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') - date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') - fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_nin') - block_exists = sgqlc.types.Field(Boolean, graphql_name='block_exists') - fee_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_in') - prover = sgqlc.types.Field(String, graphql_name='prover') - block = sgqlc.types.Field(BlockQueryInput, graphql_name='block') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SnarkQueryInput')), graphql_name='AND') - - -class SnarkUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('block_height_inc', 'block', 'canonical_unset', 'date_time', 'canonical', 'fee', 'prover_unset', 'block_height_unset', 'block_unset', 'work_ids', 'block_height', 'date_time_unset', 'fee_inc', 'fee_unset', 'prover', 'work_ids_unset') - block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') - block = sgqlc.types.Field(SnarkBlockStateHashRelationInput, graphql_name='block') - canonical_unset = sgqlc.types.Field(Boolean, graphql_name='canonical_unset') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') - 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') - block_unset = sgqlc.types.Field(Boolean, graphql_name='block_unset') - work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') - fee_inc = sgqlc.types.Field(Int, graphql_name='fee_inc') - fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') - prover = sgqlc.types.Field(String, graphql_name='prover') - work_ids_unset = sgqlc.types.Field(Boolean, graphql_name='workIds_unset') - - -class StakeInsertInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('receipt_chain_hash', 'epoch', 'ledger_hash', 'balance', 'delegate', 'timing', 'chain_id', 'public_key', 'voting_for', 'token', 'nonce', 'permissions') - receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') - epoch = sgqlc.types.Field(Int, graphql_name='epoch') - ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') - balance = sgqlc.types.Field(Float, graphql_name='balance') - delegate = sgqlc.types.Field(String, graphql_name='delegate') - timing = sgqlc.types.Field('StakeTimingInsertInput', graphql_name='timing') - chain_id = sgqlc.types.Field(String, graphql_name='chainId') - public_key = sgqlc.types.Field(String, graphql_name='public_key') - voting_for = sgqlc.types.Field(String, graphql_name='voting_for') - token = sgqlc.types.Field(Int, graphql_name='token') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - permissions = sgqlc.types.Field('StakePermissionInsertInput', graphql_name='permissions') - - -class StakePermissionInsertInput(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 StakePermissionQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('send', 'set_delegate_lte', 'set_permissions_in', 'or_', 'stake_exists', 'set_delegate_lt', 'set_permissions_nin', 'edit_state_in', 'edit_state_gte', 'send_gt', 'set_verification_key_ne', 'set_delegate', 'stake', 'edit_state', 'set_delegate_in', 'edit_state_gt', 'set_delegate_nin', 'set_permissions_gt', 'send_gte', 'send_lt', 'set_delegate_gte', 'set_permissions_lt', 'set_verification_key_gt', 'set_permissions_lte', 'set_verification_key_exists', 'set_verification_key_gte', 'set_permissions_ne', 'set_delegate_exists', 'set_permissions_exists', 'send_lte', 'set_verification_key_nin', 'send_nin', 'set_verification_key_in', 'edit_state_lt', 'edit_state_ne', 'set_delegate_ne', 'set_verification_key', 'set_verification_key_lt', 'set_permissions', 'and_', 'send_exists', 'send_in', 'edit_state_nin', 'set_delegate_gt', 'edit_state_lte', 'edit_state_exists', 'send_ne', 'set_verification_key_lte', 'set_permissions_gte', 'stake_ne') - send = sgqlc.types.Field(String, graphql_name='send') - set_delegate_lte = sgqlc.types.Field(String, graphql_name='set_delegate_lte') - set_permissions_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_permissions_in') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakePermissionQueryInput')), graphql_name='OR') - stake_exists = sgqlc.types.Field(Boolean, graphql_name='stake_exists') - 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') - edit_state_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='edit_state_in') - edit_state_gte = sgqlc.types.Field(String, graphql_name='edit_state_gte') - send_gt = sgqlc.types.Field(String, graphql_name='send_gt') - set_verification_key_ne = sgqlc.types.Field(String, graphql_name='set_verification_key_ne') - set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') - stake = sgqlc.types.Field(Boolean, graphql_name='stake') - edit_state = sgqlc.types.Field(String, graphql_name='edit_state') - set_delegate_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_delegate_in') - edit_state_gt = sgqlc.types.Field(String, graphql_name='edit_state_gt') - set_delegate_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_delegate_nin') - set_permissions_gt = sgqlc.types.Field(String, graphql_name='set_permissions_gt') - send_gte = sgqlc.types.Field(String, graphql_name='send_gte') - send_lt = sgqlc.types.Field(String, graphql_name='send_lt') - set_delegate_gte = sgqlc.types.Field(String, graphql_name='set_delegate_gte') - set_permissions_lt = sgqlc.types.Field(String, graphql_name='set_permissions_lt') - set_verification_key_gt = sgqlc.types.Field(String, graphql_name='set_verification_key_gt') - set_permissions_lte = sgqlc.types.Field(String, graphql_name='set_permissions_lte') - set_verification_key_exists = sgqlc.types.Field(Boolean, graphql_name='set_verification_key_exists') - set_verification_key_gte = sgqlc.types.Field(String, graphql_name='set_verification_key_gte') - set_permissions_ne = sgqlc.types.Field(String, graphql_name='set_permissions_ne') - set_delegate_exists = sgqlc.types.Field(Boolean, graphql_name='set_delegate_exists') - set_permissions_exists = sgqlc.types.Field(Boolean, graphql_name='set_permissions_exists') - send_lte = sgqlc.types.Field(String, graphql_name='send_lte') - set_verification_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_verification_key_nin') - send_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='send_nin') - set_verification_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_verification_key_in') - edit_state_lt = sgqlc.types.Field(String, graphql_name='edit_state_lt') - edit_state_ne = sgqlc.types.Field(String, graphql_name='edit_state_ne') - set_delegate_ne = sgqlc.types.Field(String, graphql_name='set_delegate_ne') - set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') - set_verification_key_lt = sgqlc.types.Field(String, graphql_name='set_verification_key_lt') - set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakePermissionQueryInput')), graphql_name='AND') - send_exists = sgqlc.types.Field(Boolean, graphql_name='send_exists') - send_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='send_in') - edit_state_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='edit_state_nin') - set_delegate_gt = sgqlc.types.Field(String, graphql_name='set_delegate_gt') - edit_state_lte = sgqlc.types.Field(String, graphql_name='edit_state_lte') - edit_state_exists = sgqlc.types.Field(Boolean, graphql_name='edit_state_exists') - send_ne = sgqlc.types.Field(String, graphql_name='send_ne') - set_verification_key_lte = sgqlc.types.Field(String, graphql_name='set_verification_key_lte') - set_permissions_gte = sgqlc.types.Field(String, graphql_name='set_permissions_gte') - stake_ne = sgqlc.types.Field(Boolean, graphql_name='stake_ne') - - -class StakePermissionUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('set_delegate_unset', 'stake', 'send', 'set_verification_key_unset', 'edit_state', 'edit_state_unset', 'set_delegate', 'set_permissions', 'set_permissions_unset', 'set_verification_key', 'send_unset', 'stake_unset') - set_delegate_unset = sgqlc.types.Field(Boolean, graphql_name='set_delegate_unset') - stake = sgqlc.types.Field(Boolean, graphql_name='stake') - send = sgqlc.types.Field(String, graphql_name='send') - set_verification_key_unset = sgqlc.types.Field(Boolean, graphql_name='set_verification_key_unset') - edit_state = sgqlc.types.Field(String, graphql_name='edit_state') - edit_state_unset = sgqlc.types.Field(Boolean, graphql_name='edit_state_unset') - set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') - set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') - set_permissions_unset = sgqlc.types.Field(Boolean, graphql_name='set_permissions_unset') - set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') - send_unset = sgqlc.types.Field(Boolean, graphql_name='send_unset') - stake_unset = sgqlc.types.Field(Boolean, graphql_name='stake_unset') - - -class StakeQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('token_gt', 'voting_for_in', 'receipt_chain_hash', 'balance_gt', 'receipt_chain_hash_lt', 'balance_lte', 'ledger_hash_nin', 'nonce', 'voting_for_lt', 'receipt_chain_hash_ne', 'token_lt', 'delegate_lte', 'balance_nin', 'public_key_gte', 'delegate_lt', 'token_lte', 'nonce_gt', 'voting_for_lte', 'chain_id_lte', 'epoch_lt', 'epoch', 'receipt_chain_hash_lte', 'receipt_chain_hash_gte', 'token_gte', 'ledger_hash_gte', 'permissions', 'delegate_ne', 'ledger_hash_lte', 'balance_gte', 'public_key_ne', 'balance_ne', 'receipt_chain_hash_nin', 'nonce_lte', 'ledger_hash_ne', 'token_exists', 'nonce_lt', 'epoch_gt', 'balance_in', 'delegate_gte', 'token_ne', 'balance', 'delegate_in', 'timing_exists', 'receipt_chain_hash_exists', 'public_key_nin', 'permissions_exists', 'voting_for', 'chain_id_lt', 'public_key_gt', 'chain_id', 'public_key', 'balance_exists', 'delegate_nin', 'receipt_chain_hash_in', 'epoch_ne', 'public_key_lte', 'receipt_chain_hash_gt', 'chain_id_ne', 'ledger_hash_in', 'token', 'chain_id_gte', 'timing', 'voting_for_exists', 'token_nin', 'voting_for_ne', 'and_', 'chain_id_in', 'public_key_lt', 'voting_for_gt', 'or_', 'nonce_exists', 'epoch_exists', 'public_key_exists', 'nonce_in', 'voting_for_nin', 'ledger_hash_exists', 'chain_id_nin', 'token_in', 'ledger_hash_gt', 'balance_lt', 'nonce_nin', 'epoch_in', 'public_key_in', 'delegate_gt', 'chain_id_gt', 'epoch_nin', 'epoch_gte', 'delegate', 'nonce_gte', 'delegate_exists', 'epoch_lte', 'ledger_hash', 'chain_id_exists', 'nonce_ne', 'ledger_hash_lt', 'voting_for_gte') - token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') - voting_for_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='voting_for_in') - receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') - balance_gt = sgqlc.types.Field(Float, graphql_name='balance_gt') - receipt_chain_hash_lt = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_lt') - balance_lte = sgqlc.types.Field(Float, graphql_name='balance_lte') - ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='ledgerHash_nin') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - voting_for_lt = sgqlc.types.Field(String, graphql_name='voting_for_lt') - receipt_chain_hash_ne = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_ne') - token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - delegate_lte = sgqlc.types.Field(String, graphql_name='delegate_lte') - balance_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='balance_nin') - public_key_gte = sgqlc.types.Field(String, graphql_name='public_key_gte') - delegate_lt = sgqlc.types.Field(String, graphql_name='delegate_lt') - token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') - nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') - voting_for_lte = sgqlc.types.Field(String, graphql_name='voting_for_lte') - chain_id_lte = sgqlc.types.Field(String, graphql_name='chainId_lte') - epoch_lt = sgqlc.types.Field(Int, graphql_name='epoch_lt') - epoch = sgqlc.types.Field(Int, graphql_name='epoch') - receipt_chain_hash_lte = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_lte') - receipt_chain_hash_gte = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_gte') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') - ledger_hash_gte = sgqlc.types.Field(String, graphql_name='ledgerHash_gte') - permissions = sgqlc.types.Field(StakePermissionQueryInput, graphql_name='permissions') - delegate_ne = sgqlc.types.Field(String, graphql_name='delegate_ne') - ledger_hash_lte = sgqlc.types.Field(String, graphql_name='ledgerHash_lte') - balance_gte = sgqlc.types.Field(Float, graphql_name='balance_gte') - public_key_ne = sgqlc.types.Field(String, graphql_name='public_key_ne') - balance_ne = sgqlc.types.Field(Float, graphql_name='balance_ne') - receipt_chain_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='receipt_chain_hash_nin') - nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') - ledger_hash_ne = sgqlc.types.Field(String, graphql_name='ledgerHash_ne') - token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') - nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') - epoch_gt = sgqlc.types.Field(Int, graphql_name='epoch_gt') - balance_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='balance_in') - delegate_gte = sgqlc.types.Field(String, graphql_name='delegate_gte') - token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') - balance = sgqlc.types.Field(Float, graphql_name='balance') - delegate_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='delegate_in') - timing_exists = sgqlc.types.Field(Boolean, graphql_name='timing_exists') - receipt_chain_hash_exists = sgqlc.types.Field(Boolean, graphql_name='receipt_chain_hash_exists') - public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='public_key_nin') - permissions_exists = sgqlc.types.Field(Boolean, graphql_name='permissions_exists') - voting_for = sgqlc.types.Field(String, graphql_name='voting_for') - chain_id_lt = sgqlc.types.Field(String, graphql_name='chainId_lt') - public_key_gt = sgqlc.types.Field(String, graphql_name='public_key_gt') - chain_id = sgqlc.types.Field(String, graphql_name='chainId') - public_key = sgqlc.types.Field(String, graphql_name='public_key') - balance_exists = sgqlc.types.Field(Boolean, graphql_name='balance_exists') - delegate_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='delegate_nin') - receipt_chain_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='receipt_chain_hash_in') - epoch_ne = sgqlc.types.Field(Int, graphql_name='epoch_ne') - public_key_lte = sgqlc.types.Field(String, graphql_name='public_key_lte') - receipt_chain_hash_gt = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_gt') - chain_id_ne = sgqlc.types.Field(String, graphql_name='chainId_ne') - ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='ledgerHash_in') - token = sgqlc.types.Field(Int, graphql_name='token') - chain_id_gte = sgqlc.types.Field(String, graphql_name='chainId_gte') - timing = sgqlc.types.Field('StakeTimingQueryInput', graphql_name='timing') - voting_for_exists = sgqlc.types.Field(Boolean, graphql_name='voting_for_exists') - token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') - voting_for_ne = sgqlc.types.Field(String, graphql_name='voting_for_ne') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeQueryInput')), graphql_name='AND') - chain_id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='chainId_in') - public_key_lt = sgqlc.types.Field(String, graphql_name='public_key_lt') - voting_for_gt = sgqlc.types.Field(String, graphql_name='voting_for_gt') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeQueryInput')), graphql_name='OR') - nonce_exists = sgqlc.types.Field(Boolean, graphql_name='nonce_exists') - epoch_exists = sgqlc.types.Field(Boolean, graphql_name='epoch_exists') - public_key_exists = sgqlc.types.Field(Boolean, graphql_name='public_key_exists') - nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') - voting_for_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='voting_for_nin') - ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='ledgerHash_exists') - chain_id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='chainId_nin') - token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') - ledger_hash_gt = sgqlc.types.Field(String, graphql_name='ledgerHash_gt') - balance_lt = sgqlc.types.Field(Float, graphql_name='balance_lt') - nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') - epoch_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_in') - public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='public_key_in') - delegate_gt = sgqlc.types.Field(String, graphql_name='delegate_gt') - chain_id_gt = sgqlc.types.Field(String, graphql_name='chainId_gt') - epoch_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_nin') - epoch_gte = sgqlc.types.Field(Int, graphql_name='epoch_gte') - delegate = sgqlc.types.Field(String, graphql_name='delegate') - nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') - delegate_exists = sgqlc.types.Field(Boolean, graphql_name='delegate_exists') - epoch_lte = sgqlc.types.Field(Int, graphql_name='epoch_lte') - ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') - chain_id_exists = sgqlc.types.Field(Boolean, graphql_name='chainId_exists') - nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') - ledger_hash_lt = sgqlc.types.Field(String, graphql_name='ledgerHash_lt') - voting_for_gte = sgqlc.types.Field(String, graphql_name='voting_for_gte') - - -class StakeTimingInsertInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('timed_epoch_end', 'cliff_time', 'cliff_amount', 'untimed_slot', 'vesting_increment', 'timed_weighting', 'vesting_period', 'timed_in_epoch', 'initial_minimum_balance') - timed_epoch_end = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end') - cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') - cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') - untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') - vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') - timed_weighting = sgqlc.types.Field(Float, graphql_name='timed_weighting') - vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') - timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') - initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') - - -class StakeTimingQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('untimed_slot_gt', 'initial_minimum_balance_lte', 'untimed_slot_lte', 'initial_minimum_balance', 'untimed_slot_exists', 'vesting_increment_gt', 'timed_weighting_in', 'cliff_amount_gt', 'or_', 'vesting_period', 'vesting_period_gt', 'timed_epoch_end_exists', 'cliff_amount_ne', 'timed_weighting_nin', 'cliff_time_gte', 'vesting_increment_gte', 'cliff_amount_nin', 'cliff_time_ne', 'cliff_time_lte', 'vesting_period_lte', 'cliff_time_lt', 'vesting_increment_lte', 'cliff_amount_lt', 'initial_minimum_balance_exists', 'cliff_time_gt', 'vesting_period_gte', 'timed_epoch_end_ne', 'vesting_period_nin', 'vesting_period_lt', 'untimed_slot', 'timed_weighting_ne', 'initial_minimum_balance_gte', 'untimed_slot_gte', 'initial_minimum_balance_ne', 'vesting_increment_in', 'timed_weighting_gt', 'untimed_slot_lt', 'vesting_increment_ne', 'cliff_amount_gte', 'cliff_amount_lte', 'timed_weighting', 'vesting_increment', 'vesting_increment_lt', 'cliff_time_in', 'timed_epoch_end', 'vesting_period_ne', 'vesting_increment_nin', 'timed_weighting_exists', 'initial_minimum_balance_in', 'timed_in_epoch_exists', 'timed_in_epoch', 'cliff_amount_exists', 'vesting_period_exists', 'vesting_period_in', 'timed_weighting_lte', 'timed_weighting_gte', 'and_', 'cliff_time_nin', 'timed_weighting_lt', 'untimed_slot_in', 'cliff_amount_in', 'initial_minimum_balance_nin', 'cliff_time_exists', 'initial_minimum_balance_gt', 'initial_minimum_balance_lt', 'untimed_slot_ne', 'vesting_increment_exists', 'cliff_time', 'untimed_slot_nin', 'timed_in_epoch_ne', 'cliff_amount') - untimed_slot_gt = sgqlc.types.Field(Int, graphql_name='untimed_slot_gt') - initial_minimum_balance_lte = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_lte') - untimed_slot_lte = sgqlc.types.Field(Int, graphql_name='untimed_slot_lte') - initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') - untimed_slot_exists = sgqlc.types.Field(Boolean, graphql_name='untimed_slot_exists') - vesting_increment_gt = sgqlc.types.Field(Float, graphql_name='vesting_increment_gt') - timed_weighting_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='timed_weighting_in') - cliff_amount_gt = sgqlc.types.Field(Float, graphql_name='cliff_amount_gt') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeTimingQueryInput')), graphql_name='OR') - vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') - vesting_period_gt = sgqlc.types.Field(Int, graphql_name='vesting_period_gt') - timed_epoch_end_exists = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end_exists') - cliff_amount_ne = sgqlc.types.Field(Float, graphql_name='cliff_amount_ne') - timed_weighting_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='timed_weighting_nin') - cliff_time_gte = sgqlc.types.Field(Int, graphql_name='cliff_time_gte') - vesting_increment_gte = sgqlc.types.Field(Float, graphql_name='vesting_increment_gte') - cliff_amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='cliff_amount_nin') - cliff_time_ne = sgqlc.types.Field(Int, graphql_name='cliff_time_ne') - cliff_time_lte = sgqlc.types.Field(Int, graphql_name='cliff_time_lte') - vesting_period_lte = sgqlc.types.Field(Int, graphql_name='vesting_period_lte') - cliff_time_lt = sgqlc.types.Field(Int, graphql_name='cliff_time_lt') - vesting_increment_lte = sgqlc.types.Field(Float, graphql_name='vesting_increment_lte') - cliff_amount_lt = sgqlc.types.Field(Float, graphql_name='cliff_amount_lt') - initial_minimum_balance_exists = sgqlc.types.Field(Boolean, graphql_name='initial_minimum_balance_exists') - cliff_time_gt = sgqlc.types.Field(Int, graphql_name='cliff_time_gt') - vesting_period_gte = sgqlc.types.Field(Int, graphql_name='vesting_period_gte') - timed_epoch_end_ne = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end_ne') - vesting_period_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='vesting_period_nin') - vesting_period_lt = sgqlc.types.Field(Int, graphql_name='vesting_period_lt') - untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') - timed_weighting_ne = sgqlc.types.Field(Float, graphql_name='timed_weighting_ne') - initial_minimum_balance_gte = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_gte') - untimed_slot_gte = sgqlc.types.Field(Int, graphql_name='untimed_slot_gte') - initial_minimum_balance_ne = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_ne') - vesting_increment_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='vesting_increment_in') - timed_weighting_gt = sgqlc.types.Field(Float, graphql_name='timed_weighting_gt') - untimed_slot_lt = sgqlc.types.Field(Int, graphql_name='untimed_slot_lt') - vesting_increment_ne = sgqlc.types.Field(Float, graphql_name='vesting_increment_ne') - cliff_amount_gte = sgqlc.types.Field(Float, graphql_name='cliff_amount_gte') - cliff_amount_lte = sgqlc.types.Field(Float, graphql_name='cliff_amount_lte') - timed_weighting = sgqlc.types.Field(Float, graphql_name='timed_weighting') - vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') - 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') - timed_epoch_end = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end') - vesting_period_ne = sgqlc.types.Field(Int, graphql_name='vesting_period_ne') - vesting_increment_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='vesting_increment_nin') - timed_weighting_exists = sgqlc.types.Field(Boolean, graphql_name='timed_weighting_exists') - initial_minimum_balance_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='initial_minimum_balance_in') - timed_in_epoch_exists = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_exists') - timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') - cliff_amount_exists = sgqlc.types.Field(Boolean, graphql_name='cliff_amount_exists') - vesting_period_exists = sgqlc.types.Field(Boolean, graphql_name='vesting_period_exists') - vesting_period_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='vesting_period_in') - timed_weighting_lte = sgqlc.types.Field(Float, graphql_name='timed_weighting_lte') - timed_weighting_gte = sgqlc.types.Field(Float, graphql_name='timed_weighting_gte') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeTimingQueryInput')), graphql_name='AND') - cliff_time_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='cliff_time_nin') - timed_weighting_lt = sgqlc.types.Field(Float, graphql_name='timed_weighting_lt') - untimed_slot_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='untimed_slot_in') - cliff_amount_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='cliff_amount_in') - initial_minimum_balance_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='initial_minimum_balance_nin') - cliff_time_exists = sgqlc.types.Field(Boolean, graphql_name='cliff_time_exists') - initial_minimum_balance_gt = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_gt') - initial_minimum_balance_lt = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_lt') - untimed_slot_ne = sgqlc.types.Field(Int, graphql_name='untimed_slot_ne') - vesting_increment_exists = sgqlc.types.Field(Boolean, graphql_name='vesting_increment_exists') - cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') - untimed_slot_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='untimed_slot_nin') - timed_in_epoch_ne = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_ne') - cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') - - -class StakeTimingUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('vesting_increment_inc', 'timed_in_epoch_unset', 'cliff_amount', 'initial_minimum_balance_inc', 'vesting_period', 'cliff_time_inc', 'initial_minimum_balance', 'vesting_period_unset', 'untimed_slot_inc', 'untimed_slot', 'timed_weighting', 'vesting_increment_unset', 'cliff_amount_unset', 'timed_in_epoch', 'vesting_period_inc', 'initial_minimum_balance_unset', 'vesting_increment', 'untimed_slot_unset', 'timed_weighting_inc', 'timed_epoch_end', 'cliff_time_unset', 'timed_weighting_unset', 'timed_epoch_end_unset', 'cliff_amount_inc', 'cliff_time') - vesting_increment_inc = sgqlc.types.Field(Float, graphql_name='vesting_increment_inc') - timed_in_epoch_unset = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_unset') - cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') - initial_minimum_balance_inc = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_inc') - vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') - cliff_time_inc = sgqlc.types.Field(Int, graphql_name='cliff_time_inc') - initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') - vesting_period_unset = sgqlc.types.Field(Boolean, graphql_name='vesting_period_unset') - untimed_slot_inc = sgqlc.types.Field(Int, graphql_name='untimed_slot_inc') - untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') - timed_weighting = sgqlc.types.Field(Float, graphql_name='timed_weighting') - vesting_increment_unset = sgqlc.types.Field(Boolean, graphql_name='vesting_increment_unset') - cliff_amount_unset = sgqlc.types.Field(Boolean, graphql_name='cliff_amount_unset') - timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') - vesting_period_inc = sgqlc.types.Field(Int, graphql_name='vesting_period_inc') - initial_minimum_balance_unset = sgqlc.types.Field(Boolean, graphql_name='initial_minimum_balance_unset') - vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') - untimed_slot_unset = sgqlc.types.Field(Boolean, graphql_name='untimed_slot_unset') - timed_weighting_inc = sgqlc.types.Field(Float, graphql_name='timed_weighting_inc') - timed_epoch_end = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end') - cliff_time_unset = sgqlc.types.Field(Boolean, graphql_name='cliff_time_unset') - timed_weighting_unset = sgqlc.types.Field(Boolean, graphql_name='timed_weighting_unset') - timed_epoch_end_unset = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end_unset') - cliff_amount_inc = sgqlc.types.Field(Float, graphql_name='cliff_amount_inc') - cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') - - -class StakeUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('epoch_inc', 'token', 'chain_id', 'token_unset', 'receipt_chain_hash', 'receipt_chain_hash_unset', 'public_key', 'voting_for', 'epoch', 'balance_unset', 'nonce', 'nonce_unset', 'voting_for_unset', 'delegate', 'public_key_unset', 'timing', 'chain_id_unset', 'ledger_hash', 'nonce_inc', 'permissions', 'balance', 'balance_inc', 'permissions_unset', 'timing_unset', 'ledger_hash_unset', 'delegate_unset', 'token_inc', 'epoch_unset') - epoch_inc = sgqlc.types.Field(Int, graphql_name='epoch_inc') - token = sgqlc.types.Field(Int, graphql_name='token') - chain_id = sgqlc.types.Field(String, graphql_name='chainId') - token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') - receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') - receipt_chain_hash_unset = sgqlc.types.Field(Boolean, graphql_name='receipt_chain_hash_unset') - public_key = sgqlc.types.Field(String, graphql_name='public_key') - voting_for = sgqlc.types.Field(String, graphql_name='voting_for') - epoch = sgqlc.types.Field(Int, graphql_name='epoch') - balance_unset = sgqlc.types.Field(Boolean, graphql_name='balance_unset') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') - voting_for_unset = sgqlc.types.Field(Boolean, graphql_name='voting_for_unset') - delegate = sgqlc.types.Field(String, graphql_name='delegate') - public_key_unset = sgqlc.types.Field(Boolean, graphql_name='public_key_unset') - timing = sgqlc.types.Field(StakeTimingUpdateInput, graphql_name='timing') - chain_id_unset = sgqlc.types.Field(Boolean, graphql_name='chainId_unset') - ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') - nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') - permissions = sgqlc.types.Field(StakePermissionUpdateInput, graphql_name='permissions') - balance = sgqlc.types.Field(Float, graphql_name='balance') - balance_inc = sgqlc.types.Field(Float, graphql_name='balance_inc') - permissions_unset = sgqlc.types.Field(Boolean, graphql_name='permissions_unset') - timing_unset = sgqlc.types.Field(Boolean, graphql_name='timing_unset') - ledger_hash_unset = sgqlc.types.Field(Boolean, graphql_name='ledgerHash_unset') - delegate_unset = sgqlc.types.Field(Boolean, graphql_name='delegate_unset') - token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') - epoch_unset = sgqlc.types.Field(Boolean, graphql_name='epoch_unset') - - -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__ = ('and_', 'token', 'token_gte', 'token_in', 'token_lt', 'token_lte', 'token_nin', 'or_', 'token_exists', 'token_ne', 'token_gt') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFeePayerQueryInput')), graphql_name='AND') - token = sgqlc.types.Field(Int, graphql_name='token') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') - token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') - token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') - 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_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') - 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', '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 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_in', 'token', 'token_lte', 'or_', 'token_lt', 'token_nin', 'token_exists', 'token_ne', 'token_gte', 'token_gt', 'and_') - token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') - token = sgqlc.types.Field(Int, graphql_name='token') - token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFromAccountQueryInput')), graphql_name='OR') - token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - 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_ne = sgqlc.types.Field(Int, graphql_name='token_ne') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') - 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') - - -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__ = ('failure_reason', 'source', 'fee_token', 'from_account', 'nonce', 'amount', 'is_delegation', 'to', 'kind', 'block_height', 'hash', 'memo', 'receiver', 'from_', 'date_time', 'id', 'to_account', 'fee_payer', 'block', 'canonical', 'fee', 'token') - failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') - source = sgqlc.types.Field('TransactionSourceInsertInput', graphql_name='source') - fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') - from_account = sgqlc.types.Field(TransactionFromAccountInsertInput, graphql_name='fromAccount') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - amount = sgqlc.types.Field(Long, graphql_name='amount') - is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') - to = sgqlc.types.Field(String, graphql_name='to') - kind = sgqlc.types.Field(String, graphql_name='kind') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - hash = sgqlc.types.Field(String, graphql_name='hash') - memo = sgqlc.types.Field(String, graphql_name='memo') - receiver = sgqlc.types.Field('TransactionReceiverInsertInput', graphql_name='receiver') - from_ = sgqlc.types.Field(String, graphql_name='from') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - id = sgqlc.types.Field(String, graphql_name='id') - to_account = sgqlc.types.Field('TransactionToAccountInsertInput', graphql_name='toAccount') - fee_payer = sgqlc.types.Field(TransactionFeePayerInsertInput, graphql_name='feePayer') - block = sgqlc.types.Field(TransactionBlockStateHashRelationInput, graphql_name='block') - canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') - fee = sgqlc.types.Field(Long, graphql_name='fee') - token = sgqlc.types.Field(Int, graphql_name='token') - - -class TransactionQueryInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('date_time_ne', 'memo_nin', 'hash_gt', 'token_ne', 'nonce', 'date_time_nin', 'memo', 'token_exists', 'kind_gt', 'amount_gt', 'canonical_exists', 'date_time_in', 'date_time_gt', 'date_time_lt', 'failure_reason_gte', 'fee_token_gte', 'fee_token_nin', 'failure_reason', 'fee_in', 'fee_token_lt', 'from_account', 'canonical_ne', 'to_account_exists', 'id', 'failure_reason_nin', 'fee_lt', 'date_time', 'memo_gt', 'token_gte', 'memo_lte', 'id_gte', 'token_lte', 'from_', 'fee_token_ne', 'id_ne', 'from_account_exists', 'failure_reason_in', 'fee_token', 'amount_gte', 'block_height_gte', 'token_gt', 'hash_ne', 'amount_ne', 'to_ne', 'kind_in', 'date_time_gte', 'hash_gte', 'to_gt', 'to_exists', 'block_exists', 'kind_gte', 'fee_payer', 'hash_lte', 'token_in', 'fee_gte', 'amount_lt', 'is_delegation_ne', 'block_height_gt', 'id_nin', 'source', 'nonce_lte', 'kind_ne', 'is_delegation_exists', 'kind_exists', 'from_exists', 'amount_lte', 'kind_nin', 'hash', 'block_height_in', 'id_lt', 'amount', 'fee_token_in', 'token_lt', 'or_', 'fee_nin', 'from_ne', 'id_exists', 'canonical', 'nonce_in', 'hash_nin', 'hash_exists', 'token_nin', 'id_gt', 'kind', 'fee_token_gt', 'amount_exists', 'from_in', 'id_in', 'nonce_gte', 'from_nin', 'fee_exists', 'amount_in', 'amount_nin', 'nonce_exists', 'memo_exists', 'block_height_nin', 'token', 'receiver', 'kind_lt', 'to_in', 'nonce_gt', 'memo_lt', 'fee', 'block_height_ne', 'to_lt', 'fee_ne', 'fee_token_lte', 'date_time_lte', 'fee_gt', 'nonce_nin', 'from_lte', 'block_height', 'fee_lte', 'fee_payer_exists', 'is_delegation', 'block_height_lt', 'receiver_exists', 'and_', 'to_nin', 'source_exists', 'failure_reason_exists', 'from_gte', 'failure_reason_lt', 'to_gte', 'block_height_lte', 'id_lte', 'to_account', 'from_lt', 'failure_reason_lte', 'fee_token_exists', 'failure_reason_ne', 'hash_in', 'block_height_exists', 'to', 'nonce_ne', 'to_lte', 'memo_in', 'from_gt', 'hash_lt', 'failure_reason_gt', 'block', 'date_time_exists', 'kind_lte', 'memo_gte', 'nonce_lt', 'memo_ne') - date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') - memo_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_nin') - hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') - token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') - memo = sgqlc.types.Field(String, graphql_name='memo') - token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') - kind_gt = sgqlc.types.Field(String, graphql_name='kind_gt') - amount_gt = sgqlc.types.Field(Long, graphql_name='amount_gt') - canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') - date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') - date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') - date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') - failure_reason_gte = sgqlc.types.Field(String, graphql_name='failureReason_gte') - fee_token_gte = sgqlc.types.Field(Int, graphql_name='feeToken_gte') - fee_token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_nin') - failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') - fee_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_in') - fee_token_lt = sgqlc.types.Field(Int, graphql_name='feeToken_lt') - from_account = sgqlc.types.Field(TransactionFromAccountQueryInput, graphql_name='fromAccount') - canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') - to_account_exists = sgqlc.types.Field(Boolean, graphql_name='toAccount_exists') - id = sgqlc.types.Field(String, graphql_name='id') - failure_reason_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_nin') - fee_lt = sgqlc.types.Field(Long, graphql_name='fee_lt') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - memo_gt = sgqlc.types.Field(String, graphql_name='memo_gt') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') - memo_lte = sgqlc.types.Field(String, graphql_name='memo_lte') - id_gte = sgqlc.types.Field(String, graphql_name='id_gte') - token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') - from_ = sgqlc.types.Field(String, graphql_name='from') - fee_token_ne = sgqlc.types.Field(Int, graphql_name='feeToken_ne') - id_ne = sgqlc.types.Field(String, graphql_name='id_ne') - from_account_exists = sgqlc.types.Field(Boolean, graphql_name='fromAccount_exists') - failure_reason_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_in') - fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') - amount_gte = sgqlc.types.Field(Long, graphql_name='amount_gte') - block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') - token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') - hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') - amount_ne = sgqlc.types.Field(Long, graphql_name='amount_ne') - to_ne = sgqlc.types.Field(String, graphql_name='to_ne') - kind_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_in') - date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') - hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') - to_gt = sgqlc.types.Field(String, graphql_name='to_gt') - to_exists = sgqlc.types.Field(Boolean, graphql_name='to_exists') - block_exists = sgqlc.types.Field(Boolean, graphql_name='block_exists') - kind_gte = sgqlc.types.Field(String, graphql_name='kind_gte') - fee_payer = sgqlc.types.Field(TransactionFeePayerQueryInput, graphql_name='feePayer') - hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') - token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') - fee_gte = sgqlc.types.Field(Long, graphql_name='fee_gte') - amount_lt = sgqlc.types.Field(Long, graphql_name='amount_lt') - is_delegation_ne = sgqlc.types.Field(Boolean, graphql_name='isDelegation_ne') - block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') - id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_nin') - source = sgqlc.types.Field('TransactionSourceQueryInput', graphql_name='source') - nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') - kind_ne = sgqlc.types.Field(String, graphql_name='kind_ne') - is_delegation_exists = sgqlc.types.Field(Boolean, graphql_name='isDelegation_exists') - kind_exists = sgqlc.types.Field(Boolean, graphql_name='kind_exists') - from_exists = sgqlc.types.Field(Boolean, graphql_name='from_exists') - amount_lte = sgqlc.types.Field(Long, graphql_name='amount_lte') - kind_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_nin') - hash = sgqlc.types.Field(String, graphql_name='hash') - block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') - id_lt = sgqlc.types.Field(String, graphql_name='id_lt') - amount = sgqlc.types.Field(Long, graphql_name='amount') - fee_token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_in') - token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionQueryInput')), graphql_name='OR') - fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_nin') - from_ne = sgqlc.types.Field(String, graphql_name='from_ne') - id_exists = sgqlc.types.Field(Boolean, graphql_name='id_exists') - canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') - nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') - hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') - hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') - token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') - id_gt = sgqlc.types.Field(String, graphql_name='id_gt') - kind = sgqlc.types.Field(String, graphql_name='kind') - fee_token_gt = sgqlc.types.Field(Int, graphql_name='feeToken_gt') - amount_exists = sgqlc.types.Field(Boolean, graphql_name='amount_exists') - from_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_in') - id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_in') - nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') - from_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_nin') - fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') - amount_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='amount_in') - amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='amount_nin') - nonce_exists = sgqlc.types.Field(Boolean, graphql_name='nonce_exists') - memo_exists = sgqlc.types.Field(Boolean, graphql_name='memo_exists') - block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') - token = sgqlc.types.Field(Int, graphql_name='token') - receiver = sgqlc.types.Field('TransactionReceiverQueryInput', graphql_name='receiver') - kind_lt = sgqlc.types.Field(String, graphql_name='kind_lt') - to_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_in') - nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') - memo_lt = sgqlc.types.Field(String, graphql_name='memo_lt') - fee = sgqlc.types.Field(Long, graphql_name='fee') - block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') - to_lt = sgqlc.types.Field(String, graphql_name='to_lt') - fee_ne = sgqlc.types.Field(Long, graphql_name='fee_ne') - fee_token_lte = sgqlc.types.Field(Int, graphql_name='feeToken_lte') - date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') - fee_gt = sgqlc.types.Field(Long, graphql_name='fee_gt') - nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') - from_lte = sgqlc.types.Field(String, graphql_name='from_lte') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - fee_lte = sgqlc.types.Field(Long, graphql_name='fee_lte') - fee_payer_exists = sgqlc.types.Field(Boolean, graphql_name='feePayer_exists') - is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') - block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') - receiver_exists = sgqlc.types.Field(Boolean, graphql_name='receiver_exists') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionQueryInput')), graphql_name='AND') - to_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_nin') - source_exists = sgqlc.types.Field(Boolean, graphql_name='source_exists') - failure_reason_exists = sgqlc.types.Field(Boolean, graphql_name='failureReason_exists') - from_gte = sgqlc.types.Field(String, graphql_name='from_gte') - failure_reason_lt = sgqlc.types.Field(String, graphql_name='failureReason_lt') - to_gte = sgqlc.types.Field(String, graphql_name='to_gte') - block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') - id_lte = sgqlc.types.Field(String, graphql_name='id_lte') - to_account = sgqlc.types.Field('TransactionToAccountQueryInput', graphql_name='toAccount') - from_lt = sgqlc.types.Field(String, graphql_name='from_lt') - failure_reason_lte = sgqlc.types.Field(String, graphql_name='failureReason_lte') - fee_token_exists = sgqlc.types.Field(Boolean, graphql_name='feeToken_exists') - failure_reason_ne = sgqlc.types.Field(String, graphql_name='failureReason_ne') - hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') - block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') - to = sgqlc.types.Field(String, graphql_name='to') - nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') - to_lte = sgqlc.types.Field(String, graphql_name='to_lte') - memo_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_in') - from_gt = sgqlc.types.Field(String, graphql_name='from_gt') - hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') - failure_reason_gt = sgqlc.types.Field(String, graphql_name='failureReason_gt') - block = sgqlc.types.Field(BlockQueryInput, graphql_name='block') - date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') - kind_lte = sgqlc.types.Field(String, graphql_name='kind_lte') - memo_gte = sgqlc.types.Field(String, graphql_name='memo_gte') - nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') - memo_ne = sgqlc.types.Field(String, graphql_name='memo_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_lt', 'public_key', 'public_key_gte', 'public_key_exists', 'or_', 'public_key_gt', 'public_key_lte', 'public_key_nin', 'public_key_ne', 'and_', 'public_key_in') - public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') - public_key = sgqlc.types.Field(String, graphql_name='publicKey') - 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('TransactionReceiverQueryInput')), graphql_name='OR') - public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') - 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') - 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') - - -class TransactionReceiverUpdateInput(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 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__ = ('public_key_nin', 'public_key_lt', 'public_key_exists', 'public_key_gt', 'and_', 'public_key_in', 'or_', 'public_key', 'public_key_gte', 'public_key_lte', 'public_key_ne') - public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_nin') - public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') - public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') - public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') - 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') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionSourceQueryInput')), graphql_name='OR') - public_key = sgqlc.types.Field(String, graphql_name='publicKey') - public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') - public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') - public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') - - -class TransactionSourceUpdateInput(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 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_gte', 'token_in', 'or_', 'token_lte', 'token_gt', 'token_ne', 'token', 'token_exists', 'token_lt', 'and_', 'token_nin') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') - token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionToAccountQueryInput')), graphql_name='OR') - token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') - token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') - token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') - token = sgqlc.types.Field(Int, graphql_name='token') - token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') - token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionToAccountQueryInput')), graphql_name='AND') - token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') - - -class TransactionToAccountUpdateInput(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 TransactionUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('source', 'token_unset', 'token_inc', 'fee_unset', 'from_unset', 'block_height_inc', 'nonce', 'date_time_unset', 'fee_token', 'amount', 'fee_payer', 'from_', 'fee_payer_unset', 'block_height_unset', 'block', 'memo_unset', 'token', 'nonce_unset', 'block_unset', 'canonical_unset', 'from_account', 'from_account_unset', 'fee', 'failure_reason', 'kind', 'fee_token_inc', 'canonical', 'failure_reason_unset', 'hash_unset', 'to_account', 'is_delegation', 'to_account_unset', 'amount_unset', 'fee_token_unset', 'is_delegation_unset', 'receiver', 'nonce_inc', 'block_height', 'receiver_unset', 'kind_unset', 'to_unset', 'memo', 'to', 'hash', 'date_time', 'id', 'id_unset', 'source_unset') - source = sgqlc.types.Field(TransactionSourceUpdateInput, graphql_name='source') - token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') - token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') - fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') - from_unset = sgqlc.types.Field(Boolean, graphql_name='from_unset') - block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') - fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') - amount = sgqlc.types.Field(Long, graphql_name='amount') - fee_payer = sgqlc.types.Field(TransactionFeePayerUpdateInput, graphql_name='feePayer') - from_ = sgqlc.types.Field(String, graphql_name='from') - fee_payer_unset = sgqlc.types.Field(Boolean, graphql_name='feePayer_unset') - block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') - block = sgqlc.types.Field(TransactionBlockStateHashRelationInput, graphql_name='block') - memo_unset = sgqlc.types.Field(Boolean, graphql_name='memo_unset') - token = sgqlc.types.Field(Int, graphql_name='token') - nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') - block_unset = sgqlc.types.Field(Boolean, graphql_name='block_unset') - canonical_unset = sgqlc.types.Field(Boolean, graphql_name='canonical_unset') - from_account = sgqlc.types.Field(TransactionFromAccountUpdateInput, graphql_name='fromAccount') - from_account_unset = sgqlc.types.Field(Boolean, graphql_name='fromAccount_unset') - fee = sgqlc.types.Field(Long, graphql_name='fee') - failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') - kind = sgqlc.types.Field(String, graphql_name='kind') - fee_token_inc = sgqlc.types.Field(Int, graphql_name='feeToken_inc') - canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') - failure_reason_unset = sgqlc.types.Field(Boolean, graphql_name='failureReason_unset') - hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') - to_account = sgqlc.types.Field(TransactionToAccountUpdateInput, graphql_name='toAccount') - is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') - to_account_unset = sgqlc.types.Field(Boolean, graphql_name='toAccount_unset') - amount_unset = sgqlc.types.Field(Boolean, graphql_name='amount_unset') - fee_token_unset = sgqlc.types.Field(Boolean, graphql_name='feeToken_unset') - is_delegation_unset = sgqlc.types.Field(Boolean, graphql_name='isDelegation_unset') - receiver = sgqlc.types.Field(TransactionReceiverUpdateInput, graphql_name='receiver') - nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - receiver_unset = sgqlc.types.Field(Boolean, graphql_name='receiver_unset') - kind_unset = sgqlc.types.Field(Boolean, graphql_name='kind_unset') - to_unset = sgqlc.types.Field(Boolean, graphql_name='to_unset') - memo = sgqlc.types.Field(String, graphql_name='memo') - to = sgqlc.types.Field(String, graphql_name='to') - hash = sgqlc.types.Field(String, graphql_name='hash') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - id = sgqlc.types.Field(String, graphql_name='id') - id_unset = sgqlc.types.Field(Boolean, graphql_name='id_unset') - source_unset = sgqlc.types.Field(Boolean, graphql_name='source_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(Long, 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(Int, 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(Int, 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_snarks', 'delete_many_stakes', 'delete_many_transactions', 'delete_one_block', 'delete_one_snark', 'delete_one_stake', 'delete_one_transaction', 'insert_many_blocks', 'insert_many_snarks', 'insert_many_stakes', 'insert_many_transactions', 'insert_one_block', 'insert_one_snark', 'insert_one_stake', 'insert_one_transaction', 'replace_one_block', 'replace_one_snark', 'replace_one_stake', 'replace_one_transaction', 'update_many_blocks', 'update_many_snarks', 'update_many_stakes', 'update_many_transactions', 'update_one_block', 'update_one_snark', 'update_one_stake', 'update_one_transaction', 'upsert_one_block', '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_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_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_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_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_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(( - ('set', sgqlc.types.Arg(sgqlc.types.non_null(BlockUpdateInput), graphql_name='set', default=None)), - ('query', sgqlc.types.Arg(BlockQueryInput, graphql_name='query', 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_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(( - ('set', sgqlc.types.Arg(sgqlc.types.non_null(TransactionUpdateInput), graphql_name='set', default=None)), - ('query', sgqlc.types.Arg(TransactionQueryInput, graphql_name='query', default=None)), -)) - ) - upsert_one_block = sgqlc.types.Field(Block, graphql_name='upsertOneBlock', 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)), -)) - ) - 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(( - ('query', sgqlc.types.Arg(StakeQueryInput, graphql_name='query', default=None)), - ('data', sgqlc.types.Arg(sgqlc.types.non_null(StakeInsertInput), graphql_name='data', 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 Query(sgqlc.types.Type): - __schema__ = mina_explorer_schema - __field_names__ = ('block', 'blocks', '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(( - ('query', sgqlc.types.Arg(BlockQueryInput, graphql_name='query', default=None)), - ('limit', sgqlc.types.Arg(Int, graphql_name='limit', default=100)), - ('sort_by', sgqlc.types.Arg(BlockSortByInput, 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(( - ('sort_by', sgqlc.types.Arg(SnarkSortByInput, graphql_name='sortBy', default=None)), - ('query', sgqlc.types.Arg(SnarkQueryInput, graphql_name='query', default=None)), - ('limit', sgqlc.types.Arg(Int, graphql_name='limit', default=100)), -)) - ) - 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(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 Stake(sgqlc.types.Type): - __schema__ = mina_explorer_schema - __field_names__ = ('balance', 'chain_id', 'delegate', 'delegation_totals', 'epoch', 'ledger_hash', 'nonce', 'permissions', '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') - 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(Long, 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(Long, 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_schema/mina_schema.json b/mina_schema/mina_schema.json deleted file mode 100644 index 3055889..0000000 --- a/mina_schema/mina_schema.json +++ /dev/null @@ -1,8116 +0,0 @@ -{ - "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": "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 - } - } - } - ], - "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 - } - } - } - ], - "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 - } - } - } - ], - "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 - } - } - } - ], - "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 - } - } - } - ], - "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 - } - } - } - ], - "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 - } - } - } - ], - "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_schema/mina_schema.py b/mina_schema/mina_schema.py deleted file mode 100644 index 40ba574..0000000 --- a/mina_schema/mina_schema.py +++ /dev/null @@ -1,896 +0,0 @@ -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 - - -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 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') - 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') - - -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') - 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)), -)) - ) - - -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 - From ef2a0ec7b5941e936e87967489bc1d9db6eaa78c Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Fri, 16 Apr 2021 13:33:38 +0200 Subject: [PATCH 19/25] adding new schemas --- mina_schemas/mina_explorer_schema.json | 24313 +++++++++++++++++++++++ mina_schemas/mina_explorer_schema.py | 2800 +++ mina_schemas/mina_schema.json | 8240 ++++++++ mina_schemas/mina_schema.py | 911 + 4 files changed, 36264 insertions(+) create mode 100644 mina_schemas/mina_explorer_schema.json create mode 100644 mina_schemas/mina_explorer_schema.py create mode 100644 mina_schemas/mina_schema.json create mode 100644 mina_schemas/mina_schema.py diff --git a/mina_schemas/mina_explorer_schema.json b/mina_schemas/mina_explorer_schema.json new file mode 100644 index 0000000..d3adda5 --- /dev/null +++ b/mina_schemas/mina_explorer_schema.json @@ -0,0 +1,24313 @@ +{ + "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": "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": "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 + } + } + }, + { + "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_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "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_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_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerQueryInput", + "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": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountInsertInput", + "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": "", + "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": "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": "send", + "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": "edit_state_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": "edit_state", + "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_delegate_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", + "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": "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": "StakePermissionUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "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 + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "receiver_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": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_in", + "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": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_gte", + "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": "feeToken_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount_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": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_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": "memo_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_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": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer_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": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_gte", + "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": "feeToken_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_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": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_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": "failureReason_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_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": "blockStateHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_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": "BlockTransactionUserCommandQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_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": "id_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_gt", + "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": "to_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_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": "failureReason_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "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_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lt", + "type": { + "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": "blockHeight_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_lt", + "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": "fee", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_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": "token_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": "failureReason_gt", + "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": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverQueryInput", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "hash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Long", + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput", + "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": [ + { + "args": [], + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedger", + "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", + "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_gt", + "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": "OR", + "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": "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_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverQueryInput", + "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": "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": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "balance_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceQueryInput", + "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": "BlockWinnerAccountQueryInput", + "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": "publicKey_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountQueryInput", + "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": "BlockTransactionQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbaseReceiverAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountQueryInput", + "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": "coinbase_gt", + "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": "coinbase_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "userCommands", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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": "coinbase_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeTransfer_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbaseReceiverAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "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": "userCommands_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeTransfer_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "userCommands_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionQueryInput", + "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": "TransactionToAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "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": "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": "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": "TransactionToAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "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": "untimed_slot_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_lte", + "type": { + "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": "StakeTimingQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_gte", + "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_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_gte", + "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_increment_nin", + "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_amount_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "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": "timed_weighting_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period", + "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": "vesting_increment", + "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": "cliff_time", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_epoch_end", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "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_in_epoch_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_amount_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_time_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeTimingQueryInput", + "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": "vesting_increment_gte", + "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": "vesting_period_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_in_epoch_ne", + "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_weighting_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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": "cliff_time_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_lte", + "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": "cliff_time_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_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": "cliff_amount_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_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": "timed_weighting_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": "untimed_slot_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_gt", + "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": "vesting_increment_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "timed_in_epoch", + "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": "initial_minimum_balance_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting_gte", + "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": "cliff_amount_gt", + "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 + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakeTimingQueryInput", + "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": "fee_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "SnarkBlockStateHashRelationInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block_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": "canonical", + "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", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_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": "dateTime_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": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SnarkUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "SCALAR", + "name": "ObjectId", + "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": "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": "edit_state_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_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": "StakePermissionQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_gte", + "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": "edit_state_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_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": "StakePermissionQueryInput", + "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_delegate_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_exists", + "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_permissions_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_gt", + "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": "set_verification_key_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": "set_verification_key", + "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_gte", + "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": "edit_state_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stake_ne", + "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": "set_delegate_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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_lte", + "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_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send", + "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_lte", + "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": "edit_state", + "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_permissions_gt", + "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_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_delegate_lte", + "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_delegate_lt", + "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_delegate_ne", + "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": "send_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakePermissionQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": [ + { + "description": "", + "name": "NONCE_ASC" + }, + { + "description": "", + "name": "PK_ASC" + }, + { + "description": "", + "name": "PK_DESC" + }, + { + "description": "", + "name": "RECEIPT_CHAIN_HASH_ASC" + }, + { + "description": "", + "name": "RECEIPT_CHAIN_HASH_DESC" + }, + { + "description": "", + "name": "EPOCH_ASC" + }, + { + "description": "", + "name": "EPOCH_DESC" + }, + { + "description": "", + "name": "PUBLIC_KEY_ASC" + }, + { + "description": "", + "name": "BALANCE_ASC" + }, + { + "description": "", + "name": "BALANCE_DESC" + }, + { + "description": "", + "name": "TOKEN_ASC" + }, + { + "description": "", + "name": "CHAINID_ASC" + }, + { + "description": "", + "name": "CHAINID_DESC" + }, + { + "description": "", + "name": "PUBLIC_KEY_DESC" + }, + { + "description": "", + "name": "NONCE_DESC" + }, + { + "description": "", + "name": "LEDGERHASH_ASC" + }, + { + "description": "", + "name": "VOTING_FOR_ASC" + }, + { + "description": "", + "name": "VOTING_FOR_DESC" + }, + { + "description": "", + "name": "DELEGATE_DESC" + }, + { + "description": "", + "name": "TOKEN_DESC" + }, + { + "description": "", + "name": "LEDGERHASH_DESC" + }, + { + "description": "", + "name": "DELEGATE_ASC" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "StakeSortByInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "receivedTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "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 + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkJobs", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobInsertInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator", + "type": { + "kind": "SCALAR", + "name": "String", + "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": "creatorAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "transactions", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionInsertInput", + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockInsertInput", + "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": "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": "delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timing_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": "ledgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_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": "delegate_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": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_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": "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": "chainId_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": "permissions_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", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakePermissionUpdateInput", + "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": "pk", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakeUpdateInput", + "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": "An enum describing what kind of type a given `__Type` is", + "enumValues": [ + { + "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" + }, + { + "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" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "__TypeKind", + "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": "blockHeight_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_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": "liquid_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "total", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "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": "unknown", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceUpdateInput", + "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": "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": [ + { + "description": "", + "name": "DATETIME_DESC" + }, + { + "description": "", + "name": "STATEHASH_ASC" + }, + { + "description": "", + "name": "RECEIVEDTIME_DESC" + }, + { + "description": "", + "name": "CREATOR_ASC" + }, + { + "description": "", + "name": "CREATOR_DESC" + }, + { + "description": "", + "name": "STATEHASHFIELD_ASC" + }, + { + "description": "", + "name": "DATETIME_ASC" + }, + { + "description": "", + "name": "STATEHASH_DESC" + }, + { + "description": "", + "name": "RECEIVEDTIME_ASC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_ASC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_DESC" + }, + { + "description": "", + "name": "STATEHASHFIELD_DESC" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "BlockSortByInput", + "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_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": "BlockTransactionUserCommandFeePayerUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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 + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "hash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "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_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gt", + "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": "totalCurrency_ne", + "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": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_lt", + "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": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", + "ofType": null + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", + "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": "prover_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "prover_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "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_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "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_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": "prover", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_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": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "blockHeight_exists", + "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_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_in", + "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": "fee_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "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": "prover_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_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": "prover_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "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": "workIds_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "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": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerInsertInput", + "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": "BlockTransactionCoinbaseReceiverAccountUpdateInput", + "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": [ + { + "args": [], + "description": "", + "name": "publicKey", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommandSource", + "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": "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": "BlockTransactionUserCommandReceiverUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "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 + } + }, + { + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateUpdateInput", + "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": 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": "lastVrfOutput", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nextEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hasAncestorInSameCheckpointWindow", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateInsertInput", + "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": "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": "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": "TransactionFeePayerUpdateInput", + "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": "TransactionToAccountUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "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": "delegate", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "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": "epoch", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "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": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput", + "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": "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": "BlockTransactionUserCommandToAccountUpdateInput", + "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": [ + { + "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": "public_key_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_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": "voting_for_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": "timing_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch", + "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": "nonce_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receipt_chain_hash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_nin", + "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": "nonce_in", + "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": "public_key_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "public_key_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_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": "epoch_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId", + "type": { + "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": "pk_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "permissions_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate", + "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": "chainId_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk", + "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": "receipt_chain_hash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_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": "voting_for", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_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": "voting_for_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash", + "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": "chainId_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timing", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakeTimingQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_ne", + "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_ne", + "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": "delegate_ne", + "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": "token_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_gt", + "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": "public_key", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "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_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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_lt", + "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": "epoch_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "balance_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "voting_for_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "permissions", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakePermissionQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_gte", + "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": "ledgerHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "public_key_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_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": "StakeQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "pk_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "stateHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkJobs_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_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": "dateTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creatorAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountQueryInput", + "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": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator", + "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": "receivedTime_gte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "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": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "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_in", + "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": "dateTime_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_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": "canonical_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "winnerAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_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": "creator_gt", + "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": "blockHeight_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": "BlockQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "transactions_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": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_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": "dateTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "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": "stateHashField_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "protocolState_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": "dateTime_gte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "winnerAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_lte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "transactions", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "protocolState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_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_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creatorAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "total_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_lte", + "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_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_ne", + "type": { + "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": "locked_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_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": "BlockWinnerAccountBalanceQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "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": "stateHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_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": "AND", + "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": "liquid_nin", + "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": "blockHeight_gte", + "type": { + "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": "unknown_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_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": "locked_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "locked", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown_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": "locked_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "total_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_lte", + "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": "liquid_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "unknown", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "liquid_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "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": "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": [ + { + "args": [], + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Long", + "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": "Long", + "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": "timed_in_epoch", + "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": "cliff_amount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "initial_minimum_balance_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": "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": "untimed_slot_unset", + "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_in_epoch_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot_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": "timed_weighting_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "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", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_period_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "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_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "timed_weighting", + "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_amount_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": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_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": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_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": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount_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": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "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": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount_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": "memo_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver_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": "nonce_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_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": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_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": "to_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "epochLength_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "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_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_lte", + "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": "startCheckpoint_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": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed", + "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_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": "startCheckpoint_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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_gte", + "type": { + "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": "lockCheckpoint_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_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_gt", + "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_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_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": "startCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "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_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_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": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", + "ofType": null + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", + "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": null, + "inputFields": [ + { + "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 + } + }, + { + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobInsertInput", + "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": "BlockTransactionUserCommandSourceUpdateInput", + "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": "vesting_period", + "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_increment", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "untimed_slot", + "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_in_epoch", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "cliff_time", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "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 + } + }, + { + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "StakePermissionInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creatorAccount_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": "blockHeight_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": "snarkJobs_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "transactions_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "protocolState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "protocolState_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": "stateHashField", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash_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": "creator", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "transactions", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "winnerAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "winnerAccount_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": "blockHeight_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "creator_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHashField_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockUpdateInput", + "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": "BlockTransactionUserCommandFromAccountUpdateInput", + "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": "type_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": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_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_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_lte", + "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": "recipient_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": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "type_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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_ne", + "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_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_lt", + "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_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "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": "recipient_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "recipient_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lte", + "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 + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", + "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": "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_gte", + "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": "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_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": "publicKey_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "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": "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": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "publicKey_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "publicKey", + "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": "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_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_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_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": "BlockTransactionUserCommandReceiverQueryInput", + "ofType": null + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverQueryInput", + "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": "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": "BlockTransactionUserCommandFromAccountQueryInput", + "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": "AND", + "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_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountQueryInput", + "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": "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": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerInsertInput", + "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": "", + "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": [ + { + "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": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + }, + { + "defaultValue": "100", + "description": "", + "name": "limit", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "sortBy", + "type": { + "kind": "ENUM", + "name": "BlockSortByInput", + "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": "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": [ + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommandFromAccount", + "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": "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 + } + }, + { + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SnarkInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "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 + } + }, + { + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "epochLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "lockCheckpoint_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_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": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput", + "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": [ + { + "description": "", + "name": "BLOCKSTATEHASH_ASC" + }, + { + "description": "", + "name": "NONCE_ASC" + }, + { + "description": "", + "name": "TO_DESC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_DESC" + }, + { + "description": "", + "name": "DATETIME_ASC" + }, + { + "description": "", + "name": "FEE_DESC" + }, + { + "description": "", + "name": "FEETOKEN_ASC" + }, + { + "description": "", + "name": "KIND_DESC" + }, + { + "description": "", + "name": "AMOUNT_ASC" + }, + { + "description": "", + "name": "HASH_ASC" + }, + { + "description": "", + "name": "DATETIME_DESC" + }, + { + "description": "", + "name": "FROM_DESC" + }, + { + "description": "", + "name": "ID_DESC" + }, + { + "description": "", + "name": "MEMO_ASC" + }, + { + "description": "", + "name": "BLOCKSTATEHASH_DESC" + }, + { + "description": "", + "name": "FAILUREREASON_DESC" + }, + { + "description": "", + "name": "FEETOKEN_DESC" + }, + { + "description": "", + "name": "FEE_ASC" + }, + { + "description": "", + "name": "HASH_DESC" + }, + { + "description": "", + "name": "TOKEN_ASC" + }, + { + "description": "", + "name": "TOKEN_DESC" + }, + { + "description": "", + "name": "FAILUREREASON_ASC" + }, + { + "description": "", + "name": "TO_ASC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_ASC" + }, + { + "description": "", + "name": "NONCE_DESC" + }, + { + "description": "", + "name": "ID_ASC" + }, + { + "description": "", + "name": "FROM_ASC" + }, + { + "description": "", + "name": "MEMO_DESC" + }, + { + "description": "", + "name": "KIND_ASC" + }, + { + "description": "", + "name": "AMOUNT_DESC" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "TransactionSortByInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": [ + { + "description": "", + "name": "PROVER_ASC" + }, + { + "description": "", + "name": "PROVER_DESC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_ASC" + }, + { + "description": "", + "name": "BLOCKSTATEHASH_DESC" + }, + { + "description": "", + "name": "DATETIME_ASC" + }, + { + "description": "", + "name": "DATETIME_DESC" + }, + { + "description": "", + "name": "FEE_DESC" + }, + { + "description": "", + "name": "BLOCKHEIGHT_DESC" + }, + { + "description": "", + "name": "BLOCKSTATEHASH_ASC" + }, + { + "description": "", + "name": "FEE_ASC" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "SnarkSortByInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "amount_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_ne", + "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": "nonce_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver_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": "failureReason_gte", + "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": "from_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_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": "kind_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_gt", + "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_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lt", + "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": "nonce_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source_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": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nonce_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "kind_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": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "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_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_lte", + "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": "to_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverQueryInput", + "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": "dateTime_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": "kind_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": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionSourceQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_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": "TransactionQueryInput", + "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": "hash", + "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": "nonce_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_ne", + "type": { + "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": "blockHeight_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "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_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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": "nonce_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_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": "blockHeight_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "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": "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": "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", + "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": "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": "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": "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": "blockHeight_lte", + "type": { + "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": "slotSinceGenesis_lte", + "type": { + "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": "slot_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot", + "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": "slotSinceGenesis_lt", + "type": { + "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": "hasAncestorInSameCheckpointWindow_ne", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_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": "BlockProtocolStateConsensusStateQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_gte", + "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_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingEpochData_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_ne", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "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": "lastVrfOutput_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_lte", + "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": "epochCount_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity", + "type": { + "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": "epoch_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_gt", + "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": "minWindowDensity_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis", + "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": "epoch_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_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_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "nextEpochData_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hasAncestorInSameCheckpointWindow_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot_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": "nextEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hasAncestorInSameCheckpointWindow", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_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": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_ne", + "type": { + "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": "totalCurrency_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateQueryInput", + "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": "amount", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "Int", + "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": [ + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "TransactionFromAccount", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_gt", + "type": { + "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": "previousStateHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainState_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "consensusState_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "consensusState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateQueryInput", + "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 + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "previousStateHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateQueryInput", + "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": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "kind_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": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionBlockStateHashRelationInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_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": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionSourceUpdateInput", + "ofType": null + } + }, + { + "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": "feePayer_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "isDelegation_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical_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": "feeToken_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount_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": "to", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "to_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source_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": "isDelegation", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "failureReason_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": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount_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": "block_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "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": "BlockTransactionUserCommandToAccountQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_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": "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_gt", + "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_gte", + "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 + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountQueryInput", + "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": "BlockTransactionUserCommandFeePayerInsertInput", + "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": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "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 + } + }, + { + "defaultValue": null, + "description": "", + "name": "consensusState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateInsertInput", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateInsertInput", + "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": 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": "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": "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": "token_lte", + "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 + } + }, + { + "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": "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": "BlockTransactionUserCommandFeePayerQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "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": "BlockTransactionUserCommandFeePayerQueryInput", + "ofType": null + } + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "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": "nonce", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionSourceInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "toAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Long", + "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": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "memo", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "id", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "canonical", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "block", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionBlockStateHashRelationInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "from", + "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": "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": "fee_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_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": "prover_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_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": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_ne", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_lt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_gte", + "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": "fee_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_lte", + "type": { + "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": "blockStateHash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_gt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover", + "type": { + "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": "dateTime_lt", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_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": "prover_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": "BlockSnarkJobQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds", + "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": "blockStateHash_gte", + "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": "blockHeight_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime_lte", + "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_gte", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "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": "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": "prover_ne", + "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": "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_gt", + "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_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": "TransactionSourceQueryInput", + "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_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_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionSourceQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "userCommands", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandInsertInput", + "ofType": null + } + } + }, + { + "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 + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionInsertInput", + "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_gt", + "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_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": "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": "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_ne", + "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_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountQueryInput", + "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 an argument definition.", + "name": "ARGUMENT_DEFINITION" + }, + { + "description": "Location adjacent to an interface definition.", + "name": "INTERFACE" + }, + { + "description": "Location adjacent to a query operation.", + "name": "QUERY" + }, + { + "description": "Location adjacent to a field.", + "name": "FIELD" + }, + { + "description": "Location adjacent to a fragment definition.", + "name": "FRAGMENT_DEFINITION" + }, + { + "description": "Location adjacent to a fragment spread.", + "name": "FRAGMENT_SPREAD" + }, + { + "description": "Location adjacent to an inline fragment.", + "name": "INLINE_FRAGMENT" + }, + { + "description": "Location adjacent to a schema definition.", + "name": "SCHEMA" + }, + { + "description": "Location adjacent to an enum definition.", + "name": "ENUM" + }, + { + "description": "Location adjacent to an enum value definition.", + "name": "ENUM_VALUE" + }, + { + "description": "Location adjacent to a scalar definition.", + "name": "SCALAR" + }, + { + "description": "Location adjacent to a object definition.", + "name": "OBJECT" + }, + { + "description": "Location adjacent to a union definition.", + "name": "UNION" + }, + { + "description": "Location adjacent to an input object type definition.", + "name": "INPUT_OBJECT" + }, + { + "description": "Location adjacent to an input object field definition.", + "name": "INPUT_FIELD_DEFINITION" + }, + { + "description": "Location adjacent to a subscription operation.", + "name": "SUBSCRIPTION" + }, + { + "description": "Location adjacent to a field definition.", + "name": "FIELD_DEFINITION" + }, + { + "description": "Location adjacent to a mutation operation.", + "name": "MUTATION" + } + ], + "fields": null, + "inputFields": null, + "interfaces": null, + "kind": "ENUM", + "name": "__DirectiveLocation", + "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": "BlockTransactionUserCommandSourceQueryInput", + "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": "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": "BlockTransactionUserCommandSourceQueryInput", + "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_lt", + "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_gte", + "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": "BlockTransactionUserCommandSourceQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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": "date_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date", + "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": "stagedLedgerHash_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": "date_lte", + "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_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_lte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "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": "OR", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_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": "date_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_ne", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "snarkedLedgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_lt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "utcDate_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_gte", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stagedLedgerHash_gt", + "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": "utcDate_gt", + "type": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "hash_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gt", + "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_in", + "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": "AND", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_gte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "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_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "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": "totalCurrency_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "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", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_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": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "hash_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "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": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_gte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_lte", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_gt", + "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": "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": "seed_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 + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_ne", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_gte", + "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_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_gt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_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_lte", + "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_lt", + "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": "seed", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_lte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledger_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "seed_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": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", + "ofType": null + } + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_lt", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochLength_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lockCheckpoint_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "startCheckpoint_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", + "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": "coinbase_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUpdateInput", + "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_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": "TransactionFromAccountQueryInput", + "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_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "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_lt", + "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_nin", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "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 + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "stakingEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "minWindowDensity_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": "epoch_inc", + "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": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "totalCurrency_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": "slot_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epoch_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slot", + "type": { + "kind": "SCALAR", + "name": "Int", + "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": "hasAncestorInSameCheckpointWindow", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_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": "minWindowDensity", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "slotSinceGenesis_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "hasAncestorInSameCheckpointWindow_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": "blockHeight_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "lastVrfOutput", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateUpdateInput", + "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": "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": [ + { + "args": [], + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommandFeePayer", + "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": "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": "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": "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": "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": "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": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionInsertInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "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": "set", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SnarkUpdateInput", + "ofType": null + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "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": "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": "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": "upsertOneBlock", + "type": { + "kind": "OBJECT", + "name": "Block", + "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": "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": "upsertOneStake", + "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 + } + } + }, + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "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": [ + { + "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": 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": "blockStateHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockStateHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight_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": "dateTime_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": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "prover_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "fee_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobUpdateInput", + "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..7ab21dc --- /dev/null +++ b/mina_schemas/mina_explorer_schema.py @@ -0,0 +1,2800 @@ +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__ = ('DATETIME_DESC', 'STATEHASH_ASC', 'RECEIVEDTIME_DESC', 'CREATOR_ASC', 'CREATOR_DESC', 'STATEHASHFIELD_ASC', 'DATETIME_ASC', 'STATEHASH_DESC', 'RECEIVEDTIME_ASC', 'BLOCKHEIGHT_ASC', 'BLOCKHEIGHT_DESC', 'STATEHASHFIELD_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 ObjectId(sgqlc.types.Scalar): + __schema__ = mina_explorer_schema + + +class SnarkSortByInput(sgqlc.types.Enum): + __schema__ = mina_explorer_schema + __choices__ = ('PROVER_ASC', 'PROVER_DESC', 'BLOCKHEIGHT_ASC', 'BLOCKSTATEHASH_DESC', 'DATETIME_ASC', 'DATETIME_DESC', 'FEE_DESC', 'BLOCKHEIGHT_DESC', 'BLOCKSTATEHASH_ASC', 'FEE_ASC') + + +class StakeSortByInput(sgqlc.types.Enum): + __schema__ = mina_explorer_schema + __choices__ = ('NONCE_ASC', 'PK_ASC', 'PK_DESC', 'RECEIPT_CHAIN_HASH_ASC', 'RECEIPT_CHAIN_HASH_DESC', 'EPOCH_ASC', 'EPOCH_DESC', 'PUBLIC_KEY_ASC', 'BALANCE_ASC', 'BALANCE_DESC', 'TOKEN_ASC', 'CHAINID_ASC', 'CHAINID_DESC', 'PUBLIC_KEY_DESC', 'NONCE_DESC', 'LEDGERHASH_ASC', 'VOTING_FOR_ASC', 'VOTING_FOR_DESC', 'DELEGATE_DESC', 'TOKEN_DESC', 'LEDGERHASH_DESC', 'DELEGATE_ASC') + + +String = sgqlc.types.String + +class TransactionSortByInput(sgqlc.types.Enum): + __schema__ = mina_explorer_schema + __choices__ = ('BLOCKSTATEHASH_ASC', 'NONCE_ASC', 'TO_DESC', 'BLOCKHEIGHT_DESC', 'DATETIME_ASC', 'FEE_DESC', 'FEETOKEN_ASC', 'KIND_DESC', 'AMOUNT_ASC', 'HASH_ASC', 'DATETIME_DESC', 'FROM_DESC', 'ID_DESC', 'MEMO_ASC', 'BLOCKSTATEHASH_DESC', 'FAILUREREASON_DESC', 'FEETOKEN_DESC', 'FEE_ASC', 'HASH_DESC', 'TOKEN_ASC', 'TOKEN_DESC', 'FAILUREREASON_ASC', 'TO_ASC', 'BLOCKHEIGHT_ASC', 'NONCE_DESC', 'ID_ASC', 'FROM_ASC', 'MEMO_DESC', 'KIND_ASC', 'AMOUNT_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__ = ('public_key', 'public_key_gt', 'public_key_lte', 'public_key_exists', 'public_key_nin', 'and_', 'public_key_in', 'or_', 'public_key_ne', 'public_key_lt', 'public_key_gte') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + 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('BlockCreatorAccountQueryInput')), graphql_name='AND') + 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('BlockCreatorAccountQueryInput')), graphql_name='OR') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + 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__ = ('received_time', 'state_hash', 'block_height', 'state_hash_field', 'snark_jobs', 'creator', 'date_time', 'canonical', 'creator_account', 'transactions', 'winner_account', 'protocol_state') + received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + state_hash_field = sgqlc.types.Field(String, graphql_name='stateHashField') + snark_jobs = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobInsertInput'), graphql_name='snarkJobs') + creator = sgqlc.types.Field(String, graphql_name='creator') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + creator_account = sgqlc.types.Field(BlockCreatorAccountInsertInput, graphql_name='creatorAccount') + transactions = sgqlc.types.Field('BlockTransactionInsertInput', graphql_name='transactions') + winner_account = sgqlc.types.Field('BlockWinnerAccountInsertInput', graphql_name='winnerAccount') + protocol_state = sgqlc.types.Field('BlockProtocolStateInsertInput', graphql_name='protocolState') + + +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__ = ('staged_ledger_hash_lte', 'snarked_ledger_hash_nin', 'staged_ledger_hash_exists', 'date_exists', 'utc_date_in', 'and_', 'date_in', 'staged_ledger_hash_ne', 'date', 'staged_ledger_hash_in', 'staged_ledger_hash_gte', 'snarked_ledger_hash_lt', 'date_lte', 'snarked_ledger_hash_exists', 'date_lt', 'utc_date_lte', 'snarked_ledger_hash_gte', 'date_nin', 'utc_date', 'utc_date_gte', 'snarked_ledger_hash_lte', 'staged_ledger_hash_lt', 'or_', 'date_gt', 'snarked_ledger_hash_in', 'date_ne', 'staged_ledger_hash_nin', 'snarked_ledger_hash_ne', 'staged_ledger_hash', 'snarked_ledger_hash_gt', 'utc_date_ne', 'snarked_ledger_hash', 'utc_date_lt', 'utc_date_exists', 'date_gte', 'staged_ledger_hash_gt', 'utc_date_nin', 'utc_date_gt') + staged_ledger_hash_lte = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_lte') + snarked_ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='snarkedLedgerHash_nin') + staged_ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stagedLedgerHash_exists') + date_exists = sgqlc.types.Field(Boolean, graphql_name='date_exists') + 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') + date_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='date_in') + staged_ledger_hash_ne = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_ne') + date = sgqlc.types.Field(Long, graphql_name='date') + staged_ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stagedLedgerHash_in') + staged_ledger_hash_gte = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_gte') + snarked_ledger_hash_lt = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_lt') + date_lte = sgqlc.types.Field(Long, graphql_name='date_lte') + snarked_ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='snarkedLedgerHash_exists') + date_lt = sgqlc.types.Field(Long, graphql_name='date_lt') + utc_date_lte = sgqlc.types.Field(Long, graphql_name='utcDate_lte') + snarked_ledger_hash_gte = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_gte') + date_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='date_nin') + utc_date = sgqlc.types.Field(Long, graphql_name='utcDate') + utc_date_gte = sgqlc.types.Field(Long, graphql_name='utcDate_gte') + snarked_ledger_hash_lte = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_lte') + staged_ledger_hash_lt = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_lt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateBlockchainStateQueryInput')), graphql_name='OR') + date_gt = sgqlc.types.Field(Long, graphql_name='date_gt') + snarked_ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='snarkedLedgerHash_in') + date_ne = sgqlc.types.Field(Long, graphql_name='date_ne') + staged_ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stagedLedgerHash_nin') + snarked_ledger_hash_ne = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_ne') + staged_ledger_hash = sgqlc.types.Field(String, graphql_name='stagedLedgerHash') + snarked_ledger_hash_gt = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_gt') + utc_date_ne = sgqlc.types.Field(Long, graphql_name='utcDate_ne') + snarked_ledger_hash = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash') + utc_date_lt = sgqlc.types.Field(Long, graphql_name='utcDate_lt') + utc_date_exists = sgqlc.types.Field(Boolean, graphql_name='utcDate_exists') + date_gte = sgqlc.types.Field(Long, graphql_name='date_gte') + staged_ledger_hash_gt = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_gt') + utc_date_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='utcDate_nin') + utc_date_gt = sgqlc.types.Field(Long, graphql_name='utcDate_gt') + + +class BlockProtocolStateBlockchainStateUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('utc_date', 'utc_date_unset', 'date', 'date_unset', 'snarked_ledger_hash', 'snarked_ledger_hash_unset', 'staged_ledger_hash', 'staged_ledger_hash_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') + staged_ledger_hash = sgqlc.types.Field(String, graphql_name='stagedLedgerHash') + staged_ledger_hash_unset = sgqlc.types.Field(Boolean, graphql_name='stagedLedgerHash_unset') + + +class BlockProtocolStateConsensusStateInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('last_vrf_output', 'slot_since_genesis', 'total_currency', 'next_epoch_data', 'min_window_density', 'epoch_count', 'slot', 'has_ancestor_in_same_checkpoint_window', 'staking_epoch_data', 'block_height', 'blockchain_length', 'epoch') + last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') + slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + next_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateNextEpochDatumInsertInput', graphql_name='nextEpochData') + min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') + epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') + slot = sgqlc.types.Field(Int, graphql_name='slot') + has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') + 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') + + +class BlockProtocolStateConsensusStateNextEpochDatumInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('lock_checkpoint', 'seed', 'start_checkpoint', 'epoch_length', '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') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + ledger = sgqlc.types.Field('BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput', graphql_name='ledger') + + +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(Long, graphql_name='totalCurrency') + + +class BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('hash_ne', 'total_currency_in', 'hash_lte', 'hash_gte', 'total_currency_gt', 'hash_nin', 'hash_lt', 'total_currency_exists', 'total_currency_nin', 'total_currency_lte', 'total_currency', 'hash_exists', 'hash_gt', 'hash_in', 'total_currency_ne', 'or_', 'hash', 'total_currency_gte', 'total_currency_lt', 'and_') + hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') + total_currency_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='totalCurrency_in') + hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') + hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') + total_currency_gt = sgqlc.types.Field(Long, graphql_name='totalCurrency_gt') + hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') + hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') + total_currency_exists = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_exists') + total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='totalCurrency_nin') + total_currency_lte = sgqlc.types.Field(Long, graphql_name='totalCurrency_lte') + total_currency = sgqlc.types.Field(Long, graphql_name='totalCurrency') + hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') + hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') + hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') + total_currency_ne = sgqlc.types.Field(Long, graphql_name='totalCurrency_ne') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput')), graphql_name='OR') + hash = sgqlc.types.Field(String, graphql_name='hash') + total_currency_gte = sgqlc.types.Field(Long, graphql_name='totalCurrency_gte') + total_currency_lt = sgqlc.types.Field(Long, graphql_name='totalCurrency_lt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput')), graphql_name='AND') + + +class BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('hash_unset', 'total_currency', 'total_currency_unset', 'hash') + hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') + total_currency = sgqlc.types.Field(Long, graphql_name='totalCurrency') + total_currency_unset = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_unset') + hash = sgqlc.types.Field(String, graphql_name='hash') + + +class BlockProtocolStateConsensusStateNextEpochDatumQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('and_', 'epoch_length_gte', 'start_checkpoint', 'epoch_length_lte', 'lock_checkpoint_lte', 'start_checkpoint_gt', 'start_checkpoint_nin', 'seed_lt', 'epoch_length_nin', 'seed_nin', 'seed_exists', 'seed_ne', 'epoch_length_ne', 'ledger', 'seed_gte', 'lock_checkpoint_lt', 'epoch_length_gt', 'lock_checkpoint_ne', 'seed_gt', 'lock_checkpoint_gt', 'lock_checkpoint', 'start_checkpoint_exists', 'start_checkpoint_ne', 'seed_lte', 'start_checkpoint_in', 'epoch_length_lt', 'epoch_length_in', 'seed', 'start_checkpoint_lte', 'lock_checkpoint_in', 'ledger_exists', 'lock_checkpoint_nin', 'lock_checkpoint_exists', 'seed_in', 'or_', 'start_checkpoint_lt', 'epoch_length', 'epoch_length_exists', 'lock_checkpoint_gte', 'start_checkpoint_gte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumQueryInput')), graphql_name='AND') + epoch_length_gte = sgqlc.types.Field(Int, graphql_name='epochLength_gte') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + epoch_length_lte = sgqlc.types.Field(Int, graphql_name='epochLength_lte') + lock_checkpoint_lte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lte') + start_checkpoint_gt = sgqlc.types.Field(String, graphql_name='startCheckpoint_gt') + start_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_nin') + 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') + seed_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_nin') + seed_exists = sgqlc.types.Field(Boolean, graphql_name='seed_exists') + seed_ne = sgqlc.types.Field(String, graphql_name='seed_ne') + epoch_length_ne = sgqlc.types.Field(Int, graphql_name='epochLength_ne') + ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput, graphql_name='ledger') + seed_gte = sgqlc.types.Field(String, graphql_name='seed_gte') + lock_checkpoint_lt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lt') + epoch_length_gt = sgqlc.types.Field(Int, graphql_name='epochLength_gt') + lock_checkpoint_ne = sgqlc.types.Field(String, graphql_name='lockCheckpoint_ne') + seed_gt = sgqlc.types.Field(String, graphql_name='seed_gt') + lock_checkpoint_gt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gt') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + start_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_exists') + start_checkpoint_ne = sgqlc.types.Field(String, graphql_name='startCheckpoint_ne') + seed_lte = sgqlc.types.Field(String, graphql_name='seed_lte') + start_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_in') + epoch_length_lt = sgqlc.types.Field(Int, graphql_name='epochLength_lt') + epoch_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_in') + seed = sgqlc.types.Field(String, graphql_name='seed') + start_checkpoint_lte = sgqlc.types.Field(String, graphql_name='startCheckpoint_lte') + lock_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_in') + ledger_exists = sgqlc.types.Field(Boolean, graphql_name='ledger_exists') + lock_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_nin') + lock_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_exists') + seed_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_in') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumQueryInput')), graphql_name='OR') + start_checkpoint_lt = sgqlc.types.Field(String, graphql_name='startCheckpoint_lt') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + epoch_length_exists = sgqlc.types.Field(Boolean, graphql_name='epochLength_exists') + lock_checkpoint_gte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gte') + start_checkpoint_gte = sgqlc.types.Field(String, graphql_name='startCheckpoint_gte') + + +class BlockProtocolStateConsensusStateNextEpochDatumUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('ledger', 'lock_checkpoint', 'lock_checkpoint_unset', 'epoch_length_inc', 'epoch_length_unset', 'seed_unset', 'seed', 'epoch_length', 'start_checkpoint_unset', 'ledger_unset', 'start_checkpoint') + ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput, graphql_name='ledger') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + lock_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_unset') + epoch_length_inc = sgqlc.types.Field(Int, graphql_name='epochLength_inc') + epoch_length_unset = sgqlc.types.Field(Boolean, graphql_name='epochLength_unset') + seed_unset = sgqlc.types.Field(Boolean, graphql_name='seed_unset') + seed = sgqlc.types.Field(String, graphql_name='seed') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + start_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_unset') + ledger_unset = sgqlc.types.Field(Boolean, graphql_name='ledger_unset') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + + +class BlockProtocolStateConsensusStateQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('block_height_lte', 'total_currency_nin', 'slot_since_genesis_lte', 'slot_in', 'slot_ne', 'blockchain_length_exists', 'slot', 'slot_since_genesis_nin', 'slot_since_genesis_lt', 'blockchain_length_in', 'has_ancestor_in_same_checkpoint_window_ne', 'epoch_count_gte', 'or_', 'total_currency_in', 'last_vrf_output_lte', 'slot_exists', 'slot_nin', 'epoch_count_ne', 'last_vrf_output_gte', 'block_height_in', 'block_height_lt', 'last_vrf_output_exists', 'last_vrf_output_in', 'staking_epoch_data_exists', 'total_currency', 'slot_lte', 'total_currency_ne', 'epoch_count_nin', 'block_height_nin', 'last_vrf_output_ne', 'min_window_density_lt', 'epoch_lt', 'blockchain_length_lte', 'epoch_in', 'epoch_count_in', 'slot_since_genesis_exists', 'slot_gte', 'blockchain_length', 'epoch_ne', 'min_window_density', 'blockchain_length_nin', 'epoch_nin', 'block_height_exists', 'blockchain_length_ne', 'epoch_count_exists', 'epoch_count', 'slot_since_genesis_ne', 'staking_epoch_data', 'last_vrf_output_lt', 'slot_gt', 'min_window_density_in', 'min_window_density_exists', 'slot_since_genesis', 'slot_since_genesis_in', 'epoch_lte', 'min_window_density_gt', 'epoch_exists', 'block_height', 'block_height_gte', 'epoch_gte', 'epoch_gt', 'next_epoch_data_exists', 'block_height_gt', 'min_window_density_gte', 'has_ancestor_in_same_checkpoint_window_exists', 'slot_lt', 'last_vrf_output_nin', 'next_epoch_data', 'epoch', 'last_vrf_output_gt', 'epoch_count_lte', 'has_ancestor_in_same_checkpoint_window', 'total_currency_gte', 'slot_since_genesis_gte', 'epoch_count_lt', 'total_currency_exists', 'total_currency_lt', 'and_', 'slot_since_genesis_gt', 'blockchain_length_lt', 'block_height_ne', 'blockchain_length_gte', 'min_window_density_ne', 'min_window_density_nin', 'total_currency_lte', 'last_vrf_output', 'epoch_count_gt', 'blockchain_length_gt', 'min_window_density_lte', 'total_currency_gt') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_nin') + slot_since_genesis_lte = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_lte') + slot_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slot_in') + slot_ne = sgqlc.types.Field(Int, graphql_name='slot_ne') + blockchain_length_exists = sgqlc.types.Field(Boolean, graphql_name='blockchainLength_exists') + slot = sgqlc.types.Field(Int, graphql_name='slot') + slot_since_genesis_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slotSinceGenesis_nin') + slot_since_genesis_lt = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_lt') + blockchain_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockchainLength_in') + has_ancestor_in_same_checkpoint_window_ne = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_ne') + epoch_count_gte = sgqlc.types.Field(Int, graphql_name='epochCount_gte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateQueryInput')), graphql_name='OR') + total_currency_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_in') + last_vrf_output_lte = sgqlc.types.Field(String, graphql_name='lastVrfOutput_lte') + slot_exists = sgqlc.types.Field(Boolean, graphql_name='slot_exists') + slot_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slot_nin') + epoch_count_ne = sgqlc.types.Field(Int, graphql_name='epochCount_ne') + last_vrf_output_gte = sgqlc.types.Field(String, graphql_name='lastVrfOutput_gte') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + last_vrf_output_exists = sgqlc.types.Field(Boolean, graphql_name='lastVrfOutput_exists') + last_vrf_output_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lastVrfOutput_in') + staking_epoch_data_exists = sgqlc.types.Field(Boolean, graphql_name='stakingEpochData_exists') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + slot_lte = sgqlc.types.Field(Int, graphql_name='slot_lte') + total_currency_ne = sgqlc.types.Field(Float, graphql_name='totalCurrency_ne') + epoch_count_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochCount_nin') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + last_vrf_output_ne = sgqlc.types.Field(String, graphql_name='lastVrfOutput_ne') + min_window_density_lt = sgqlc.types.Field(Int, graphql_name='minWindowDensity_lt') + epoch_lt = sgqlc.types.Field(Int, graphql_name='epoch_lt') + blockchain_length_lte = sgqlc.types.Field(Int, graphql_name='blockchainLength_lte') + epoch_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_in') + epoch_count_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochCount_in') + slot_since_genesis_exists = sgqlc.types.Field(Boolean, graphql_name='slotSinceGenesis_exists') + slot_gte = sgqlc.types.Field(Int, graphql_name='slot_gte') + blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') + epoch_ne = sgqlc.types.Field(Int, graphql_name='epoch_ne') + min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') + blockchain_length_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockchainLength_nin') + epoch_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_nin') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + blockchain_length_ne = sgqlc.types.Field(Int, graphql_name='blockchainLength_ne') + epoch_count_exists = sgqlc.types.Field(Boolean, graphql_name='epochCount_exists') + epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') + slot_since_genesis_ne = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_ne') + staking_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateStakingEpochDatumQueryInput', graphql_name='stakingEpochData') + last_vrf_output_lt = sgqlc.types.Field(String, graphql_name='lastVrfOutput_lt') + slot_gt = sgqlc.types.Field(Int, graphql_name='slot_gt') + min_window_density_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='minWindowDensity_in') + min_window_density_exists = sgqlc.types.Field(Boolean, graphql_name='minWindowDensity_exists') + slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') + slot_since_genesis_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slotSinceGenesis_in') + epoch_lte = sgqlc.types.Field(Int, graphql_name='epoch_lte') + min_window_density_gt = sgqlc.types.Field(Int, graphql_name='minWindowDensity_gt') + epoch_exists = sgqlc.types.Field(Boolean, graphql_name='epoch_exists') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + epoch_gte = sgqlc.types.Field(Int, graphql_name='epoch_gte') + epoch_gt = sgqlc.types.Field(Int, graphql_name='epoch_gt') + next_epoch_data_exists = sgqlc.types.Field(Boolean, graphql_name='nextEpochData_exists') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + min_window_density_gte = sgqlc.types.Field(Int, graphql_name='minWindowDensity_gte') + has_ancestor_in_same_checkpoint_window_exists = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_exists') + slot_lt = sgqlc.types.Field(Int, graphql_name='slot_lt') + last_vrf_output_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lastVrfOutput_nin') + next_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumQueryInput, graphql_name='nextEpochData') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + last_vrf_output_gt = sgqlc.types.Field(String, graphql_name='lastVrfOutput_gt') + epoch_count_lte = sgqlc.types.Field(Int, graphql_name='epochCount_lte') + has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') + total_currency_gte = sgqlc.types.Field(Float, graphql_name='totalCurrency_gte') + slot_since_genesis_gte = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_gte') + epoch_count_lt = sgqlc.types.Field(Int, graphql_name='epochCount_lt') + total_currency_exists = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_exists') + total_currency_lt = sgqlc.types.Field(Float, graphql_name='totalCurrency_lt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateQueryInput')), graphql_name='AND') + slot_since_genesis_gt = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_gt') + blockchain_length_lt = sgqlc.types.Field(Int, graphql_name='blockchainLength_lt') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + blockchain_length_gte = sgqlc.types.Field(Int, graphql_name='blockchainLength_gte') + min_window_density_ne = sgqlc.types.Field(Int, graphql_name='minWindowDensity_ne') + min_window_density_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='minWindowDensity_nin') + total_currency_lte = sgqlc.types.Field(Float, graphql_name='totalCurrency_lte') + last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') + epoch_count_gt = sgqlc.types.Field(Int, graphql_name='epochCount_gt') + blockchain_length_gt = sgqlc.types.Field(Int, graphql_name='blockchainLength_gt') + min_window_density_lte = sgqlc.types.Field(Int, graphql_name='minWindowDensity_lte') + total_currency_gt = sgqlc.types.Field(Float, graphql_name='totalCurrency_gt') + + +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__ = ('total_currency', 'hash') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + hash = sgqlc.types.Field(String, graphql_name='hash') + + +class BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('hash_exists', 'total_currency_gt', 'total_currency_nin', 'total_currency_in', 'total_currency_ne', 'and_', 'total_currency_gte', 'hash_lt', 'hash_nin', 'hash_gt', 'hash_ne', 'total_currency_exists', 'total_currency_lte', 'hash_gte', 'total_currency', 'total_currency_lt', 'hash', 'hash_lte', 'or_', 'hash_in') + hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') + total_currency_gt = sgqlc.types.Field(Float, graphql_name='totalCurrency_gt') + total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_nin') + total_currency_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_in') + total_currency_ne = sgqlc.types.Field(Float, graphql_name='totalCurrency_ne') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput')), graphql_name='AND') + total_currency_gte = sgqlc.types.Field(Float, graphql_name='totalCurrency_gte') + hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') + hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') + hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') + hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') + total_currency_exists = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_exists') + total_currency_lte = sgqlc.types.Field(Float, graphql_name='totalCurrency_lte') + hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + total_currency_lt = sgqlc.types.Field(Float, graphql_name='totalCurrency_lt') + hash = sgqlc.types.Field(String, graphql_name='hash') + hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput')), graphql_name='OR') + hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') + + +class BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('total_currency_unset', 'hash', 'hash_unset', 'total_currency', 'total_currency_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') + total_currency_inc = sgqlc.types.Field(Float, graphql_name='totalCurrency_inc') + + +class BlockProtocolStateConsensusStateStakingEpochDatumQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('epoch_length_lt', 'epoch_length', 'seed_in', 'start_checkpoint_gte', 'start_checkpoint_exists', 'ledger', 'lock_checkpoint_lte', 'epoch_length_in', 'start_checkpoint_lt', 'or_', 'seed_gte', 'seed_lt', 'lock_checkpoint_gt', 'seed_ne', 'seed', 'lock_checkpoint_nin', 'seed_exists', 'ledger_exists', 'start_checkpoint_in', 'lock_checkpoint_in', 'lock_checkpoint_gte', 'seed_nin', 'lock_checkpoint_lt', 'lock_checkpoint_exists', 'start_checkpoint_ne', 'seed_gt', 'start_checkpoint_gt', 'seed_lte', 'start_checkpoint_lte', 'start_checkpoint_nin', 'start_checkpoint', 'lock_checkpoint', 'epoch_length_gte', 'lock_checkpoint_ne', 'epoch_length_lte', 'epoch_length_nin', 'epoch_length_ne', 'epoch_length_gt', 'epoch_length_exists', 'and_') + epoch_length_lt = sgqlc.types.Field(Int, graphql_name='epochLength_lt') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + seed_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_in') + start_checkpoint_gte = sgqlc.types.Field(String, graphql_name='startCheckpoint_gte') + start_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_exists') + ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput, graphql_name='ledger') + lock_checkpoint_lte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lte') + epoch_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_in') + start_checkpoint_lt = sgqlc.types.Field(String, graphql_name='startCheckpoint_lt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumQueryInput')), graphql_name='OR') + seed_gte = sgqlc.types.Field(String, graphql_name='seed_gte') + seed_lt = sgqlc.types.Field(String, graphql_name='seed_lt') + lock_checkpoint_gt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gt') + seed_ne = sgqlc.types.Field(String, graphql_name='seed_ne') + seed = sgqlc.types.Field(String, graphql_name='seed') + 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') + ledger_exists = sgqlc.types.Field(Boolean, graphql_name='ledger_exists') + start_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_in') + lock_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_in') + lock_checkpoint_gte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gte') + seed_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_nin') + lock_checkpoint_lt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lt') + lock_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_exists') + start_checkpoint_ne = sgqlc.types.Field(String, graphql_name='startCheckpoint_ne') + seed_gt = sgqlc.types.Field(String, graphql_name='seed_gt') + start_checkpoint_gt = sgqlc.types.Field(String, graphql_name='startCheckpoint_gt') + seed_lte = sgqlc.types.Field(String, graphql_name='seed_lte') + start_checkpoint_lte = sgqlc.types.Field(String, graphql_name='startCheckpoint_lte') + start_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_nin') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + epoch_length_gte = sgqlc.types.Field(Int, graphql_name='epochLength_gte') + lock_checkpoint_ne = sgqlc.types.Field(String, graphql_name='lockCheckpoint_ne') + epoch_length_lte = sgqlc.types.Field(Int, graphql_name='epochLength_lte') + epoch_length_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_nin') + epoch_length_ne = sgqlc.types.Field(Int, graphql_name='epochLength_ne') + epoch_length_gt = sgqlc.types.Field(Int, graphql_name='epochLength_gt') + epoch_length_exists = sgqlc.types.Field(Boolean, graphql_name='epochLength_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumQueryInput')), graphql_name='AND') + + +class BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('epoch_length', 'seed', 'start_checkpoint', 'lock_checkpoint_unset', 'epoch_length_inc', 'start_checkpoint_unset', 'ledger_unset', 'seed_unset', 'epoch_length_unset', 'lock_checkpoint', 'ledger') + epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + seed = sgqlc.types.Field(String, graphql_name='seed') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + lock_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_unset') + epoch_length_inc = sgqlc.types.Field(Int, graphql_name='epochLength_inc') + start_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_unset') + ledger_unset = sgqlc.types.Field(Boolean, graphql_name='ledger_unset') + seed_unset = sgqlc.types.Field(Boolean, graphql_name='seed_unset') + epoch_length_unset = sgqlc.types.Field(Boolean, graphql_name='epochLength_unset') + lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput, graphql_name='ledger') + + +class BlockProtocolStateConsensusStateUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('blockchain_length_unset', 'epoch_count', 'staking_epoch_data', 'min_window_density_inc', 'min_window_density_unset', 'staking_epoch_data_unset', 'epoch_inc', 'slot_inc', 'next_epoch_data', 'block_height', 'epoch', 'total_currency_inc', 'block_height_unset', 'slot_unset', 'slot_since_genesis', 'blockchain_length', 'epoch_unset', 'slot', 'total_currency', 'total_currency_unset', 'has_ancestor_in_same_checkpoint_window', 'last_vrf_output_unset', 'slot_since_genesis_unset', 'min_window_density', 'slot_since_genesis_inc', 'has_ancestor_in_same_checkpoint_window_unset', 'next_epoch_data_unset', 'block_height_inc', 'epoch_count_inc', 'blockchain_length_inc', 'last_vrf_output', 'epoch_count_unset') + blockchain_length_unset = sgqlc.types.Field(Boolean, graphql_name='blockchainLength_unset') + epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') + staking_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput, graphql_name='stakingEpochData') + min_window_density_inc = sgqlc.types.Field(Int, graphql_name='minWindowDensity_inc') + min_window_density_unset = sgqlc.types.Field(Boolean, graphql_name='minWindowDensity_unset') + staking_epoch_data_unset = sgqlc.types.Field(Boolean, graphql_name='stakingEpochData_unset') + epoch_inc = sgqlc.types.Field(Int, graphql_name='epoch_inc') + slot_inc = sgqlc.types.Field(Int, graphql_name='slot_inc') + next_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumUpdateInput, graphql_name='nextEpochData') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + total_currency_inc = sgqlc.types.Field(Float, graphql_name='totalCurrency_inc') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + slot_unset = sgqlc.types.Field(Boolean, graphql_name='slot_unset') + slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') + blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') + epoch_unset = sgqlc.types.Field(Boolean, graphql_name='epoch_unset') + slot = sgqlc.types.Field(Int, graphql_name='slot') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + total_currency_unset = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_unset') + has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') + last_vrf_output_unset = sgqlc.types.Field(Boolean, graphql_name='lastVrfOutput_unset') + slot_since_genesis_unset = sgqlc.types.Field(Boolean, graphql_name='slotSinceGenesis_unset') + min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') + slot_since_genesis_inc = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_inc') + has_ancestor_in_same_checkpoint_window_unset = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_unset') + next_epoch_data_unset = sgqlc.types.Field(Boolean, graphql_name='nextEpochData_unset') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + epoch_count_inc = sgqlc.types.Field(Int, graphql_name='epochCount_inc') + blockchain_length_inc = sgqlc.types.Field(Int, graphql_name='blockchainLength_inc') + last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') + epoch_count_unset = sgqlc.types.Field(Boolean, graphql_name='epochCount_unset') + + +class BlockProtocolStateInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('previous_state_hash', 'blockchain_state', 'consensus_state') + previous_state_hash = sgqlc.types.Field(String, graphql_name='previousStateHash') + blockchain_state = sgqlc.types.Field(BlockProtocolStateBlockchainStateInsertInput, graphql_name='blockchainState') + consensus_state = sgqlc.types.Field(BlockProtocolStateConsensusStateInsertInput, graphql_name='consensusState') + + +class BlockProtocolStateQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('previous_state_hash_lt', 'previous_state_hash_gt', 'previous_state_hash_nin', 'previous_state_hash_exists', 'blockchain_state_exists', 'consensus_state_exists', 'previous_state_hash_lte', 'previous_state_hash_in', 'and_', 'previous_state_hash_gte', 'consensus_state', 'blockchain_state', 'or_', 'previous_state_hash', 'previous_state_hash_ne') + previous_state_hash_lt = sgqlc.types.Field(String, graphql_name='previousStateHash_lt') + previous_state_hash_gt = sgqlc.types.Field(String, graphql_name='previousStateHash_gt') + previous_state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='previousStateHash_nin') + previous_state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='previousStateHash_exists') + blockchain_state_exists = sgqlc.types.Field(Boolean, graphql_name='blockchainState_exists') + consensus_state_exists = sgqlc.types.Field(Boolean, graphql_name='consensusState_exists') + 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') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateQueryInput')), graphql_name='AND') + previous_state_hash_gte = sgqlc.types.Field(String, graphql_name='previousStateHash_gte') + consensus_state = sgqlc.types.Field(BlockProtocolStateConsensusStateQueryInput, graphql_name='consensusState') + blockchain_state = sgqlc.types.Field(BlockProtocolStateBlockchainStateQueryInput, graphql_name='blockchainState') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateQueryInput')), graphql_name='OR') + previous_state_hash = sgqlc.types.Field(String, graphql_name='previousStateHash') + previous_state_hash_ne = sgqlc.types.Field(String, graphql_name='previousStateHash_ne') + + +class BlockProtocolStateUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('consensus_state_unset', 'previous_state_hash', 'previous_state_hash_unset', 'blockchain_state', 'blockchain_state_unset', 'consensus_state') + consensus_state_unset = sgqlc.types.Field(Boolean, graphql_name='consensusState_unset') + previous_state_hash = sgqlc.types.Field(String, graphql_name='previousStateHash') + 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') + + +class BlockQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('state_hash_nin', 'snark_jobs_exists', 'state_hash_in', 'creator_exists', 'date_time_lt', 'block_height_lte', 'state_hash_gte', 'creator_account', 'snark_jobs_in', 'state_hash', 'state_hash_field_ne', 'creator_lt', 'creator_ne', 'creator', 'creator_nin', 'received_time_gte', 'and_', 'canonical', 'block_height_gt', 'snark_jobs', 'state_hash_field_in', 'date_time_nin', 'date_time_exists', 'state_hash_field_nin', 'state_hash_ne', 'canonical_exists', 'received_time_ne', 'winner_account', 'creator_in', 'state_hash_field_gt', 'canonical_ne', 'state_hash_field', 'block_height_exists', 'block_height_gte', 'creator_gt', 'received_time_in', 'block_height_lt', 'or_', 'date_time_lte', 'transactions_exists', 'state_hash_lte', 'date_time', 'received_time_gt', 'snark_jobs_nin', 'date_time_in', 'date_time_ne', 'block_height_in', 'state_hash_field_lt', 'received_time_lt', 'protocol_state_exists', 'state_hash_lt', 'date_time_gte', 'creator_lte', 'state_hash_field_lte', 'winner_account_exists', 'received_time_lte', 'block_height_ne', 'transactions', 'received_time_exists', 'block_height', 'protocol_state', 'date_time_gt', 'state_hash_field_gte', 'received_time', 'state_hash_gt', 'received_time_nin', 'state_hash_field_exists', 'state_hash_exists', 'creator_gte', 'creator_account_exists', 'block_height_nin') + state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_nin') + snark_jobs_exists = sgqlc.types.Field(Boolean, graphql_name='snarkJobs_exists') + state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_in') + creator_exists = sgqlc.types.Field(Boolean, graphql_name='creator_exists') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + state_hash_gte = sgqlc.types.Field(String, graphql_name='stateHash_gte') + creator_account = sgqlc.types.Field(BlockCreatorAccountQueryInput, graphql_name='creatorAccount') + snark_jobs_in = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs_in') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + state_hash_field_ne = sgqlc.types.Field(String, graphql_name='stateHashField_ne') + creator_lt = sgqlc.types.Field(String, graphql_name='creator_lt') + creator_ne = sgqlc.types.Field(String, graphql_name='creator_ne') + creator = sgqlc.types.Field(String, graphql_name='creator') + creator_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='creator_nin') + received_time_gte = sgqlc.types.Field(DateTime, graphql_name='receivedTime_gte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockQueryInput')), graphql_name='AND') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + snark_jobs = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs') + state_hash_field_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHashField_in') + 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') + state_hash_field_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHashField_nin') + state_hash_ne = sgqlc.types.Field(String, graphql_name='stateHash_ne') + canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') + received_time_ne = sgqlc.types.Field(DateTime, graphql_name='receivedTime_ne') + winner_account = sgqlc.types.Field('BlockWinnerAccountQueryInput', graphql_name='winnerAccount') + creator_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='creator_in') + state_hash_field_gt = sgqlc.types.Field(String, graphql_name='stateHashField_gt') + canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') + state_hash_field = sgqlc.types.Field(String, graphql_name='stateHashField') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + creator_gt = sgqlc.types.Field(String, graphql_name='creator_gt') + received_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='receivedTime_in') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockQueryInput')), graphql_name='OR') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + transactions_exists = sgqlc.types.Field(Boolean, graphql_name='transactions_exists') + state_hash_lte = sgqlc.types.Field(String, graphql_name='stateHash_lte') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + received_time_gt = sgqlc.types.Field(DateTime, graphql_name='receivedTime_gt') + snark_jobs_nin = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs_nin') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + state_hash_field_lt = sgqlc.types.Field(String, graphql_name='stateHashField_lt') + received_time_lt = sgqlc.types.Field(DateTime, graphql_name='receivedTime_lt') + protocol_state_exists = sgqlc.types.Field(Boolean, graphql_name='protocolState_exists') + state_hash_lt = sgqlc.types.Field(String, graphql_name='stateHash_lt') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + creator_lte = sgqlc.types.Field(String, graphql_name='creator_lte') + state_hash_field_lte = sgqlc.types.Field(String, graphql_name='stateHashField_lte') + winner_account_exists = sgqlc.types.Field(Boolean, graphql_name='winnerAccount_exists') + received_time_lte = sgqlc.types.Field(DateTime, graphql_name='receivedTime_lte') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + transactions = sgqlc.types.Field('BlockTransactionQueryInput', graphql_name='transactions') + received_time_exists = sgqlc.types.Field(Boolean, graphql_name='receivedTime_exists') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + protocol_state = sgqlc.types.Field(BlockProtocolStateQueryInput, graphql_name='protocolState') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + state_hash_field_gte = sgqlc.types.Field(String, graphql_name='stateHashField_gte') + received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') + state_hash_gt = sgqlc.types.Field(String, graphql_name='stateHash_gt') + received_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='receivedTime_nin') + state_hash_field_exists = sgqlc.types.Field(Boolean, graphql_name='stateHashField_exists') + state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stateHash_exists') + creator_gte = sgqlc.types.Field(String, graphql_name='creator_gte') + creator_account_exists = sgqlc.types.Field(Boolean, graphql_name='creatorAccount_exists') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + + +class BlockSnarkJobInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('work_ids', 'block_height', 'block_state_hash', 'date_time', 'fee', 'prover') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + 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') + + +class BlockSnarkJobQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('fee_lte', 'prover_in', 'fee_exists', 'block_state_hash_lt', 'block_state_hash_ne', 'date_time_in', 'prover_gte', 'block_height_lt', 'fee_ne', 'work_ids_in', 'block_state_hash', 'date_time_ne', 'fee_lt', 'block_height_gte', 'block_height_in', 'fee_gte', 'block_height', 'work_ids_nin', 'block_height_lte', 'block_height_ne', 'prover_lte', 'block_height_nin', 'block_state_hash_in', 'date_time_gt', 'block_state_hash_lte', 'prover', 'fee_in', 'date_time_lt', 'prover_gt', 'date_time', 'fee_gt', 'date_time_exists', 'block_height_exists', 'prover_nin', 'or_', 'block_state_hash_gt', 'prover_exists', 'block_state_hash_exists', 'fee', 'work_ids', 'work_ids_exists', 'block_state_hash_gte', 'fee_nin', 'block_height_gt', 'date_time_lte', 'prover_lt', 'date_time_gte', 'and_', 'date_time_nin', 'block_state_hash_nin', 'prover_ne') + fee_lte = sgqlc.types.Field(Int, graphql_name='fee_lte') + prover_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_in') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + block_state_hash_lt = sgqlc.types.Field(String, graphql_name='blockStateHash_lt') + block_state_hash_ne = sgqlc.types.Field(String, graphql_name='blockStateHash_ne') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + prover_gte = sgqlc.types.Field(String, graphql_name='prover_gte') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + fee_ne = sgqlc.types.Field(Int, graphql_name='fee_ne') + work_ids_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_in') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') + fee_lt = sgqlc.types.Field(Int, graphql_name='fee_lt') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + fee_gte = sgqlc.types.Field(Int, graphql_name='fee_gte') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + work_ids_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_nin') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + prover_lte = sgqlc.types.Field(String, graphql_name='prover_lte') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + block_state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_in') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + block_state_hash_lte = sgqlc.types.Field(String, graphql_name='blockStateHash_lte') + prover = sgqlc.types.Field(String, graphql_name='prover') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_in') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + prover_gt = sgqlc.types.Field(String, graphql_name='prover_gt') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + fee_gt = sgqlc.types.Field(Int, graphql_name='fee_gt') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + prover_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_nin') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockSnarkJobQueryInput')), graphql_name='OR') + block_state_hash_gt = sgqlc.types.Field(String, graphql_name='blockStateHash_gt') + prover_exists = sgqlc.types.Field(Boolean, graphql_name='prover_exists') + block_state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_exists') + fee = sgqlc.types.Field(Int, graphql_name='fee') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + work_ids_exists = sgqlc.types.Field(Boolean, graphql_name='workIds_exists') + block_state_hash_gte = sgqlc.types.Field(String, graphql_name='blockStateHash_gte') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_nin') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + prover_lt = sgqlc.types.Field(String, graphql_name='prover_lt') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockSnarkJobQueryInput')), graphql_name='AND') + 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') + prover_ne = sgqlc.types.Field(String, graphql_name='prover_ne') + + +class BlockSnarkJobUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('block_state_hash_unset', 'fee_unset', 'fee', 'block_height', 'block_state_hash', 'block_height_inc', 'block_height_unset', 'work_ids', 'date_time_unset', 'work_ids_unset', 'date_time', 'prover', 'prover_unset', 'fee_inc') + block_state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_unset') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + fee = sgqlc.types.Field(Int, graphql_name='fee') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + work_ids_unset = sgqlc.types.Field(Boolean, graphql_name='workIds_unset') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + prover = sgqlc.types.Field(String, graphql_name='prover') + prover_unset = sgqlc.types.Field(Boolean, graphql_name='prover_unset') + fee_inc = sgqlc.types.Field(Int, graphql_name='fee_inc') + + +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_ne', 'public_key_gt', 'and_', 'public_key_gte', 'public_key_in', 'or_', 'public_key', 'public_key_lt', 'public_key_nin', 'public_key_exists', 'public_key_lte') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionCoinbaseReceiverAccountQueryInput')), graphql_name='AND') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + 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('BlockTransactionCoinbaseReceiverAccountQueryInput')), graphql_name='OR') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + 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') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + + +class BlockTransactionCoinbaseReceiverAccountUpdateInput(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 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__ = ('type_in', 'fee_nin', 'type_exists', 'type_gte', 'fee_exists', 'type_lt', 'type_lte', 'fee_lt', 'type', 'recipient_in', 'fee_ne', 'and_', 'type_gt', 'fee_gt', 'type_nin', 'recipient_nin', 'type_ne', 'fee_in', 'recipient_gte', 'recipient_lt', 'fee_gte', 'recipient_exists', 'fee', 'recipient', 'recipient_lte', 'recipient_ne', 'recipient_gt', 'fee_lte', 'or_') + type_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='type_in') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_nin') + type_exists = sgqlc.types.Field(Boolean, graphql_name='type_exists') + type_gte = sgqlc.types.Field(String, graphql_name='type_gte') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + type_lt = sgqlc.types.Field(String, graphql_name='type_lt') + type_lte = sgqlc.types.Field(String, graphql_name='type_lte') + fee_lt = sgqlc.types.Field(Long, graphql_name='fee_lt') + type = sgqlc.types.Field(String, graphql_name='type') + recipient_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='recipient_in') + fee_ne = sgqlc.types.Field(Long, graphql_name='fee_ne') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionFeeTransferQueryInput')), graphql_name='AND') + type_gt = sgqlc.types.Field(String, graphql_name='type_gt') + fee_gt = sgqlc.types.Field(Long, graphql_name='fee_gt') + type_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='type_nin') + recipient_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='recipient_nin') + type_ne = sgqlc.types.Field(String, graphql_name='type_ne') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_in') + recipient_gte = sgqlc.types.Field(String, graphql_name='recipient_gte') + recipient_lt = sgqlc.types.Field(String, graphql_name='recipient_lt') + fee_gte = sgqlc.types.Field(Long, graphql_name='fee_gte') + recipient_exists = sgqlc.types.Field(Boolean, graphql_name='recipient_exists') + fee = sgqlc.types.Field(Long, graphql_name='fee') + recipient = sgqlc.types.Field(String, graphql_name='recipient') + recipient_lte = sgqlc.types.Field(String, graphql_name='recipient_lte') + recipient_ne = sgqlc.types.Field(String, graphql_name='recipient_ne') + recipient_gt = sgqlc.types.Field(String, graphql_name='recipient_gt') + fee_lte = sgqlc.types.Field(Long, graphql_name='fee_lte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionFeeTransferQueryInput')), graphql_name='OR') + + +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__ = ('user_commands', 'coinbase', 'coinbase_receiver_account', 'fee_transfer') + user_commands = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandInsertInput'), graphql_name='userCommands') + 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') + + +class BlockTransactionQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('or_', 'coinbase_receiver_account', 'fee_transfer_in', 'coinbase_gt', 'and_', 'coinbase_ne', 'coinbase_exists', 'user_commands', 'coinbase', 'coinbase_lt', 'coinbase_nin', 'fee_transfer', 'coinbase_in', 'coinbase_lte', 'fee_transfer_nin', 'coinbase_receiver_account_exists', 'user_commands_in', 'coinbase_gte', 'user_commands_nin', 'fee_transfer_exists', 'user_commands_exists') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionQueryInput')), graphql_name='OR') + coinbase_receiver_account = sgqlc.types.Field(BlockTransactionCoinbaseReceiverAccountQueryInput, graphql_name='coinbaseReceiverAccount') + fee_transfer_in = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer_in') + coinbase_gt = sgqlc.types.Field(Long, graphql_name='coinbase_gt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionQueryInput')), graphql_name='AND') + coinbase_ne = sgqlc.types.Field(Long, graphql_name='coinbase_ne') + coinbase_exists = sgqlc.types.Field(Boolean, graphql_name='coinbase_exists') + user_commands = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandQueryInput'), graphql_name='userCommands') + coinbase = sgqlc.types.Field(Long, graphql_name='coinbase') + coinbase_lt = sgqlc.types.Field(Long, graphql_name='coinbase_lt') + coinbase_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='coinbase_nin') + fee_transfer = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer') + coinbase_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='coinbase_in') + coinbase_lte = sgqlc.types.Field(Long, graphql_name='coinbase_lte') + fee_transfer_nin = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer_nin') + coinbase_receiver_account_exists = sgqlc.types.Field(Boolean, graphql_name='coinbaseReceiverAccount_exists') + 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') + user_commands_nin = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandQueryInput'), graphql_name='userCommands_nin') + fee_transfer_exists = sgqlc.types.Field(Boolean, graphql_name='feeTransfer_exists') + user_commands_exists = sgqlc.types.Field(Boolean, graphql_name='userCommands_exists') + + +class BlockTransactionUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('coinbase_unset', 'coinbase_receiver_account', 'coinbase_receiver_account_unset', 'fee_transfer', 'fee_transfer_unset', 'user_commands', 'user_commands_unset', 'coinbase') + coinbase_unset = sgqlc.types.Field(Boolean, graphql_name='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') + + +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_gte', 'token_lt', 'token_lte', 'token_ne', 'token_gt', 'token_in', 'token_nin', 'token_exists', 'and_', 'token', 'or_') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + 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') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFeePayerQueryInput')), graphql_name='AND') + token = sgqlc.types.Field(Int, graphql_name='token') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFeePayerQueryInput')), graphql_name='OR') + + +class BlockTransactionUserCommandFeePayerUpdateInput(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 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_gte', 'token_lt', 'or_', 'token_lte', 'token_in', 'and_', 'token', 'token_nin', 'token_ne', 'token_exists', 'token_gt') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFromAccountQueryInput')), graphql_name='OR') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFromAccountQueryInput')), graphql_name='AND') + 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_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + + +class BlockTransactionUserCommandFromAccountUpdateInput(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 BlockTransactionUserCommandInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('id', 'source', 'to_account', 'kind', 'from_', 'token', 'date_time', 'hash', 'is_delegation', 'fee', 'amount', 'fee_payer', 'from_account', 'block_height', 'receiver', 'failure_reason', 'block_state_hash', 'nonce', 'memo', 'fee_token', 'to') + id = sgqlc.types.Field(String, graphql_name='id') + source = sgqlc.types.Field('BlockTransactionUserCommandSourceInsertInput', graphql_name='source') + to_account = sgqlc.types.Field('BlockTransactionUserCommandToAccountInsertInput', graphql_name='toAccount') + kind = sgqlc.types.Field(String, graphql_name='kind') + from_ = sgqlc.types.Field(String, graphql_name='from') + token = sgqlc.types.Field(Int, graphql_name='token') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + hash = sgqlc.types.Field(String, graphql_name='hash') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + fee = sgqlc.types.Field(Int, graphql_name='fee') + amount = sgqlc.types.Field(Int, graphql_name='amount') + fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerInsertInput, graphql_name='feePayer') + from_account = sgqlc.types.Field(BlockTransactionUserCommandFromAccountInsertInput, graphql_name='fromAccount') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + receiver = sgqlc.types.Field('BlockTransactionUserCommandReceiverInsertInput', graphql_name='receiver') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + memo = sgqlc.types.Field(String, graphql_name='memo') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + to = sgqlc.types.Field(String, graphql_name='to') + + +class BlockTransactionUserCommandQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('receiver_exists', 'hash_gte', 'failure_reason', 'hash_exists', 'nonce', 'block_state_hash_exists', 'id', 'from_gte', 'fee_gt', 'failure_reason_in', 'nonce_lte', 'block_state_hash', 'source_exists', 'kind_nin', 'token_gt', 'fee_token_gte', 'from_in', 'fee_token_lte', 'from_lte', 'from_account_exists', 'to_account_exists', 'to_ne', 'is_delegation', 'kind_ne', 'fee_exists', 'fee_lt', 'nonce_in', 'block_state_hash_gt', 'id_exists', 'memo', 'from_account', 'id_gt', 'block_state_hash_in', 'block_height_exists', 'id_gte', 'id_lte', 'memo_lt', 'date_time_exists', 'kind_in', 'hash_nin', 'block_state_hash_gte', 'to_gte', 'block_height_gte', 'to_nin', 'amount_gte', 'id_lt', 'fee_lte', 'amount_gt', 'fee_token', 'nonce_gte', 'is_delegation_exists', 'token_exists', 'fee_token_gt', 'and_', 'token_lt', 'date_time', 'fee_payer_exists', 'block_state_hash_ne', 'token_lte', 'kind_gte', 'nonce_nin', 'fee_token_nin', 'date_time_ne', 'amount_lt', 'id_ne', 'id_nin', 'source', 'from_nin', 'block_state_hash_lte', 'amount_exists', 'failure_reason_lte', 'amount_in', 'fee_token_ne', 'failure_reason_exists', 'nonce_lt', 'block_height', 'memo_gte', 'failure_reason_ne', 'amount_lte', 'block_height_ne', 'token_in', 'block_state_hash_lt', 'fee_token_exists', 'fee_token_lt', 'fee_in', 'or_', 'hash_ne', 'nonce_ne', 'from_gt', 'amount_ne', 'hash_gt', 'to_account', 'to_exists', 'block_height_lt', 'id_in', 'nonce_gt', 'hash', 'from_ne', 'kind_lte', 'nonce_exists', 'block_height_nin', 'hash_lte', 'date_time_lt', 'token_gte', 'fee_gte', 'failure_reason_lt', 'date_time_gte', 'to_gt', 'memo_in', 'to_lte', 'memo_nin', 'memo_exists', 'from_', 'date_time_gt', 'hash_in', 'to', 'fee_payer', 'amount', 'block_state_hash_nin', 'kind_exists', 'is_delegation_ne', 'failure_reason_gte', 'kind', 'from_lt', 'to_lt', 'memo_ne', 'block_height_gt', 'date_time_nin', 'date_time_lte', 'from_exists', 'fee_ne', 'amount_nin', 'hash_lt', 'fee_token_in', 'block_height_in', 'block_height_lte', 'date_time_in', 'kind_gt', 'kind_lt', 'fee_nin', 'fee', 'memo_gt', 'token_nin', 'token_ne', 'to_in', 'failure_reason_gt', 'failure_reason_nin', 'token', 'memo_lte', 'receiver') + receiver_exists = sgqlc.types.Field(Boolean, graphql_name='receiver_exists') + hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + block_state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_exists') + id = sgqlc.types.Field(String, graphql_name='id') + from_gte = sgqlc.types.Field(String, graphql_name='from_gte') + fee_gt = sgqlc.types.Field(Int, graphql_name='fee_gt') + failure_reason_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_in') + nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + source_exists = sgqlc.types.Field(Boolean, graphql_name='source_exists') + kind_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_nin') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + fee_token_gte = sgqlc.types.Field(Int, graphql_name='feeToken_gte') + from_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_in') + fee_token_lte = sgqlc.types.Field(Int, graphql_name='feeToken_lte') + from_lte = sgqlc.types.Field(String, graphql_name='from_lte') + from_account_exists = sgqlc.types.Field(Boolean, graphql_name='fromAccount_exists') + to_account_exists = sgqlc.types.Field(Boolean, graphql_name='toAccount_exists') + to_ne = sgqlc.types.Field(String, graphql_name='to_ne') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + kind_ne = sgqlc.types.Field(String, graphql_name='kind_ne') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + fee_lt = sgqlc.types.Field(Int, graphql_name='fee_lt') + nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') + block_state_hash_gt = sgqlc.types.Field(String, graphql_name='blockStateHash_gt') + id_exists = sgqlc.types.Field(Boolean, graphql_name='id_exists') + memo = sgqlc.types.Field(String, graphql_name='memo') + from_account = sgqlc.types.Field(BlockTransactionUserCommandFromAccountQueryInput, graphql_name='fromAccount') + id_gt = sgqlc.types.Field(String, graphql_name='id_gt') + block_state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_in') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + id_gte = sgqlc.types.Field(String, graphql_name='id_gte') + id_lte = sgqlc.types.Field(String, graphql_name='id_lte') + memo_lt = sgqlc.types.Field(String, graphql_name='memo_lt') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + kind_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_in') + hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') + block_state_hash_gte = sgqlc.types.Field(String, graphql_name='blockStateHash_gte') + to_gte = sgqlc.types.Field(String, graphql_name='to_gte') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + to_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_nin') + amount_gte = sgqlc.types.Field(Int, graphql_name='amount_gte') + id_lt = sgqlc.types.Field(String, graphql_name='id_lt') + fee_lte = sgqlc.types.Field(Int, graphql_name='fee_lte') + amount_gt = sgqlc.types.Field(Int, graphql_name='amount_gt') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') + is_delegation_exists = sgqlc.types.Field(Boolean, graphql_name='isDelegation_exists') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + fee_token_gt = sgqlc.types.Field(Int, graphql_name='feeToken_gt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandQueryInput')), graphql_name='AND') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + fee_payer_exists = sgqlc.types.Field(Boolean, graphql_name='feePayer_exists') + block_state_hash_ne = sgqlc.types.Field(String, graphql_name='blockStateHash_ne') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + kind_gte = sgqlc.types.Field(String, graphql_name='kind_gte') + nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') + fee_token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_nin') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') + amount_lt = sgqlc.types.Field(Int, graphql_name='amount_lt') + id_ne = sgqlc.types.Field(String, graphql_name='id_ne') + id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_nin') + source = sgqlc.types.Field('BlockTransactionUserCommandSourceQueryInput', graphql_name='source') + from_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_nin') + block_state_hash_lte = sgqlc.types.Field(String, graphql_name='blockStateHash_lte') + amount_exists = sgqlc.types.Field(Boolean, graphql_name='amount_exists') + failure_reason_lte = sgqlc.types.Field(String, graphql_name='failureReason_lte') + amount_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='amount_in') + fee_token_ne = sgqlc.types.Field(Int, graphql_name='feeToken_ne') + failure_reason_exists = sgqlc.types.Field(Boolean, graphql_name='failureReason_exists') + nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + memo_gte = sgqlc.types.Field(String, graphql_name='memo_gte') + failure_reason_ne = sgqlc.types.Field(String, graphql_name='failureReason_ne') + amount_lte = sgqlc.types.Field(Int, graphql_name='amount_lte') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + block_state_hash_lt = sgqlc.types.Field(String, graphql_name='blockStateHash_lt') + fee_token_exists = sgqlc.types.Field(Boolean, graphql_name='feeToken_exists') + fee_token_lt = sgqlc.types.Field(Int, graphql_name='feeToken_lt') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_in') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandQueryInput')), graphql_name='OR') + hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') + nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') + from_gt = sgqlc.types.Field(String, graphql_name='from_gt') + amount_ne = sgqlc.types.Field(Int, graphql_name='amount_ne') + hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') + to_account = sgqlc.types.Field('BlockTransactionUserCommandToAccountQueryInput', graphql_name='toAccount') + to_exists = sgqlc.types.Field(Boolean, graphql_name='to_exists') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_in') + nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') + hash = sgqlc.types.Field(String, graphql_name='hash') + from_ne = sgqlc.types.Field(String, graphql_name='from_ne') + kind_lte = sgqlc.types.Field(String, graphql_name='kind_lte') + nonce_exists = sgqlc.types.Field(Boolean, graphql_name='nonce_exists') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + fee_gte = sgqlc.types.Field(Int, graphql_name='fee_gte') + failure_reason_lt = sgqlc.types.Field(String, graphql_name='failureReason_lt') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + to_gt = sgqlc.types.Field(String, graphql_name='to_gt') + memo_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_in') + to_lte = sgqlc.types.Field(String, graphql_name='to_lte') + memo_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_nin') + memo_exists = sgqlc.types.Field(Boolean, graphql_name='memo_exists') + from_ = sgqlc.types.Field(String, graphql_name='from') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') + to = sgqlc.types.Field(String, graphql_name='to') + fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerQueryInput, graphql_name='feePayer') + amount = sgqlc.types.Field(Int, graphql_name='amount') + block_state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_nin') + kind_exists = sgqlc.types.Field(Boolean, graphql_name='kind_exists') + is_delegation_ne = sgqlc.types.Field(Boolean, graphql_name='isDelegation_ne') + failure_reason_gte = sgqlc.types.Field(String, graphql_name='failureReason_gte') + kind = sgqlc.types.Field(String, graphql_name='kind') + from_lt = sgqlc.types.Field(String, graphql_name='from_lt') + to_lt = sgqlc.types.Field(String, graphql_name='to_lt') + memo_ne = sgqlc.types.Field(String, graphql_name='memo_ne') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + from_exists = sgqlc.types.Field(Boolean, graphql_name='from_exists') + fee_ne = sgqlc.types.Field(Int, graphql_name='fee_ne') + amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='amount_nin') + hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') + fee_token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_in') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + kind_gt = sgqlc.types.Field(String, graphql_name='kind_gt') + kind_lt = sgqlc.types.Field(String, graphql_name='kind_lt') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_nin') + fee = sgqlc.types.Field(Int, graphql_name='fee') + memo_gt = sgqlc.types.Field(String, graphql_name='memo_gt') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + to_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_in') + failure_reason_gt = sgqlc.types.Field(String, graphql_name='failureReason_gt') + failure_reason_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_nin') + token = sgqlc.types.Field(Int, graphql_name='token') + memo_lte = sgqlc.types.Field(String, graphql_name='memo_lte') + receiver = sgqlc.types.Field('BlockTransactionUserCommandReceiverQueryInput', graphql_name='receiver') + + +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_exists', 'public_key', 'public_key_lte', 'public_key_nin', 'or_', 'public_key_gt', 'public_key_lt', 'public_key_ne', 'public_key_gte', 'public_key_in', 'and_') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + 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') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandReceiverQueryInput')), 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') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandReceiverQueryInput')), graphql_name='AND') + + +class BlockTransactionUserCommandReceiverUpdateInput(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 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__ = ('and_', 'public_key_gt', 'public_key', 'public_key_in', 'public_key_exists', 'or_', 'public_key_nin', 'public_key_lt', 'public_key_ne', 'public_key_gte', 'public_key_lte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandSourceQueryInput')), graphql_name='AND') + 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') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandSourceQueryInput')), graphql_name='OR') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_nin') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + + +class BlockTransactionUserCommandSourceUpdateInput(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 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__ = ('token_lt', 'or_', 'token_exists', 'token_nin', 'and_', 'token_lte', 'token_gt', 'token_ne', 'token_gte', 'token', 'token_in') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandToAccountQueryInput')), graphql_name='OR') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + 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('BlockTransactionUserCommandToAccountQueryInput')), graphql_name='AND') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token = sgqlc.types.Field(Int, graphql_name='token') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + + +class BlockTransactionUserCommandToAccountUpdateInput(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 BlockTransactionUserCommandUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('receiver', 'hash_unset', 'fee_token_unset', 'nonce', 'id', 'date_time_unset', 'fee_unset', 'failure_reason_unset', 'token', 'to_account_unset', 'from_unset', 'kind', 'fee_payer', 'to_account', 'source_unset', 'fee', 'memo', 'is_delegation_unset', 'hash', 'token_unset', 'from_account', 'failure_reason', 'block_state_hash_unset', 'block_state_hash', 'from_', 'source', 'from_account_unset', 'block_height_unset', 'memo_unset', 'fee_payer_unset', 'amount_inc', 'fee_inc', 'amount', 'receiver_unset', 'kind_unset', 'nonce_inc', 'amount_unset', 'token_inc', 'block_height', 'fee_token_inc', 'fee_token', 'id_unset', 'to', 'nonce_unset', 'block_height_inc', 'to_unset', 'is_delegation', 'date_time') + receiver = sgqlc.types.Field(BlockTransactionUserCommandReceiverUpdateInput, graphql_name='receiver') + hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') + fee_token_unset = sgqlc.types.Field(Boolean, graphql_name='feeToken_unset') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + id = sgqlc.types.Field(String, graphql_name='id') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + failure_reason_unset = sgqlc.types.Field(Boolean, graphql_name='failureReason_unset') + token = sgqlc.types.Field(Int, graphql_name='token') + to_account_unset = sgqlc.types.Field(Boolean, graphql_name='toAccount_unset') + from_unset = sgqlc.types.Field(Boolean, graphql_name='from_unset') + kind = sgqlc.types.Field(String, graphql_name='kind') + fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerUpdateInput, graphql_name='feePayer') + to_account = sgqlc.types.Field(BlockTransactionUserCommandToAccountUpdateInput, graphql_name='toAccount') + source_unset = sgqlc.types.Field(Boolean, graphql_name='source_unset') + fee = sgqlc.types.Field(Int, graphql_name='fee') + memo = sgqlc.types.Field(String, graphql_name='memo') + is_delegation_unset = sgqlc.types.Field(Boolean, graphql_name='isDelegation_unset') + hash = sgqlc.types.Field(String, graphql_name='hash') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + from_account = sgqlc.types.Field(BlockTransactionUserCommandFromAccountUpdateInput, graphql_name='fromAccount') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + block_state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_unset') + block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + from_ = sgqlc.types.Field(String, graphql_name='from') + source = sgqlc.types.Field(BlockTransactionUserCommandSourceUpdateInput, graphql_name='source') + from_account_unset = sgqlc.types.Field(Boolean, graphql_name='fromAccount_unset') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + memo_unset = sgqlc.types.Field(Boolean, graphql_name='memo_unset') + fee_payer_unset = sgqlc.types.Field(Boolean, graphql_name='feePayer_unset') + amount_inc = sgqlc.types.Field(Int, graphql_name='amount_inc') + fee_inc = sgqlc.types.Field(Int, graphql_name='fee_inc') + amount = sgqlc.types.Field(Int, graphql_name='amount') + receiver_unset = sgqlc.types.Field(Boolean, graphql_name='receiver_unset') + kind_unset = sgqlc.types.Field(Boolean, graphql_name='kind_unset') + nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') + amount_unset = sgqlc.types.Field(Boolean, graphql_name='amount_unset') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + fee_token_inc = sgqlc.types.Field(Int, graphql_name='feeToken_inc') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + id_unset = sgqlc.types.Field(Boolean, graphql_name='id_unset') + to = sgqlc.types.Field(String, graphql_name='to') + nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + to_unset = sgqlc.types.Field(Boolean, graphql_name='to_unset') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + + +class BlockUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('date_time', 'creator_account_unset', 'snark_jobs', 'block_height_unset', 'canonical_unset', 'snark_jobs_unset', 'transactions_unset', 'protocol_state', 'protocol_state_unset', 'creator_account', 'state_hash_field', 'canonical', 'block_height', 'state_hash_unset', 'received_time_unset', 'creator', 'transactions', 'winner_account', 'winner_account_unset', 'date_time_unset', 'block_height_inc', 'creator_unset', 'state_hash_field_unset', 'state_hash', 'received_time') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + creator_account_unset = sgqlc.types.Field(Boolean, graphql_name='creatorAccount_unset') + snark_jobs = sgqlc.types.Field(sgqlc.types.list_of(BlockSnarkJobUpdateInput), graphql_name='snarkJobs') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + canonical_unset = sgqlc.types.Field(Boolean, graphql_name='canonical_unset') + snark_jobs_unset = sgqlc.types.Field(Boolean, graphql_name='snarkJobs_unset') + transactions_unset = sgqlc.types.Field(Boolean, graphql_name='transactions_unset') + protocol_state = sgqlc.types.Field(BlockProtocolStateUpdateInput, graphql_name='protocolState') + protocol_state_unset = sgqlc.types.Field(Boolean, graphql_name='protocolState_unset') + creator_account = sgqlc.types.Field(BlockCreatorAccountUpdateInput, graphql_name='creatorAccount') + state_hash_field = sgqlc.types.Field(String, graphql_name='stateHashField') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='stateHash_unset') + received_time_unset = sgqlc.types.Field(Boolean, graphql_name='receivedTime_unset') + creator = sgqlc.types.Field(String, graphql_name='creator') + transactions = sgqlc.types.Field(BlockTransactionUpdateInput, graphql_name='transactions') + winner_account = sgqlc.types.Field('BlockWinnerAccountUpdateInput', graphql_name='winnerAccount') + winner_account_unset = sgqlc.types.Field(Boolean, graphql_name='winnerAccount_unset') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + creator_unset = sgqlc.types.Field(Boolean, graphql_name='creator_unset') + state_hash_field_unset = sgqlc.types.Field(Boolean, graphql_name='stateHashField_unset') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') + + +class BlockWinnerAccountBalanceInsertInput(sgqlc.types.Input): + __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 BlockWinnerAccountBalanceQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('total_in', 'locked_lte', 'liquid_lt', 'state_hash_lte', 'unknown_ne', 'unknown_gte', 'state_hash_ne', 'block_height_nin', 'locked_gte', 'block_height_exists', 'or_', 'block_height_lt', 'state_hash_lt', 'unknown_nin', 'total_exists', 'state_hash_nin', 'state_hash_gt', 'liquid_ne', 'state_hash', 'unknown_in', 'total_lte', 'unknown_lt', 'block_height', 'liquid_gte', 'state_hash_gte', 'locked_exists', 'total_ne', 'and_', 'block_height_lte', 'liquid_nin', 'total', 'block_height_gte', 'liquid_in', 'unknown_gt', 'unknown_lte', 'locked_gt', 'block_height_gt', 'block_height_ne', 'locked_lt', 'locked_ne', 'locked', 'state_hash_exists', 'total_gte', 'state_hash_in', 'liquid', 'unknown_exists', 'locked_nin', 'locked_in', 'total_nin', 'total_gt', 'total_lt', 'liquid_lte', 'block_height_in', 'liquid_exists', 'unknown', 'liquid_gt') + total_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='total_in') + locked_lte = sgqlc.types.Field(Long, graphql_name='locked_lte') + liquid_lt = sgqlc.types.Field(Int, graphql_name='liquid_lt') + state_hash_lte = sgqlc.types.Field(String, graphql_name='stateHash_lte') + unknown_ne = sgqlc.types.Field(Long, graphql_name='unknown_ne') + unknown_gte = sgqlc.types.Field(Long, graphql_name='unknown_gte') + state_hash_ne = sgqlc.types.Field(String, graphql_name='stateHash_ne') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + locked_gte = sgqlc.types.Field(Long, graphql_name='locked_gte') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountBalanceQueryInput')), graphql_name='OR') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + state_hash_lt = sgqlc.types.Field(String, graphql_name='stateHash_lt') + unknown_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='unknown_nin') + total_exists = sgqlc.types.Field(Boolean, graphql_name='total_exists') + state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_nin') + state_hash_gt = sgqlc.types.Field(String, graphql_name='stateHash_gt') + liquid_ne = sgqlc.types.Field(Int, graphql_name='liquid_ne') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + unknown_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='unknown_in') + total_lte = sgqlc.types.Field(Long, graphql_name='total_lte') + unknown_lt = sgqlc.types.Field(Long, graphql_name='unknown_lt') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + liquid_gte = sgqlc.types.Field(Int, graphql_name='liquid_gte') + state_hash_gte = sgqlc.types.Field(String, graphql_name='stateHash_gte') + locked_exists = sgqlc.types.Field(Boolean, graphql_name='locked_exists') + total_ne = sgqlc.types.Field(Long, graphql_name='total_ne') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountBalanceQueryInput')), graphql_name='AND') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + liquid_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='liquid_nin') + total = sgqlc.types.Field(Long, graphql_name='total') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + liquid_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='liquid_in') + unknown_gt = sgqlc.types.Field(Long, graphql_name='unknown_gt') + unknown_lte = sgqlc.types.Field(Long, graphql_name='unknown_lte') + locked_gt = sgqlc.types.Field(Long, graphql_name='locked_gt') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + locked_lt = sgqlc.types.Field(Long, graphql_name='locked_lt') + locked_ne = sgqlc.types.Field(Long, graphql_name='locked_ne') + locked = sgqlc.types.Field(Long, graphql_name='locked') + state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stateHash_exists') + total_gte = sgqlc.types.Field(Long, graphql_name='total_gte') + state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_in') + liquid = sgqlc.types.Field(Int, graphql_name='liquid') + unknown_exists = sgqlc.types.Field(Boolean, graphql_name='unknown_exists') + locked_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='locked_nin') + locked_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='locked_in') + total_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='total_nin') + total_gt = sgqlc.types.Field(Long, graphql_name='total_gt') + total_lt = sgqlc.types.Field(Long, graphql_name='total_lt') + liquid_lte = sgqlc.types.Field(Int, graphql_name='liquid_lte') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + liquid_exists = sgqlc.types.Field(Boolean, graphql_name='liquid_exists') + unknown = sgqlc.types.Field(Long, graphql_name='unknown') + liquid_gt = sgqlc.types.Field(Int, graphql_name='liquid_gt') + + +class BlockWinnerAccountBalanceUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('block_height_inc', 'total_unset', 'block_height_unset', 'liquid_unset', 'state_hash', 'liquid_inc', 'locked_unset', 'state_hash_unset', 'total', 'block_height', 'liquid', 'locked', 'unknown', 'unknown_unset') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + total_unset = sgqlc.types.Field(Boolean, graphql_name='total_unset') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + liquid_unset = sgqlc.types.Field(Boolean, graphql_name='liquid_unset') + state_hash = sgqlc.types.Field(String, graphql_name='stateHash') + liquid_inc = sgqlc.types.Field(Int, graphql_name='liquid_inc') + locked_unset = sgqlc.types.Field(Boolean, graphql_name='locked_unset') + state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='stateHash_unset') + total = sgqlc.types.Field(Long, graphql_name='total') + 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') + unknown = sgqlc.types.Field(Long, graphql_name='unknown') + unknown_unset = sgqlc.types.Field(Boolean, graphql_name='unknown_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__ = ('balance_exists', 'public_key_gt', 'public_key', 'public_key_exists', 'public_key_ne', 'public_key_gte', 'and_', 'balance', 'public_key_in', 'or_', 'public_key_lt', 'public_key_nin', 'public_key_lte') + balance_exists = sgqlc.types.Field(Boolean, graphql_name='balance_exists') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountQueryInput')), graphql_name='AND') + balance = sgqlc.types.Field(BlockWinnerAccountBalanceQueryInput, graphql_name='balance') + 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('BlockWinnerAccountQueryInput')), graphql_name='OR') + 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') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + + +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 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__ = ('work_ids', 'block_height', 'block', 'canonical', 'date_time', 'fee', 'prover') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + 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') + + +class SnarkQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('prover_gt', 'date_time_exists', 'canonical_ne', 'fee_ne', 'date_time_nin', 'prover_lt', 'fee', 'block_height', 'date_time_in', 'and_', 'prover_lte', 'block_height_in', 'prover', 'block_exists', 'canonical_exists', 'fee_lte', 'fee_gt', 'block_height_lte', 'date_time_lte', 'block_height_lt', 'block_height_exists', 'work_ids', 'block_height_nin', 'fee_exists', 'prover_in', 'block_height_gte', 'fee_lt', 'date_time_gte', 'block_height_gt', 'fee_in', 'prover_nin', 'block_height_ne', 'date_time_ne', 'date_time_lt', 'prover_gte', 'prover_exists', 'or_', 'prover_ne', 'work_ids_in', 'date_time_gt', 'block', 'fee_nin', 'date_time', 'work_ids_exists', 'work_ids_nin', 'canonical', 'fee_gte') + prover_gt = sgqlc.types.Field(String, graphql_name='prover_gt') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') + 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') + prover_lt = sgqlc.types.Field(String, graphql_name='prover_lt') + fee = sgqlc.types.Field(Float, graphql_name='fee') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SnarkQueryInput')), graphql_name='AND') + prover_lte = sgqlc.types.Field(String, graphql_name='prover_lte') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + prover = sgqlc.types.Field(String, graphql_name='prover') + block_exists = sgqlc.types.Field(Boolean, graphql_name='block_exists') + canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') + fee_lte = sgqlc.types.Field(Float, graphql_name='fee_lte') + fee_gt = sgqlc.types.Field(Float, graphql_name='fee_gt') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + prover_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_in') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + fee_lt = sgqlc.types.Field(Float, graphql_name='fee_lt') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='fee_in') + prover_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_nin') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + prover_gte = sgqlc.types.Field(String, graphql_name='prover_gte') + prover_exists = sgqlc.types.Field(Boolean, graphql_name='prover_exists') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SnarkQueryInput')), graphql_name='OR') + prover_ne = sgqlc.types.Field(String, graphql_name='prover_ne') + work_ids_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_in') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + block = sgqlc.types.Field(BlockQueryInput, graphql_name='block') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='fee_nin') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + work_ids_exists = sgqlc.types.Field(Boolean, graphql_name='workIds_exists') + work_ids_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_nin') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + fee_gte = sgqlc.types.Field(Float, graphql_name='fee_gte') + + +class SnarkUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('fee_unset', 'block', 'prover', 'block_height_inc', 'block_unset', 'work_ids', 'canonical', 'block_height_unset', 'block_height', 'fee_inc', 'canonical_unset', 'prover_unset', 'date_time_unset', 'work_ids_unset', 'date_time', 'fee') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + block = sgqlc.types.Field(SnarkBlockStateHashRelationInput, graphql_name='block') + prover = sgqlc.types.Field(String, graphql_name='prover') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + block_unset = sgqlc.types.Field(Boolean, graphql_name='block_unset') + work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + fee_inc = sgqlc.types.Field(Float, graphql_name='fee_inc') + canonical_unset = sgqlc.types.Field(Boolean, graphql_name='canonical_unset') + prover_unset = sgqlc.types.Field(Boolean, graphql_name='prover_unset') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + work_ids_unset = sgqlc.types.Field(Boolean, graphql_name='workIds_unset') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + fee = sgqlc.types.Field(Float, graphql_name='fee') + + +class StakeInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('receipt_chain_hash', 'ledger_hash', 'timing', 'delegate', 'token', 'pk', 'voting_for', 'chain_id', 'balance', 'nonce', 'permissions', 'epoch', 'public_key') + 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') + delegate = sgqlc.types.Field(String, graphql_name='delegate') + token = sgqlc.types.Field(Int, graphql_name='token') + pk = sgqlc.types.Field(String, graphql_name='pk') + voting_for = sgqlc.types.Field(String, graphql_name='voting_for') + chain_id = sgqlc.types.Field(String, graphql_name='chainId') + balance = sgqlc.types.Field(Float, graphql_name='balance') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + permissions = sgqlc.types.Field('StakePermissionInsertInput', graphql_name='permissions') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + public_key = sgqlc.types.Field(String, graphql_name='public_key') + + +class StakePermissionInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('set_verification_key', 'stake', 'edit_state', 'send', 'set_delegate', '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') + set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') + set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') + + +class StakePermissionQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('edit_state_lt', 'send_lt', 'and_', 'send_gte', 'set_delegate_in', 'edit_state_exists', 'stake_exists', 'send_in', 'set_verification_key_gte', 'send_ne', 'or_', 'set_verification_key_nin', 'set_delegate_nin', 'set_permissions_exists', 'set_permissions', 'set_permissions_lt', 'send_gt', 'set_permissions_in', 'set_verification_key_gt', 'edit_state_nin', 'set_verification_key', 'set_delegate_gt', 'set_permissions_gte', 'set_verification_key_exists', 'edit_state_gt', 'set_delegate', 'stake_ne', 'edit_state_ne', 'set_delegate_exists', 'send_nin', 'set_verification_key_lte', 'send_lte', 'set_permissions_ne', 'edit_state_gte', 'send', 'stake', 'set_permissions_lte', 'set_verification_key_in', 'edit_state', 'set_delegate_gte', 'set_permissions_gt', 'edit_state_lte', 'edit_state_in', 'set_delegate_lte', 'set_verification_key_ne', 'set_delegate_lt', 'set_verification_key_lt', 'set_delegate_ne', 'set_permissions_nin', 'send_exists') + edit_state_lt = sgqlc.types.Field(String, graphql_name='edit_state_lt') + send_lt = sgqlc.types.Field(String, graphql_name='send_lt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakePermissionQueryInput')), graphql_name='AND') + send_gte = sgqlc.types.Field(String, graphql_name='send_gte') + set_delegate_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_delegate_in') + edit_state_exists = sgqlc.types.Field(Boolean, graphql_name='edit_state_exists') + stake_exists = sgqlc.types.Field(Boolean, graphql_name='stake_exists') + send_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='send_in') + set_verification_key_gte = sgqlc.types.Field(String, graphql_name='set_verification_key_gte') + send_ne = sgqlc.types.Field(String, graphql_name='send_ne') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakePermissionQueryInput')), graphql_name='OR') + set_verification_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_verification_key_nin') + set_delegate_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_delegate_nin') + set_permissions_exists = sgqlc.types.Field(Boolean, graphql_name='set_permissions_exists') + set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') + set_permissions_lt = sgqlc.types.Field(String, graphql_name='set_permissions_lt') + send_gt = sgqlc.types.Field(String, graphql_name='send_gt') + set_permissions_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_permissions_in') + set_verification_key_gt = sgqlc.types.Field(String, graphql_name='set_verification_key_gt') + edit_state_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='edit_state_nin') + set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') + set_delegate_gt = sgqlc.types.Field(String, graphql_name='set_delegate_gt') + set_permissions_gte = sgqlc.types.Field(String, graphql_name='set_permissions_gte') + set_verification_key_exists = sgqlc.types.Field(Boolean, graphql_name='set_verification_key_exists') + edit_state_gt = sgqlc.types.Field(String, graphql_name='edit_state_gt') + set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') + stake_ne = sgqlc.types.Field(Boolean, graphql_name='stake_ne') + edit_state_ne = sgqlc.types.Field(String, graphql_name='edit_state_ne') + set_delegate_exists = sgqlc.types.Field(Boolean, graphql_name='set_delegate_exists') + send_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='send_nin') + set_verification_key_lte = sgqlc.types.Field(String, graphql_name='set_verification_key_lte') + send_lte = sgqlc.types.Field(String, graphql_name='send_lte') + set_permissions_ne = sgqlc.types.Field(String, graphql_name='set_permissions_ne') + edit_state_gte = sgqlc.types.Field(String, graphql_name='edit_state_gte') + send = sgqlc.types.Field(String, graphql_name='send') + stake = sgqlc.types.Field(Boolean, graphql_name='stake') + set_permissions_lte = sgqlc.types.Field(String, graphql_name='set_permissions_lte') + set_verification_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_verification_key_in') + edit_state = sgqlc.types.Field(String, graphql_name='edit_state') + set_delegate_gte = sgqlc.types.Field(String, graphql_name='set_delegate_gte') + set_permissions_gt = sgqlc.types.Field(String, graphql_name='set_permissions_gt') + edit_state_lte = sgqlc.types.Field(String, graphql_name='edit_state_lte') + edit_state_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='edit_state_in') + set_delegate_lte = sgqlc.types.Field(String, graphql_name='set_delegate_lte') + set_verification_key_ne = sgqlc.types.Field(String, graphql_name='set_verification_key_ne') + set_delegate_lt = sgqlc.types.Field(String, graphql_name='set_delegate_lt') + set_verification_key_lt = sgqlc.types.Field(String, graphql_name='set_verification_key_lt') + set_delegate_ne = sgqlc.types.Field(String, graphql_name='set_delegate_ne') + set_permissions_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_permissions_nin') + send_exists = sgqlc.types.Field(Boolean, graphql_name='send_exists') + + +class StakePermissionUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('send', 'set_verification_key_unset', 'edit_state_unset', 'send_unset', 'edit_state', 'set_delegate', 'set_delegate_unset', 'stake_unset', 'set_permissions', 'set_permissions_unset', 'set_verification_key', 'stake') + send = sgqlc.types.Field(String, graphql_name='send') + set_verification_key_unset = sgqlc.types.Field(Boolean, graphql_name='set_verification_key_unset') + edit_state_unset = sgqlc.types.Field(Boolean, graphql_name='edit_state_unset') + send_unset = sgqlc.types.Field(Boolean, graphql_name='send_unset') + edit_state = sgqlc.types.Field(String, graphql_name='edit_state') + set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') + set_delegate_unset = sgqlc.types.Field(Boolean, graphql_name='set_delegate_unset') + stake_unset = sgqlc.types.Field(Boolean, graphql_name='stake_unset') + set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') + set_permissions_unset = sgqlc.types.Field(Boolean, graphql_name='set_permissions_unset') + set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') + stake = sgqlc.types.Field(Boolean, graphql_name='stake') + + +class StakeQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('public_key_nin', 'ledger_hash_exists', 'chain_id_nin', 'receipt_chain_hash_exists', 'voting_for_lte', 'nonce_gte', 'timing_exists', 'token_exists', 'voting_for_gt', 'epoch_in', 'epoch', 'ledger_hash_in', 'nonce_lte', 'receipt_chain_hash_gt', 'pk_gte', 'delegate_nin', 'receipt_chain_hash_ne', 'nonce_in', 'balance_nin', 'public_key_gte', 'delegate_exists', 'chain_id_in', 'ledger_hash_lte', 'pk_lte', 'epoch_gte', 'balance_exists', 'receipt_chain_hash_in', 'public_key_gt', 'balance_gt', 'epoch_exists', 'token_gte', 'epoch_lt', 'chain_id', 'pk_in', 'pk_lt', 'balance', 'token_lte', 'delegate_lte', 'delegate_in', 'voting_for_lt', 'permissions_exists', 'balance_ne', 'ledger_hash_gte', 'delegate', 'nonce_nin', 'chain_id_exists', 'delegate_gt', 'chain_id_lt', 'chain_id_lte', 'pk', 'receipt_chain_hash_lte', 'receipt_chain_hash_nin', 'ledger_hash_gt', 'chain_id_ne', 'public_key_exists', 'epoch_nin', 'voting_for', 'pk_ne', 'nonce_gt', 'voting_for_in', 'ledger_hash', 'or_', 'chain_id_gte', 'token', 'epoch_lte', 'balance_lt', 'timing', 'voting_for_ne', 'token_gt', 'public_key_ne', 'receipt_chain_hash_gte', 'delegate_ne', 'receipt_chain_hash', 'token_in', 'epoch_gt', 'public_key_lte', 'public_key', 'voting_for_gte', 'token_lt', 'balance_in', 'voting_for_nin', 'public_key_in', 'receipt_chain_hash_lt', 'token_nin', 'epoch_ne', 'balance_lte', 'pk_gt', 'balance_gte', 'voting_for_exists', 'permissions', 'delegate_gte', 'pk_nin', 'ledger_hash_ne', 'nonce_exists', 'chain_id_gt', 'token_ne', 'public_key_lt', 'delegate_lt', 'nonce_lt', 'ledger_hash_nin', 'and_', 'nonce_ne', 'nonce', 'ledger_hash_lt', 'pk_exists') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='public_key_nin') + ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='ledgerHash_exists') + chain_id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='chainId_nin') + receipt_chain_hash_exists = sgqlc.types.Field(Boolean, graphql_name='receipt_chain_hash_exists') + voting_for_lte = sgqlc.types.Field(String, graphql_name='voting_for_lte') + nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') + timing_exists = sgqlc.types.Field(Boolean, graphql_name='timing_exists') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + voting_for_gt = sgqlc.types.Field(String, graphql_name='voting_for_gt') + epoch_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_in') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='ledgerHash_in') + nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') + receipt_chain_hash_gt = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_gt') + pk_gte = sgqlc.types.Field(String, graphql_name='pk_gte') + delegate_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='delegate_nin') + receipt_chain_hash_ne = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_ne') + nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') + balance_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='balance_nin') + public_key_gte = sgqlc.types.Field(String, graphql_name='public_key_gte') + delegate_exists = sgqlc.types.Field(Boolean, graphql_name='delegate_exists') + chain_id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='chainId_in') + ledger_hash_lte = sgqlc.types.Field(String, graphql_name='ledgerHash_lte') + pk_lte = sgqlc.types.Field(String, graphql_name='pk_lte') + epoch_gte = sgqlc.types.Field(Int, graphql_name='epoch_gte') + balance_exists = sgqlc.types.Field(Boolean, graphql_name='balance_exists') + receipt_chain_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='receipt_chain_hash_in') + public_key_gt = sgqlc.types.Field(String, graphql_name='public_key_gt') + balance_gt = sgqlc.types.Field(Float, graphql_name='balance_gt') + epoch_exists = sgqlc.types.Field(Boolean, graphql_name='epoch_exists') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + epoch_lt = sgqlc.types.Field(Int, graphql_name='epoch_lt') + chain_id = sgqlc.types.Field(String, graphql_name='chainId') + pk_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='pk_in') + pk_lt = sgqlc.types.Field(String, graphql_name='pk_lt') + balance = sgqlc.types.Field(Float, graphql_name='balance') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + delegate_lte = sgqlc.types.Field(String, graphql_name='delegate_lte') + delegate_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='delegate_in') + voting_for_lt = sgqlc.types.Field(String, graphql_name='voting_for_lt') + permissions_exists = sgqlc.types.Field(Boolean, graphql_name='permissions_exists') + balance_ne = sgqlc.types.Field(Float, graphql_name='balance_ne') + ledger_hash_gte = sgqlc.types.Field(String, graphql_name='ledgerHash_gte') + delegate = sgqlc.types.Field(String, graphql_name='delegate') + nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') + chain_id_exists = sgqlc.types.Field(Boolean, graphql_name='chainId_exists') + delegate_gt = sgqlc.types.Field(String, graphql_name='delegate_gt') + chain_id_lt = sgqlc.types.Field(String, graphql_name='chainId_lt') + chain_id_lte = sgqlc.types.Field(String, graphql_name='chainId_lte') + pk = sgqlc.types.Field(String, graphql_name='pk') + receipt_chain_hash_lte = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_lte') + receipt_chain_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='receipt_chain_hash_nin') + ledger_hash_gt = sgqlc.types.Field(String, graphql_name='ledgerHash_gt') + chain_id_ne = sgqlc.types.Field(String, graphql_name='chainId_ne') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='public_key_exists') + epoch_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_nin') + voting_for = sgqlc.types.Field(String, graphql_name='voting_for') + pk_ne = sgqlc.types.Field(String, graphql_name='pk_ne') + nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') + voting_for_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='voting_for_in') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeQueryInput')), graphql_name='OR') + chain_id_gte = sgqlc.types.Field(String, graphql_name='chainId_gte') + token = sgqlc.types.Field(Int, graphql_name='token') + epoch_lte = sgqlc.types.Field(Int, graphql_name='epoch_lte') + balance_lt = sgqlc.types.Field(Float, graphql_name='balance_lt') + timing = sgqlc.types.Field('StakeTimingQueryInput', graphql_name='timing') + voting_for_ne = sgqlc.types.Field(String, graphql_name='voting_for_ne') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + public_key_ne = sgqlc.types.Field(String, graphql_name='public_key_ne') + receipt_chain_hash_gte = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_gte') + delegate_ne = sgqlc.types.Field(String, graphql_name='delegate_ne') + receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + epoch_gt = sgqlc.types.Field(Int, graphql_name='epoch_gt') + public_key_lte = sgqlc.types.Field(String, graphql_name='public_key_lte') + public_key = sgqlc.types.Field(String, graphql_name='public_key') + voting_for_gte = sgqlc.types.Field(String, graphql_name='voting_for_gte') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + balance_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='balance_in') + voting_for_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='voting_for_nin') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='public_key_in') + receipt_chain_hash_lt = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_lt') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + epoch_ne = sgqlc.types.Field(Int, graphql_name='epoch_ne') + balance_lte = sgqlc.types.Field(Float, graphql_name='balance_lte') + pk_gt = sgqlc.types.Field(String, graphql_name='pk_gt') + balance_gte = sgqlc.types.Field(Float, graphql_name='balance_gte') + voting_for_exists = sgqlc.types.Field(Boolean, graphql_name='voting_for_exists') + permissions = sgqlc.types.Field(StakePermissionQueryInput, graphql_name='permissions') + delegate_gte = sgqlc.types.Field(String, graphql_name='delegate_gte') + pk_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='pk_nin') + ledger_hash_ne = sgqlc.types.Field(String, graphql_name='ledgerHash_ne') + nonce_exists = sgqlc.types.Field(Boolean, graphql_name='nonce_exists') + chain_id_gt = sgqlc.types.Field(String, graphql_name='chainId_gt') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + public_key_lt = sgqlc.types.Field(String, graphql_name='public_key_lt') + delegate_lt = sgqlc.types.Field(String, graphql_name='delegate_lt') + nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') + ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='ledgerHash_nin') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeQueryInput')), graphql_name='AND') + nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + ledger_hash_lt = sgqlc.types.Field(String, graphql_name='ledgerHash_lt') + pk_exists = sgqlc.types.Field(Boolean, graphql_name='pk_exists') + + +class StakeTimingInsertInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('timed_epoch_end', 'vesting_period', 'initial_minimum_balance', 'vesting_increment', 'untimed_slot', 'cliff_amount', 'timed_in_epoch', 'cliff_time', 'timed_weighting') + timed_epoch_end = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end') + vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') + initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') + untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') + cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') + cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') + timed_weighting = sgqlc.types.Field(Float, graphql_name='timed_weighting') + + +class StakeTimingQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('initial_minimum_balance', 'initial_minimum_balance_lt', 'untimed_slot_in', 'vesting_increment_lte', 'or_', 'initial_minimum_balance_gte', 'timed_weighting', 'untimed_slot_gt', 'vesting_increment_exists', 'untimed_slot_gte', 'timed_weighting_gt', 'vesting_increment_nin', 'cliff_amount_ne', 'cliff_amount_nin', 'cliff_time_lt', 'vesting_period_lt', 'timed_weighting_ne', 'vesting_period', 'vesting_period_nin', 'vesting_increment', 'vesting_increment_gt', 'cliff_time', 'timed_epoch_end', 'untimed_slot', 'initial_minimum_balance_exists', 'cliff_amount_gte', 'timed_in_epoch_exists', 'cliff_amount_lte', 'initial_minimum_balance_nin', 'cliff_time_nin', 'initial_minimum_balance_in', 'and_', 'vesting_period_gte', 'vesting_increment_lt', 'vesting_increment_gte', 'cliff_amount_lt', 'vesting_period_lte', 'cliff_time_lte', 'timed_in_epoch_ne', 'timed_epoch_end_exists', 'timed_weighting_nin', 'timed_epoch_end_ne', 'cliff_time_exists', 'cliff_time_gt', 'timed_weighting_lte', 'timed_weighting_in', 'cliff_time_gte', 'vesting_period_exists', 'untimed_slot_exists', 'cliff_time_ne', 'timed_weighting_exists', 'cliff_amount_exists', 'cliff_amount_in', 'vesting_period_gt', 'untimed_slot_lte', 'timed_weighting_lt', 'cliff_amount', 'untimed_slot_lt', 'untimed_slot_ne', 'initial_minimum_balance_gt', 'vesting_increment_ne', 'vesting_increment_in', 'vesting_period_ne', 'untimed_slot_nin', 'timed_in_epoch', 'initial_minimum_balance_ne', 'initial_minimum_balance_lte', 'timed_weighting_gte', 'vesting_period_in', 'cliff_amount_gt', 'cliff_time_in') + 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') + untimed_slot_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='untimed_slot_in') + vesting_increment_lte = sgqlc.types.Field(Float, graphql_name='vesting_increment_lte') + 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 = sgqlc.types.Field(Float, graphql_name='timed_weighting') + untimed_slot_gt = sgqlc.types.Field(Int, graphql_name='untimed_slot_gt') + vesting_increment_exists = sgqlc.types.Field(Boolean, graphql_name='vesting_increment_exists') + untimed_slot_gte = sgqlc.types.Field(Int, graphql_name='untimed_slot_gte') + timed_weighting_gt = sgqlc.types.Field(Float, graphql_name='timed_weighting_gt') + vesting_increment_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='vesting_increment_nin') + cliff_amount_ne = sgqlc.types.Field(Float, graphql_name='cliff_amount_ne') + cliff_amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='cliff_amount_nin') + cliff_time_lt = sgqlc.types.Field(Int, graphql_name='cliff_time_lt') + vesting_period_lt = sgqlc.types.Field(Int, graphql_name='vesting_period_lt') + timed_weighting_ne = sgqlc.types.Field(Float, graphql_name='timed_weighting_ne') + vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') + vesting_period_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='vesting_period_nin') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') + vesting_increment_gt = sgqlc.types.Field(Float, graphql_name='vesting_increment_gt') + cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') + timed_epoch_end = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end') + untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') + 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_in_epoch_exists = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_exists') + cliff_amount_lte = sgqlc.types.Field(Float, graphql_name='cliff_amount_lte') + initial_minimum_balance_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='initial_minimum_balance_nin') + cliff_time_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='cliff_time_nin') + initial_minimum_balance_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='initial_minimum_balance_in') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeTimingQueryInput')), graphql_name='AND') + vesting_period_gte = sgqlc.types.Field(Int, graphql_name='vesting_period_gte') + vesting_increment_lt = sgqlc.types.Field(Float, graphql_name='vesting_increment_lt') + vesting_increment_gte = sgqlc.types.Field(Float, graphql_name='vesting_increment_gte') + cliff_amount_lt = sgqlc.types.Field(Float, graphql_name='cliff_amount_lt') + vesting_period_lte = sgqlc.types.Field(Int, graphql_name='vesting_period_lte') + cliff_time_lte = sgqlc.types.Field(Int, graphql_name='cliff_time_lte') + timed_in_epoch_ne = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_ne') + timed_epoch_end_exists = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end_exists') + timed_weighting_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='timed_weighting_nin') + timed_epoch_end_ne = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end_ne') + cliff_time_exists = sgqlc.types.Field(Boolean, graphql_name='cliff_time_exists') + cliff_time_gt = sgqlc.types.Field(Int, graphql_name='cliff_time_gt') + timed_weighting_lte = sgqlc.types.Field(Float, graphql_name='timed_weighting_lte') + timed_weighting_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='timed_weighting_in') + cliff_time_gte = sgqlc.types.Field(Int, graphql_name='cliff_time_gte') + vesting_period_exists = sgqlc.types.Field(Boolean, graphql_name='vesting_period_exists') + untimed_slot_exists = sgqlc.types.Field(Boolean, graphql_name='untimed_slot_exists') + cliff_time_ne = sgqlc.types.Field(Int, graphql_name='cliff_time_ne') + timed_weighting_exists = sgqlc.types.Field(Boolean, graphql_name='timed_weighting_exists') + cliff_amount_exists = sgqlc.types.Field(Boolean, graphql_name='cliff_amount_exists') + cliff_amount_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='cliff_amount_in') + vesting_period_gt = sgqlc.types.Field(Int, graphql_name='vesting_period_gt') + untimed_slot_lte = sgqlc.types.Field(Int, graphql_name='untimed_slot_lte') + timed_weighting_lt = sgqlc.types.Field(Float, graphql_name='timed_weighting_lt') + cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + untimed_slot_lt = sgqlc.types.Field(Int, graphql_name='untimed_slot_lt') + untimed_slot_ne = sgqlc.types.Field(Int, graphql_name='untimed_slot_ne') + initial_minimum_balance_gt = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_gt') + vesting_increment_ne = sgqlc.types.Field(Float, graphql_name='vesting_increment_ne') + vesting_increment_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='vesting_increment_in') + vesting_period_ne = sgqlc.types.Field(Int, graphql_name='vesting_period_ne') + untimed_slot_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='untimed_slot_nin') + timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') + initial_minimum_balance_ne = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_ne') + initial_minimum_balance_lte = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_lte') + timed_weighting_gte = sgqlc.types.Field(Float, graphql_name='timed_weighting_gte') + vesting_period_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='vesting_period_in') + cliff_amount_gt = sgqlc.types.Field(Float, graphql_name='cliff_amount_gt') + cliff_time_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='cliff_time_in') + + +class StakeTimingUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('timed_in_epoch', 'timed_weighting_inc', 'cliff_amount_unset', 'initial_minimum_balance_unset', 'timed_epoch_end', 'cliff_time', 'initial_minimum_balance_inc', 'untimed_slot_unset', 'cliff_amount', 'timed_in_epoch_unset', 'untimed_slot', 'cliff_time_inc', 'untimed_slot_inc', 'vesting_increment_inc', 'timed_weighting_unset', 'vesting_increment', 'initial_minimum_balance', 'vesting_period', 'vesting_period_inc', 'vesting_increment_unset', 'vesting_period_unset', 'cliff_time_unset', 'timed_weighting', 'timed_epoch_end_unset', 'cliff_amount_inc') + timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') + timed_weighting_inc = sgqlc.types.Field(Float, graphql_name='timed_weighting_inc') + cliff_amount_unset = sgqlc.types.Field(Boolean, graphql_name='cliff_amount_unset') + initial_minimum_balance_unset = sgqlc.types.Field(Boolean, graphql_name='initial_minimum_balance_unset') + 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_inc = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_inc') + untimed_slot_unset = sgqlc.types.Field(Boolean, graphql_name='untimed_slot_unset') + cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + timed_in_epoch_unset = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_unset') + untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') + cliff_time_inc = sgqlc.types.Field(Int, graphql_name='cliff_time_inc') + untimed_slot_inc = sgqlc.types.Field(Int, graphql_name='untimed_slot_inc') + vesting_increment_inc = sgqlc.types.Field(Float, graphql_name='vesting_increment_inc') + timed_weighting_unset = sgqlc.types.Field(Boolean, graphql_name='timed_weighting_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 = sgqlc.types.Field(Int, graphql_name='vesting_period') + vesting_period_inc = sgqlc.types.Field(Int, graphql_name='vesting_period_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_unset = sgqlc.types.Field(Boolean, graphql_name='cliff_time_unset') + timed_weighting = sgqlc.types.Field(Float, graphql_name='timed_weighting') + timed_epoch_end_unset = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end_unset') + cliff_amount_inc = sgqlc.types.Field(Float, graphql_name='cliff_amount_inc') + + +class StakeUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('delegate', 'token_unset', 'chain_id', 'balance_inc', 'receipt_chain_hash', 'epoch', 'timing_unset', 'public_key', 'ledger_hash', 'ledger_hash_unset', 'pk_unset', 'voting_for', 'delegate_unset', 'nonce_inc', 'token_inc', 'token', 'epoch_unset', 'timing', 'receipt_chain_hash_unset', 'nonce_unset', 'chain_id_unset', 'epoch_inc', 'permissions_unset', 'nonce', 'permissions', 'voting_for_unset', 'balance', 'pk', 'public_key_unset', 'balance_unset') + delegate = sgqlc.types.Field(String, graphql_name='delegate') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + chain_id = sgqlc.types.Field(String, graphql_name='chainId') + balance_inc = sgqlc.types.Field(Float, graphql_name='balance_inc') + receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') + epoch = sgqlc.types.Field(Int, graphql_name='epoch') + timing_unset = sgqlc.types.Field(Boolean, graphql_name='timing_unset') + public_key = sgqlc.types.Field(String, graphql_name='public_key') + ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') + ledger_hash_unset = sgqlc.types.Field(Boolean, graphql_name='ledgerHash_unset') + pk_unset = sgqlc.types.Field(Boolean, graphql_name='pk_unset') + voting_for = sgqlc.types.Field(String, graphql_name='voting_for') + delegate_unset = sgqlc.types.Field(Boolean, graphql_name='delegate_unset') + nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + token = sgqlc.types.Field(Int, graphql_name='token') + epoch_unset = sgqlc.types.Field(Boolean, graphql_name='epoch_unset') + timing = sgqlc.types.Field(StakeTimingUpdateInput, graphql_name='timing') + receipt_chain_hash_unset = sgqlc.types.Field(Boolean, graphql_name='receipt_chain_hash_unset') + nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') + chain_id_unset = sgqlc.types.Field(Boolean, graphql_name='chainId_unset') + epoch_inc = sgqlc.types.Field(Int, graphql_name='epoch_inc') + permissions_unset = sgqlc.types.Field(Boolean, graphql_name='permissions_unset') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + permissions = sgqlc.types.Field(StakePermissionUpdateInput, graphql_name='permissions') + voting_for_unset = sgqlc.types.Field(Boolean, graphql_name='voting_for_unset') + balance = sgqlc.types.Field(Float, graphql_name='balance') + pk = sgqlc.types.Field(String, graphql_name='pk') + public_key_unset = sgqlc.types.Field(Boolean, graphql_name='public_key_unset') + balance_unset = sgqlc.types.Field(Boolean, graphql_name='balance_unset') + + +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', 'token_gt', 'token_gte', 'token_in', 'or_', 'token_lt', 'token_lte', 'and_', 'token_exists', 'token_ne', 'token_nin') + token = sgqlc.types.Field(Int, graphql_name='token') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFeePayerQueryInput')), graphql_name='OR') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFeePayerQueryInput')), graphql_name='AND') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + + +class TransactionFeePayerUpdateInput(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 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_ne', 'and_', 'or_', 'token_exists', 'token_in', 'token_lt', 'token_gte', 'token_nin', 'token', 'token_gt') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFromAccountQueryInput')), graphql_name='AND') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFromAccountQueryInput')), graphql_name='OR') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + token = sgqlc.types.Field(Int, graphql_name='token') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + + +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__ = ('to', 'is_delegation', 'nonce', 'source', 'to_account', 'token', 'fee_payer', 'from_account', 'fee', 'amount', 'failure_reason', 'date_time', 'kind', 'hash', 'block_height', 'memo', 'receiver', 'id', 'fee_token', 'canonical', 'block', 'from_') + to = sgqlc.types.Field(String, graphql_name='to') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + source = sgqlc.types.Field('TransactionSourceInsertInput', graphql_name='source') + to_account = sgqlc.types.Field('TransactionToAccountInsertInput', graphql_name='toAccount') + token = sgqlc.types.Field(Int, graphql_name='token') + fee_payer = sgqlc.types.Field(TransactionFeePayerInsertInput, graphql_name='feePayer') + from_account = sgqlc.types.Field(TransactionFromAccountInsertInput, graphql_name='fromAccount') + fee = sgqlc.types.Field(Long, graphql_name='fee') + amount = sgqlc.types.Field(Long, graphql_name='amount') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + kind = sgqlc.types.Field(String, graphql_name='kind') + hash = sgqlc.types.Field(String, graphql_name='hash') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + memo = sgqlc.types.Field(String, graphql_name='memo') + receiver = sgqlc.types.Field('TransactionReceiverInsertInput', graphql_name='receiver') + id = sgqlc.types.Field(String, graphql_name='id') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + block = sgqlc.types.Field(TransactionBlockStateHashRelationInput, graphql_name='block') + from_ = sgqlc.types.Field(String, graphql_name='from') + + +class TransactionQueryInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('amount_gte', 'kind', 'fee_token_lt', 'token_ne', 'fee_token_ne', 'hash_lte', 'amount_in', 'fee_gt', 'kind_ne', 'to_account', 'memo_exists', 'fee_payer_exists', 'token_lt', 'hash_ne', 'amount_exists', 'fee_token_exists', 'to_lt', 'kind_lt', 'hash_nin', 'block_height_lt', 'token_exists', 'date_time_in', 'canonical', 'nonce', 'from_exists', 'canonical_exists', 'from_', 'from_ne', 'to_nin', 'nonce_lte', 'fee_token_gte', 'id_nin', 'amount', 'kind_lte', 'memo_lte', 'failure_reason_lt', 'kind_gt', 'id_gt', 'from_lt', 'receiver_exists', 'id_in', 'failure_reason_gte', 'kind_nin', 'from_gte', 'canonical_ne', 'token', 'nonce_exists', 'date_time_gte', 'kind_gte', 'fee_token', 'from_lte', 'is_delegation', 'block_height_lte', 'is_delegation_exists', 'to_in', 'date_time_lt', 'hash_in', 'fee_payer', 'from_gt', 'memo_gt', 'hash_exists', 'fee_lt', 'id_ne', 'amount_ne', 'block_exists', 'block_height_gt', 'hash_lt', 'failure_reason_nin', 'nonce_gt', 'is_delegation_ne', 'block_height_nin', 'to_ne', 'fee_lte', 'source_exists', 'date_time_lte', 'date_time', 'nonce_gte', 'from_account_exists', 'id_exists', 'fee_ne', 'failure_reason_ne', 'amount_gt', 'fee_token_gt', 'fee_exists', 'block_height', 'kind_in', 'fee_in', 'block_height_in', 'to_exists', 'date_time_gt', 'memo', 'block_height_ne', 'id_gte', 'amount_lte', 'id_lte', 'memo_in', 'to_gte', 'receiver', 'or_', 'date_time_exists', 'token_gte', 'kind_exists', 'token_nin', 'block', 'source', 'id', 'fee', 'fee_gte', 'hash_gte', 'amount_nin', 'amount_lt', 'id_lt', 'failure_reason_exists', 'and_', 'token_in', 'token_gt', 'hash', 'date_time_nin', 'nonce_ne', 'fee_token_lte', 'to_lte', 'token_lte', 'memo_gte', 'fee_nin', 'to', 'from_account', 'to_account_exists', 'failure_reason_in', 'memo_ne', 'nonce_in', 'block_height_exists', 'fee_token_in', 'failure_reason_lte', 'failure_reason', 'hash_gt', 'memo_nin', 'fee_token_nin', 'from_nin', 'from_in', 'nonce_lt', 'failure_reason_gt', 'memo_lt', 'to_gt', 'nonce_nin', 'block_height_gte', 'date_time_ne') + amount_gte = sgqlc.types.Field(Long, graphql_name='amount_gte') + kind = sgqlc.types.Field(String, graphql_name='kind') + fee_token_lt = sgqlc.types.Field(Int, graphql_name='feeToken_lt') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + fee_token_ne = sgqlc.types.Field(Int, graphql_name='feeToken_ne') + hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') + amount_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='amount_in') + fee_gt = sgqlc.types.Field(Long, graphql_name='fee_gt') + kind_ne = sgqlc.types.Field(String, graphql_name='kind_ne') + to_account = sgqlc.types.Field('TransactionToAccountQueryInput', graphql_name='toAccount') + memo_exists = sgqlc.types.Field(Boolean, graphql_name='memo_exists') + fee_payer_exists = sgqlc.types.Field(Boolean, graphql_name='feePayer_exists') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') + hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') + amount_exists = sgqlc.types.Field(Boolean, graphql_name='amount_exists') + fee_token_exists = sgqlc.types.Field(Boolean, graphql_name='feeToken_exists') + to_lt = sgqlc.types.Field(String, graphql_name='to_lt') + kind_lt = sgqlc.types.Field(String, graphql_name='kind_lt') + hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') + block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') + token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') + date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + from_exists = sgqlc.types.Field(Boolean, graphql_name='from_exists') + canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') + from_ = sgqlc.types.Field(String, graphql_name='from') + from_ne = sgqlc.types.Field(String, graphql_name='from_ne') + to_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_nin') + nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') + fee_token_gte = sgqlc.types.Field(Int, graphql_name='feeToken_gte') + id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_nin') + amount = sgqlc.types.Field(Long, graphql_name='amount') + kind_lte = sgqlc.types.Field(String, graphql_name='kind_lte') + memo_lte = sgqlc.types.Field(String, graphql_name='memo_lte') + failure_reason_lt = sgqlc.types.Field(String, graphql_name='failureReason_lt') + kind_gt = sgqlc.types.Field(String, graphql_name='kind_gt') + id_gt = sgqlc.types.Field(String, graphql_name='id_gt') + from_lt = sgqlc.types.Field(String, graphql_name='from_lt') + receiver_exists = sgqlc.types.Field(Boolean, graphql_name='receiver_exists') + id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_in') + failure_reason_gte = sgqlc.types.Field(String, graphql_name='failureReason_gte') + kind_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_nin') + from_gte = sgqlc.types.Field(String, graphql_name='from_gte') + canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') + token = sgqlc.types.Field(Int, graphql_name='token') + nonce_exists = sgqlc.types.Field(Boolean, graphql_name='nonce_exists') + date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + kind_gte = sgqlc.types.Field(String, graphql_name='kind_gte') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + from_lte = sgqlc.types.Field(String, graphql_name='from_lte') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + is_delegation_exists = sgqlc.types.Field(Boolean, graphql_name='isDelegation_exists') + to_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_in') + date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') + hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') + fee_payer = sgqlc.types.Field(TransactionFeePayerQueryInput, graphql_name='feePayer') + from_gt = sgqlc.types.Field(String, graphql_name='from_gt') + memo_gt = sgqlc.types.Field(String, graphql_name='memo_gt') + hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') + fee_lt = sgqlc.types.Field(Long, graphql_name='fee_lt') + id_ne = sgqlc.types.Field(String, graphql_name='id_ne') + amount_ne = sgqlc.types.Field(Long, graphql_name='amount_ne') + block_exists = sgqlc.types.Field(Boolean, graphql_name='block_exists') + block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') + hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') + failure_reason_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_nin') + nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') + is_delegation_ne = sgqlc.types.Field(Boolean, graphql_name='isDelegation_ne') + block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') + to_ne = sgqlc.types.Field(String, graphql_name='to_ne') + fee_lte = sgqlc.types.Field(Long, graphql_name='fee_lte') + source_exists = sgqlc.types.Field(Boolean, graphql_name='source_exists') + date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') + from_account_exists = sgqlc.types.Field(Boolean, graphql_name='fromAccount_exists') + id_exists = sgqlc.types.Field(Boolean, graphql_name='id_exists') + fee_ne = sgqlc.types.Field(Long, graphql_name='fee_ne') + failure_reason_ne = sgqlc.types.Field(String, graphql_name='failureReason_ne') + amount_gt = sgqlc.types.Field(Long, graphql_name='amount_gt') + fee_token_gt = sgqlc.types.Field(Int, graphql_name='feeToken_gt') + fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + kind_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_in') + fee_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_in') + block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') + to_exists = sgqlc.types.Field(Boolean, graphql_name='to_exists') + date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') + memo = sgqlc.types.Field(String, graphql_name='memo') + block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') + id_gte = sgqlc.types.Field(String, graphql_name='id_gte') + amount_lte = sgqlc.types.Field(Long, graphql_name='amount_lte') + id_lte = sgqlc.types.Field(String, graphql_name='id_lte') + memo_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_in') + to_gte = sgqlc.types.Field(String, graphql_name='to_gte') + receiver = sgqlc.types.Field('TransactionReceiverQueryInput', graphql_name='receiver') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionQueryInput')), graphql_name='OR') + date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') + token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + kind_exists = sgqlc.types.Field(Boolean, graphql_name='kind_exists') + token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + block = sgqlc.types.Field(BlockQueryInput, graphql_name='block') + source = sgqlc.types.Field('TransactionSourceQueryInput', graphql_name='source') + id = sgqlc.types.Field(String, graphql_name='id') + fee = sgqlc.types.Field(Long, graphql_name='fee') + fee_gte = sgqlc.types.Field(Long, graphql_name='fee_gte') + hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') + amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='amount_nin') + amount_lt = sgqlc.types.Field(Long, graphql_name='amount_lt') + id_lt = sgqlc.types.Field(String, graphql_name='id_lt') + failure_reason_exists = sgqlc.types.Field(Boolean, graphql_name='failureReason_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionQueryInput')), graphql_name='AND') + token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + hash = sgqlc.types.Field(String, graphql_name='hash') + date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') + nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') + fee_token_lte = sgqlc.types.Field(Int, graphql_name='feeToken_lte') + to_lte = sgqlc.types.Field(String, graphql_name='to_lte') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + memo_gte = sgqlc.types.Field(String, graphql_name='memo_gte') + fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_nin') + to = sgqlc.types.Field(String, graphql_name='to') + from_account = sgqlc.types.Field(TransactionFromAccountQueryInput, graphql_name='fromAccount') + to_account_exists = sgqlc.types.Field(Boolean, graphql_name='toAccount_exists') + failure_reason_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_in') + memo_ne = sgqlc.types.Field(String, graphql_name='memo_ne') + nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') + block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + fee_token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_in') + failure_reason_lte = sgqlc.types.Field(String, graphql_name='failureReason_lte') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') + memo_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_nin') + fee_token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_nin') + from_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_nin') + from_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_in') + nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') + failure_reason_gt = sgqlc.types.Field(String, graphql_name='failureReason_gt') + memo_lt = sgqlc.types.Field(String, graphql_name='memo_lt') + to_gt = sgqlc.types.Field(String, graphql_name='to_gt') + nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') + block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_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_exists', 'public_key', 'public_key_gte', 'public_key_lt', 'public_key_gt', 'public_key_lte', 'public_key_nin', 'or_', 'public_key_in', 'and_', 'public_key_ne') + public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + 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') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionReceiverQueryInput')), graphql_name='OR') + public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionReceiverQueryInput')), graphql_name='AND') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + + +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__ = ('and_', 'public_key_gt', 'public_key_lte', 'public_key_ne', 'or_', 'public_key_nin', 'public_key_lt', 'public_key_in', 'public_key_gte', 'public_key', 'public_key_exists') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionSourceQueryInput')), graphql_name='AND') + public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') + public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionSourceQueryInput')), graphql_name='OR') + public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_nin') + 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_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') + public_key = sgqlc.types.Field(String, graphql_name='publicKey') + 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__ = ('or_', 'token_ne', 'token', 'token_exists', 'token_gte', 'token_lt', 'token_in', 'token_nin', 'token_gt', 'and_', 'token_lte') + or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionToAccountQueryInput')), graphql_name='OR') + token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + token = sgqlc.types.Field(Int, graphql_name='token') + 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') + 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') + token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionToAccountQueryInput')), graphql_name='AND') + token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + + +class TransactionToAccountUpdateInput(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 TransactionUpdateInput(sgqlc.types.Input): + __schema__ = mina_explorer_schema + __field_names__ = ('receiver', 'fee_token', 'kind_unset', 'nonce_inc', 'block', 'fee_token_inc', 'block_height_inc', 'memo', 'memo_unset', 'canonical', 'from_', 'source', 'nonce', 'to_account_unset', 'fee_payer_unset', 'hash', 'kind', 'block_height', 'from_unset', 'is_delegation_unset', 'to_account', 'canonical_unset', 'date_time_unset', 'fee_token_unset', 'token', 'fee_payer', 'from_account', 'fee_unset', 'amount_unset', 'nonce_unset', 'to', 'to_unset', 'source_unset', 'block_height_unset', 'is_delegation', 'id', 'hash_unset', 'amount', 'token_unset', 'fee', 'failure_reason_unset', 'id_unset', 'token_inc', 'from_account_unset', 'receiver_unset', 'block_unset', 'failure_reason', 'date_time') + receiver = sgqlc.types.Field(TransactionReceiverUpdateInput, graphql_name='receiver') + fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') + kind_unset = sgqlc.types.Field(Boolean, graphql_name='kind_unset') + nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') + block = sgqlc.types.Field(TransactionBlockStateHashRelationInput, graphql_name='block') + fee_token_inc = sgqlc.types.Field(Int, graphql_name='feeToken_inc') + block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') + memo = sgqlc.types.Field(String, graphql_name='memo') + memo_unset = sgqlc.types.Field(Boolean, graphql_name='memo_unset') + canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') + from_ = sgqlc.types.Field(String, graphql_name='from') + source = sgqlc.types.Field(TransactionSourceUpdateInput, graphql_name='source') + nonce = sgqlc.types.Field(Int, graphql_name='nonce') + to_account_unset = sgqlc.types.Field(Boolean, graphql_name='toAccount_unset') + fee_payer_unset = sgqlc.types.Field(Boolean, graphql_name='feePayer_unset') + hash = sgqlc.types.Field(String, graphql_name='hash') + kind = sgqlc.types.Field(String, graphql_name='kind') + block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + from_unset = sgqlc.types.Field(Boolean, graphql_name='from_unset') + is_delegation_unset = sgqlc.types.Field(Boolean, graphql_name='isDelegation_unset') + to_account = sgqlc.types.Field(TransactionToAccountUpdateInput, graphql_name='toAccount') + canonical_unset = sgqlc.types.Field(Boolean, graphql_name='canonical_unset') + date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + fee_token_unset = sgqlc.types.Field(Boolean, graphql_name='feeToken_unset') + token = sgqlc.types.Field(Int, graphql_name='token') + fee_payer = sgqlc.types.Field(TransactionFeePayerUpdateInput, graphql_name='feePayer') + from_account = sgqlc.types.Field(TransactionFromAccountUpdateInput, graphql_name='fromAccount') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + amount_unset = sgqlc.types.Field(Boolean, graphql_name='amount_unset') + nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') + to = sgqlc.types.Field(String, graphql_name='to') + to_unset = sgqlc.types.Field(Boolean, graphql_name='to_unset') + source_unset = sgqlc.types.Field(Boolean, graphql_name='source_unset') + block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + id = sgqlc.types.Field(String, graphql_name='id') + hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') + amount = sgqlc.types.Field(Long, graphql_name='amount') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + fee = sgqlc.types.Field(Long, graphql_name='fee') + failure_reason_unset = sgqlc.types.Field(Boolean, graphql_name='failureReason_unset') + id_unset = sgqlc.types.Field(Boolean, graphql_name='id_unset') + token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') + from_account_unset = sgqlc.types.Field(Boolean, graphql_name='fromAccount_unset') + receiver_unset = sgqlc.types.Field(Boolean, graphql_name='receiver_unset') + block_unset = sgqlc.types.Field(Boolean, graphql_name='block_unset') + failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + + + +######################################################################## +# 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(Long, 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(Int, 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(Int, 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_snarks', 'delete_many_stakes', 'delete_many_transactions', 'delete_one_block', 'delete_one_snark', 'delete_one_stake', 'delete_one_transaction', 'insert_many_blocks', 'insert_many_snarks', 'insert_many_stakes', 'insert_many_transactions', 'insert_one_block', 'insert_one_snark', 'insert_one_stake', 'insert_one_transaction', 'replace_one_block', 'replace_one_snark', 'replace_one_stake', 'replace_one_transaction', 'update_many_blocks', 'update_many_snarks', 'update_many_stakes', 'update_many_transactions', 'update_one_block', 'update_one_snark', 'update_one_stake', 'update_one_transaction', 'upsert_one_block', '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_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_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_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_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_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(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(TransactionInsertInput), graphql_name='data', default=None)), + ('query', sgqlc.types.Arg(TransactionQueryInput, graphql_name='query', 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_snarks = sgqlc.types.Field('UpdateManyPayload', graphql_name='updateManySnarks', args=sgqlc.types.ArgDict(( + ('set', sgqlc.types.Arg(sgqlc.types.non_null(SnarkUpdateInput), graphql_name='set', default=None)), + ('query', sgqlc.types.Arg(SnarkQueryInput, graphql_name='query', 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_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(( + ('query', sgqlc.types.Arg(BlockQueryInput, graphql_name='query', default=None)), + ('data', sgqlc.types.Arg(sgqlc.types.non_null(BlockInsertInput), 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(( + ('query', sgqlc.types.Arg(StakeQueryInput, graphql_name='query', default=None)), + ('data', sgqlc.types.Arg(sgqlc.types.non_null(StakeInsertInput), graphql_name='data', default=None)), +)) + ) + upsert_one_transaction = sgqlc.types.Field('Transaction', graphql_name='upsertOneTransaction', args=sgqlc.types.ArgDict(( + ('data', sgqlc.types.Arg(sgqlc.types.non_null(TransactionInsertInput), graphql_name='data', default=None)), + ('query', sgqlc.types.Arg(TransactionQueryInput, graphql_name='query', default=None)), +)) + ) + + +class Query(sgqlc.types.Type): + __schema__ = mina_explorer_schema + __field_names__ = ('block', 'blocks', '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(( + ('query', sgqlc.types.Arg(BlockQueryInput, graphql_name='query', default=None)), + ('limit', sgqlc.types.Arg(Int, graphql_name='limit', default=100)), + ('sort_by', sgqlc.types.Arg(BlockSortByInput, 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(Long, 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(Long, 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 + From f3b90652de374488e727b77647798c30fc0975d9 Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Fri, 16 Apr 2021 13:54:28 +0200 Subject: [PATCH 20/25] align input type for subscription --- MinaClient.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/MinaClient.py b/MinaClient.py index 3fdf004..08f9b27 100644 --- a/MinaClient.py +++ b/MinaClient.py @@ -289,9 +289,6 @@ async def _graphql_subscription( ): hello_message = {"type": "connection_init", "payload": {}} - if isinstance(query, sgqlc.operation.Operation): - query = bytes(query).decode("utf-8") - # Strip all the whitespace and replace with spaces query = " ".join(query.split()) payload = {"query": query} @@ -661,7 +658,8 @@ async def listen_sync_update(self, callback): op = Operation(mina_schema.subscription_type) op.new_sync_update() variables = {} - await self._graphql_subscription(op, variables, callback) + 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. @@ -676,4 +674,5 @@ async def listen_new_blocks(self, callback): op = Operation(mina_schema.subscription_type) op.new_block() variables = {} - await self._graphql_subscription(op, variables, callback) + query = bytes(op).decode("utf-8") + await self._graphql_subscription(query, variables, callback) From 2d0e544f801ea842625f2fb4a2d62c0c9e5323c5 Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Fri, 16 Apr 2021 14:17:51 +0200 Subject: [PATCH 21/25] adding 2 example notebooks --- examples/mina_explorer.ipynb | 449 +++++++++++++++++++++++++++++++++++ examples/mina_node.ipynb | 346 +++++++++++++++++++++++++++ 2 files changed, 795 insertions(+) create mode 100644 examples/mina_explorer.ipynb create mode 100644 examples/mina_node.ipynb 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 +} From c92e4c8af9ec13df1857b63437dae7d65da75e8d Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Sun, 18 Apr 2021 16:43:21 +0200 Subject: [PATCH 22/25] cleanups --- MinaClient.py | 96 +++++++++++++++++++++++++++------------------------ 1 file changed, 50 insertions(+), 46 deletions(-) diff --git a/MinaClient.py b/MinaClient.py index 08f9b27..e88c270 100644 --- a/MinaClient.py +++ b/MinaClient.py @@ -17,8 +17,8 @@ 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: represents whole mina (1 whole mina == 10^9 nanominas) + NANO: represents the atomic unit of mina """ WHOLE = 1 @@ -99,12 +99,12 @@ def __init__(self, value, format=CurrencyFormat.WHOLE): an int, as there can be no decimal point for nanominas. Args: - value {int|float|string} - The value to construct the Currency + 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 + Currency: The newly constructed Currency instance """ if format == CurrencyFormat.WHOLE: if isinstance(value, int): @@ -139,7 +139,7 @@ def nanominas(self): """Accesses the raw nanominas representation of a Currency instance. Returns: - int - The nanominas of the Currency instance represented as an + The nanominas of the Currency instance represented as an integer """ return self.__nanominas @@ -179,9 +179,6 @@ def __mul__(self, other): raise Exception("cannot multiply Currency and %s" % type(other)) - - - class Client: # Implements a GraphQL Client for the Mina Daemon @@ -211,11 +208,11 @@ def _send_sgqlc_query( """Sends a query to the Mina Daemon's GraphQL Endpoint Args: - query {str} -- A GraphQL Query - variables {dict} -- Optional Variables for the query (default: {{}}) + query: sgqlc Operation + variables: Optional Variables for the query Returns: - dict -- A Response object from the GraphQL Server. + dict: A Response object from the GraphQL Server. """ return self._graphql_request(bytes(query).decode("utf-8"), variables) @@ -224,11 +221,11 @@ def _send_query(self, query: str, variables: dict = {}) -> dict: """Sends a query to the Mina Daemon's GraphQL Endpoint Args: - query {str} -- A GraphQL Query - variables {dict} -- Optional Variables for the query (default: {{}}) + query: a GraphQL Query string + variables: Optional Variables dict for the query Returns: - dict -- A Response object from the GraphQL Server. + dict: A Response object from the GraphQL Server. """ return self._graphql_request(query, variables) @@ -236,11 +233,11 @@ def _send_mutation(self, query: str, variables: dict = {}) -> dict: """Sends a mutation to the Mina Daemon's GraphQL Endpoint. Args: - query {str} -- A GraphQL Mutation - variables {dict} -- Variables for the mutation (default: {{}}) + query: a GraphQL Query string + variables: Optional Variables dict for the query Returns: - dict -- A Response object from the GraphQL Server. + dict: A Response object from the GraphQL Server. """ return self._graphql_request(query, variables) @@ -251,12 +248,11 @@ def _graphql_request(self, query: str, variables: dict = {}): facilitate a GraphQL Request. Args: - query {str} -- A GraphQL Query - variables {dict} -- Optional Variables for the GraphQL Query - (default: {{}}) + query: a GraphQL Query string + variables: Optional Variables dict for the query Returns: - dict -- Returns the JSON Response as a Dict. + JSON Response as a Dict. Raises: Exception: Raises an exception if the response is anything other @@ -285,7 +281,7 @@ def _graphql_request(self, query: str, variables: dict = {}): ) async def _graphql_subscription( - self, query: str, variables: dict = {}, callback=None + self, query: str, variables: dict = {}, callback=None, ping_timeout=20 ): hello_message = {"type": "connection_init", "payload": {}} @@ -301,7 +297,9 @@ async def _graphql_subscription( uri = self.websocket_endpoint self.logger.info(uri) - async with websockets.client.connect(uri, ping_timeout=None) as websocket: + 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) @@ -328,7 +326,7 @@ def get_daemon_status(self) -> dict: """Gets the status of the currently configured Mina Daemon. Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. + dict, the "data" field of the JSON Response. """ op = Operation(mina_schema.query) @@ -341,7 +339,7 @@ def get_sync_status(self) -> dict: """Gets the Sync Status of the Mina Daemon. Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. + dict, the "data" field of the JSON Response. """ op = Operation(mina_schema.query) @@ -354,7 +352,7 @@ def get_daemon_version(self) -> dict: """Gets the version of the currently configured Mina Daemon. Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. + dict, the "data" field of the JSON Response. """ op = Operation(mina_schema.query) op.version() @@ -365,14 +363,18 @@ def get_daemon_version(self) -> dict: 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 -- Returns the "data" field of the JSON Response as a Dict. + 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) @@ -383,11 +385,12 @@ def get_wallet(self, pk: str, all_fields: bool = False) -> dict: """Gets the wallet for the specified Public Key. Args: - pk {str} -- A Public Key corresponding to a currently installed + pk: A Public Key corresponding to a currently installed wallet. + all_fields: return all available fields in response Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. + dict, the "data" field of the JSON Response. """ default_fields = [ "balance", @@ -412,10 +415,10 @@ def create_wallet(self, password: str) -> dict: """Creates a new Wallet. Args: - password {str} -- A password for the wallet to unlock. + password: A password for the wallet to unlock. Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. + dict, the "data" field of the JSON Response. """ op = Operation(mina_schema.mutation) @@ -433,7 +436,7 @@ def unlock_wallet(self, pk: str, password: str) -> dict: password: password for the wallet to unlock. Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. + dict, the "data" field of the JSON Response. """ op = Operation(mina_schema.mutation) op.unlock_wallet(input={"public_key": pk, "password": password}) @@ -450,7 +453,7 @@ def lock_wallet(self, pk: str, password: str) -> dict: password: password for the wallet to unlock. Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. + dict, the "data" field of the JSON Response. """ op = Operation(mina_schema.mutation) op.lock_wallet(input={"public_key": pk, "password": password}) @@ -460,9 +463,12 @@ def lock_wallet(self, pk: str, password: str) -> dict: 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 -- Returns the "data" field of the JSON Response as a Dict. + dict, the "data" field of the JSON Response. """ default_fields = ["key", "fee"] @@ -475,20 +481,20 @@ def get_current_snark_worker(self, all_fields: bool = False) -> dict: res = self._send_sgqlc_query(op) return res["data"] - def set_current_snark_worker(self, worker_pk: str, fee: int) -> dict: + 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: the desired SNARK Work fee + 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}) + op.set_snark_work_fee(input={"fee": fee.nanominas()}) res = self._send_sgqlc_query(op) return res["data"] @@ -506,11 +512,9 @@ def send_payment( fee: Currency instance. The transaction fee that will be attached to the payment memo: memo to attach to the payment - all_fields: return all available fields in response - Returns: - dict -- Returns the "data" field of the JSON Response as a Dict + dict, the "data" field of the JSON Response. """ input_dict = { @@ -538,7 +542,7 @@ def get_pooled_payments(self, pk: str = None, all_fields: bool = False) -> dict: all_fields: return all available fields in response Returns: - dict -- Returns the "data" field of the JSON Response as a Dict + dict, the "data" field of the JSON Response. """ default_fields = ["from_", "to", "amount", "id", "is_delegation", "nonce"] @@ -562,7 +566,7 @@ def get_transaction_status(self, payment_id: str) -> dict: payment_id: Payment Id corresponding to a UserCommand. Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. + dict, the "data" field of the JSON Response. """ op = Operation(mina_schema.query) op.transaction_status(payment=payment_id) @@ -580,7 +584,7 @@ def get_best_chain(self, max_length: int = 10, all_fields: bool = False) -> dict all_fields: return all available fields in response Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. + dict, the "data" field of the JSON Response. """ default_fields = ["protocol_state", "state_hash"] @@ -603,7 +607,7 @@ def get_block_by_height(self, height: int, all_fields: bool = False) -> dict: all_fields: return all available fields in response Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. + dict, the "data" field of the JSON Response. """ default_fields = ["state_hash", "creator", "snark_jobs"] @@ -628,7 +632,7 @@ def get_block_by_state_hash( all_fields: return all available fields in response Returns: - dict -- Returns the "data" field of the JSON Response as a Dict. + dict, the "data" field of the JSON Response. """ default_fields = ["creator", "protocol_state", "snark_jobs"] @@ -670,7 +674,7 @@ async def listen_new_blocks(self, callback): callback(block) {coroutine} -- This coroutine is executed with the new block as an argument each time the subscription fires """ - # add filter for pk + # TODO: add filter for pk op = Operation(mina_schema.subscription_type) op.new_block() variables = {} From 000f69a42cc8907cc79a9383c56786da3f174f6b Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Sun, 18 Apr 2021 16:57:29 +0200 Subject: [PATCH 23/25] updated tests --- tests/snapshots/snap_test_client.py | 38 ++++++++++++++--------------- tests/test_client.py | 3 ++- 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/tests/snapshots/snap_test_client.py b/tests/snapshots/snap_test_client.py index df757b0..d652dcd 100644 --- a/tests/snapshots/snap_test_client.py +++ b/tests/snapshots/snap_test_client.py @@ -17,7 +17,7 @@ 'Accept': 'application/json' }, 'json': { - 'query': 'query { daemonStatus { numAccounts blockchainLength highestBlockLengthReceived highestUnvalidatedBlockLengthReceived uptimeSecs ledgerMerkleRoot stateHash chainId commitId confDir peers { host libp2pPort peerId } userCommandsSent snarkWorker snarkWorkFee syncStatus catchupStatus blockProductionKeys histograms { externalTransitionLatency { values underflow overflow } acceptedTransitionLocalLatency { values underflow overflow } acceptedTransitionRemoteLatency { values underflow overflow } snarkWorkerTransitionTime { values underflow overflow } snarkWorkerMergeTime { values underflow overflow } } consensusTimeBestTip { epoch slot globalSlot startTime endTime } globalSlotSinceGenesisBestTip nextBlockProduction { times { epoch slot globalSlot startTime endTime } globalSlotSinceGenesis generatedFromConsensusAt { globalSlotSinceGenesis } } consensusTimeNow { epoch slot globalSlot startTime endTime } consensusMechanism consensusConfiguration { delta k slotsPerEpoch slotDuration epochDuration genesisStateTimestamp acceptableNetworkDelay } addrsAndPorts { externalIp bindIp peer { host libp2pPort peerId } libp2pPort clientPort } } }' + '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 } } }' } } ,) @@ -71,7 +71,7 @@ ,) ] -snapshots['TestMinaClient.test_get_sync_status 1'] = [ +snapshots['TestMinaClient.test_get_wallet 1'] = [ ( ( 'http://localhost:3085/graphql' @@ -81,13 +81,13 @@ 'Accept': 'application/json' }, 'json': { - 'query': 'query { daemonStatus { syncStatus } }' + 'query': 'query { wallet(publicKey: "pk") { balance { total unknown liquid locked blockHeight stateHash } nonce receiptChainHash delegate votingFor stakingActive privateKeyPath } }' } } ,) ] -snapshots['TestMinaClient.test_set_current_snark_worker 1'] = [ +snapshots['TestMinaClient.test_get_transaction_status 1'] = [ ( ( 'http://localhost:3085/graphql' @@ -97,13 +97,13 @@ 'Accept': 'application/json' }, 'json': { - 'query': 'mutation { setSnarkWorker(input: {publicKey: "pk"}) { lastSnarkWorker } setSnarkWorkFee(input: {fee: 1}) { lastFee } }' + 'query': 'query { transactionStatus(payment: "payment_id") }' } } ,) ] -snapshots['TestMinaClient.test_get_wallet 1'] = [ +snapshots['TestMinaClient.test_create_wallet 1'] = [ ( ( 'http://localhost:3085/graphql' @@ -113,13 +113,13 @@ 'Accept': 'application/json' }, 'json': { - 'query': 'query { wallet(publicKey: "pk") { balance { total unknown liquid locked blockHeight stateHash } nonce receiptChainHash delegate votingFor stakingActive privateKeyPath } }' + 'query': 'mutation { createAccount(input: {password: "password"}) { publicKey account { publicKey token nonce inferredNonce receiptChainHash delegate votingFor stakingActive privateKeyPath locked isTokenOwner isDisabled } } }' } } ,) ] -snapshots['TestMinaClient.test_get_transaction_status 1'] = [ +snapshots['TestMinaClient.test_get_best_chain 1'] = [ ( ( 'http://localhost:3085/graphql' @@ -129,13 +129,13 @@ 'Accept': 'application/json' }, 'json': { - 'query': 'query { transactionStatus(payment: "payment_id") }' + '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['TestMinaClient.test_create_wallet 1'] = [ +snapshots['TestMinaClient.test_get_block_by_height 1'] = [ ( ( 'http://localhost:3085/graphql' @@ -145,13 +145,13 @@ 'Accept': 'application/json' }, 'json': { - 'query': 'mutation { createAccount(input: {password: "password"}) { publicKey account { publicKey token nonce inferredNonce receiptChainHash delegate votingFor stakingActive privateKeyPath locked isTokenOwner isDisabled } } }' + 'query': 'query { block(height: 42) { stateHash creator snarkJobs { prover fee workIds } } }' } } ,) ] -snapshots['TestMinaClient.test_get_best_chain 1'] = [ +snapshots['TestMinaClient.test_get_block_by_state_hash 1'] = [ ( ( 'http://localhost:3085/graphql' @@ -161,13 +161,13 @@ 'Accept': 'application/json' }, 'json': { - 'query': 'query { bestChain(maxLength: 42) { protocolState { previousStateHash blockchainState { date utcDate snarkedLedgerHash stagedLedgerHash } consensusState { blockchainLength blockHeight epochCount minWindowDensity lastVrfOutput totalCurrency hasAncestorInSameCheckpointWindow slot slotSinceGenesis epoch } } stateHash } }' + '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_get_block_by_height 1'] = [ +snapshots['TestMinaClient.test_send_payment 1'] = [ ( ( 'http://localhost:3085/graphql' @@ -177,13 +177,13 @@ 'Accept': 'application/json' }, 'json': { - 'query': 'query { block(height: 42) { stateHash creator snarkJobs { prover fee workIds } } }' + '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_get_block_by_state_hash 1'] = [ +snapshots['TestMinaClient.test_set_current_snark_worker 1'] = [ ( ( 'http://localhost:3085/graphql' @@ -193,13 +193,13 @@ 'Accept': 'application/json' }, 'json': { - '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 } } }' + 'query': 'mutation { setSnarkWorker(input: {publicKey: "pk"}) { lastSnarkWorker } setSnarkWorkFee(input: {fee: 1000000000}) { lastFee } }' } } ,) ] -snapshots['TestMinaClient.test_send_payment 1'] = [ +snapshots['TestMinaClient.test_get_sync_status 1'] = [ ( ( 'http://localhost:3085/graphql' @@ -209,7 +209,7 @@ '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 } } }' + 'query': 'query { daemonStatus { syncStatus } }' } } ,) diff --git a/tests/test_client.py b/tests/test_client.py index 9ef871b..4b6e0b1 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -83,7 +83,8 @@ 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", 1) + fee = Currency(1) + client.set_current_snark_worker("pk", fee=fee) snapshot.assert_match(mock_post.call_args_list) def test_create_wallet(self, mock_post, snapshot): From a926f59dc0d392805cc09760e11640a2b230c9bd Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Wed, 19 Jan 2022 10:12:23 +0000 Subject: [PATCH 24/25] schema updates --- MinaClient.py | 31 +- mina_schemas/mina_explorer_schema.json | 25233 ++++++++++++++--------- mina_schemas/mina_explorer_schema.py | 3412 +-- setup.py | 5 +- 4 files changed, 17985 insertions(+), 10696 deletions(-) diff --git a/MinaClient.py b/MinaClient.py index e88c270..fe07d67 100644 --- a/MinaClient.py +++ b/MinaClient.py @@ -11,6 +11,7 @@ from sgqlc.operation import Operation from mina_schemas import mina_schema +from mina_schemas import mina_explorer_schema class CurrencyFormat(Enum): @@ -219,7 +220,7 @@ def _send_sgqlc_query( 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 @@ -231,7 +232,7 @@ def _send_query(self, query: str, variables: dict = {}) -> dict: 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 @@ -246,7 +247,7 @@ def _graphql_request(self, query: str, variables: dict = {}): 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 @@ -324,7 +325,7 @@ async def _graphql_subscription( def get_daemon_status(self) -> dict: """Gets the status of the currently configured Mina Daemon. - + Returns: dict, the "data" field of the JSON Response. """ @@ -350,7 +351,7 @@ def get_sync_status(self) -> dict: def get_daemon_version(self) -> dict: """Gets the version of the currently configured Mina Daemon. - + Returns: dict, the "data" field of the JSON Response. """ @@ -383,7 +384,7 @@ def get_wallets(self, all_fields: bool = False) -> dict: 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. @@ -413,7 +414,7 @@ def get_wallet(self, pk: str, all_fields: bool = False) -> dict: def create_wallet(self, password: str) -> dict: """Creates a new Wallet. - + Args: password: A password for the wallet to unlock. @@ -466,7 +467,7 @@ def get_current_snark_worker(self, all_fields: bool = False) -> dict: Args: all_fields: return all available fields in response - + Returns: dict, the "data" field of the JSON Response. """ @@ -482,8 +483,8 @@ def get_current_snark_worker(self, all_fields: bool = False) -> dict: return res["data"] def set_current_snark_worker(self, worker_pk: str, fee: Currency) -> dict: - """Set the current SNARK Worker preference. - + """Set the current SNARK Worker preference. + Args: worker_pk: the public key corresponding to the desired SNARK Worker @@ -503,7 +504,7 @@ 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 @@ -535,7 +536,7 @@ def send_payment( 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 @@ -561,7 +562,7 @@ def get_pooled_payments(self, pk: str = None, all_fields: bool = False) -> dict: 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. @@ -657,7 +658,7 @@ def send_any_query(self, query, variables=None): return res async def listen_sync_update(self, callback): - """Creates a subscription for Network Sync Updates. """ + """Creates a subscription for Network Sync Updates.""" op = Operation(mina_schema.subscription_type) op.new_sync_update() @@ -669,7 +670,7 @@ 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 diff --git a/mina_schemas/mina_explorer_schema.json b/mina_schemas/mina_explorer_schema.json index d3adda5..3757f01 100644 --- a/mina_schemas/mina_explorer_schema.json +++ b/mina_schemas/mina_explorer_schema.json @@ -89,117 +89,111 @@ { "defaultValue": null, "description": "", - "name": "token", + "name": "receipt_chain_hash_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_gt", + "name": "ledgerHash_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_gte", + "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": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_in", + "name": "balance_ne", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "public_key_exists", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionFeePayerQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_lt", + "name": "ledgerHash_gte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_lte", + "name": "receipt_chain_hash", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "balance_lte", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionFeePayerQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_exists", + "name": "delegate", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_ne", + "name": "epoch_gte", "type": { "kind": "SCALAR", "name": "Int", @@ -209,95 +203,45 @@ { "defaultValue": null, "description": "", - "name": "token_nin", + "name": "chainId_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionFeePayerQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "publicKey", + "name": "balance_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandSourceInsertInput", - "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": "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", + "name": "epoch_in", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "description", + "name": "voting_for_gte", "type": { "kind": "SCALAR", "name": "String", @@ -305,219 +249,201 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "locations", + "name": "permissions", "type": { - "kind": "NON_NULL", + "kind": "INPUT_OBJECT", + "name": "StakePermissionQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_nin", + "type": { + "kind": "LIST", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__DirectiveLocation", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "name", + "name": "token_in", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "__Directive", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { - "args": [], + "defaultValue": null, "description": "", - "name": "token", + "name": "epoch_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockTransactionUserCommandToAccount", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { - "args": [], + "defaultValue": null, "description": "", - "name": "epochLength", + "name": "pk_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "ledger", + "name": "nonce_lte", "type": { - "kind": "OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedger", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "lockCheckpoint", + "name": "timing_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "seed", + "name": "voting_for_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "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": "send", + "name": "epoch_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "set_verification_key_unset", + "name": "ledgerHash_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "edit_state_unset", + "name": "public_key_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "send_unset", + "name": "nonce_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "edit_state", + "name": "epoch_lte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_delegate", + "name": "ledgerHash_in", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "set_delegate_unset", + "name": "chainId_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "stake_unset", + "name": "nonce_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "set_permissions", + "name": "public_key_ne", "type": { "kind": "SCALAR", "name": "String", @@ -527,17 +453,17 @@ { "defaultValue": null, "description": "", - "name": "set_permissions_unset", + "name": "receipt_chain_hash_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_verification_key", + "name": "ledgerHash_ne", "type": { "kind": "SCALAR", "name": "String", @@ -547,38 +473,27 @@ { "defaultValue": null, "description": "", - "name": "stake", + "name": "public_key_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "StakePermissionUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "totalCurrency_unset", + "name": "receipt_chain_hash_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash", + "name": "chainId_lt", "type": { "kind": "SCALAR", "name": "String", @@ -588,7 +503,7 @@ { "defaultValue": null, "description": "", - "name": "hash_unset", + "name": "delegate_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -598,48 +513,27 @@ { "defaultValue": null, "description": "", - "name": "totalCurrency", + "name": "public_key", "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "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": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "receiver_exists", + "name": "pk", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_gte", + "name": "voting_for_lte", "type": { "kind": "SCALAR", "name": "String", @@ -649,7 +543,7 @@ { "defaultValue": null, "description": "", - "name": "failureReason", + "name": "delegate_gte", "type": { "kind": "SCALAR", "name": "String", @@ -659,37 +553,37 @@ { "defaultValue": null, "description": "", - "name": "hash_exists", + "name": "delegate_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce", + "name": "chainId_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockStateHash_exists", + "name": "token_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "id", + "name": "chainId_ne", "type": { "kind": "SCALAR", "name": "String", @@ -699,27 +593,27 @@ { "defaultValue": null, "description": "", - "name": "from_gte", + "name": "token_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_gt", + "name": "permissions_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "failureReason_in", + "name": "delegate_in", "type": { "kind": "LIST", "name": null, @@ -733,17 +627,17 @@ { "defaultValue": null, "description": "", - "name": "nonce_lte", + "name": "receipt_chain_hash_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockStateHash", + "name": "public_key_gte", "type": { "kind": "SCALAR", "name": "String", @@ -753,31 +647,7 @@ { "defaultValue": null, "description": "", - "name": "source_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_gt", + "name": "token", "type": { "kind": "SCALAR", "name": "Int", @@ -787,31 +657,35 @@ { "defaultValue": null, "description": "", - "name": "feeToken_gte", + "name": "balance_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "from_in", + "name": "AND", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } } } }, { "defaultValue": null, "description": "", - "name": "feeToken_lte", + "name": "nonce", "type": { "kind": "SCALAR", "name": "Int", @@ -821,101 +695,105 @@ { "defaultValue": null, "description": "", - "name": "from_lte", + "name": "token_ne", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fromAccount_exists", + "name": "pk_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "toAccount_exists", + "name": "voting_for", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "to_ne", + "name": "OR", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": "", - "name": "isDelegation", + "name": "voting_for_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "kind_ne", + "name": "balance", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_exists", + "name": "nonce_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_lt", + "name": "chainId", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce_in", + "name": "chainId_gte", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockStateHash_gt", + "name": "pk_gte", "type": { "kind": "SCALAR", "name": "String", @@ -925,37 +803,45 @@ { "defaultValue": null, "description": "", - "name": "id_exists", + "name": "receipt_chain_hash_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "memo", + "name": "balance_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "fromAccount", + "name": "voting_for_nin", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFromAccountQueryInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "id_gt", + "name": "pk_gt", "type": { "kind": "SCALAR", "name": "String", @@ -965,7 +851,7 @@ { "defaultValue": null, "description": "", - "name": "blockStateHash_in", + "name": "pk_nin", "type": { "kind": "LIST", "name": null, @@ -979,7 +865,7 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_exists", + "name": "nonce_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -989,27 +875,37 @@ { "defaultValue": null, "description": "", - "name": "id_gte", + "name": "chainId_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "id_lte", + "name": "epoch", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "memo_lt", + "name": "epoch_gt", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "ledgerHash_gt", "type": { "kind": "SCALAR", "name": "String", @@ -1019,31 +915,27 @@ { "defaultValue": null, "description": "", - "name": "dateTime_exists", + "name": "public_key_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "kind_in", + "name": "token_lt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_nin", + "name": "public_key_nin", "type": { "kind": "LIST", "name": null, @@ -1057,7 +949,7 @@ { "defaultValue": null, "description": "", - "name": "blockStateHash_gte", + "name": "chainId_gt", "type": { "kind": "SCALAR", "name": "String", @@ -1067,7 +959,7 @@ { "defaultValue": null, "description": "", - "name": "to_gte", + "name": "delegate_ne", "type": { "kind": "SCALAR", "name": "String", @@ -1077,17 +969,17 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_gte", + "name": "pk_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "to_nin", + "name": "ledgerHash_nin", "type": { "kind": "LIST", "name": null, @@ -1101,17 +993,21 @@ { "defaultValue": null, "description": "", - "name": "amount_gte", + "name": "token_nin", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "id_lt", + "name": "pk_lte", "type": { "kind": "SCALAR", "name": "String", @@ -1121,17 +1017,17 @@ { "defaultValue": null, "description": "", - "name": "fee_lte", + "name": "voting_for_lt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "amount_gt", + "name": "token_gt", "type": { "kind": "SCALAR", "name": "Int", @@ -1141,7 +1037,7 @@ { "defaultValue": null, "description": "", - "name": "feeToken", + "name": "epoch_ne", "type": { "kind": "SCALAR", "name": "Int", @@ -1161,17 +1057,7 @@ { "defaultValue": null, "description": "", - "name": "isDelegation_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token_exists", + "name": "ledgerHash_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -1181,35 +1067,35 @@ { "defaultValue": null, "description": "", - "name": "feeToken_gt", + "name": "receipt_chain_hash_nin", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "balance_in", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } } }, { "defaultValue": null, "description": "", - "name": "token_lt", + "name": "token_lte", "type": { "kind": "SCALAR", "name": "Int", @@ -1219,37 +1105,37 @@ { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "ledgerHash", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feePayer_exists", + "name": "nonce_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockStateHash_ne", + "name": "balance_lt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_lte", + "name": "nonce_ne", "type": { "kind": "SCALAR", "name": "Int", @@ -1259,75 +1145,71 @@ { "defaultValue": null, "description": "", - "name": "kind_gte", + "name": "epoch_lt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce_nin", + "name": "balance_gt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeToken_nin", + "name": "delegate_lt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_ne", + "name": "delegate_gt", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "amount_lt", + "name": "timing", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "StakeTimingQueryInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "id_ne", + "name": "voting_for_in", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "id_nin", + "name": "pk_in", "type": { "kind": "LIST", "name": null, @@ -1341,115 +1223,162 @@ { "defaultValue": null, "description": "", - "name": "source", + "name": "public_key_lt", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandSourceQueryInput", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "from_nin", + "name": "voting_for_ne", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "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": "blockStateHash_lte", + "name": "fee", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "amount_exists", + "name": "recipient", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "failureReason_lte", + "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": "amount_in", + "name": "publicKey", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "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": "feeToken_ne", + "name": "publicKey_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "failureReason_exists", + "name": "publicKey", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "nonce_lt", + "name": "link", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "create", "type": { - "kind": "SCALAR", - "name": "Int", + "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": "memo_gte", + "name": "publicKey", "type": { "kind": "SCALAR", "name": "String", @@ -1459,51 +1388,69 @@ { "defaultValue": null, "description": "", - "name": "failureReason_ne", + "name": "publicKey_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionSourceUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "amount_lte", + "name": "publicKey", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "TransactionSource", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "blockHeight_ne", + "name": "date", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_in", + "name": "snarkedLedgerHash", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockStateHash_lt", + "name": "stagedLedgerHash", "type": { "kind": "SCALAR", "name": "String", @@ -1513,119 +1460,127 @@ { "defaultValue": null, "description": "", - "name": "feeToken_exists", + "name": "utcDate", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Long", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateBlockchainStateInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "feeToken_lt", + "name": "coinbaseReceiverAccount", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountUpdateInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_in", + "name": "coinbaseReceiverAccount_unset", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "feeTransfer", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandQueryInput", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferUpdateInput", + "ofType": null } } }, { "defaultValue": null, "description": "", - "name": "hash_ne", + "name": "feeTransfer_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce_ne", + "name": "userCommands", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandUpdateInput", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "from_gt", + "name": "userCommands_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "amount_ne", + "name": "coinbase", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_gt", + "name": "coinbase_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } - }, - { - "defaultValue": null, - "description": "", - "name": "toAccount", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandToAccountQueryInput", - "ofType": null - } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "to_exists", + "name": "publicKey_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -1635,171 +1590,465 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_lt", + "name": "publicKey", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, - "description": "", - "name": "id_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } } - } - }, - { - "defaultValue": null, + ], "description": "", - "name": "nonce_gt", + "name": "block", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "Block", "ofType": null } }, { - "defaultValue": 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": "hash", + "name": "blocks", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Block", + "ofType": null + } + } } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + } + ], "description": "", - "name": "from_ne", + "name": "nextstake", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Nextstake", "ofType": null } }, { - "defaultValue": 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": "kind_lte", + "name": "nextstakes", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Nextstake", + "ofType": null + } + } } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } + } + ], "description": "", - "name": "nonce_exists", + "name": "payout", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "Payout", "ofType": null } }, { - "defaultValue": 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": "blockHeight_nin", + "name": "payouts", "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Payout", + "ofType": null + } } } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "ofType": null + } + } + ], "description": "", - "name": "hash_lte", + "name": "snark", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Snark", "ofType": null } }, { - "defaultValue": null, - "description": "", - "name": "dateTime_lt", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": 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": "token_gte", + "name": "snarks", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Snark", + "ofType": null + } + } } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } + } + ], "description": "", - "name": "fee_gte", + "name": "stake", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "Stake", "ofType": null } }, { - "defaultValue": 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": "failureReason_lt", + "name": "stakes", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Stake", + "ofType": null + } + } } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + } + ], "description": "", - "name": "dateTime_gte", + "name": "transaction", "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "OBJECT", + "name": "Transaction", "ofType": null } }, { - "defaultValue": 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": "to_gt", + "name": "transactions", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "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": "memo_in", + "name": "userCommands_in", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", "ofType": null } } @@ -1807,23 +2056,33 @@ { "defaultValue": null, "description": "", - "name": "to_lte", + "name": "coinbase_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "memo_nin", + "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": "String", + "name": "Long", "ofType": null } } @@ -1831,87 +2090,81 @@ { "defaultValue": null, "description": "", - "name": "memo_exists", + "name": "coinbase_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "from", + "name": "coinbaseReceiverAccount_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_gt", + "name": "OR", "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionQueryInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": "", - "name": "hash_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "to", + "name": "coinbase_lt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feePayer", + "name": "userCommands_exists", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFeePayerQueryInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "amount", + "name": "coinbase_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockStateHash_nin", + "name": "feeTransfer", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", "ofType": null } } @@ -1919,111 +2172,87 @@ { "defaultValue": null, "description": "", - "name": "kind_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": "failureReason_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "kind", + "name": "userCommands", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "from_lt", + "name": "userCommands_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "to_lt", + "name": "coinbase_in", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "memo_ne", + "name": "coinbase_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_gt", + "name": "coinbase_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_nin", + "name": "AND", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionQueryInput", + "ofType": null + } } } }, { "defaultValue": null, "description": "", - "name": "dateTime_lte", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "from_exists", + "name": "feeTransfer_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -2033,47 +2262,23 @@ { "defaultValue": null, "description": "", - "name": "fee_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "amount_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_lt", + "name": "coinbase", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeToken_in", + "name": "feeTransfer_in", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", "ofType": null } } @@ -2081,21 +2286,31 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_in", + "name": "feeTransfer_nin", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", "ofType": null } } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "blockHeight_lte", + "name": "epochLength", "type": { "kind": "SCALAR", "name": "Int", @@ -2103,23 +2318,19 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "dateTime_in", + "name": "ledger", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedger", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "kind_gt", + "name": "lockCheckpoint", "type": { "kind": "SCALAR", "name": "String", @@ -2127,9 +2338,9 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "kind_lt", + "name": "seed", "type": { "kind": "SCALAR", "name": "String", @@ -2137,33 +2348,30 @@ } }, { - "defaultValue": null, - "description": "", - "name": "fee_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, + "args": [], "description": "", - "name": "fee", + "name": "startCheckpoint", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatum", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "memo_gt", + "name": "hash", "type": { "kind": "SCALAR", "name": "String", @@ -2171,101 +2379,188 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "token_nin", + "name": "totalCurrency", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedger", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "token_ne", + "name": "token", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "TransactionToAccount", + "possibleTypes": null + }, + { + "description": "", + "enumValues": [ + { + "description": "", + "name": "BLOCKHEIGHT_ASC" }, { - "defaultValue": null, "description": "", - "name": "to_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "name": "COINBASE_ASC" }, { - "defaultValue": null, "description": "", - "name": "failureReason_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "name": "LEDGERHASH_DESC" }, { - "defaultValue": null, "description": "", - "name": "failureReason_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "name": "PAYMENTID_DESC" }, { - "defaultValue": null, "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "name": "PAYOUT_DESC" }, { - "defaultValue": null, "description": "", - "name": "memo_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "name": "PUBLICKEY_ASC" }, { - "defaultValue": null, "description": "", - "name": "receiver", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandReceiverQueryInput", - "ofType": null - } + "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": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandQueryInput", + "kind": "ENUM", + "name": "PayoutSortByInput", "possibleTypes": null }, { @@ -2276,67 +2571,80 @@ { "defaultValue": null, "description": "", - "name": "hash_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "totalCurrency", + "name": "publicKey", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "totalCurrency_unset", + "name": "token", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "hash", + "name": "token", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput", + "name": "TransactionFromAccountInsertInput", "possibleTypes": null }, { "description": "", "enumValues": null, - "fields": [ + "fields": null, + "inputFields": [ { - "args": [], + "defaultValue": null, "description": "", - "name": "fee", + "name": "publicKey_exists", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "recipient", + "name": "publicKey_gte", "type": { "kind": "SCALAR", "name": "String", @@ -2344,72 +2652,33 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "type", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockTransactionFeeTransfer", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ - { - "args": [], - "description": "", - "name": "hash", + "name": "publicKey_lt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } }, - { - "args": [], - "description": "", - "name": "totalCurrency", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedger", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ { "defaultValue": null, "description": "", - "name": "publicKey_exists", + "name": "publicKey_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "publicKey", + "name": "publicKey_ne", "type": { "kind": "SCALAR", "name": "String", @@ -2419,7 +2688,7 @@ { "defaultValue": null, "description": "", - "name": "publicKey_gte", + "name": "publicKey_lte", "type": { "kind": "SCALAR", "name": "String", @@ -2429,17 +2698,25 @@ { "defaultValue": null, "description": "", - "name": "publicKey_lt", + "name": "AND", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceQueryInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": "", - "name": "publicKey_gt", + "name": "publicKey", "type": { "kind": "SCALAR", "name": "String", @@ -2449,7 +2726,7 @@ { "defaultValue": null, "description": "", - "name": "publicKey_lte", + "name": "publicKey_gt", "type": { "kind": "SCALAR", "name": "String", @@ -2482,66 +2759,59 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "TransactionReceiverQueryInput", + "name": "BlockTransactionUserCommandSourceQueryInput", "ofType": null } } } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "publicKey_in", + "name": "token_lte", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "token_nin", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionReceiverQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } } }, { "defaultValue": null, "description": "", - "name": "publicKey_ne", + "name": "token_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionReceiverQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { - "args": [], + "defaultValue": null, "description": "", "name": "token", "type": { @@ -2549,82 +2819,87 @@ "name": "Int", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "TransactionFeePayer", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { - "args": [], + "defaultValue": null, "description": "", - "name": "block", + "name": "token_gt", "type": { - "kind": "OBJECT", - "name": "Block", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "AND", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountQueryInput", + "ofType": null + } + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "canonical", + "name": "token_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "dateTime", + "name": "OR", "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountQueryInput", + "ofType": null + } + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "fee", + "name": "token_ne", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "prover", + "name": "token_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "workIds", + "name": "token_in", "type": { "kind": "LIST", "name": null, @@ -2636,10 +2911,9 @@ } } ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "Snark", + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountQueryInput", "possibleTypes": null }, { @@ -2650,17 +2924,17 @@ { "defaultValue": null, "description": "", - "name": "balance_exists", + "name": "set_delegate", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_gt", + "name": "set_verification_key_gte", "type": { "kind": "SCALAR", "name": "String", @@ -2670,17 +2944,17 @@ { "defaultValue": null, "description": "", - "name": "publicKey", + "name": "stake_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_exists", + "name": "set_delegate_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -2690,21 +2964,29 @@ { "defaultValue": null, "description": "", - "name": "publicKey_ne", + "name": "set_delegate_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "publicKey_gte", + "name": "set_permissions_in", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { @@ -2719,7 +3001,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountQueryInput", + "name": "NextstakePermissionQueryInput", "ofType": null } } @@ -2728,25 +3010,41 @@ { "defaultValue": null, "description": "", - "name": "balance", + "name": "set_permissions_exists", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountBalanceQueryInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_in", + "name": "send", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "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 } }, { @@ -2761,7 +3059,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountQueryInput", + "name": "NextstakePermissionQueryInput", "ofType": null } } @@ -2770,7 +3068,7 @@ { "defaultValue": null, "description": "", - "name": "publicKey_lt", + "name": "set_delegate_lte", "type": { "kind": "SCALAR", "name": "String", @@ -2780,7 +3078,17 @@ { "defaultValue": null, "description": "", - "name": "publicKey_nin", + "name": "set_verification_key_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "set_permissions_nin", "type": { "kind": "LIST", "name": null, @@ -2794,62 +3102,33 @@ { "defaultValue": null, "description": "", - "name": "publicKey_lte", + "name": "set_delegate_lt", "type": { "kind": "SCALAR", "name": "String", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountQueryInput", - "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": "BlockTransactionQueryInput", - "ofType": null - } - } - } }, { "defaultValue": null, "description": "", - "name": "coinbaseReceiverAccount", + "name": "edit_state_lt", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionCoinbaseReceiverAccountQueryInput", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeTransfer_in", + "name": "set_verification_key_nin", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionFeeTransferQueryInput", + "kind": "SCALAR", + "name": "String", "ofType": null } } @@ -2857,61 +3136,43 @@ { "defaultValue": null, "description": "", - "name": "coinbase_gt", + "name": "set_verification_key_ne", "type": { "kind": "SCALAR", - "name": "Long", + "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": "BlockTransactionQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "coinbase_ne", + "name": "set_verification_key_lte", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "coinbase_exists", + "name": "send_ne", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "userCommands", + "name": "send_in", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandQueryInput", + "kind": "SCALAR", + "name": "String", "ofType": null } } @@ -2919,61 +3180,53 @@ { "defaultValue": null, "description": "", - "name": "coinbase", + "name": "set_verification_key_gt", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "coinbase_lt", + "name": "edit_state_gte", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "coinbase_nin", + "name": "set_delegate_gt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeTransfer", + "name": "set_permissions_ne", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionFeeTransferQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "coinbase_in", + "name": "edit_state_nin", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } } @@ -2981,47 +3234,43 @@ { "defaultValue": null, "description": "", - "name": "coinbase_lte", + "name": "set_verification_key_lt", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeTransfer_nin", + "name": "send_gte", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionFeeTransferQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "coinbaseReceiverAccount_exists", + "name": "set_permissions_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "userCommands_in", + "name": "set_delegate_in", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandQueryInput", + "kind": "SCALAR", + "name": "String", "ofType": null } } @@ -3029,23 +3278,23 @@ { "defaultValue": null, "description": "", - "name": "coinbase_gte", + "name": "send_gt", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "userCommands_nin", + "name": "edit_state_in", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandQueryInput", + "kind": "SCALAR", + "name": "String", "ofType": null } } @@ -3053,7 +3302,7 @@ { "defaultValue": null, "description": "", - "name": "feeTransfer_exists", + "name": "send_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -3063,66 +3312,51 @@ { "defaultValue": null, "description": "", - "name": "userCommands_exists", + "name": "edit_state_ne", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "send_nin", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionToAccountQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } } }, { "defaultValue": null, "description": "", - "name": "token_ne", + "name": "edit_state_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token", + "name": "send_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_exists", + "name": "stake", "type": { "kind": "SCALAR", "name": "Boolean", @@ -3132,130 +3366,93 @@ { "defaultValue": null, "description": "", - "name": "token_gte", + "name": "set_permissions_gte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_lt", + "name": "set_permissions_gt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_in", + "name": "set_delegate_gte", "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 - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_gt", + "name": "edit_state_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "send_lt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionToAccountQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_lte", + "name": "set_delegate_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionToAccountQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "initial_minimum_balance", + "name": "edit_state_gt", "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "initial_minimum_balance_lt", + "name": "set_verification_key", "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "untimed_slot_in", + "name": "set_verification_key_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } } @@ -3263,85 +3460,161 @@ { "defaultValue": null, "description": "", - "name": "vesting_increment_lte", + "name": "stake_ne", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "set_permissions_lt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "StakeTimingQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "NextstakePermissionQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": [ + { + "description": "", + "name": "DELEGATE_ASC" }, { - "defaultValue": null, "description": "", - "name": "initial_minimum_balance_gte", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "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": "timed_weighting", + "name": "stateHash_unset", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "untimed_slot_gt", + "name": "totalRewards_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_increment_exists", + "name": "sumEffectivePoolStakes_inc", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "untimed_slot_gte", + "name": "superChargedWeighting_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timed_weighting_gt", + "name": "totalPoolStakes_inc", "type": { "kind": "SCALAR", "name": "Float", @@ -3351,65 +3624,57 @@ { "defaultValue": null, "description": "", - "name": "vesting_increment_nin", + "name": "effectivePoolWeighting", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_amount_ne", + "name": "effectivePoolWeighting_unset", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_amount_nin", + "name": "paymentHash", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "PayoutPaymentHashRelationInput", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_time_lt", + "name": "totalPoolStakes_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_period_lt", + "name": "paymentId_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timed_weighting_ne", + "name": "totalRewards", "type": { "kind": "SCALAR", "name": "Float", @@ -3419,31 +3684,27 @@ { "defaultValue": null, "description": "", - "name": "vesting_period", + "name": "effectivePoolStakes_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_period_nin", + "name": "superChargedWeighting", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_increment", + "name": "totalRewards_inc", "type": { "kind": "SCALAR", "name": "Float", @@ -3453,7 +3714,7 @@ { "defaultValue": null, "description": "", - "name": "vesting_increment_gt", + "name": "sumEffectivePoolStakes", "type": { "kind": "SCALAR", "name": "Float", @@ -3463,47 +3724,47 @@ { "defaultValue": null, "description": "", - "name": "cliff_time", + "name": "effectivePoolStakes", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timed_epoch_end", + "name": "coinbase_inc", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "untimed_slot", + "name": "stakingBalance_inc", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "initial_minimum_balance_exists", + "name": "superchargedContribution_inc", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_amount_gte", + "name": "payout_inc", "type": { "kind": "SCALAR", "name": "Float", @@ -3513,7 +3774,7 @@ { "defaultValue": null, "description": "", - "name": "timed_in_epoch_exists", + "name": "sumEffectivePoolStakes_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -3523,87 +3784,67 @@ { "defaultValue": null, "description": "", - "name": "cliff_amount_lte", + "name": "blockHeight_unset", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "initial_minimum_balance_nin", + "name": "blockHeight_inc", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_time_nin", + "name": "dateTime_unset", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "initial_minimum_balance_in", + "name": "superchargedContribution", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "superchargedContribution_unset", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "StakeTimingQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_period_gte", + "name": "publicKey", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_increment_lt", + "name": "stakingBalance", "type": { "kind": "SCALAR", "name": "Float", @@ -3613,7 +3854,7 @@ { "defaultValue": null, "description": "", - "name": "vesting_increment_gte", + "name": "effectivePoolStakes_inc", "type": { "kind": "SCALAR", "name": "Float", @@ -3623,37 +3864,37 @@ { "defaultValue": null, "description": "", - "name": "cliff_amount_lt", + "name": "dateTime", "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_period_lte", + "name": "payout", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_time_lte", + "name": "effectivePoolWeighting_inc", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timed_in_epoch_ne", + "name": "paymentHash_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -3663,41 +3904,37 @@ { "defaultValue": null, "description": "", - "name": "timed_epoch_end_exists", + "name": "ledgerHash", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timed_weighting_nin", + "name": "superChargedWeighting_inc", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timed_epoch_end_ne", + "name": "blockHeight", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_time_exists", + "name": "coinbase_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -3707,61 +3944,57 @@ { "defaultValue": null, "description": "", - "name": "cliff_time_gt", + "name": "ledgerHash_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timed_weighting_lte", + "name": "stakingBalance_unset", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timed_weighting_in", + "name": "coinbase", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_time_gte", + "name": "foundation_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_period_exists", + "name": "stateHash", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "PayoutStateHashRelationInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "untimed_slot_exists", + "name": "payout_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -3771,27 +4004,27 @@ { "defaultValue": null, "description": "", - "name": "cliff_time_ne", + "name": "publicKey_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timed_weighting_exists", + "name": "totalPoolStakes", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_amount_exists", + "name": "foundation", "type": { "kind": "SCALAR", "name": "Boolean", @@ -3801,81 +4034,99 @@ { "defaultValue": null, "description": "", - "name": "cliff_amount_in", + "name": "paymentId", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "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": "vesting_period_gt", + "name": "publicKey", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "untimed_slot_lte", + "name": "publicKey_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "timed_weighting_lt", + "name": "blockHeight", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_amount", + "name": "block", "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "SnarkBlockStateHashRelationInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "untimed_slot_lt", + "name": "canonical", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "untimed_slot_ne", + "name": "dateTime", "type": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "initial_minimum_balance_gt", + "name": "fee", "type": { "kind": "SCALAR", "name": "Float", @@ -3885,85 +4136,107 @@ { "defaultValue": null, "description": "", - "name": "vesting_increment_ne", + "name": "prover", "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_increment_in", + "name": "workIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "SnarkInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "vesting_period_ne", + "name": "fee", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Long", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "untimed_slot_nin", + "name": "recipient", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "timed_in_epoch", + "name": "type", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionFeeTransfer", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "initial_minimum_balance_ne", + "name": "untimed_slot", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "initial_minimum_balance_lte", + "name": "untimed_slot_in", "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "timed_weighting_gte", + "name": "timed_weighting_lte", "type": { "kind": "SCALAR", "name": "Float", @@ -3987,73 +4260,37 @@ { "defaultValue": null, "description": "", - "name": "cliff_amount_gt", + "name": "untimed_slot_lt", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_time_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "StakeTimingQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ - { - "args": [], - "description": "", - "name": "countDelegates", + "name": "vesting_increment_gt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "totalDelegated", + "name": "vesting_increment_exists", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "DelegationTotal", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "fee_unset", + "name": "timed_in_epoch_ne", "type": { "kind": "SCALAR", "name": "Boolean", @@ -4063,37 +4300,45 @@ { "defaultValue": null, "description": "", - "name": "block", + "name": "cliff_amount_nin", "type": { - "kind": "INPUT_OBJECT", - "name": "SnarkBlockStateHashRelationInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "prover", + "name": "vesting_increment_in", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "blockHeight_inc", + "name": "cliff_amount_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "block_unset", + "name": "untimed_slot_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -4103,7 +4348,7 @@ { "defaultValue": null, "description": "", - "name": "workIds", + "name": "untimed_slot_nin", "type": { "kind": "LIST", "name": null, @@ -4117,27 +4362,31 @@ { "defaultValue": null, "description": "", - "name": "canonical", + "name": "vesting_increment_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "blockHeight_unset", + "name": "cliff_time_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "untimed_slot_lte", "type": { "kind": "SCALAR", "name": "Int", @@ -4147,97 +4396,81 @@ { "defaultValue": null, "description": "", - "name": "fee_inc", + "name": "cliff_time_gte", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "canonical_unset", + "name": "initial_minimum_balance_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "prover_unset", + "name": "vesting_increment", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_unset", + "name": "cliff_amount_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "workIds_unset", + "name": "timed_weighting", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "vesting_period_ne", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee", + "name": "vesting_period_gt", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "SnarkUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "kind": "SCALAR", - "name": "ObjectId", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { - "args": [], + "defaultValue": null, "description": "", - "name": "epochLength", + "name": "cliff_time_ne", "type": { "kind": "SCALAR", "name": "Int", @@ -4245,170 +4478,143 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "ledger", + "name": "vesting_increment_ne", "type": { - "kind": "OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedger", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "lockCheckpoint", + "name": "vesting_period_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "seed", + "name": "cliff_time_lte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "startCheckpoint", + "name": "initial_minimum_balance_lte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatum", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { - "args": [], + "defaultValue": null, "description": "", - "name": "publicKey", + "name": "initial_minimum_balance", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "TransactionReceiver", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "edit_state_lt", + "name": "initial_minimum_balance_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "send_lt", + "name": "cliff_amount_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "timed_epoch_end_ne", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "StakePermissionQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "send_gte", + "name": "initial_minimum_balance_ne", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_delegate_in", + "name": "cliff_time", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "edit_state_exists", + "name": "cliff_time_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "stake_exists", + "name": "cliff_amount_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "send_in", + "name": "timed_weighting_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } } @@ -4416,51 +4622,43 @@ { "defaultValue": null, "description": "", - "name": "set_verification_key_gte", + "name": "timed_weighting_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "send_ne", + "name": "initial_minimum_balance_gt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "timed_weighting_ne", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "StakePermissionQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_verification_key_nin", + "name": "cliff_time_nin", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } } @@ -4468,179 +4666,187 @@ { "defaultValue": null, "description": "", - "name": "set_delegate_nin", + "name": "vesting_period", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_permissions_exists", + "name": "timed_weighting_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_permissions", + "name": "vesting_period_lt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_permissions_lt", + "name": "vesting_period_lte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "send_gt", + "name": "cliff_amount_lte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_permissions_in", + "name": "initial_minimum_balance_lt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_verification_key_gt", + "name": "cliff_amount", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "edit_state_nin", + "name": "vesting_period_exists", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_verification_key", + "name": "AND", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeTimingQueryInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": "", - "name": "set_delegate_gt", + "name": "cliff_time_lt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_permissions_gte", + "name": "timed_weighting_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "set_verification_key_exists", + "name": "untimed_slot_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "edit_state_gt", + "name": "OR", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeTimingQueryInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": "", - "name": "set_delegate", + "name": "initial_minimum_balance_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stake_ne", + "name": "timed_weighting_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "edit_state_ne", + "name": "timed_in_epoch_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_delegate_exists", + "name": "cliff_time_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -4650,97 +4856,97 @@ { "defaultValue": null, "description": "", - "name": "send_nin", + "name": "untimed_slot_ne", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_verification_key_lte", + "name": "cliff_amount_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "send_lte", + "name": "timed_epoch_end_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_permissions_ne", + "name": "timed_in_epoch", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "edit_state_gte", + "name": "vesting_increment_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "send", + "name": "timed_epoch_end", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stake", + "name": "vesting_increment_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_permissions_lte", + "name": "initial_minimum_balance_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "set_verification_key_in", + "name": "cliff_amount_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } } @@ -4748,53 +4954,84 @@ { "defaultValue": null, "description": "", - "name": "edit_state", + "name": "vesting_period_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_delegate_gte", + "name": "vesting_increment_lt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_permissions_gt", + "name": "untimed_slot_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "edit_state_lte", + "name": "timed_weighting_gte", "type": { "kind": "SCALAR", - "name": "String", + "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": "edit_state_in", + "name": "coinbaseReceiverAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeTransfer", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferInsertInput", "ofType": null } } @@ -4802,17 +5039,32 @@ { "defaultValue": null, "description": "", - "name": "set_delegate_lte", + "name": "userCommands", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "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": "set_verification_key_ne", + "name": "startCheckpoint", "type": { "kind": "SCALAR", "name": "String", @@ -4822,27 +5074,27 @@ { "defaultValue": null, "description": "", - "name": "set_delegate_lt", + "name": "epochLength", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_verification_key_lt", + "name": "ledger", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_delegate_ne", + "name": "lockCheckpoint", "type": { "kind": "SCALAR", "name": "String", @@ -4852,130 +5104,17 @@ { "defaultValue": null, "description": "", - "name": "set_permissions_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "send_exists", + "name": "seed", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "StakePermissionQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": [ - { - "description": "", - "name": "NONCE_ASC" - }, - { - "description": "", - "name": "PK_ASC" - }, - { - "description": "", - "name": "PK_DESC" - }, - { - "description": "", - "name": "RECEIPT_CHAIN_HASH_ASC" - }, - { - "description": "", - "name": "RECEIPT_CHAIN_HASH_DESC" - }, - { - "description": "", - "name": "EPOCH_ASC" - }, - { - "description": "", - "name": "EPOCH_DESC" - }, - { - "description": "", - "name": "PUBLIC_KEY_ASC" - }, - { - "description": "", - "name": "BALANCE_ASC" - }, - { - "description": "", - "name": "BALANCE_DESC" - }, - { - "description": "", - "name": "TOKEN_ASC" - }, - { - "description": "", - "name": "CHAINID_ASC" - }, - { - "description": "", - "name": "CHAINID_DESC" - }, - { - "description": "", - "name": "PUBLIC_KEY_DESC" - }, - { - "description": "", - "name": "NONCE_DESC" - }, - { - "description": "", - "name": "LEDGERHASH_ASC" - }, - { - "description": "", - "name": "VOTING_FOR_ASC" - }, - { - "description": "", - "name": "VOTING_FOR_DESC" - }, - { - "description": "", - "name": "DELEGATE_DESC" - }, - { - "description": "", - "name": "TOKEN_DESC" - }, - { - "description": "", - "name": "LEDGERHASH_DESC" - }, - { - "description": "", - "name": "DELEGATE_ASC" - } - ], - "fields": null, - "inputFields": null, - "interfaces": null, - "kind": "ENUM", - "name": "StakeSortByInput", + "name": "BlockProtocolStateConsensusStateNextEpochDatumInsertInput", "possibleTypes": null }, { @@ -4986,53 +5125,57 @@ { "defaultValue": null, "description": "", - "name": "receivedTime", + "name": "lastVrfOutput_gt", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash", + "name": "blockchainLength_gt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "totalCurrency_gt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHashField", + "name": "blockHeight_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "snarkJobs", + "name": "blockchainLength_nin", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobInsertInput", + "kind": "SCALAR", + "name": "Int", "ofType": null } } @@ -5040,27 +5183,27 @@ { "defaultValue": null, "description": "", - "name": "creator", + "name": "epochCount_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "epoch_lte", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "canonical", + "name": "nextEpochData_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -5070,110 +5213,67 @@ { "defaultValue": null, "description": "", - "name": "creatorAccount", + "name": "slotSinceGenesis_exists", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockCreatorAccountInsertInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "transactions", + "name": "epochCount", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionInsertInput", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "winnerAccount", + "name": "totalCurrency_ne", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountInsertInput", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "protocolState", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateInsertInput", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "token", + "name": "slotSinceGenesis_ne", "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": "token", + "name": "totalCurrency_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandToAccountInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "delegate", + "name": "blockchainLength", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_unset", + "name": "hasAncestorInSameCheckpointWindow_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -5183,7 +5283,7 @@ { "defaultValue": null, "description": "", - "name": "chainId", + "name": "lastVrfOutput_gte", "type": { "kind": "SCALAR", "name": "String", @@ -5193,27 +5293,31 @@ { "defaultValue": null, "description": "", - "name": "balance_inc", + "name": "epoch_gt", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "receipt_chain_hash", + "name": "epoch_in", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "epoch", + "name": "slotSinceGenesis_lt", "type": { "kind": "SCALAR", "name": "Int", @@ -5223,7 +5327,7 @@ { "defaultValue": null, "description": "", - "name": "timing_unset", + "name": "hasAncestorInSameCheckpointWindow_ne", "type": { "kind": "SCALAR", "name": "Boolean", @@ -5233,37 +5337,37 @@ { "defaultValue": null, "description": "", - "name": "public_key", + "name": "blockHeight_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "ledgerHash", + "name": "slotSinceGenesis_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "ledgerHash_unset", + "name": "blockchainLength_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "pk_unset", + "name": "epochCount_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -5273,7 +5377,7 @@ { "defaultValue": null, "description": "", - "name": "voting_for", + "name": "lastVrfOutput_lte", "type": { "kind": "SCALAR", "name": "String", @@ -5283,7 +5387,7 @@ { "defaultValue": null, "description": "", - "name": "delegate_unset", + "name": "minWindowDensity_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -5293,7 +5397,7 @@ { "defaultValue": null, "description": "", - "name": "nonce_inc", + "name": "slotSinceGenesis_gt", "type": { "kind": "SCALAR", "name": "Int", @@ -5303,7 +5407,7 @@ { "defaultValue": null, "description": "", - "name": "token_inc", + "name": "minWindowDensity_lt", "type": { "kind": "SCALAR", "name": "Int", @@ -5313,7 +5417,35 @@ { "defaultValue": null, "description": "", - "name": "token", + "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", @@ -5323,7 +5455,7 @@ { "defaultValue": null, "description": "", - "name": "epoch_unset", + "name": "epoch_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -5333,17 +5465,17 @@ { "defaultValue": null, "description": "", - "name": "timing", + "name": "totalCurrency_lt", "type": { - "kind": "INPUT_OBJECT", - "name": "StakeTimingUpdateInput", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "receipt_chain_hash_unset", + "name": "stakingEpochData_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -5353,27 +5485,27 @@ { "defaultValue": null, "description": "", - "name": "nonce_unset", + "name": "totalCurrency_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "chainId_unset", + "name": "slot_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epoch_inc", + "name": "minWindowDensity_lte", "type": { "kind": "SCALAR", "name": "Int", @@ -5383,253 +5515,191 @@ { "defaultValue": null, "description": "", - "name": "permissions_unset", + "name": "blockHeight_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce", + "name": "epochCount_in", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "permissions", + "name": "minWindowDensity_nin", "type": { - "kind": "INPUT_OBJECT", - "name": "StakePermissionUpdateInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "voting_for_unset", + "name": "blockHeight_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "balance", + "name": "lastVrfOutput_nin", "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "pk", + "name": "minWindowDensity_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "public_key_unset", + "name": "totalCurrency_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "balance_unset", + "name": "hasAncestorInSameCheckpointWindow", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "StakeUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "publicKey", + "name": "slotSinceGenesis", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_unset", + "name": "epoch_ne", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockCreatorAccountUpdateInput", - "possibleTypes": null - }, - { - "description": "An enum describing what kind of type a given `__Type` is", - "enumValues": [ - { - "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" - }, - { - "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" - } - ], - "fields": null, - "inputFields": null, - "interfaces": null, - "kind": "ENUM", - "name": "__TypeKind", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ - { - "args": [], + "defaultValue": null, "description": "", - "name": "hash", + "name": "slotSinceGenesis_in", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "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": "blockHeight_inc", + "name": "totalCurrency_nin", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "total_unset", + "name": "stakingEpochData", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_unset", + "name": "epochCount_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "liquid_unset", + "name": "blockHeight_ne", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash", + "name": "slotSinceGenesis_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "liquid_inc", + "name": "minWindowDensity_gt", "type": { "kind": "SCALAR", "name": "Int", @@ -5639,30 +5709,30 @@ { "defaultValue": null, "description": "", - "name": "locked_unset", + "name": "slot_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash_unset", + "name": "minWindowDensity", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "total", + "name": "lastVrfOutput_lt", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, @@ -5679,7 +5749,7 @@ { "defaultValue": null, "description": "", - "name": "liquid", + "name": "blockchainLength_lt", "type": { "kind": "SCALAR", "name": "Int", @@ -5689,47 +5759,41 @@ { "defaultValue": null, "description": "", - "name": "locked", + "name": "epoch", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "unknown", + "name": "nextEpochData", "type": { - "kind": "SCALAR", - "name": "Long", + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "unknown_unset", + "name": "blockHeight_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountBalanceUpdateInput", - "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", + "defaultValue": null, + "description": "", + "name": "lastVrfOutput_ne", "type": { "kind": "SCALAR", "name": "String", @@ -5737,68 +5801,65 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "description", + "name": "blockHeight_lte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "name", + "name": "slot_nin", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "type", + "name": "blockchainLength_in", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "__Type", + "kind": "SCALAR", + "name": "Int", "ofType": null } } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "__InputValue", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { - "args": [], + "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "OR", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateQueryInput", + "ofType": null + } + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "blockchainLength", + "name": "blockchainLength_lte", "type": { "kind": "SCALAR", "name": "Int", @@ -5806,19 +5867,19 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "epoch", + "name": "lastVrfOutput", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "epochCount", + "name": "epochCount_ne", "type": { "kind": "SCALAR", "name": "Int", @@ -5826,29 +5887,29 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "hasAncestorInSameCheckpointWindow", + "name": "minWindowDensity_ne", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "lastVrfOutput", + "name": "blockchainLength_ne", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "minWindowDensity", + "name": "slotSinceGenesis_lte", "type": { "kind": "SCALAR", "name": "Int", @@ -5856,139 +5917,81 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "nextEpochData", + "name": "epoch_nin", "type": { - "kind": "OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatum", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "slot", + "name": "slot_in", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "slotSinceGenesis", + "name": "lastVrfOutput_in", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "stakingEpochData", + "name": "epoch_lt", "type": { - "kind": "OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatum", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "totalCurrency", + "name": "slot_exists", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockProtocolStateConsensusState", - "possibleTypes": null - }, - { - "description": "", - "enumValues": [ - { - "description": "", - "name": "DATETIME_DESC" - }, - { - "description": "", - "name": "STATEHASH_ASC" - }, - { - "description": "", - "name": "RECEIVEDTIME_DESC" - }, - { - "description": "", - "name": "CREATOR_ASC" - }, - { - "description": "", - "name": "CREATOR_DESC" - }, - { - "description": "", - "name": "STATEHASHFIELD_ASC" - }, - { - "description": "", - "name": "DATETIME_ASC" - }, - { - "description": "", - "name": "STATEHASH_DESC" - }, - { - "description": "", - "name": "RECEIVEDTIME_ASC" - }, - { - "description": "", - "name": "BLOCKHEIGHT_ASC" - }, - { - "description": "", - "name": "BLOCKHEIGHT_DESC" }, { + "defaultValue": null, "description": "", - "name": "STATEHASHFIELD_DESC" - } - ], - "fields": null, - "inputFields": null, - "interfaces": null, - "kind": "ENUM", - "name": "BlockSortByInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ - { - "args": [], - "description": "", - "name": "cliff_amount", + "name": "slot", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "cliff_time", + "name": "epoch_gte", "type": { "kind": "SCALAR", "name": "Int", @@ -5996,39 +5999,51 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "initial_minimum_balance", + "name": "AND", "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateQueryInput", + "ofType": null + } + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "timed_epoch_end", + "name": "epochCount_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "timed_in_epoch", + "name": "slot_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "timed_weighting", + "name": "totalCurrency", "type": { "kind": "SCALAR", "name": "Float", @@ -6036,9 +6051,9 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "untimed_slot", + "name": "slot_ne", "type": { "kind": "SCALAR", "name": "Int", @@ -6046,41 +6061,29 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "vesting_increment", + "name": "epochCount_lte", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "vesting_period", + "name": "lastVrfOutput_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "StakeTiming", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "token_unset", + "name": "blockchainLength_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -6090,17 +6093,17 @@ { "defaultValue": null, "description": "", - "name": "token", + "name": "blockHeight_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_inc", + "name": "epochCount_lt", "type": { "kind": "SCALAR", "name": "Int", @@ -6110,139 +6113,145 @@ ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFeePayerUpdateInput", + "name": "BlockProtocolStateConsensusStateQueryInput", "possibleTypes": null }, { "description": "", "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "ledger", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput", - "ofType": null - } - }, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "lockCheckpoint", + "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": "lockCheckpoint_unset", + "name": "publicKey", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochLength_inc", + "name": "publicKey_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochLength_unset", + "name": "publicKey_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "seed_unset", + "name": "AND", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverQueryInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": "", - "name": "seed", + "name": "publicKey_in", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "epochLength", + "name": "publicKey_gt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "startCheckpoint_unset", + "name": "publicKey_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "ledger_unset", + "name": "publicKey_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "startCheckpoint", + "name": "publicKey_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "hash_ne", + "name": "publicKey_ne", "type": { "kind": "SCALAR", "name": "String", @@ -6252,21 +6261,36 @@ { "defaultValue": null, "description": "", - "name": "totalCurrency_in", + "name": "OR", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null + "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": "hash_lte", + "name": "ledgerHash", "type": { "kind": "SCALAR", "name": "String", @@ -6276,41 +6300,37 @@ { "defaultValue": null, "description": "", - "name": "hash_gte", + "name": "stakingBalance", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "totalCurrency_gt", + "name": "foundation", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_nin", + "name": "publicKey", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_lt", + "name": "paymentId", "type": { "kind": "SCALAR", "name": "String", @@ -6320,61 +6340,57 @@ { "defaultValue": null, "description": "", - "name": "totalCurrency_exists", + "name": "sumEffectivePoolStakes", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "totalCurrency_nin", + "name": "superChargedWeighting", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "totalCurrency_lte", + "name": "payout", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "totalCurrency", + "name": "blockHeight", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_exists", + "name": "coinbase", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_gt", + "name": "dateTime", "type": { "kind": "SCALAR", "name": "String", @@ -6384,117 +6400,98 @@ { "defaultValue": null, "description": "", - "name": "hash_in", + "name": "superchargedContribution", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "totalCurrency_ne", + "name": "effectivePoolWeighting", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "paymentHash", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "PayoutPaymentHashRelationInput", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash", + "name": "stateHash", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "PayoutStateHashRelationInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "totalCurrency_gte", + "name": "totalPoolStakes", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "totalCurrency_lt", + "name": "totalRewards", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "effectivePoolStakes", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", + "name": "PayoutInsertInput", "possibleTypes": null }, { "description": "", "enumValues": null, - "fields": [ + "fields": null, + "inputFields": [ { - "args": [], + "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "edit_state", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "blockStateHash", + "name": "send", "type": { "kind": "SCALAR", "name": "String", @@ -6502,29 +6499,29 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "dateTime", + "name": "set_delegate", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "fee", + "name": "set_permissions", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "prover", + "name": "set_verification_key", "type": { "kind": "SCALAR", "name": "String", @@ -6532,35 +6529,29 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "workIds", + "name": "stake", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } } ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockSnarkJob", + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "NextstakePermissionInsertInput", "possibleTypes": null }, { - "description": "", + "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": null, - "inputFields": [ + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "prover_gt", + "name": "deprecationReason", "type": { "kind": "SCALAR", "name": "String", @@ -6568,45 +6559,75 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "dateTime_exists", + "name": "description", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "canonical_ne", + "name": "isDeprecated", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "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": "fee_ne", + "name": "unknown_lt", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_nin", + "name": "total_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", + "name": "Long", "ofType": null } } @@ -6614,43 +6635,41 @@ { "defaultValue": null, "description": "", - "name": "prover_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee", + "name": "locked_exists", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "AND", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceQueryInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": "", - "name": "dateTime_in", + "name": "locked_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", + "name": "Long", "ofType": null } } @@ -6658,41 +6677,43 @@ { "defaultValue": null, "description": "", - "name": "AND", + "name": "blockHeight_ne", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SnarkQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "prover_lte", + "name": "unknown_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_in", + "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": "Int", + "name": "String", "ofType": null } } @@ -6700,7 +6721,7 @@ { "defaultValue": null, "description": "", - "name": "prover", + "name": "stateHash_ne", "type": { "kind": "SCALAR", "name": "String", @@ -6710,47 +6731,47 @@ { "defaultValue": null, "description": "", - "name": "block_exists", + "name": "blockHeight", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "canonical_exists", + "name": "liquid_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_lte", + "name": "total_gte", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_gt", + "name": "total_lte", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_lte", + "name": "liquid_gt", "type": { "kind": "SCALAR", "name": "Int", @@ -6760,57 +6781,53 @@ { "defaultValue": null, "description": "", - "name": "dateTime_lte", + "name": "stateHash_exists", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_lt", + "name": "stateHash_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_exists", + "name": "total_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "workIds", + "name": "blockHeight_exists", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_nin", + "name": "unknown_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "Long", "ofType": null } } @@ -6818,31 +6835,35 @@ { "defaultValue": null, "description": "", - "name": "fee_exists", + "name": "locked", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "prover_in", + "name": "OR", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceQueryInput", + "ofType": null + } } } }, { "defaultValue": null, "description": "", - "name": "blockHeight_gte", + "name": "blockHeight_lte", "type": { "kind": "SCALAR", "name": "Int", @@ -6852,27 +6873,27 @@ { "defaultValue": null, "description": "", - "name": "fee_lt", + "name": "locked_gt", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_gte", + "name": "blockHeight_gte", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_gt", + "name": "blockHeight_lt", "type": { "kind": "SCALAR", "name": "Int", @@ -6882,27 +6903,13 @@ { "defaultValue": null, "description": "", - "name": "fee_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "prover_nin", + "name": "total_nin", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } } @@ -6910,7 +6917,7 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_ne", + "name": "blockHeight_gt", "type": { "kind": "SCALAR", "name": "Int", @@ -6920,115 +6927,139 @@ { "defaultValue": null, "description": "", - "name": "dateTime_ne", + "name": "stateHash_gt", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_lt", + "name": "stateHash_in", "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "prover_gte", + "name": "blockHeight_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "prover_exists", + "name": "liquid_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "blockHeight_in", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SnarkQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } } }, { "defaultValue": null, "description": "", - "name": "prover_ne", + "name": "total", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "workIds_in", + "name": "liquid_lte", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_gt", + "name": "locked_ne", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "block", + "name": "unknown_ne", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockQueryInput", + "kind": "SCALAR", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_nin", + "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": "Float", + "name": "Long", "ofType": null } } @@ -7036,27 +7067,47 @@ { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "liquid", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "workIds_exists", + "name": "unknown", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "workIds_nin", + "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, @@ -7070,7 +7121,7 @@ { "defaultValue": null, "description": "", - "name": "canonical", + "name": "unknown_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -7080,120 +7131,91 @@ { "defaultValue": null, "description": "", - "name": "fee_gte", + "name": "total_ne", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Long", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "SnarkQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "lockCheckpoint", + "name": "liquid_ne", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "seed", + "name": "unknown_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "startCheckpoint", + "name": "unknown_gt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochLength", + "name": "total_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "ledger", + "name": "locked_gte", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput", + "kind": "SCALAR", + "name": "Long", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "totalCurrency", + "name": "total_lt", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash", + "name": "stateHash", "type": { "kind": "SCALAR", "name": "String", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "publicKey", + "name": "stateHash_lt", "type": { "kind": "SCALAR", "name": "String", @@ -7203,283 +7225,200 @@ { "defaultValue": null, "description": "", - "name": "publicKey_unset", + "name": "locked_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Long", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockTransactionCoinbaseReceiverAccountUpdateInput", + "name": "BlockWinnerAccountBalanceQueryInput", "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.", + "description": "", "enumValues": null, "fields": [ { "args": [], - "description": "A list of all directives supported by this server.", - "name": "directives", + "description": "", + "name": "blockHeight", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Directive", - "ofType": null - } - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "args": [], - "description": "If this server supports mutation, the type that mutation operations will be rooted at.", - "name": "mutationType", + "description": "", + "name": "coinbase", "type": { - "kind": "OBJECT", - "name": "__Type", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { "args": [], - "description": "The type that query operations will be rooted at.", - "name": "queryType", + "description": "", + "name": "dateTime", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "args": [], - "description": "If this server supports subscription, the type that subscription operations will be rooted at.", - "name": "subscriptionType", + "description": "", + "name": "effectivePoolStakes", "type": { - "kind": "OBJECT", - "name": "__Type", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { "args": [], - "description": "A list of all types supported by this server.", - "name": "types", + "description": "", + "name": "effectivePoolWeighting", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "__Schema", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { "args": [], "description": "", - "name": "publicKey", + "name": "foundation", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockTransactionUserCommandSource", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { "args": [], "description": "", - "name": "publicKey", + "name": "ledgerHash", "type": { "kind": "SCALAR", "name": "String", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockCreatorAccount", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { - "defaultValue": null, + "args": [], "description": "", - "name": "publicKey", + "name": "paymentHash", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Transaction", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "publicKey_unset", + "name": "paymentId", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandReceiverUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { - "defaultValue": null, + "args": [], "description": "", - "name": "utcDate", + "name": "payout", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Float", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "utcDate_unset", + "name": "publicKey", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "date", + "name": "stakingBalance", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Float", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "date_unset", + "name": "stateHash", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "Block", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "snarkedLedgerHash", + "name": "sumEffectivePoolStakes", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "snarkedLedgerHash_unset", + "name": "superChargedWeighting", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "stagedLedgerHash", + "name": "superchargedContribution", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "stagedLedgerHash_unset", + "name": "totalPoolStakes", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateBlockchainStateUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { "args": [], "description": "", - "name": "token", + "name": "totalRewards", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } } @@ -7487,434 +7426,7187 @@ "inputFields": null, "interfaces": [], "kind": "OBJECT", - "name": "TransactionToAccount", + "name": "Payout", "possibleTypes": null }, { "description": "", "enumValues": null, - "fields": null, - "inputFields": [ + "fields": [ { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + } + ], "description": "", - "name": "publicKey", + "name": "deleteManyBlocks", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "DeleteManyPayload", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionReceiverInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + } + ], "description": "", - "name": "lastVrfOutput", + "name": "deleteManyNextstakes", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "DeleteManyPayload", "ofType": null } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } + } + ], "description": "", - "name": "slotSinceGenesis", + "name": "deleteManyPayouts", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "DeleteManyPayload", "ofType": null } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "ofType": null + } + } + ], "description": "", - "name": "totalCurrency", + "name": "deleteManySnarks", "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "OBJECT", + "name": "DeleteManyPayload", "ofType": null } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } + } + ], "description": "", - "name": "nextEpochData", + "name": "deleteManyStakes", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumInsertInput", + "kind": "OBJECT", + "name": "DeleteManyPayload", "ofType": null } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + } + ], "description": "", - "name": "minWindowDensity", + "name": "deleteManyTransactions", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "DeleteManyPayload", "ofType": null } }, { - "defaultValue": null, - "description": "", - "name": "epochCount", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + } + } + ], "description": "", - "name": "slot", + "name": "deleteOneBlock", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "Block", "ofType": null } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + } + } + ], "description": "", - "name": "hasAncestorInSameCheckpointWindow", + "name": "deleteOneNextstake", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "Nextstake", "ofType": null } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } + } + } + ], "description": "", - "name": "stakingEpochData", + "name": "deleteOnePayout", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumInsertInput", + "kind": "OBJECT", + "name": "Payout", "ofType": null } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SnarkQueryInput", + "ofType": null + } + } + } + ], "description": "", - "name": "blockHeight", + "name": "deleteOneSnark", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "Snark", "ofType": null } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeQueryInput", + "ofType": null + } + } + } + ], "description": "", - "name": "blockchainLength", + "name": "deleteOneStake", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "Stake", "ofType": null } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "query", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", + "ofType": null + } + } + } + ], "description": "", - "name": "epoch", + "name": "deleteOneTransaction", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "Transaction", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { - "defaultValue": 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": "date", + "name": "insertManyBlocks", "type": { - "kind": "SCALAR", - "name": "Long", + "kind": "OBJECT", + "name": "InsertManyPayload", "ofType": null } }, { - "defaultValue": 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": "snarkedLedgerHash", + "name": "insertManyNextstakes", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "InsertManyPayload", "ofType": null } }, { - "defaultValue": 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": "stagedLedgerHash", + "name": "insertManyPayouts", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "InsertManyPayload", "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": "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, + "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": "token", + "name": "insertManySnarks", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "InsertManyPayload", "ofType": null } }, { - "defaultValue": 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": "token_inc", + "name": "insertManyStakes", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "InsertManyPayload", "ofType": null } }, { - "defaultValue": 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": "token_unset", + "name": "insertManyTransactions", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "InsertManyPayload", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionFeePayerUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockInsertInput", + "ofType": null + } + } + } + ], "description": "", - "name": "token", + "name": "insertOneBlock", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "Block", "ofType": null } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeInsertInput", + "ofType": null + } + } + } + ], "description": "", - "name": "token_inc", + "name": "insertOneNextstake", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "Nextstake", "ofType": null } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PayoutInsertInput", + "ofType": null + } + } + } + ], "description": "", - "name": "token_unset", + "name": "insertOnePayout", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "Payout", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionToAccountUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SnarkInsertInput", + "ofType": null + } + } + } + ], "description": "", - "name": "receipt_chain_hash", + "name": "insertOneSnark", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Snark", "ofType": null } }, { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakeInsertInput", + "ofType": null + } + } + } + ], "description": "", - "name": "ledgerHash", + "name": "insertOneStake", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Stake", "ofType": null } }, { - "defaultValue": null, - "description": "", - "name": "timing", - "type": { - "kind": "INPUT_OBJECT", - "name": "StakeTimingInsertInput", - "ofType": null - } - }, - { - "defaultValue": null, + "args": [ + { + "defaultValue": null, + "description": "", + "name": "data", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionInsertInput", + "ofType": null + } + } + } + ], "description": "", - "name": "delegate", + "name": "insertOneTransaction", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Transaction", "ofType": null } }, { - "defaultValue": 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": "token", + "name": "replaceOneBlock", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "Block", "ofType": null } }, { - "defaultValue": 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": "pk", + "name": "replaceOneNextstake", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Nextstake", "ofType": null } }, { - "defaultValue": 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": "voting_for", + "name": "replaceOnePayout", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Payout", "ofType": null } }, { - "defaultValue": 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": "chainId", + "name": "replaceOneSnark", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Snark", "ofType": null } }, { - "defaultValue": 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": "balance", + "name": "replaceOneStake", "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "OBJECT", + "name": "Stake", "ofType": null } }, { - "defaultValue": 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": "nonce", + "name": "replaceOneTransaction", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "Transaction", "ofType": null } }, { - "defaultValue": 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": "permissions", + "name": "updateManyBlocks", "type": { - "kind": "INPUT_OBJECT", - "name": "StakePermissionInsertInput", + "kind": "OBJECT", + "name": "UpdateManyPayload", "ofType": null } }, { - "defaultValue": null, - "description": "", - "name": "epoch", + "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", @@ -7924,17 +14616,161 @@ { "defaultValue": null, "description": "", - "name": "public_key", + "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": "StakeInsertInput", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", "possibleTypes": null }, { @@ -7945,17 +14781,7 @@ { "defaultValue": null, "description": "", - "name": "recipient_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "type", + "name": "hash", "type": { "kind": "SCALAR", "name": "String", @@ -7965,7 +14791,7 @@ { "defaultValue": null, "description": "", - "name": "type_unset", + "name": "hash_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -7975,17 +14801,17 @@ { "defaultValue": null, "description": "", - "name": "fee", + "name": "totalCurrency", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_unset", + "name": "totalCurrency_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -7995,48 +14821,100 @@ { "defaultValue": null, "description": "", - "name": "recipient", + "name": "totalCurrency_inc", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockTransactionFeeTransferUpdateInput", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput", "possibleTypes": null }, { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + "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" + }, { - "defaultValue": null, - "description": "", - "name": "hash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "description": "Location adjacent to a schema definition.", + "name": "SCHEMA" }, { - "defaultValue": null, - "description": "", - "name": "totalCurrency", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } + "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": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput", + "kind": "ENUM", + "name": "__DirectiveLocation", "possibleTypes": null }, { @@ -8046,26 +14924,18 @@ { "args": [], "description": "", - "name": "insertedIds", + "name": "token", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ObjectId", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", - "name": "InsertManyPayload", + "name": "BlockTransactionUserCommandFromAccount", "possibleTypes": null }, { @@ -8073,16 +14943,6 @@ "enumValues": null, "fields": null, "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "token_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, { "defaultValue": null, "description": "", @@ -8092,229 +14952,176 @@ "name": "Int", "ofType": null } - }, - { - "defaultValue": null, - "description": "", - "name": "token_inc", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandToAccountUpdateInput", + "name": "BlockTransactionUserCommandToAccountInsertInput", "possibleTypes": null }, { "description": "", "enumValues": null, - "fields": [ + "fields": null, + "inputFields": [ { - "args": [], + "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "set_verification_key_gt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "canonical", + "name": "set_delegate_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "creator", + "name": "edit_state_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "creatorAccount", + "name": "send_ne", "type": { - "kind": "OBJECT", - "name": "BlockCreatorAccount", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "dateTime", + "name": "send_lte", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "protocolState", + "name": "set_verification_key", "type": { - "kind": "OBJECT", - "name": "BlockProtocolState", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "receivedTime", + "name": "edit_state_lte", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "snarkFees", + "name": "edit_state_gte", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "snarkJobs", + "name": "AND", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "BlockSnarkJob", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakePermissionQueryInput", + "ofType": null + } } } }, { - "args": [], - "description": "", - "name": "stateHash", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "args": [], + "defaultValue": null, "description": "", - "name": "stateHashField", + "name": "OR", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "StakePermissionQueryInput", + "ofType": null + } + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "transactions", + "name": "send_nin", "type": { - "kind": "OBJECT", - "name": "BlockTransaction", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "txFees", + "name": "stake_ne", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "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": [ - { - "args": [], + "defaultValue": null, "description": "", - "name": "publicKey", + "name": "set_permissions_lte", "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": "public_key_nin", + "name": "set_permissions_in", "type": { "kind": "LIST", "name": null, @@ -8328,7 +15135,17 @@ { "defaultValue": null, "description": "", - "name": "ledgerHash_exists", + "name": "send", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "send_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -8338,31 +15155,27 @@ { "defaultValue": null, "description": "", - "name": "chainId_nin", + "name": "set_delegate_lte", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "receipt_chain_hash_exists", + "name": "set_delegate_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "voting_for_lte", + "name": "set_verification_key_ne", "type": { "kind": "SCALAR", "name": "String", @@ -8372,27 +15185,27 @@ { "defaultValue": null, "description": "", - "name": "nonce_gte", + "name": "set_permissions", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timing_exists", + "name": "set_verification_key_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_exists", + "name": "set_verification_key_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -8402,7 +15215,7 @@ { "defaultValue": null, "description": "", - "name": "voting_for_gt", + "name": "set_delegate_ne", "type": { "kind": "SCALAR", "name": "String", @@ -8412,13 +15225,13 @@ { "defaultValue": null, "description": "", - "name": "epoch_in", + "name": "set_verification_key_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } } @@ -8426,17 +15239,21 @@ { "defaultValue": null, "description": "", - "name": "epoch", + "name": "set_verification_key_nin", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "ledgerHash_in", + "name": "edit_state_in", "type": { "kind": "LIST", "name": null, @@ -8450,27 +15267,41 @@ { "defaultValue": null, "description": "", - "name": "nonce_lte", + "name": "send_gt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "receipt_chain_hash_gt", + "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": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "pk_gte", + "name": "edit_state", "type": { "kind": "SCALAR", "name": "String", @@ -8480,7 +15311,7 @@ { "defaultValue": null, "description": "", - "name": "delegate_nin", + "name": "send_in", "type": { "kind": "LIST", "name": null, @@ -8494,7 +15325,7 @@ { "defaultValue": null, "description": "", - "name": "receipt_chain_hash_ne", + "name": "send_gte", "type": { "kind": "SCALAR", "name": "String", @@ -8504,35 +15335,27 @@ { "defaultValue": null, "description": "", - "name": "nonce_in", + "name": "set_permissions_exists", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "balance_nin", + "name": "edit_state_lt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "public_key_gte", + "name": "set_permissions_gte", "type": { "kind": "SCALAR", "name": "String", @@ -8542,7 +15365,57 @@ { "defaultValue": null, "description": "", - "name": "delegate_exists", + "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", @@ -8552,7 +15425,27 @@ { "defaultValue": null, "description": "", - "name": "chainId_in", + "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, @@ -8566,17 +15459,17 @@ { "defaultValue": null, "description": "", - "name": "ledgerHash_lte", + "name": "stake_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "pk_lte", + "name": "set_permissions_gt", "type": { "kind": "SCALAR", "name": "String", @@ -8586,17 +15479,17 @@ { "defaultValue": null, "description": "", - "name": "epoch_gte", + "name": "set_verification_key_gte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "balance_exists", + "name": "edit_state_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -8606,7 +15499,7 @@ { "defaultValue": null, "description": "", - "name": "receipt_chain_hash_in", + "name": "set_delegate_nin", "type": { "kind": "LIST", "name": null, @@ -8620,135 +15513,126 @@ { "defaultValue": null, "description": "", - "name": "public_key_gt", + "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" }, { - "defaultValue": null, "description": "", - "name": "balance_gt", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "name": "BALANCE_DESC" }, { - "defaultValue": null, "description": "", - "name": "epoch_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } + "name": "CHAINID_DESC" }, { - "defaultValue": null, "description": "", - "name": "token_gte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "name": "CHAINID_ASC" }, { - "defaultValue": null, "description": "", - "name": "epoch_lt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "name": "PK_DESC" }, { - "defaultValue": null, "description": "", - "name": "chainId", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "name": "PK_ASC" }, { - "defaultValue": null, "description": "", - "name": "pk_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "name": "PUBLIC_KEY_ASC" }, { - "defaultValue": null, "description": "", - "name": "pk_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "name": "LEDGERHASH_ASC" }, { - "defaultValue": null, "description": "", - "name": "balance", - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "name": "LEDGERHASH_DESC" }, { - "defaultValue": null, "description": "", - "name": "token_lte", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "name": "VOTING_FOR_ASC" }, { - "defaultValue": null, "description": "", - "name": "delegate_lte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "name": "VOTING_FOR_DESC" }, { - "defaultValue": null, "description": "", - "name": "delegate_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "name": "EPOCH_DESC" }, { - "defaultValue": null, "description": "", - "name": "voting_for_lt", + "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", @@ -8756,29 +15640,29 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "permissions_exists", + "name": "send", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "balance_ne", + "name": "set_delegate", "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "ledgerHash_gte", + "name": "set_permissions", "type": { "kind": "SCALAR", "name": "String", @@ -8786,9 +15670,9 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "delegate", + "name": "set_verification_key", "type": { "kind": "SCALAR", "name": "String", @@ -8796,73 +15680,93 @@ } }, { - "defaultValue": null, - "description": "", - "name": "nonce_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, + "args": [], "description": "", - "name": "chainId_exists", + "name": "stake", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "StakePermission", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "delegate_gt", + "name": "token", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "TransactionFeePayer", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "chainId_lt", + "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": "chainId_lte", + "name": "receiver", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "TransactionReceiverInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "pk", + "name": "amount", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "receipt_chain_hash_lte", + "name": "from", "type": { "kind": "SCALAR", "name": "String", @@ -8872,65 +15776,67 @@ { "defaultValue": null, "description": "", - "name": "receipt_chain_hash_nin", + "name": "source", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "TransactionSourceInsertInput", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "ledgerHash_gt", + "name": "token", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "chainId_ne", + "name": "fee", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "public_key_exists", + "name": "nonce", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epoch_nin", + "name": "fromAccount", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockHeight", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "voting_for", + "name": "kind", "type": { "kind": "SCALAR", "name": "String", @@ -8940,41 +15846,37 @@ { "defaultValue": null, "description": "", - "name": "pk_ne", + "name": "isDelegation", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce_gt", + "name": "hash", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "voting_for_in", + "name": "block", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "TransactionBlockStateHashRelationInput", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "ledgerHash", + "name": "failureReason", "type": { "kind": "SCALAR", "name": "String", @@ -8984,75 +15886,67 @@ { "defaultValue": null, "description": "", - "name": "OR", + "name": "dateTime", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "StakeQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "DateTime", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "chainId_gte", + "name": "feeToken", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token", + "name": "toAccount", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epoch_lte", + "name": "memo", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "balance_lt", + "name": "canonical", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timing", + "name": "feePayer", "type": { "kind": "INPUT_OBJECT", - "name": "StakeTimingQueryInput", + "name": "TransactionFeePayerInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "voting_for_ne", + "name": "id", "type": { "kind": "SCALAR", "name": "String", @@ -9062,17 +15956,28 @@ { "defaultValue": null, "description": "", - "name": "token_gt", + "name": "to", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "public_key_ne", + "name": "pk_ne", "type": { "kind": "SCALAR", "name": "String", @@ -9082,51 +15987,47 @@ { "defaultValue": null, "description": "", - "name": "receipt_chain_hash_gte", + "name": "voting_for_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "delegate_ne", + "name": "token_lte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "receipt_chain_hash", + "name": "ledgerHash_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_in", + "name": "pk_gte", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epoch_gt", + "name": "nonce_gte", "type": { "kind": "SCALAR", "name": "Int", @@ -9136,7 +16037,7 @@ { "defaultValue": null, "description": "", - "name": "public_key_lte", + "name": "delegate", "type": { "kind": "SCALAR", "name": "String", @@ -9146,51 +16047,47 @@ { "defaultValue": null, "description": "", - "name": "public_key", + "name": "token_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "voting_for_gte", + "name": "permissions", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "NextstakePermissionQueryInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_lt", + "name": "balance_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "balance_in", + "name": "ledgerHash_ne", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "voting_for_nin", + "name": "ledgerHash_nin", "type": { "kind": "LIST", "name": null, @@ -9204,21 +16101,17 @@ { "defaultValue": null, "description": "", - "name": "public_key_in", + "name": "pk", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "receipt_chain_hash_lt", + "name": "public_key_gte", "type": { "kind": "SCALAR", "name": "String", @@ -9228,13 +16121,13 @@ { "defaultValue": null, "description": "", - "name": "token_nin", + "name": "receipt_chain_hash_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } } @@ -9242,67 +16135,77 @@ { "defaultValue": null, "description": "", - "name": "epoch_ne", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "balance_lte", + "name": "permissions_exists", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "pk_gt", + "name": "nonce_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "balance_gte", + "name": "balance_nin", "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "voting_for_exists", + "name": "AND", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": "", - "name": "permissions", + "name": "voting_for_nin", "type": { - "kind": "INPUT_OBJECT", - "name": "StakePermissionQueryInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "delegate_gte", + "name": "public_key", "type": { "kind": "SCALAR", "name": "String", @@ -9312,7 +16215,7 @@ { "defaultValue": null, "description": "", - "name": "pk_nin", + "name": "public_key_in", "type": { "kind": "LIST", "name": null, @@ -9326,7 +16229,7 @@ { "defaultValue": null, "description": "", - "name": "ledgerHash_ne", + "name": "receipt_chain_hash_ne", "type": { "kind": "SCALAR", "name": "String", @@ -9336,7 +16239,7 @@ { "defaultValue": null, "description": "", - "name": "nonce_exists", + "name": "timing_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -9346,20 +16249,34 @@ { "defaultValue": null, "description": "", - "name": "chainId_gt", + "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": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_ne", + "name": "ledgerHash_gt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, @@ -9376,79 +16293,75 @@ { "defaultValue": null, "description": "", - "name": "delegate_lt", + "name": "balance_gt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce_lt", + "name": "balance_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "ledgerHash_nin", + "name": "pk_lt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "pk_nin", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "StakeQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } } }, { "defaultValue": null, "description": "", - "name": "nonce_ne", + "name": "receipt_chain_hash_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce", + "name": "token_nin", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "ledgerHash_lt", + "name": "ledgerHash_lte", "type": { "kind": "SCALAR", "name": "String", @@ -9458,28 +16371,7 @@ { "defaultValue": null, "description": "", - "name": "pk_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "StakeQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "id", + "name": "voting_for_ne", "type": { "kind": "SCALAR", "name": "String", @@ -9489,37 +16381,45 @@ { "defaultValue": null, "description": "", - "name": "source", + "name": "OR", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandSourceInsertInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NextstakeQueryInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": "", - "name": "toAccount", + "name": "nonce_exists", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandToAccountInsertInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "kind", + "name": "delegate_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "from", + "name": "ledgerHash_gte", "type": { "kind": "SCALAR", "name": "String", @@ -9529,7 +16429,7 @@ { "defaultValue": null, "description": "", - "name": "token", + "name": "nonce_lt", "type": { "kind": "SCALAR", "name": "Int", @@ -9539,37 +16439,41 @@ { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "voting_for_lte", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash", + "name": "nonce", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "isDelegation", + "name": "delegate_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "fee", + "name": "nonce_lte", "type": { "kind": "SCALAR", "name": "Int", @@ -9579,57 +16483,61 @@ { "defaultValue": null, "description": "", - "name": "amount", + "name": "receipt_chain_hash_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feePayer", + "name": "receipt_chain_hash_lt", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFeePayerInsertInput", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fromAccount", + "name": "pk_exists", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFromAccountInsertInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "nonce_in", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "receiver", + "name": "receipt_chain_hash", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandReceiverInsertInput", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "failureReason", + "name": "delegate_lte", "type": { "kind": "SCALAR", "name": "String", @@ -9639,7 +16547,7 @@ { "defaultValue": null, "description": "", - "name": "blockStateHash", + "name": "ledgerHash", "type": { "kind": "SCALAR", "name": "String", @@ -9649,27 +16557,31 @@ { "defaultValue": null, "description": "", - "name": "nonce", + "name": "ledgerHash_in", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "memo", + "name": "balance", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeToken", + "name": "token_lt", "type": { "kind": "SCALAR", "name": "Int", @@ -9679,96 +16591,67 @@ { "defaultValue": null, "description": "", - "name": "to", + "name": "voting_for", "type": { "kind": "SCALAR", "name": "String", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "stateHash_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } }, { "defaultValue": null, "description": "", - "name": "snarkJobs_exists", + "name": "voting_for_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash_in", + "name": "nonce_gt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "creator_exists", + "name": "delegate_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_lt", + "name": "balance_gte", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_lte", + "name": "ledgerHash_lt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash_gte", + "name": "receipt_chain_hash_gte", "type": { "kind": "SCALAR", "name": "String", @@ -9778,31 +16661,27 @@ { "defaultValue": null, "description": "", - "name": "creatorAccount", + "name": "token_gt", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockCreatorAccountQueryInput", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "snarkJobs_in", + "name": "public_key_exists", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash", + "name": "public_key_gt", "type": { "kind": "SCALAR", "name": "String", @@ -9812,7 +16691,7 @@ { "defaultValue": null, "description": "", - "name": "stateHashField_ne", + "name": "delegate_lt", "type": { "kind": "SCALAR", "name": "String", @@ -9822,7 +16701,7 @@ { "defaultValue": null, "description": "", - "name": "creator_lt", + "name": "receipt_chain_hash_gt", "type": { "kind": "SCALAR", "name": "String", @@ -9832,7 +16711,17 @@ { "defaultValue": null, "description": "", - "name": "creator_ne", + "name": "balance_lte", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "delegate_gt", "type": { "kind": "SCALAR", "name": "String", @@ -9842,7 +16731,7 @@ { "defaultValue": null, "description": "", - "name": "creator", + "name": "pk_lte", "type": { "kind": "SCALAR", "name": "String", @@ -9852,7 +16741,7 @@ { "defaultValue": null, "description": "", - "name": "creator_nin", + "name": "public_key_nin", "type": { "kind": "LIST", "name": null, @@ -9866,61 +16755,67 @@ { "defaultValue": null, "description": "", - "name": "receivedTime_gte", + "name": "voting_for_gte", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "pk_gt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "canonical", + "name": "balance_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_gt", + "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": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "snarkJobs", + "name": "receipt_chain_hash_nin", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobQueryInput", + "kind": "SCALAR", + "name": "String", "ofType": null } } @@ -9928,13 +16823,13 @@ { "defaultValue": null, "description": "", - "name": "stateHashField_in", + "name": "token_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } } @@ -9942,13 +16837,13 @@ { "defaultValue": null, "description": "", - "name": "dateTime_nin", + "name": "delegate_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } } @@ -9956,105 +16851,171 @@ { "defaultValue": null, "description": "", - "name": "dateTime_exists", + "name": "token", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHashField_nin", + "name": "timing", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "NextstakeTimingQueryInput", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash_ne", + "name": "nonce_ne", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "canonical_exists", + "name": "balance_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "receivedTime_ne", + "name": "voting_for_lt", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "winnerAccount", + "name": "token_gte", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountQueryInput", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "creator_in", + "name": "public_key_lte", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHashField_gt", + "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": "canonical_ne", + "name": "consensusState", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHashField", + "name": "previousStateHash", "type": { "kind": "SCALAR", "name": "String", @@ -10064,89 +17025,88 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_exists", + "name": "blockchainState", "type": { - "kind": "SCALAR", - "name": "Boolean", + "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": "blockHeight_gte", + "name": "timed_in_epoch_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "creator_gt", + "name": "vesting_period_inc", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "receivedTime_in", + "name": "cliff_time", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_lt", + "name": "initial_minimum_balance_inc", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "initial_minimum_balance", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_lte", + "name": "timed_weighting", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "transactions_exists", + "name": "untimed_slot_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -10156,159 +17116,147 @@ { "defaultValue": null, "description": "", - "name": "stateHash_lte", + "name": "vesting_period_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "cliff_amount_unset", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "receivedTime_gt", + "name": "timed_epoch_end", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "snarkJobs_nin", + "name": "untimed_slot_inc", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_in", + "name": "cliff_amount", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_ne", + "name": "timed_epoch_end_unset", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_in", + "name": "cliff_time_unset", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHashField_lt", + "name": "timed_in_epoch", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "receivedTime_lt", + "name": "vesting_period", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "protocolState_exists", + "name": "vesting_increment", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash_lt", + "name": "vesting_increment_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_gte", + "name": "cliff_amount_inc", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "creator_lte", + "name": "cliff_time_inc", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHashField_lte", + "name": "untimed_slot", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "winnerAccount_exists", + "name": "initial_minimum_balance_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -10318,47 +17266,58 @@ { "defaultValue": null, "description": "", - "name": "receivedTime_lte", + "name": "timed_weighting_inc", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_ne", + "name": "timed_weighting_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "transactions", + "name": "vesting_increment_inc", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionQueryInput", + "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": "receivedTime_exists", + "name": "voting_for", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "nonce", "type": { "kind": "SCALAR", "name": "Int", @@ -10368,27 +17327,27 @@ { "defaultValue": null, "description": "", - "name": "protocolState", + "name": "permissions", "type": { "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateQueryInput", + "name": "StakePermissionInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_gt", + "name": "chainId", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHashField_gte", + "name": "delegate", "type": { "kind": "SCALAR", "name": "String", @@ -10398,61 +17357,57 @@ { "defaultValue": null, "description": "", - "name": "receivedTime", + "name": "pk", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash_gt", + "name": "token", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "receivedTime_nin", + "name": "balance", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHashField_exists", + "name": "epoch", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash_exists", + "name": "receipt_chain_hash", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "creator_gte", + "name": "ledgerHash", "type": { "kind": "SCALAR", "name": "String", @@ -10462,31 +17417,27 @@ { "defaultValue": null, "description": "", - "name": "creatorAccount_exists", + "name": "timing", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "StakeTimingInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_nin", + "name": "public_key", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockQueryInput", + "name": "StakeInsertInput", "possibleTypes": null }, { @@ -10497,13 +17448,23 @@ { "defaultValue": null, "description": "", - "name": "total_in", + "name": "dateTime_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "workIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } } @@ -10511,17 +17472,17 @@ { "defaultValue": null, "description": "", - "name": "locked_lte", + "name": "workIds_unset", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "liquid_lt", + "name": "blockHeight_inc", "type": { "kind": "SCALAR", "name": "Int", @@ -10531,37 +17492,37 @@ { "defaultValue": null, "description": "", - "name": "stateHash_lte", + "name": "blockHeight", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "unknown_ne", + "name": "fee_inc", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "unknown_gte", + "name": "fee_unset", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash_ne", + "name": "blockStateHash", "type": { "kind": "SCALAR", "name": "String", @@ -10571,191 +17532,158 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "locked_gte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_exists", + "name": "prover", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "fee", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountBalanceQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_lt", + "name": "prover_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash_lt", + "name": "blockHeight_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "unknown_nin", + "name": "dateTime", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } + "kind": "SCALAR", + "name": "DateTime", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "total_exists", + "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": "stateHash_nin", + "name": "liquid", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash_gt", + "name": "blockHeight", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "liquid_ne", + "name": "locked", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash", + "name": "total_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "unknown_in", + "name": "unknown", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } + "kind": "SCALAR", + "name": "Long", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "total_lte", + "name": "unknown_unset", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "unknown_lt", + "name": "locked_unset", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "stateHash_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "liquid_gte", + "name": "blockHeight_inc", "type": { "kind": "SCALAR", "name": "Int", @@ -10765,7 +17693,7 @@ { "defaultValue": null, "description": "", - "name": "stateHash_gte", + "name": "stateHash", "type": { "kind": "SCALAR", "name": "String", @@ -10775,7 +17703,7 @@ { "defaultValue": null, "description": "", - "name": "locked_exists", + "name": "liquid_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -10785,7 +17713,7 @@ { "defaultValue": null, "description": "", - "name": "total_ne", + "name": "total", "type": { "kind": "SCALAR", "name": "Long", @@ -10795,197 +17723,264 @@ { "defaultValue": null, "description": "", - "name": "AND", + "name": "liquid_inc", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountBalanceQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_lte", + "name": "blockHeight_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "liquid_nin", + "name": "publicKey", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "total", + "name": "publicKey_unset", "type": { "kind": "SCALAR", - "name": "Long", + "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 + } + } + } + } }, { - "defaultValue": null, - "description": "", - "name": "blockHeight_gte", + "args": [], + "description": "If this server supports mutation, the type that mutation operations will be rooted at.", + "name": "mutationType", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "__Type", "ofType": null } }, { - "defaultValue": null, - "description": "", - "name": "liquid_in", + "args": [], + "description": "The type that query operations will be rooted at.", + "name": "queryType", "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "__Type", "ofType": null } } }, { - "defaultValue": null, - "description": "", - "name": "unknown_gt", + "args": [], + "description": "If this server supports subscription, the type that subscription operations will be rooted at.", + "name": "subscriptionType", "type": { - "kind": "SCALAR", - "name": "Long", + "kind": "OBJECT", + "name": "__Type", "ofType": null } }, { - "defaultValue": null, - "description": "", - "name": "unknown_lte", + "args": [], + "description": "A list of all types supported by this server.", + "name": "types", "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null + "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": "locked_gt", + "name": "blockHeight_ne", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_gt", + "name": "blockStateHash_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_ne", + "name": "fee_nin", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "locked_lt", + "name": "prover_ne", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "locked_ne", + "name": "dateTime_in", "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "locked", + "name": "fee_ne", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash_exists", + "name": "dateTime_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "total_gte", + "name": "blockHeight_lt", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash_in", + "name": "AND", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobQueryInput", + "ofType": null + } } } }, { "defaultValue": null, "description": "", - "name": "liquid", + "name": "blockHeight", "type": { "kind": "SCALAR", "name": "Int", @@ -10995,23 +17990,23 @@ { "defaultValue": null, "description": "", - "name": "unknown_exists", + "name": "dateTime_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "locked_nin", + "name": "dateTime_nin", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Long", + "name": "DateTime", "ofType": null } } @@ -11019,13 +18014,13 @@ { "defaultValue": null, "description": "", - "name": "locked_in", + "name": "blockStateHash_nin", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } } @@ -11033,41 +18028,55 @@ { "defaultValue": null, "description": "", - "name": "total_nin", + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "OR", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobQueryInput", + "ofType": null + } } } }, { "defaultValue": null, "description": "", - "name": "total_gt", + "name": "blockStateHash_lt", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "total_lt", + "name": "dateTime_lte", "type": { "kind": "SCALAR", - "name": "Long", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "liquid_lte", + "name": "fee_lte", "type": { "kind": "SCALAR", "name": "Int", @@ -11077,13 +18086,23 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_in", + "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": "Int", + "name": "String", "ofType": null } } @@ -11091,77 +18110,61 @@ { "defaultValue": null, "description": "", - "name": "liquid_exists", + "name": "fee_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "unknown", + "name": "prover_lt", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "liquid_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountBalanceQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ - { - "args": [], - "description": "", - "name": "blockHeight", + "name": "blockStateHash_gte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "liquid", + "name": "blockStateHash_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "locked", + "name": "blockHeight_gte", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "stateHash", + "name": "blockStateHash", "type": { "kind": "SCALAR", "name": "String", @@ -11169,101 +18172,49 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "total", + "name": "prover_exists", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "unknown", + "name": "dateTime_ne", "type": { "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockWinnerAccountBalance", - "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", + "name": "DateTime", "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": [ - { - "args": [], + "defaultValue": null, "description": "", - "name": "amount", + "name": "blockHeight_lte", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "block", - "type": { - "kind": "OBJECT", - "name": "Block", + "name": "blockStateHash_gt", + "type": { + "kind": "SCALAR", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "fee_gt", "type": { "kind": "SCALAR", "name": "Int", @@ -11271,9 +18222,9 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "canonical", + "name": "blockHeight_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -11281,59 +18232,81 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "dateTime", + "name": "prover", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "failureReason", + "name": "workIds", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "fee", + "name": "fee_gte", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "feePayer", + "name": "prover_nin", "type": { - "kind": "OBJECT", - "name": "TransactionFeePayer", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "feeToken", + "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": "Int", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "from", + "name": "prover_gte", "type": { "kind": "SCALAR", "name": "String", @@ -11341,59 +18314,67 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "fromAccount", + "name": "fee_exists", "type": { - "kind": "OBJECT", - "name": "TransactionFromAccount", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "hash", + "name": "dateTime_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "id", + "name": "workIds_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "isDelegation", + "name": "fee", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "kind", + "name": "blockHeight_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "memo", + "name": "prover_gt", "type": { "kind": "SCALAR", "name": "String", @@ -11401,70 +18382,77 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "nonce", + "name": "blockHeight_in", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "receiver", + "name": "blockHeight_gt", "type": { - "kind": "OBJECT", - "name": "TransactionReceiver", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "source", + "name": "workIds_in", "type": { - "kind": "OBJECT", - "name": "TransactionSource", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "to", + "name": "workIds_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "toAccount", + "name": "dateTime_exists", "type": { - "kind": "OBJECT", - "name": "TransactionToAccount", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "token", + "name": "prover_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } } ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "Transaction", + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobQueryInput", "possibleTypes": null }, { @@ -11475,47 +18463,109 @@ { "defaultValue": null, "description": "", - "name": "timed_in_epoch", + "name": "blockStateHash", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timed_weighting_inc", + "name": "failureReason_lt", "type": { "kind": "SCALAR", - "name": "Float", + "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": "cliff_amount_unset", + "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": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "initial_minimum_balance_unset", + "name": "blockStateHash_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "timed_epoch_end", + "name": "isDelegation_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -11525,27 +18575,31 @@ { "defaultValue": null, "description": "", - "name": "cliff_time", + "name": "hash_lt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "initial_minimum_balance_inc", + "name": "hash_in", "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "untimed_slot_unset", + "name": "isDelegation_ne", "type": { "kind": "SCALAR", "name": "Boolean", @@ -11555,37 +18609,37 @@ { "defaultValue": null, "description": "", - "name": "cliff_amount", + "name": "feePayer", "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerQueryInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timed_in_epoch_unset", + "name": "kind_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "untimed_slot", + "name": "hash", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_time_inc", + "name": "token_lt", "type": { "kind": "SCALAR", "name": "Int", @@ -11595,37 +18649,41 @@ { "defaultValue": null, "description": "", - "name": "untimed_slot_inc", + "name": "hash_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_increment_inc", + "name": "token_in", "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "timed_weighting_unset", + "name": "token_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_increment", + "name": "amount", "type": { "kind": "SCALAR", "name": "Float", @@ -11635,27 +18693,27 @@ { "defaultValue": null, "description": "", - "name": "initial_minimum_balance", + "name": "blockHeight", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_period", + "name": "fromAccount_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_period_inc", + "name": "feeToken_ne", "type": { "kind": "SCALAR", "name": "Int", @@ -11665,108 +18723,87 @@ { "defaultValue": null, "description": "", - "name": "vesting_increment_unset", + "name": "failureReason_ne", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_period_unset", + "name": "feeToken", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_time_unset", + "name": "to_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timed_weighting", + "name": "kind_ne", "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "timed_epoch_end_unset", + "name": "fee_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_amount_inc", + "name": "to_gt", "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": "receiver", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandReceiverUpdateInput", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_unset", + "name": "amount_ne", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeToken_unset", + "name": "dateTime_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce", + "name": "feeToken_lte", "type": { "kind": "SCALAR", "name": "Int", @@ -11776,57 +18813,65 @@ { "defaultValue": null, "description": "", - "name": "id", + "name": "fee_in", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "dateTime_unset", + "name": "memo_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "fee_unset", + "name": "from_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "failureReason_unset", + "name": "id_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token", + "name": "fee", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "toAccount_unset", + "name": "to_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -11836,87 +18881,103 @@ { "defaultValue": null, "description": "", - "name": "from_unset", + "name": "from_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "kind", + "name": "nonce_in", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "feePayer", + "name": "kind_exists", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFeePayerUpdateInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "toAccount", + "name": "failureReason_exists", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandToAccountUpdateInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "source_unset", + "name": "dateTime_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee", + "name": "memo_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "memo", + "name": "amount_in", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "isDelegation_unset", + "name": "failureReason_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "hash", + "name": "from_lt", "type": { "kind": "SCALAR", "name": "String", @@ -11926,57 +18987,69 @@ { "defaultValue": null, "description": "", - "name": "token_unset", + "name": "memo_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fromAccount", + "name": "from_in", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFromAccountUpdateInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "failureReason", + "name": "fee_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "blockStateHash_unset", + "name": "from", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockStateHash", + "name": "to_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "from", + "name": "memo", "type": { "kind": "SCALAR", "name": "String", @@ -11986,17 +19059,25 @@ { "defaultValue": null, "description": "", - "name": "source", + "name": "AND", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandSourceUpdateInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": "", - "name": "fromAccount_unset", + "name": "amount_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -12006,27 +19087,31 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_unset", + "name": "kind_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "memo_unset", + "name": "failureReason_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "feePayer_unset", + "name": "from_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -12036,17 +19121,21 @@ { "defaultValue": null, "description": "", - "name": "amount_inc", + "name": "dateTime_nin", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "fee_inc", + "name": "feeToken_lt", "type": { "kind": "SCALAR", "name": "Int", @@ -12056,47 +19145,47 @@ { "defaultValue": null, "description": "", - "name": "amount", + "name": "toAccount_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "receiver_unset", + "name": "blockHeight_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "kind_unset", + "name": "kind_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce_inc", + "name": "hash_gt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "amount_unset", + "name": "feePayer_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -12106,7 +19195,7 @@ { "defaultValue": null, "description": "", - "name": "token_inc", + "name": "feeToken_gt", "type": { "kind": "SCALAR", "name": "Int", @@ -12116,7 +19205,7 @@ { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "blockHeight_lte", "type": { "kind": "SCALAR", "name": "Int", @@ -12126,17 +19215,17 @@ { "defaultValue": null, "description": "", - "name": "feeToken_inc", + "name": "dateTime", "type": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeToken", + "name": "blockHeight_gt", "type": { "kind": "SCALAR", "name": "Int", @@ -12146,108 +19235,105 @@ { "defaultValue": null, "description": "", - "name": "id_unset", + "name": "failureReason_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "to", + "name": "token_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "nonce_unset", + "name": "hash_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "blockHeight_inc", + "name": "id", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "to_unset", + "name": "memo_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "isDelegation", + "name": "to_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "hash_exists", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Boolean", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "epochLength_lt", + "name": "to_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochLength", + "name": "amount_gt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "seed_in", + "name": "kind_in", "type": { "kind": "LIST", "name": null, @@ -12261,37 +19347,37 @@ { "defaultValue": null, "description": "", - "name": "startCheckpoint_gte", + "name": "nonce_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "startCheckpoint_exists", + "name": "fee_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "ledger", + "name": "from_gt", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lockCheckpoint_lte", + "name": "to_lte", "type": { "kind": "SCALAR", "name": "String", @@ -12301,21 +19387,7 @@ { "defaultValue": null, "description": "", - "name": "epochLength_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "startCheckpoint_lt", + "name": "memo_gte", "type": { "kind": "SCALAR", "name": "String", @@ -12325,25 +19397,17 @@ { "defaultValue": null, "description": "", - "name": "OR", + "name": "nonce_ne", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "seed_gte", + "name": "hash_gte", "type": { "kind": "SCALAR", "name": "String", @@ -12353,7 +19417,7 @@ { "defaultValue": null, "description": "", - "name": "seed_lt", + "name": "id_gte", "type": { "kind": "SCALAR", "name": "String", @@ -12363,17 +19427,17 @@ { "defaultValue": null, "description": "", - "name": "lockCheckpoint_gt", + "name": "blockHeight_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "seed_ne", + "name": "to", "type": { "kind": "SCALAR", "name": "String", @@ -12383,7 +19447,7 @@ { "defaultValue": null, "description": "", - "name": "seed", + "name": "blockStateHash_lte", "type": { "kind": "SCALAR", "name": "String", @@ -12393,13 +19457,13 @@ { "defaultValue": null, "description": "", - "name": "lockCheckpoint_nin", + "name": "blockHeight_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } } @@ -12407,7 +19471,17 @@ { "defaultValue": null, "description": "", - "name": "seed_exists", + "name": "amount_lt", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -12417,17 +19491,17 @@ { "defaultValue": null, "description": "", - "name": "ledger_exists", + "name": "id_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "startCheckpoint_in", + "name": "id_in", "type": { "kind": "LIST", "name": null, @@ -12441,13 +19515,13 @@ { "defaultValue": null, "description": "", - "name": "lockCheckpoint_in", + "name": "dateTime_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } } @@ -12455,17 +19529,27 @@ { "defaultValue": null, "description": "", - "name": "lockCheckpoint_gte", + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "feeToken_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "seed_nin", + "name": "memo_in", "type": { "kind": "LIST", "name": null, @@ -12479,17 +19563,7 @@ { "defaultValue": null, "description": "", - "name": "lockCheckpoint_lt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "lockCheckpoint_exists", + "name": "receiver_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -12499,7 +19573,7 @@ { "defaultValue": null, "description": "", - "name": "startCheckpoint_ne", + "name": "failureReason", "type": { "kind": "SCALAR", "name": "String", @@ -12509,27 +19583,27 @@ { "defaultValue": null, "description": "", - "name": "seed_gt", + "name": "amount_lte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "startCheckpoint_gt", + "name": "feeToken_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "seed_lte", + "name": "kind", "type": { "kind": "SCALAR", "name": "String", @@ -12539,7 +19613,7 @@ { "defaultValue": null, "description": "", - "name": "startCheckpoint_lte", + "name": "memo_ne", "type": { "kind": "SCALAR", "name": "String", @@ -12549,7 +19623,7 @@ { "defaultValue": null, "description": "", - "name": "startCheckpoint_nin", + "name": "id_nin", "type": { "kind": "LIST", "name": null, @@ -12563,7 +19637,7 @@ { "defaultValue": null, "description": "", - "name": "startCheckpoint", + "name": "id_ne", "type": { "kind": "SCALAR", "name": "String", @@ -12573,17 +19647,17 @@ { "defaultValue": null, "description": "", - "name": "lockCheckpoint", + "name": "fee_ne", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochLength_gte", + "name": "blockHeight_ne", "type": { "kind": "SCALAR", "name": "Int", @@ -12593,7 +19667,7 @@ { "defaultValue": null, "description": "", - "name": "lockCheckpoint_ne", + "name": "blockStateHash_gt", "type": { "kind": "SCALAR", "name": "String", @@ -12603,31 +19677,27 @@ { "defaultValue": null, "description": "", - "name": "epochLength_lte", + "name": "fromAccount", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountQueryInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochLength_nin", + "name": "fee_lt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochLength_ne", + "name": "token", "type": { "kind": "SCALAR", "name": "Int", @@ -12637,83 +19707,53 @@ { "defaultValue": null, "description": "", - "name": "epochLength_gt", + "name": "from_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochLength_exists", + "name": "blockStateHash_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "id_exists", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { - "args": [], + "defaultValue": null, "description": "", - "name": "publicKey", + "name": "toAccount", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountQueryInput", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockTransactionUserCommandReceiver", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "workIds", + "name": "blockStateHash_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } } @@ -12721,37 +19761,35 @@ { "defaultValue": null, "description": "", - "name": "blockHeight", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockStateHash", + "name": "OR", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "token_gte", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee", + "name": "token_ne", "type": { "kind": "SCALAR", "name": "Int", @@ -12761,28 +19799,7 @@ { "defaultValue": null, "description": "", - "name": "prover", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "publicKey_unset", + "name": "dateTime_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -12792,78 +19809,57 @@ { "defaultValue": null, "description": "", - "name": "publicKey", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandSourceUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "timed_epoch_end", + "name": "dateTime_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_period", + "name": "failureReason_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "initial_minimum_balance", + "name": "source_exists", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "vesting_increment", + "name": "failureReason_gte", "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "untimed_slot", + "name": "from_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "cliff_amount", + "name": "amount_gte", "type": { "kind": "SCALAR", "name": "Float", @@ -12873,48 +19869,45 @@ { "defaultValue": null, "description": "", - "name": "timed_in_epoch", + "name": "blockHeight_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "cliff_time", + "name": "feeToken_nin", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "timed_weighting", + "name": "token_lte", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "StakeTimingInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "set_verification_key", + "name": "kind_lt", "type": { "kind": "SCALAR", "name": "String", @@ -12924,7 +19917,7 @@ { "defaultValue": null, "description": "", - "name": "stake", + "name": "fee_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -12934,7 +19927,7 @@ { "defaultValue": null, "description": "", - "name": "edit_state", + "name": "blockStateHash_ne", "type": { "kind": "SCALAR", "name": "String", @@ -12944,48 +19937,37 @@ { "defaultValue": null, "description": "", - "name": "send", + "name": "blockHeight_lt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_delegate", + "name": "dateTime_gt", "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "set_permissions", + "name": "receiver", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverQueryInput", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "StakePermissionInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "dateTime_ne", "type": { "kind": "SCALAR", "name": "DateTime", @@ -12995,23 +19977,23 @@ { "defaultValue": null, "description": "", - "name": "creatorAccount_unset", + "name": "nonce_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "snarkJobs", + "name": "to_in", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobUpdateInput", + "kind": "SCALAR", + "name": "String", "ofType": null } } @@ -13019,17 +20001,21 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_unset", + "name": "amount_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "canonical_unset", + "name": "blockStateHash_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -13039,207 +20025,295 @@ { "defaultValue": null, "description": "", - "name": "snarkJobs_unset", + "name": "blockStateHash_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "transactions_unset", + "name": "memo_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "protocolState", + "name": "nonce_gte", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateUpdateInput", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "protocolState_unset", + "name": "hash_ne", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "creatorAccount", + "name": "nonce", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockCreatorAccountUpdateInput", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHashField", + "name": "nonce_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "canonical", + "name": "isDelegation", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "blockHeight", + "name": "coinbase", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Long", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "stateHash_unset", + "name": "coinbaseReceiverAccount", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccount", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "receivedTime_unset", + "name": "feeTransfer", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BlockTransactionFeeTransfer", + "ofType": null + } } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "creator", + "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": "String", + "name": "Int", "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommandToAccount", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "transactions", + "name": "publicKey", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUpdateInput", + "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": "winnerAccount", + "name": "create", "type": { "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountUpdateInput", + "name": "BlockInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "winnerAccount_unset", + "name": "link", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "PayoutStateHashRelationInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "dateTime_unset", + "name": "publicKey", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionCoinbaseReceiverAccountInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "blockHeight_inc", + "name": "seed", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "creator_unset", + "name": "startCheckpoint", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHashField_unset", + "name": "epochLength", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stateHash", + "name": "ledger", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "receivedTime", + "name": "lockCheckpoint", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockUpdateInput", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumInsertInput", "possibleTypes": null }, { @@ -13250,96 +20324,68 @@ { "defaultValue": null, "description": "", - "name": "token_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "token", + "name": "hash", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_inc", + "name": "totalCurrency", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFromAccountUpdateInput", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerInsertInput", "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.", + "description": "", "enumValues": null, - "fields": [ + "fields": null, + "inputFields": [ { - "args": [], + "defaultValue": null, "description": "", - "name": "deprecationReason", + "name": "token", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "description", + "name": "token_inc", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { - "args": [], - "description": "", - "name": "isDeprecated", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - }, - { - "args": [], + "defaultValue": null, "description": "", - "name": "name", + "name": "token_unset", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } } ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "__EnumValue", + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFromAccountUpdateInput", "possibleTypes": null }, { @@ -13350,27 +20396,31 @@ { "defaultValue": null, "description": "", - "name": "type_in", + "name": "OR", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountQueryInput", + "ofType": null + } } } }, { "defaultValue": null, "description": "", - "name": "fee_nin", + "name": "publicKey_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } } @@ -13378,17 +20428,7 @@ { "defaultValue": null, "description": "", - "name": "type_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "type_gte", + "name": "publicKey_gt", "type": { "kind": "SCALAR", "name": "String", @@ -13398,17 +20438,7 @@ { "defaultValue": null, "description": "", - "name": "fee_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "type_lt", + "name": "publicKey", "type": { "kind": "SCALAR", "name": "String", @@ -13418,7 +20448,7 @@ { "defaultValue": null, "description": "", - "name": "type_lte", + "name": "publicKey_lt", "type": { "kind": "SCALAR", "name": "String", @@ -13428,47 +20458,13 @@ { "defaultValue": null, "description": "", - "name": "fee_lt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "type", + "name": "publicKey_lte", "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": "fee_ne", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, { "defaultValue": null, "description": "", @@ -13481,7 +20477,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "BlockTransactionFeeTransferQueryInput", + "name": "BlockCreatorAccountQueryInput", "ofType": null } } @@ -13490,41 +20486,17 @@ { "defaultValue": null, "description": "", - "name": "type_gt", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "fee_gt", + "name": "publicKey_exists", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "type_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "recipient_nin", + "name": "publicKey_nin", "type": { "kind": "LIST", "name": null, @@ -13532,47 +20504,13 @@ "kind": "SCALAR", "name": "String", "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "type_ne", - "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_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "recipient_lt", + "name": "publicKey_ne", "type": { "kind": "SCALAR", "name": "String", @@ -13582,80 +20520,103 @@ { "defaultValue": null, "description": "", - "name": "fee_gte", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "recipient_exists", + "name": "publicKey_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "fee", + "name": "publicKey", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommandReceiver", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "recipient", + "name": "token", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommandFeePayer", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "recipient_lte", + "name": "token_gt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "recipient_ne", + "name": "token", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "recipient_gt", + "name": "token_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_lte", + "name": "token_lte", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, @@ -13671,81 +20632,56 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "BlockTransactionFeeTransferQueryInput", + "name": "TransactionToAccountQueryInput", "ofType": null } } } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionFeeTransferQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "publicKey_ne", + "name": "token_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_gt", + "name": "token_ne", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "token_in", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionCoinbaseReceiverAccountQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } } }, { "defaultValue": null, "description": "", - "name": "publicKey_gte", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "publicKey_in", + "name": "token_nin", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } } @@ -13753,7 +20689,7 @@ { "defaultValue": null, "description": "", - "name": "OR", + "name": "AND", "type": { "kind": "LIST", "name": null, @@ -13762,7 +20698,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "BlockTransactionCoinbaseReceiverAccountQueryInput", + "name": "TransactionToAccountQueryInput", "ofType": null } } @@ -13771,61 +20707,78 @@ { "defaultValue": null, "description": "", - "name": "publicKey", + "name": "token_lt", "type": { "kind": "SCALAR", - "name": "String", + "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 } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "publicKey_lt", + "name": "cliff_time", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "publicKey_nin", + "name": "initial_minimum_balance", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "publicKey_exists", + "name": "vesting_increment", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "publicKey_lte", + "name": "vesting_period", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } } ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionCoinbaseReceiverAccountQueryInput", + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "NextstakeTiming", "possibleTypes": null }, { @@ -13836,7 +20789,7 @@ { "defaultValue": null, "description": "", - "name": "publicKey", + "name": "blockStateHash", "type": { "kind": "SCALAR", "name": "String", @@ -13846,27 +20799,61 @@ { "defaultValue": null, "description": "", - "name": "publicKey_unset", + "name": "dateTime", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "DateTime", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionReceiverUpdateInput", - "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, + }, + { + "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": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobInsertInput", "possibleTypes": null }, { @@ -13877,7 +20864,17 @@ { "defaultValue": null, "description": "", - "name": "publicKey_exists", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "chainId_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -13887,7 +20884,7 @@ { "defaultValue": null, "description": "", - "name": "publicKey", + "name": "receipt_chain_hash", "type": { "kind": "SCALAR", "name": "String", @@ -13897,69 +20894,57 @@ { "defaultValue": null, "description": "", - "name": "publicKey_lte", + "name": "token_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_nin", + "name": "ledgerHash", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "epoch_unset", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandReceiverQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_gt", + "name": "epoch", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_lt", + "name": "balance_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_ne", + "name": "voting_for", "type": { "kind": "SCALAR", "name": "String", @@ -13969,140 +20954,97 @@ { "defaultValue": null, "description": "", - "name": "publicKey_gte", + "name": "balance_inc", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_in", + "name": "nonce_unset", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "timing", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandReceiverQueryInput", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "StakeTimingUpdateInput", + "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandReceiverQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "token_gte", + "name": "voting_for_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_lt", + "name": "balance", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "delegate_unset", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFromAccountQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_lte", + "name": "public_key", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_in", + "name": "nonce", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "permissions", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFromAccountQueryInput", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "StakePermissionUpdateInput", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token", + "name": "nonce_inc", "type": { "kind": "SCALAR", "name": "Int", @@ -14112,31 +21054,27 @@ { "defaultValue": null, "description": "", - "name": "token_nin", + "name": "pk_unset", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_ne", + "name": "ledgerHash_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_exists", + "name": "public_key_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -14146,135 +21084,97 @@ { "defaultValue": null, "description": "", - "name": "token_gt", + "name": "timing_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFromAccountQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "create", + "name": "permissions_unset", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockInsertInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "link", + "name": "token_inc", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionBlockStateHashRelationInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "fee", + "name": "epoch_inc", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "recipient", + "name": "receipt_chain_hash_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "type", + "name": "pk", "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": "chainId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, { "defaultValue": null, "description": "", - "name": "token", + "name": "delegate", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "TransactionFeePayerInsertInput", + "name": "StakeUpdateInput", "possibleTypes": null }, { - "description": "", + "description": "The `Boolean` scalar type represents `true` or `false`.", "enumValues": null, - "fields": [ - { - "args": [], - "description": "", - "name": "deletedCount", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - } - ], + "fields": null, "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "DeleteManyPayload", + "interfaces": null, + "kind": "SCALAR", + "name": "Boolean", "possibleTypes": null }, { @@ -14285,20 +21185,20 @@ { "defaultValue": null, "description": "", - "name": "balance", + "name": "publicKey_ne", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountBalanceUpdateInput", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "balance_unset", + "name": "publicKey_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, @@ -14315,308 +21215,131 @@ { "defaultValue": null, "description": "", - "name": "publicKey_unset", + "name": "publicKey_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ - { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockQueryInput", - "ofType": null - } + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null } - ], - "description": "", - "name": "block", - "type": { - "kind": "OBJECT", - "name": "Block", - "ofType": null } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockQueryInput", - "ofType": null - } - }, - { - "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": "blocks", + "name": "balance", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Block", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountBalanceQueryInput", + "ofType": null } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "SnarkQueryInput", - "ofType": null - } - } - ], + "defaultValue": null, "description": "", - "name": "snark", + "name": "publicKey_lte", "type": { - "kind": "OBJECT", - "name": "Snark", + "kind": "SCALAR", + "name": "String", "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 - } - } - ], + "defaultValue": null, "description": "", - "name": "snarks", + "name": "publicKey_gte", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Snark", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "StakeQueryInput", - "ofType": null - } - } - ], + "defaultValue": null, "description": "", - "name": "stake", + "name": "publicKey_exists", "type": { - "kind": "OBJECT", - "name": "Stake", + "kind": "SCALAR", + "name": "Boolean", "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 - } - } - ], + "defaultValue": null, "description": "", - "name": "stakes", + "name": "OR", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Stake", + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountQueryInput", "ofType": null } } } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionQueryInput", - "ofType": null - } - } - ], + "defaultValue": null, "description": "", - "name": "transaction", + "name": "balance_exists", "type": { - "kind": "OBJECT", - "name": "Transaction", + "kind": "SCALAR", + "name": "Boolean", "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 - } + "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": "transactions", + "name": "AND", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Transaction", + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountQueryInput", "ofType": null } } } } ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "Query", + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountQueryInput", "possibleTypes": null }, { @@ -14626,38 +21349,27 @@ { "args": [], "description": "", - "name": "token", + "name": "epochLength", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockTransactionUserCommandFromAccount", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { "args": [], "description": "", - "name": "balance", + "name": "ledger", "type": { - "kind": "SCALAR", - "name": "Float", + "kind": "OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedger", "ofType": null } }, { "args": [], "description": "", - "name": "chainId", + "name": "lockCheckpoint", "type": { "kind": "SCALAR", "name": "String", @@ -14667,7 +21379,7 @@ { "args": [], "description": "", - "name": "delegate", + "name": "seed", "type": { "kind": "SCALAR", "name": "String", @@ -14677,27 +21389,49 @@ { "args": [], "description": "", - "name": "delegationTotals", + "name": "startCheckpoint", "type": { - "kind": "OBJECT", - "name": "DelegationTotal", + "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 } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "epoch", + "name": "balance_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "ledgerHash", + "name": "publicKey", "type": { "kind": "SCALAR", "name": "String", @@ -14705,7 +21439,28 @@ } }, { - "args": [], + "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": { @@ -14715,105 +21470,89 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "permissions", + "name": "toAccount_unset", "type": { - "kind": "OBJECT", - "name": "StakePermission", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "pk", + "name": "failureReason_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "public_key", + "name": "blockHeight_inc", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "receipt_chain_hash", + "name": "nonce_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "timing", + "name": "blockStateHash", "type": { - "kind": "OBJECT", - "name": "StakeTiming", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "token", + "name": "to_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "voting_for", + "name": "blockHeight", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "Stake", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "workIds", + "name": "fromAccount_unset", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "token", "type": { "kind": "SCALAR", "name": "Int", @@ -14823,17 +21562,17 @@ { "defaultValue": null, "description": "", - "name": "block", + "name": "failureReason", "type": { - "kind": "INPUT_OBJECT", - "name": "SnarkBlockStateHashRelationInput", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "canonical", + "name": "amount_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -14843,17 +21582,17 @@ { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "dateTime_unset", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee", + "name": "amount_inc", "type": { "kind": "SCALAR", "name": "Float", @@ -14863,28 +21602,17 @@ { "defaultValue": null, "description": "", - "name": "prover", + "name": "id", "type": { "kind": "SCALAR", "name": "String", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "SnarkInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "consensusState_unset", + "name": "fee_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -14894,37 +21622,37 @@ { "defaultValue": null, "description": "", - "name": "previousStateHash", + "name": "kind_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "previousStateHash_unset", + "name": "to", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockchainState", + "name": "source_unset", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateBlockchainStateUpdateInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockchainState_unset", + "name": "feeToken_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -14934,58 +21662,37 @@ { "defaultValue": null, "description": "", - "name": "consensusState", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateUpdateInput", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "epochLength", + "name": "isDelegation", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "seed", + "name": "feePayer_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "startCheckpoint", + "name": "memo_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lockCheckpoint_unset", + "name": "token_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -14995,17 +21702,17 @@ { "defaultValue": null, "description": "", - "name": "epochLength_inc", + "name": "fee_inc", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "startCheckpoint_unset", + "name": "blockHeight_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -15015,17 +21722,17 @@ { "defaultValue": null, "description": "", - "name": "ledger_unset", + "name": "fromAccount", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountUpdateInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "seed_unset", + "name": "isDelegation_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -15035,17 +21742,17 @@ { "defaultValue": null, "description": "", - "name": "epochLength_unset", + "name": "feeToken", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lockCheckpoint", + "name": "from", "type": { "kind": "SCALAR", "name": "String", @@ -15055,230 +21762,187 @@ { "defaultValue": null, "description": "", - "name": "ledger", + "name": "toAccount", "type": { "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerUpdateInput", + "name": "BlockTransactionUserCommandToAccountUpdateInput", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { - "args": [], + "defaultValue": null, "description": "", - "name": "balance", + "name": "hash", "type": { - "kind": "OBJECT", - "name": "BlockWinnerAccountBalance", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "publicKey", + "name": "memo", "type": { "kind": "SCALAR", "name": "String", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockWinnerAccount", - "possibleTypes": null - }, - { - "description": "", - "enumValues": [ - { - "description": "", - "name": "BLOCKSTATEHASH_ASC" - }, - { - "description": "", - "name": "NONCE_ASC" - }, - { - "description": "", - "name": "TO_DESC" - }, - { - "description": "", - "name": "BLOCKHEIGHT_DESC" - }, - { - "description": "", - "name": "DATETIME_ASC" - }, - { - "description": "", - "name": "FEE_DESC" - }, - { - "description": "", - "name": "FEETOKEN_ASC" - }, - { - "description": "", - "name": "KIND_DESC" - }, - { - "description": "", - "name": "AMOUNT_ASC" - }, - { - "description": "", - "name": "HASH_ASC" - }, - { - "description": "", - "name": "DATETIME_DESC" - }, - { - "description": "", - "name": "FROM_DESC" - }, - { - "description": "", - "name": "ID_DESC" - }, - { - "description": "", - "name": "MEMO_ASC" - }, - { - "description": "", - "name": "BLOCKSTATEHASH_DESC" - }, - { - "description": "", - "name": "FAILUREREASON_DESC" - }, - { - "description": "", - "name": "FEETOKEN_DESC" - }, - { - "description": "", - "name": "FEE_ASC" - }, - { - "description": "", - "name": "HASH_DESC" - }, - { - "description": "", - "name": "TOKEN_ASC" - }, - { - "description": "", - "name": "TOKEN_DESC" - }, - { - "description": "", - "name": "FAILUREREASON_ASC" - }, - { - "description": "", - "name": "TO_ASC" - }, - { - "description": "", - "name": "BLOCKHEIGHT_ASC" }, { + "defaultValue": null, "description": "", - "name": "NONCE_DESC" + "name": "hash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, { + "defaultValue": null, "description": "", - "name": "ID_ASC" + "name": "id_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, { + "defaultValue": null, "description": "", - "name": "FROM_ASC" + "name": "receiver_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, { + "defaultValue": null, "description": "", - "name": "MEMO_DESC" + "name": "source", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceUpdateInput", + "ofType": null + } }, { + "defaultValue": null, "description": "", - "name": "KIND_ASC" + "name": "blockStateHash_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, { + "defaultValue": null, "description": "", - "name": "AMOUNT_DESC" - } - ], - "fields": null, - "inputFields": null, - "interfaces": null, - "kind": "ENUM", - "name": "TransactionSortByInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": [ - { - "description": "", - "name": "PROVER_ASC" + "name": "nonce_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, { + "defaultValue": null, "description": "", - "name": "PROVER_DESC" + "name": "from_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } }, { + "defaultValue": null, "description": "", - "name": "BLOCKHEIGHT_ASC" + "name": "feePayer", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerUpdateInput", + "ofType": null + } }, { + "defaultValue": null, "description": "", - "name": "BLOCKSTATEHASH_DESC" + "name": "dateTime", + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } }, { + "defaultValue": null, "description": "", - "name": "DATETIME_ASC" + "name": "kind", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, { + "defaultValue": null, "description": "", - "name": "DATETIME_DESC" + "name": "fee", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } }, { + "defaultValue": null, "description": "", - "name": "FEE_DESC" + "name": "feeToken_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, { + "defaultValue": null, "description": "", - "name": "BLOCKHEIGHT_DESC" + "name": "amount", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } }, { + "defaultValue": null, "description": "", - "name": "BLOCKSTATEHASH_ASC" + "name": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, { + "defaultValue": null, "description": "", - "name": "FEE_ASC" + "name": "receiver", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverUpdateInput", + "ofType": null + } } ], - "fields": null, - "inputFields": null, "interfaces": null, - "kind": "ENUM", - "name": "SnarkSortByInput", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandUpdateInput", "possibleTypes": null }, { @@ -15289,27 +21953,27 @@ { "defaultValue": null, "description": "", - "name": "amount_gte", + "name": "token_gt", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "kind", + "name": "token_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeToken_lt", + "name": "token_lte", "type": { "kind": "SCALAR", "name": "Int", @@ -15319,43 +21983,83 @@ { "defaultValue": null, "description": "", - "name": "token_ne", + "name": "token_in", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "feeToken_ne", + "name": "token_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_lte", + "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": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "amount_in", + "name": "token_nin", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } } @@ -15363,37 +22067,77 @@ { "defaultValue": null, "description": "", - "name": "fee_gt", + "name": "token_ne", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "kind_ne", + "name": "token_lt", "type": { "kind": "SCALAR", - "name": "String", + "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 } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "toAccount", + "name": "cliff_time", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionToAccountQueryInput", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "memo_exists", + "name": "initial_minimum_balance", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "timed_epoch_end", "type": { "kind": "SCALAR", "name": "Boolean", @@ -15401,9 +22145,9 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "feePayer_exists", + "name": "timed_in_epoch", "type": { "kind": "SCALAR", "name": "Boolean", @@ -15411,59 +22155,82 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "token_lt", + "name": "timed_weighting", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "hash_ne", + "name": "untimed_slot", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "amount_exists", + "name": "vesting_increment", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "feeToken_exists", + "name": "vesting_period", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "StakeTiming", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "to_lt", + "name": "token", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionToAccountInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "kind_lt", + "name": "send", "type": { "kind": "SCALAR", "name": "String", @@ -15473,31 +22240,17 @@ { "defaultValue": null, "description": "", - "name": "hash_nin", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "blockHeight_lt", + "name": "set_verification_key", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_exists", + "name": "send_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -15507,21 +22260,17 @@ { "defaultValue": null, "description": "", - "name": "dateTime_in", + "name": "set_delegate", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "canonical", + "name": "set_delegate_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -15531,17 +22280,17 @@ { "defaultValue": null, "description": "", - "name": "nonce", + "name": "set_permissions", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "from_exists", + "name": "set_verification_key_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -15551,7 +22300,7 @@ { "defaultValue": null, "description": "", - "name": "canonical_exists", + "name": "stake_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -15561,51 +22310,58 @@ { "defaultValue": null, "description": "", - "name": "from", + "name": "set_permissions_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "from_ne", + "name": "edit_state_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "to_nin", + "name": "stake", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce_lte", + "name": "edit_state", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "NextstakePermissionUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "feeToken_gte", + "name": "blockHeight", "type": { "kind": "SCALAR", "name": "Int", @@ -15615,81 +22371,77 @@ { "defaultValue": null, "description": "", - "name": "id_nin", + "name": "winnerAccount", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountUpdateInput", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "amount", + "name": "creator", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "kind_lte", + "name": "blockHeight_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "memo_lte", + "name": "receivedTime_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "failureReason_lt", + "name": "creatorAccount", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountUpdateInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "kind_gt", + "name": "dateTime", "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "id_gt", + "name": "dateTime_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "from_lt", + "name": "stateHashField", "type": { "kind": "SCALAR", "name": "String", @@ -15699,7 +22451,7 @@ { "defaultValue": null, "description": "", - "name": "receiver_exists", + "name": "canonical_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -15709,55 +22461,47 @@ { "defaultValue": null, "description": "", - "name": "id_in", + "name": "stateHash", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "failureReason_gte", + "name": "canonical", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "kind_nin", + "name": "winnerAccount_unset", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "from_gte", + "name": "blockHeight_inc", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "canonical_ne", + "name": "snarkJobs_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -15767,17 +22511,17 @@ { "defaultValue": null, "description": "", - "name": "token", + "name": "stateHash_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce_exists", + "name": "protocolState_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -15787,67 +22531,71 @@ { "defaultValue": null, "description": "", - "name": "dateTime_gte", + "name": "transactions", "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUpdateInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "kind_gte", + "name": "protocolState", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateUpdateInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeToken", + "name": "receivedTime", "type": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "from_lte", + "name": "creator_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "isDelegation", + "name": "snarkJobs", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobUpdateInput", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "blockHeight_lte", + "name": "stateHashField_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "isDelegation_exists", + "name": "creatorAccount_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -15857,55 +22605,58 @@ { "defaultValue": null, "description": "", - "name": "to_in", + "name": "transactions_unset", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "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": "dateTime_lt", + "name": "lockCheckpoint_unset", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_in", + "name": "seed", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feePayer", + "name": "startCheckpoint_unset", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionFeePayerQueryInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "from_gt", + "name": "lockCheckpoint", "type": { "kind": "SCALAR", "name": "String", @@ -15915,17 +22666,17 @@ { "defaultValue": null, "description": "", - "name": "memo_gt", + "name": "ledger_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_exists", + "name": "epochLength_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -15935,17 +22686,17 @@ { "defaultValue": null, "description": "", - "name": "fee_lt", + "name": "ledger", "type": { - "kind": "SCALAR", - "name": "Long", + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "id_ne", + "name": "startCheckpoint", "type": { "kind": "SCALAR", "name": "String", @@ -15955,17 +22706,17 @@ { "defaultValue": null, "description": "", - "name": "amount_ne", + "name": "epochLength_inc", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "block_exists", + "name": "seed_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -15975,67 +22726,121 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_gt", + "name": "epochLength", "type": { "kind": "SCALAR", "name": "Int", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "hash_lt", + "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": "failureReason_nin", + "name": "OR", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "TransactionSourceQueryInput", + "ofType": null + } } } }, { "defaultValue": null, "description": "", - "name": "nonce_gt", + "name": "publicKey_gt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "isDelegation_ne", + "name": "publicKey_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_nin", + "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": "Int", + "name": "String", "ofType": null } } @@ -16043,229 +22848,225 @@ { "defaultValue": null, "description": "", - "name": "to_ne", + "name": "publicKey_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "fee_lte", + "name": "publicKey_gte", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "source_exists", + "name": "publicKey_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_lte", + "name": "publicKey", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "publicKey_ne", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce_gte", + "name": "publicKey_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionSourceQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "fromAccount_exists", + "name": "publicKey", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "id_exists", + "name": "publicKey", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_ne", + "name": "balance", "type": { - "kind": "SCALAR", - "name": "Long", + "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": "failureReason_ne", + "name": "token", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "TransactionFeePayerInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": [ { - "defaultValue": null, "description": "", - "name": "amount_gt", - "type": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } + "name": "FEE_ASC" }, { - "defaultValue": null, "description": "", - "name": "feeToken_gt", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "name": "PROVER_ASC" }, { - "defaultValue": null, "description": "", - "name": "fee_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } + "name": "BLOCKHEIGHT_ASC" }, { - "defaultValue": null, "description": "", - "name": "blockHeight", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "name": "BLOCKSTATEHASH_DESC" }, { - "defaultValue": null, "description": "", - "name": "kind_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "name": "DATETIME_ASC" }, { - "defaultValue": null, "description": "", - "name": "fee_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } - } + "name": "FEE_DESC" }, { - "defaultValue": null, "description": "", - "name": "blockHeight_in", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } + "name": "PROVER_DESC" }, { - "defaultValue": null, "description": "", - "name": "to_exists", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } + "name": "BLOCKHEIGHT_DESC" }, { - "defaultValue": null, "description": "", - "name": "dateTime_gt", - "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } + "name": "BLOCKSTATEHASH_ASC" }, { - "defaultValue": null, "description": "", - "name": "memo", + "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": "String", + "name": "Int", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "blockHeight_ne", + "name": "canonical", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "id_gte", + "name": "creator", "type": { "kind": "SCALAR", "name": "String", @@ -16273,145 +23074,156 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "amount_lte", + "name": "creatorAccount", "type": { - "kind": "SCALAR", - "name": "Long", + "kind": "OBJECT", + "name": "BlockCreatorAccount", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "id_lte", + "name": "dateTime", "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "memo_in", + "name": "protocolState", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "OBJECT", + "name": "BlockProtocolState", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "to_gte", + "name": "receivedTime", "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "receiver", + "name": "snarkFees", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionReceiverQueryInput", + "kind": "SCALAR", + "name": "Long", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "OR", + "name": "snarkJobs", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionQueryInput", - "ofType": null - } + "kind": "OBJECT", + "name": "BlockSnarkJob", + "ofType": null } } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "dateTime_exists", + "name": "stateHash", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "token_gte", + "name": "stateHashField", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "kind_exists", + "name": "transactions", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "BlockTransaction", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "token_nin", + "name": "txFees", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Long", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "block", + "name": "winnerAccount", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockQueryInput", + "kind": "OBJECT", + "name": "BlockWinnerAccount", "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Block", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "source", + "name": "publicKey", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionSourceQueryInput", + "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": "id", + "name": "stateHashField", "type": { "kind": "SCALAR", "name": "String", @@ -16421,43 +23233,43 @@ { "defaultValue": null, "description": "", - "name": "fee", - "type": { - "kind": "SCALAR", - "name": "Long", + "name": "transactions", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_gte", + "name": "receivedTime", "type": { "kind": "SCALAR", - "name": "Long", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_gte", + "name": "dateTime", "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "amount_nin", + "name": "snarkJobs", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Long", + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobInsertInput", "ofType": null } } @@ -16465,113 +23277,137 @@ { "defaultValue": null, "description": "", - "name": "amount_lt", + "name": "canonical", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "id_lt", + "name": "winnerAccount", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "BlockWinnerAccountInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "failureReason_exists", + "name": "protocolState", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "creator", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_in", + "name": "creatorAccount", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountInsertInput", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_gt", + "name": "stateHash", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash", + "name": "blockHeight", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "dateTime_nin", + "name": "matchedCount", "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "DateTime", + "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": "nonce_ne", + "name": "timed_epoch_end", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeToken_lte", + "name": "cliff_time", "type": { "kind": "SCALAR", "name": "Int", @@ -16581,17 +23417,17 @@ { "defaultValue": null, "description": "", - "name": "to_lte", + "name": "initial_minimum_balance", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_lte", + "name": "vesting_period", "type": { "kind": "SCALAR", "name": "Int", @@ -16601,75 +23437,77 @@ { "defaultValue": null, "description": "", - "name": "memo_gte", + "name": "untimed_slot", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_nin", + "name": "vesting_increment", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "to", + "name": "timed_in_epoch", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fromAccount", + "name": "cliff_amount", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionFromAccountQueryInput", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "toAccount_exists", + "name": "timed_weighting", "type": { "kind": "SCALAR", - "name": "Boolean", + "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": [ { - "defaultValue": null, - "description": "", - "name": "failureReason_in", + "args": [], + "description": "A GraphQL-formatted string representing the default value for this input value.", + "name": "defaultValue", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "memo_ne", + "name": "description", "type": { "kind": "SCALAR", "name": "String", @@ -16677,133 +23515,171 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "nonce_in", + "name": "name", "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "blockHeight_exists", + "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": "Boolean", + "name": "Long", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "feeToken_in", + "name": "snarkedLedgerHash", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "failureReason_lte", + "name": "stagedLedgerHash", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "utcDate", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockProtocolStateBlockchainState", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "failureReason", + "name": "token", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "hash_gt", + "name": "totalCurrency", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "memo_nin", + "name": "lastVrfOutput", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeToken_nin", + "name": "epochCount", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "from_nin", + "name": "stakingEpochData", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumInsertInput", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "from_in", + "name": "blockHeight", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce_lt", + "name": "blockchainLength", "type": { "kind": "SCALAR", "name": "Int", @@ -16813,71 +23689,67 @@ { "defaultValue": null, "description": "", - "name": "failureReason_gt", + "name": "epoch", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "memo_lt", + "name": "slot", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "to_gt", + "name": "slotSinceGenesis", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce_nin", + "name": "minWindowDensity", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_gte", + "name": "nextEpochData", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_ne", + "name": "hasAncestorInSameCheckpointWindow", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "TransactionQueryInput", + "name": "BlockProtocolStateConsensusStateInsertInput", "possibleTypes": null }, { @@ -16887,21 +23759,57 @@ { "args": [], "description": "", - "name": "matchedCount", + "name": "insertedIds", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "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": "modifiedCount", + "name": "deletedCount", "type": { "kind": "NON_NULL", "name": null, @@ -16916,27 +23824,27 @@ "inputFields": null, "interfaces": [], "kind": "OBJECT", - "name": "UpdateManyPayload", + "name": "DeleteManyPayload", "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.", + "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": "String", + "name": "Int", "possibleTypes": null }, { - "description": "The `Boolean` scalar type represents `true` or `false`.", + "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": "Boolean", + "name": "String", "possibleTypes": null }, { @@ -16947,68 +23855,61 @@ { "defaultValue": null, "description": "", - "name": "publicKey", + "name": "publicKey_lte", "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": "token", + "name": "publicKey_gte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_inc", + "name": "publicKey_lt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_unset", + "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": "Boolean", + "name": "String", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionFromAccountUpdateInput", - "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": [], + "defaultValue": null, "description": "", - "name": "description", + "name": "publicKey_gt", "type": { "kind": "SCALAR", "name": "String", @@ -17016,49 +23917,33 @@ } }, { - "args": [ - { - "defaultValue": "false", - "description": "", - "name": "includeDeprecated", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], + "defaultValue": null, + "description": "", + "name": "publicKey_exists", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + { + "defaultValue": null, "description": "", - "name": "enumValues", + "name": "publicKey_nin", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__EnumValue", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } } }, { - "args": [ - { - "defaultValue": "false", - "description": "", - "name": "includeDeprecated", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], + "defaultValue": null, "description": "", - "name": "fields", + "name": "AND", "type": { "kind": "LIST", "name": null, @@ -17066,17 +23951,17 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "__Field", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverQueryInput", "ofType": null } } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "inputFields", + "name": "OR", "type": { "kind": "LIST", "name": null, @@ -17084,49 +23969,67 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "__InputValue", + "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": "interfaces", + "name": "liquid", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "args": [], "description": "", - "name": "kind", + "name": "locked", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "__TypeKind", - "ofType": null - } + "kind": "SCALAR", + "name": "Long", + "ofType": null } }, { "args": [], "description": "", - "name": "name", + "name": "stateHash", "type": { "kind": "SCALAR", "name": "String", @@ -17136,57 +24039,38 @@ { "args": [], "description": "", - "name": "ofType", + "name": "total", "type": { - "kind": "OBJECT", - "name": "__Type", + "kind": "SCALAR", + "name": "Long", "ofType": null } }, { "args": [], "description": "", - "name": "possibleTypes", + "name": "unknown", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__Type", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Long", + "ofType": null } } ], "inputFields": null, "interfaces": [], "kind": "OBJECT", - "name": "__Type", - "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", + "name": "BlockWinnerAccountBalance", "possibleTypes": null }, { "description": "", "enumValues": null, - "fields": null, - "inputFields": [ + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "blockHeight_lte", + "name": "blockHeight", "type": { "kind": "SCALAR", "name": "Int", @@ -17194,23 +24078,19 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "totalCurrency_nin", + "name": "blockchainLength", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "slotSinceGenesis_lte", + "name": "epoch", "type": { "kind": "SCALAR", "name": "Int", @@ -17218,41 +24098,57 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "slot_in", + "name": "epochCount", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "slot_ne", + "name": "hasAncestorInSameCheckpointWindow", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "blockchainLength_exists", + "name": "lastVrfOutput", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "defaultValue": 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": { @@ -17262,91 +24158,111 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "slotSinceGenesis_nin", + "name": "slotSinceGenesis", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "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": "slotSinceGenesis_lt", + "name": "publicKey_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockchainLength_in", + "name": "effectivePoolStakes_ne", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hasAncestorInSameCheckpointWindow_ne", + "name": "stateHash", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochCount_gte", + "name": "coinbase_gt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "superChargedWeighting_in", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } } }, { "defaultValue": null, "description": "", - "name": "totalCurrency_in", + "name": "blockHeight_nin", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } } @@ -17354,51 +24270,47 @@ { "defaultValue": null, "description": "", - "name": "lastVrfOutput_lte", + "name": "publicKey_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "slot_exists", + "name": "totalPoolStakes_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "slot_nin", + "name": "effectivePoolStakes", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochCount_ne", + "name": "superChargedWeighting_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lastVrfOutput_gte", + "name": "dateTime_gt", "type": { "kind": "SCALAR", "name": "String", @@ -17408,13 +24320,13 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_in", + "name": "stakingBalance_nin", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } } @@ -17422,41 +24334,37 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_lt", + "name": "publicKey_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lastVrfOutput_exists", + "name": "effectivePoolStakes_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lastVrfOutput_in", + "name": "payout_gte", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stakingEpochData_exists", + "name": "paymentId_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -17466,7 +24374,7 @@ { "defaultValue": null, "description": "", - "name": "totalCurrency", + "name": "superChargedWeighting_gt", "type": { "kind": "SCALAR", "name": "Float", @@ -17476,33 +24384,33 @@ { "defaultValue": null, "description": "", - "name": "slot_lte", + "name": "superChargedWeighting_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "totalCurrency_ne", + "name": "publicKey_gte", "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochCount_nin", + "name": "stakingBalance_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } } @@ -17510,13 +24418,13 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_nin", + "name": "effectivePoolWeighting_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } } @@ -17524,17 +24432,17 @@ { "defaultValue": null, "description": "", - "name": "lastVrfOutput_ne", + "name": "coinbase", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "minWindowDensity_lt", + "name": "blockHeight_gt", "type": { "kind": "SCALAR", "name": "Int", @@ -17544,33 +24452,43 @@ { "defaultValue": null, "description": "", - "name": "epoch_lt", + "name": "superchargedContribution_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockchainLength_lte", + "name": "dateTime", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epoch_in", + "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": "Int", + "name": "String", "ofType": null } } @@ -17578,13 +24496,23 @@ { "defaultValue": null, "description": "", - "name": "epochCount_in", + "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": "Int", + "name": "Float", "ofType": null } } @@ -17592,63 +24520,67 @@ { "defaultValue": null, "description": "", - "name": "slotSinceGenesis_exists", + "name": "effectivePoolStakes_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "slot_gte", + "name": "ledgerHash_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockchainLength", + "name": "superChargedWeighting_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epoch_ne", + "name": "coinbase_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "minWindowDensity", + "name": "totalPoolStakes_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockchainLength_nin", + "name": "superchargedContribution_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } } @@ -17656,13 +24588,23 @@ { "defaultValue": null, "description": "", - "name": "epoch_nin", + "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": "Int", + "name": "String", "ofType": null } } @@ -17670,101 +24612,97 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_exists", + "name": "ledgerHash_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockchainLength_ne", + "name": "sumEffectivePoolStakes", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochCount_exists", + "name": "sumEffectivePoolStakes_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochCount", + "name": "totalRewards_lt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "slotSinceGenesis_ne", + "name": "sumEffectivePoolStakes_gte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stakingEpochData", + "name": "totalPoolStakes_lte", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumQueryInput", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lastVrfOutput_lt", + "name": "effectivePoolWeighting_lte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "slot_gt", + "name": "effectivePoolWeighting", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "minWindowDensity_in", + "name": "paymentId_ne", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "minWindowDensity_exists", + "name": "payout_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -17774,23 +24712,57 @@ { "defaultValue": null, "description": "", - "name": "slotSinceGenesis", + "name": "stakingBalance_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "slotSinceGenesis_in", + "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": "Int", + "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 } } @@ -17798,127 +24770,139 @@ { "defaultValue": null, "description": "", - "name": "epoch_lte", + "name": "stateHash_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "minWindowDensity_gt", + "name": "dateTime_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epoch_exists", + "name": "dateTime_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "sumEffectivePoolStakes_in", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "blockHeight_gte", + "name": "effectivePoolStakes_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epoch_gte", + "name": "superChargedWeighting", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epoch_gt", + "name": "sumEffectivePoolStakes_nin", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "nextEpochData_exists", + "name": "stakingBalance_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_gt", + "name": "paymentHash", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "TransactionQueryInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "minWindowDensity_gte", + "name": "totalPoolStakes_gte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hasAncestorInSameCheckpointWindow_exists", + "name": "blockHeight_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "slot_lt", + "name": "superchargedContribution_lt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lastVrfOutput_nin", + "name": "dateTime_in", "type": { "kind": "LIST", "name": null, @@ -17932,77 +24916,77 @@ { "defaultValue": null, "description": "", - "name": "nextEpochData", + "name": "paymentId_lte", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epoch", + "name": "publicKey", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lastVrfOutput_gt", + "name": "effectivePoolStakes_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochCount_lte", + "name": "sumEffectivePoolStakes_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hasAncestorInSameCheckpointWindow", + "name": "totalPoolStakes_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "totalCurrency_gte", + "name": "dateTime_gte", "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "slotSinceGenesis_gte", + "name": "paymentId", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochCount_lt", + "name": "blockHeight_lt", "type": { "kind": "SCALAR", "name": "Int", @@ -18012,7 +24996,7 @@ { "defaultValue": null, "description": "", - "name": "totalCurrency_exists", + "name": "foundation_ne", "type": { "kind": "SCALAR", "name": "Boolean", @@ -18022,7 +25006,7 @@ { "defaultValue": null, "description": "", - "name": "totalCurrency_lt", + "name": "superChargedWeighting_lt", "type": { "kind": "SCALAR", "name": "Float", @@ -18032,25 +25016,31 @@ { "defaultValue": null, "description": "", - "name": "AND", + "name": "ledgerHash_ne", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "coinbase_in", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } } }, { "defaultValue": null, "description": "", - "name": "slotSinceGenesis_gt", + "name": "blockHeight_lte", "type": { "kind": "SCALAR", "name": "Int", @@ -18060,370 +25050,343 @@ { "defaultValue": null, "description": "", - "name": "blockchainLength_lt", + "name": "effectivePoolWeighting_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_ne", + "name": "ledgerHash_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockchainLength_gte", + "name": "superchargedContribution_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "minWindowDensity_ne", + "name": "payout_lt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "minWindowDensity_nin", + "name": "blockHeight_exists", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "totalCurrency_lte", + "name": "foundation", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lastVrfOutput", + "name": "totalRewards_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochCount_gt", + "name": "coinbase_gte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockchainLength_gt", + "name": "publicKey_lt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "minWindowDensity_lte", + "name": "stakingBalance", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "totalCurrency_gt", + "name": "payout_gt", "type": { "kind": "SCALAR", "name": "Float", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { - "args": [], + "defaultValue": null, "description": "", - "name": "coinbase", + "name": "paymentId_gte", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "coinbaseReceiverAccount", + "name": "totalRewards_gte", "type": { - "kind": "OBJECT", - "name": "BlockTransactionCoinbaseReceiverAccount", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "feeTransfer", + "name": "sumEffectivePoolStakes_lt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "BlockTransactionFeeTransfer", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "userCommands", + "name": "AND", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "OBJECT", - "name": "BlockTransactionUserCommand", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } } } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockTransaction", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ - { - "args": [], - "description": "", - "name": "amount", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "dateTime_lt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "blockStateHash", + "name": "payout_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "dateTime", + "name": "paymentHash_exists", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "failureReason", + "name": "foundation_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "fee", + "name": "totalRewards", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "feePayer", + "name": "sumEffectivePoolStakes_ne", "type": { - "kind": "OBJECT", - "name": "BlockTransactionUserCommandFeePayer", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "feeToken", + "name": "effectivePoolWeighting_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "from", + "name": "stakingBalance_lt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "fromAccount", + "name": "ledgerHash", "type": { - "kind": "OBJECT", - "name": "BlockTransactionUserCommandFromAccount", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "hash", + "name": "superchargedContribution_gt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "id", + "name": "superchargedContribution", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "isDelegation", + "name": "paymentId_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "kind", + "name": "coinbase_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "memo", + "name": "coinbase_lt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "nonce", + "name": "payout_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "receiver", + "name": "coinbase_lte", "type": { - "kind": "OBJECT", - "name": "BlockTransactionUserCommandReceiver", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "source", + "name": "payout_ne", "type": { - "kind": "OBJECT", - "name": "BlockTransactionUserCommandSource", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "to", + "name": "paymentId_lt", "type": { "kind": "SCALAR", "name": "String", @@ -18431,142 +25394,127 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "toAccount", + "name": "superChargedWeighting_nin", "type": { - "kind": "OBJECT", - "name": "BlockTransactionUserCommandToAccount", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "token", + "name": "effectivePoolWeighting_nin", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockTransactionUserCommand", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { - "args": [], + "defaultValue": null, "description": "", - "name": "token", + "name": "stakingBalance_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "TransactionFromAccount", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "previousStateHash_lt", + "name": "totalRewards_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "previousStateHash_gt", + "name": "totalRewards_ne", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "previousStateHash_nin", + "name": "dateTime_exists", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "previousStateHash_exists", + "name": "totalPoolStakes", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockchainState_exists", + "name": "ledgerHash_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "consensusState_exists", + "name": "totalPoolStakes_ne", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "previousStateHash_lte", + "name": "blockHeight_ne", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "previousStateHash_in", + "name": "totalPoolStakes_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } } @@ -18574,215 +25522,193 @@ { "defaultValue": null, "description": "", - "name": "AND", + "name": "superchargedContribution_nin", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } } }, { "defaultValue": null, "description": "", - "name": "previousStateHash_gte", + "name": "stakingBalance_gt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "consensusState", + "name": "totalRewards_gt", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateQueryInput", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockchainState", + "name": "superChargedWeighting_gte", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateBlockchainStateQueryInput", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "superchargedContribution_lte", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "previousStateHash", + "name": "superchargedContribution_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "previousStateHash_ne", + "name": "effectivePoolWeighting_gte", "type": { "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + "name": "Float", + "ofType": null + } + }, { "defaultValue": null, "description": "", - "name": "seed", + "name": "ledgerHash_in", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "startCheckpoint", + "name": "totalRewards_lte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochLength", + "name": "effectivePoolWeighting_gt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "ledger", + "name": "effectivePoolStakes_in", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerInsertInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "lockCheckpoint", + "name": "effectivePoolWeighting_lt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "receiver", + "name": "ledgerHash_gt", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionReceiverUpdateInput", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeToken", + "name": "effectivePoolStakes_lt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "kind_unset", + "name": "publicKey_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "nonce_inc", + "name": "effectivePoolStakes_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "block", + "name": "publicKey_nin", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionBlockStateHashRelationInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "feeToken_inc", + "name": "blockHeight", "type": { "kind": "SCALAR", "name": "Int", @@ -18792,67 +25718,97 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_inc", + "name": "publicKey_in", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "memo", + "name": "OR", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": "", - "name": "memo_unset", + "name": "totalRewards_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "canonical", + "name": "payout_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "PayoutQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "from", + "name": "amount", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "source", + "name": "block", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionSourceUpdateInput", + "kind": "OBJECT", + "name": "Block", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "nonce", + "name": "blockHeight", "type": { "kind": "SCALAR", "name": "Int", @@ -18860,9 +25816,9 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "toAccount_unset", + "name": "canonical", "type": { "kind": "SCALAR", "name": "Boolean", @@ -18870,19 +25826,19 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "feePayer_unset", + "name": "dateTime", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "DateTime", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "hash", + "name": "failureReason", "type": { "kind": "SCALAR", "name": "String", @@ -18890,19 +25846,29 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "kind", + "name": "fee", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "blockHeight", + "name": "feePayer", + "type": { + "kind": "OBJECT", + "name": "TransactionFeePayer", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "feeToken", "type": { "kind": "SCALAR", "name": "Int", @@ -18910,39 +25876,49 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "from_unset", + "name": "from", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "isDelegation_unset", + "name": "fromAccount", + "type": { + "kind": "OBJECT", + "name": "TransactionFromAccount", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "hash", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "toAccount", + "name": "id", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionToAccountUpdateInput", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "canonical_unset", + "name": "isDelegation", "type": { "kind": "SCALAR", "name": "Boolean", @@ -18950,29 +25926,29 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "dateTime_unset", + "name": "kind", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "feeToken_unset", + "name": "memo", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "token", + "name": "nonce", "type": { "kind": "SCALAR", "name": "Int", @@ -18980,59 +25956,71 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "feePayer", + "name": "receiver", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionFeePayerUpdateInput", + "kind": "OBJECT", + "name": "TransactionReceiver", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "fromAccount", + "name": "source", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionFromAccountUpdateInput", + "kind": "OBJECT", + "name": "TransactionSource", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "fee_unset", + "name": "to", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "amount_unset", + "name": "toAccount", "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "TransactionToAccount", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "nonce_unset", + "name": "token", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Transaction", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "to", + "name": "hash", "type": { "kind": "SCALAR", "name": "String", @@ -19042,17 +26030,28 @@ { "defaultValue": null, "description": "", - "name": "to_unset", + "name": "totalCurrency", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerInsertInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "source_unset", + "name": "block_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -19062,7 +26061,7 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_unset", + "name": "canonical_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -19072,67 +26071,67 @@ { "defaultValue": null, "description": "", - "name": "isDelegation", + "name": "fee", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "id", + "name": "blockHeight", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_unset", + "name": "dateTime", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "amount", + "name": "canonical", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_unset", + "name": "fee_inc", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee", + "name": "fee_unset", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "failureReason_unset", + "name": "workIds_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -19142,7 +26141,7 @@ { "defaultValue": null, "description": "", - "name": "id_unset", + "name": "blockHeight_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -19152,17 +26151,17 @@ { "defaultValue": null, "description": "", - "name": "token_inc", + "name": "prover", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fromAccount_unset", + "name": "dateTime_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -19172,7 +26171,7 @@ { "defaultValue": null, "description": "", - "name": "receiver_unset", + "name": "prover_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -19182,37 +26181,41 @@ { "defaultValue": null, "description": "", - "name": "block_unset", + "name": "workIds", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "failureReason", + "name": "blockHeight_inc", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "block", "type": { - "kind": "SCALAR", - "name": "DateTime", + "kind": "INPUT_OBJECT", + "name": "SnarkBlockStateHashRelationInput", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "TransactionUpdateInput", + "name": "SnarkUpdateInput", "possibleTypes": null }, { @@ -19223,7 +26226,7 @@ { "defaultValue": null, "description": "", - "name": "token_lt", + "name": "token_inc", "type": { "kind": "SCALAR", "name": "Int", @@ -19233,28 +26236,41 @@ { "defaultValue": null, "description": "", - "name": "OR", + "name": "token_unset", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandToAccountQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_exists", + "name": "token", "type": { "kind": "SCALAR", - "name": "Boolean", + "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 } }, @@ -19275,7 +26291,7 @@ { "defaultValue": null, "description": "", - "name": "AND", + "name": "OR", "type": { "kind": "LIST", "name": null, @@ -19284,7 +26300,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandToAccountQueryInput", + "name": "BlockTransactionUserCommandFeePayerQueryInput", "ofType": null } } @@ -19293,7 +26309,7 @@ { "defaultValue": null, "description": "", - "name": "token_lte", + "name": "token_ne", "type": { "kind": "SCALAR", "name": "Int", @@ -19313,13 +26329,37 @@ { "defaultValue": null, "description": "", - "name": "token_ne", + "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": "", @@ -19333,7 +26373,7 @@ { "defaultValue": null, "description": "", - "name": "token", + "name": "token_lt", "type": { "kind": "SCALAR", "name": "Int", @@ -19343,21 +26383,25 @@ { "defaultValue": null, "description": "", - "name": "token_in", + "name": "AND", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFeePayerQueryInput", + "ofType": null + } } } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandToAccountQueryInput", + "name": "BlockTransactionUserCommandFeePayerQueryInput", "possibleTypes": null }, { @@ -19367,17 +26411,77 @@ { "args": [], "description": "", - "name": "date", + "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": "Long", + "name": "String", "ofType": null } }, { "args": [], "description": "", - "name": "snarkedLedgerHash", + "name": "public_key", "type": { "kind": "SCALAR", "name": "String", @@ -19387,7 +26491,7 @@ { "args": [], "description": "", - "name": "stagedLedgerHash", + "name": "receipt_chain_hash", "type": { "kind": "SCALAR", "name": "String", @@ -19397,10 +26501,30 @@ { "args": [], "description": "", - "name": "utcDate", + "name": "timing", + "type": { + "kind": "OBJECT", + "name": "NextstakeTiming", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "token", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "voting_for", + "type": { + "kind": "SCALAR", + "name": "String", "ofType": null } } @@ -19408,28 +26532,138 @@ "inputFields": null, "interfaces": [], "kind": "OBJECT", - "name": "BlockProtocolStateBlockchainState", + "name": "Nextstake", "possibleTypes": null }, { "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + "enumValues": [ { - "defaultValue": null, "description": "", - "name": "token", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "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": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFeePayerInsertInput", + "kind": "ENUM", + "name": "TransactionSortByInput", "possibleTypes": null }, { @@ -19450,7 +26684,7 @@ ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandReceiverInsertInput", + "name": "BlockCreatorAccountInsertInput", "possibleTypes": null }, { @@ -19461,7 +26695,7 @@ { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "token", "type": { "kind": "SCALAR", "name": "Int", @@ -19471,7 +26705,7 @@ { "defaultValue": null, "description": "", - "name": "liquid", + "name": "token_inc", "type": { "kind": "SCALAR", "name": "Int", @@ -19481,47 +26715,17 @@ { "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", + "name": "token_unset", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountBalanceInsertInput", + "name": "BlockTransactionUserCommandFeePayerUpdateInput", "possibleTypes": null }, { @@ -19532,10 +26736,10 @@ { "defaultValue": null, "description": "", - "name": "previousStateHash", + "name": "previousStateHash_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, @@ -19545,7 +26749,17 @@ "name": "blockchainState", "type": { "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateBlockchainStateInsertInput", + "name": "BlockProtocolStateBlockchainStateUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainState_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -19555,25 +26769,24 @@ "name": "consensusState", "type": { "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateInsertInput", + "name": "BlockProtocolStateConsensusStateUpdateInput", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, + { + "defaultValue": null, + "description": "", + "name": "consensusState_unset", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, { "defaultValue": null, "description": "", - "name": "publicKey", + "name": "previousStateHash", "type": { "kind": "SCALAR", "name": "String", @@ -19583,7 +26796,7 @@ ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "TransactionSourceInsertInput", + "name": "BlockProtocolStateUpdateInput", "possibleTypes": null }, { @@ -19594,37 +26807,37 @@ { "defaultValue": null, "description": "", - "name": "publicKey", + "name": "token_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_unset", + "name": "token", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token_inc", + "type": { + "kind": "SCALAR", + "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "TransactionSourceUpdateInput", - "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", + "name": "TransactionFeePayerUpdateInput", "possibleTypes": null }, { @@ -19635,47 +26848,59 @@ { "defaultValue": null, "description": "", - "name": "token_gte", + "name": "blockHeight_nin", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "token_lt", + "name": "creatorAccount", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "BlockCreatorAccountQueryInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_lte", + "name": "AND", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": "", - "name": "token_ne", + "name": "dateTime_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_gt", + "name": "blockHeight_lt", "type": { "kind": "SCALAR", "name": "Int", @@ -19685,27 +26910,23 @@ { "defaultValue": null, "description": "", - "name": "token_in", + "name": "stateHashField_gt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_nin", + "name": "creator_nin", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } } @@ -19713,84 +26934,51 @@ { "defaultValue": null, "description": "", - "name": "token_exists", + "name": "blockHeight_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "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 - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "token", + "name": "dateTime_gt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "snarkJobs_nin", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFeePayerQueryInput", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobQueryInput", + "ofType": null } } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandFeePayerQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "to", + "name": "receivedTime_ne", "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "isDelegation", + "name": "creatorAccount_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -19800,37 +26988,27 @@ { "defaultValue": null, "description": "", - "name": "nonce", + "name": "stateHash_lte", "type": { "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "source", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionSourceInsertInput", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "toAccount", + "name": "stateHash_ne", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionToAccountInsertInput", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token", + "name": "blockHeight_ne", "type": { "kind": "SCALAR", "name": "Int", @@ -19840,47 +27018,47 @@ { "defaultValue": null, "description": "", - "name": "feePayer", + "name": "winnerAccount", "type": { "kind": "INPUT_OBJECT", - "name": "TransactionFeePayerInsertInput", + "name": "BlockWinnerAccountQueryInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fromAccount", + "name": "blockHeight", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionFromAccountInsertInput", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee", + "name": "stateHash_gte", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "amount", + "name": "stateHashField_exists", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "failureReason", + "name": "stateHash_lt", "type": { "kind": "SCALAR", "name": "String", @@ -19890,17 +27068,17 @@ { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "stateHash_gt", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "kind", + "name": "stateHash", "type": { "kind": "SCALAR", "name": "String", @@ -19910,139 +27088,121 @@ { "defaultValue": null, "description": "", - "name": "hash", + "name": "protocolState_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "receivedTime", "type": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "memo", + "name": "transactions_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "receiver", + "name": "dateTime_exists", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionReceiverInsertInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "id", + "name": "creator_in", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "feeToken", + "name": "creator_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "canonical", + "name": "creator", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "block", + "name": "snarkJobs_exists", "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionBlockStateHashRelationInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "from", + "name": "stateHashField_ne", "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": "publicKey", + "name": "creator_gte", "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": "fee_lte", + "name": "stateHashField", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "prover_in", + "name": "stateHashField_nin", "type": { "kind": "LIST", "name": null, @@ -20056,30 +27216,40 @@ { "defaultValue": null, "description": "", - "name": "fee_exists", + "name": "dateTime_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockStateHash_lt", + "name": "transactions", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "winnerAccount_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockStateHash_ne", + "name": "receivedTime_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, @@ -20100,43 +27270,43 @@ { "defaultValue": null, "description": "", - "name": "prover_gte", + "name": "blockHeight_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_lt", + "name": "dateTime", "type": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_ne", + "name": "canonical", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "workIds_in", + "name": "stateHashField_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } } @@ -20144,17 +27314,27 @@ { "defaultValue": null, "description": "", - "name": "blockStateHash", + "name": "protocolState", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateQueryInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "receivedTime_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_ne", + "name": "receivedTime_lt", "type": { "kind": "SCALAR", "name": "DateTime", @@ -20164,17 +27344,17 @@ { "defaultValue": null, "description": "", - "name": "fee_lt", + "name": "dateTime_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_gte", + "name": "blockHeight_gt", "type": { "kind": "SCALAR", "name": "Int", @@ -20184,13 +27364,13 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_in", + "name": "stateHash_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } } @@ -20198,33 +27378,53 @@ { "defaultValue": null, "description": "", - "name": "fee_gte", + "name": "canonical_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "stateHash_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "workIds_nin", + "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": "Int", + "name": "DateTime", "ofType": null } } @@ -20232,43 +27432,57 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_lte", + "name": "creator_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_ne", + "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": "Int", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "prover_lte", + "name": "canonical_ne", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_nin", + "name": "receivedTime_nin", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "DateTime", "ofType": null } } @@ -20276,13 +27490,13 @@ { "defaultValue": null, "description": "", - "name": "blockStateHash_in", + "name": "snarkJobs_in", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobQueryInput", "ofType": null } } @@ -20290,27 +27504,27 @@ { "defaultValue": null, "description": "", - "name": "dateTime_gt", + "name": "stateHashField_lt", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockStateHash_lte", + "name": "dateTime_lt", "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "prover", + "name": "creator_lt", "type": { "kind": "SCALAR", "name": "String", @@ -20320,65 +27534,91 @@ { "defaultValue": null, "description": "", - "name": "fee_in", + "name": "OR", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", + "ofType": null + } } } }, { "defaultValue": null, "description": "", - "name": "dateTime_lt", + "name": "creator_gt", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "prover_gt", + "name": "receivedTime_lte", "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "snarkJobs", "type": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockSnarkJobQueryInput", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "fee_gt", + "name": "stateHashField_lte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_exists", + "name": "stateHash_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "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 + } } }, { @@ -20390,107 +27630,121 @@ "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 + } }, { - "defaultValue": null, + "args": [], + "description": "", + "name": "chainId", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "args": [], "description": "", - "name": "prover_nin", + "name": "delegate", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "OR", + "name": "delegationTotals", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobQueryInput", - "ofType": null - } - } + "kind": "OBJECT", + "name": "DelegationTotal", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "blockStateHash_gt", + "name": "epoch", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "prover_exists", + "name": "ledgerHash", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "blockStateHash_exists", + "name": "nonce", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "fee", + "name": "permissions", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "StakePermission", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "workIds", + "name": "pk", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "workIds_exists", + "name": "public_key", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "blockStateHash_gte", + "name": "receipt_chain_hash", "type": { "kind": "SCALAR", "name": "String", @@ -20498,23 +27752,19 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "fee_nin", + "name": "timing", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "OBJECT", + "name": "StakeTiming", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "blockHeight_gt", + "name": "token", "type": { "kind": "SCALAR", "name": "Int", @@ -20522,95 +27772,91 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "dateTime_lte", + "name": "voting_for", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "String", "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Stake", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "prover_lt", + "name": "liquid", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_gte", + "name": "locked", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "AND", + "name": "stateHash", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_nin", + "name": "total", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "DateTime", - "ofType": null - } + "kind": "SCALAR", + "name": "Long", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockStateHash_nin", + "name": "unknown", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Long", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "prover_ne", + "name": "blockHeight", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobQueryInput", + "name": "BlockWinnerAccountBalanceInsertInput", "possibleTypes": null }, { @@ -20621,73 +27867,72 @@ { "defaultValue": null, "description": "", - "name": "AND", + "name": "token", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionSourceQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_gt", + "name": "token_inc", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_lte", + "name": "token_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "publicKey_ne", + "name": "totalCurrency_gt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "hash_nin", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionSourceQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } } }, { "defaultValue": null, "description": "", - "name": "publicKey_nin", + "name": "hash_in", "type": { "kind": "LIST", "name": null, @@ -20701,7 +27946,7 @@ { "defaultValue": null, "description": "", - "name": "publicKey_lt", + "name": "hash_gt", "type": { "kind": "SCALAR", "name": "String", @@ -20711,131 +27956,109 @@ { "defaultValue": null, "description": "", - "name": "publicKey_in", + "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": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "ofType": null + } } } }, { "defaultValue": null, "description": "", - "name": "publicKey_gte", + "name": "hash_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey", + "name": "totalCurrency_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_exists", + "name": "hash_lte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionSourceQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "userCommands", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandInsertInput", - "ofType": null - } - } }, { "defaultValue": null, "description": "", - "name": "coinbase", + "name": "hash", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "coinbaseReceiverAccount", + "name": "totalCurrency_lte", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionCoinbaseReceiverAccountInsertInput", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeTransfer", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionFeeTransferInsertInput", - "ofType": null - } - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionInsertInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ - { - "defaultValue": null, - "description": "", - "name": "publicKey", + "name": "totalCurrency_lt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_gt", + "name": "hash_ne", "type": { "kind": "SCALAR", "name": "String", @@ -20845,33 +28068,33 @@ { "defaultValue": null, "description": "", - "name": "publicKey_lte", + "name": "totalCurrency_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_exists", + "name": "hash_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_nin", + "name": "totalCurrency_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } } @@ -20879,39 +28102,27 @@ { "defaultValue": null, "description": "", - "name": "AND", + "name": "hash_lt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockCreatorAccountQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_in", + "name": "totalCurrency", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "AND", "type": { "kind": "LIST", "name": null, @@ -20920,136 +28131,57 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "BlockCreatorAccountQueryInput", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", "ofType": null } } } - }, - { - "defaultValue": null, - "description": "", - "name": "publicKey_ne", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "publicKey_lt", + "name": "date_lte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_gte", + "name": "utcDate_lt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockCreatorAccountQueryInput", - "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 an argument definition.", - "name": "ARGUMENT_DEFINITION" - }, - { - "description": "Location adjacent to an interface definition.", - "name": "INTERFACE" - }, - { - "description": "Location adjacent to a query operation.", - "name": "QUERY" - }, - { - "description": "Location adjacent to a field.", - "name": "FIELD" - }, - { - "description": "Location adjacent to a fragment definition.", - "name": "FRAGMENT_DEFINITION" }, { - "description": "Location adjacent to a fragment spread.", - "name": "FRAGMENT_SPREAD" - }, - { - "description": "Location adjacent to an inline fragment.", - "name": "INLINE_FRAGMENT" - }, - { - "description": "Location adjacent to a schema definition.", - "name": "SCHEMA" - }, - { - "description": "Location adjacent to an enum definition.", - "name": "ENUM" - }, - { - "description": "Location adjacent to an enum value definition.", - "name": "ENUM_VALUE" - }, - { - "description": "Location adjacent to a scalar definition.", - "name": "SCALAR" - }, - { - "description": "Location adjacent to a object definition.", - "name": "OBJECT" - }, - { - "description": "Location adjacent to a union definition.", - "name": "UNION" - }, - { - "description": "Location adjacent to an input object type definition.", - "name": "INPUT_OBJECT" - }, - { - "description": "Location adjacent to an input object field definition.", - "name": "INPUT_FIELD_DEFINITION" - }, - { - "description": "Location adjacent to a subscription operation.", - "name": "SUBSCRIPTION" - }, - { - "description": "Location adjacent to a field definition.", - "name": "FIELD_DEFINITION" - }, - { - "description": "Location adjacent to a mutation operation.", - "name": "MUTATION" - } - ], - "fields": null, - "inputFields": null, - "interfaces": null, - "kind": "ENUM", - "name": "__DirectiveLocation", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + "defaultValue": null, + "description": "", + "name": "utcDate_in", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } + } + }, { "defaultValue": null, "description": "", @@ -21062,7 +28194,7 @@ "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandSourceQueryInput", + "name": "BlockProtocolStateBlockchainStateQueryInput", "ofType": null } } @@ -21071,7 +28203,7 @@ { "defaultValue": null, "description": "", - "name": "publicKey_gt", + "name": "snarkedLedgerHash_lte", "type": { "kind": "SCALAR", "name": "String", @@ -21081,7 +28213,7 @@ { "defaultValue": null, "description": "", - "name": "publicKey", + "name": "stagedLedgerHash_lt", "type": { "kind": "SCALAR", "name": "String", @@ -21091,49 +28223,41 @@ { "defaultValue": null, "description": "", - "name": "publicKey_in", + "name": "utcDate_ne", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Long", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_exists", + "name": "utcDate_gt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "snarkedLedgerHash_in", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandSourceQueryInput", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } } }, { "defaultValue": null, "description": "", - "name": "publicKey_nin", + "name": "stagedLedgerHash_nin", "type": { "kind": "LIST", "name": null, @@ -21147,7 +28271,7 @@ { "defaultValue": null, "description": "", - "name": "publicKey_lt", + "name": "stagedLedgerHash_gt", "type": { "kind": "SCALAR", "name": "String", @@ -21157,17 +28281,49 @@ { "defaultValue": null, "description": "", - "name": "publicKey_ne", + "name": "utcDate", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "publicKey_gte", + "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", @@ -21177,62 +28333,47 @@ { "defaultValue": null, "description": "", - "name": "publicKey_lte", + "name": "snarkedLedgerHash", "type": { "kind": "SCALAR", "name": "String", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandSourceQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "stagedLedgerHash_lte", + "name": "stagedLedgerHash_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "snarkedLedgerHash_nin", + "name": "utcDate_exists", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stagedLedgerHash_exists", + "name": "date", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "date_exists", + "name": "snarkedLedgerHash_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -21242,7 +28383,7 @@ { "defaultValue": null, "description": "", - "name": "utcDate_in", + "name": "date_nin", "type": { "kind": "LIST", "name": null, @@ -21256,39 +28397,27 @@ { "defaultValue": null, "description": "", - "name": "AND", + "name": "snarkedLedgerHash_gte", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateBlockchainStateQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "date_in", + "name": "snarkedLedgerHash_lt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "stagedLedgerHash_ne", + "name": "stagedLedgerHash", "type": { "kind": "SCALAR", "name": "String", @@ -21298,7 +28427,17 @@ { "defaultValue": null, "description": "", - "name": "date", + "name": "stagedLedgerHash_gte", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "date_gt", "type": { "kind": "SCALAR", "name": "Long", @@ -21308,13 +28447,13 @@ { "defaultValue": null, "description": "", - "name": "stagedLedgerHash_in", + "name": "date_in", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } } @@ -21322,7 +28461,7 @@ { "defaultValue": null, "description": "", - "name": "stagedLedgerHash_gte", + "name": "stagedLedgerHash_lte", "type": { "kind": "SCALAR", "name": "String", @@ -21332,37 +28471,41 @@ { "defaultValue": null, "description": "", - "name": "snarkedLedgerHash_lt", + "name": "date_gte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "date_lte", + "name": "stagedLedgerHash_ne", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "snarkedLedgerHash_exists", + "name": "utcDate_nin", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "date_lt", + "name": "date_ne", "type": { "kind": "SCALAR", "name": "Long", @@ -21382,7 +28525,31 @@ { "defaultValue": null, "description": "", - "name": "snarkedLedgerHash_gte", + "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", @@ -21392,127 +28559,142 @@ { "defaultValue": null, "description": "", - "name": "date_nin", + "name": "utcDate_gte", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } + "kind": "SCALAR", + "name": "Long", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "utcDate", + "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 + } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "utcDate_gte", + "name": "blockHeight", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "snarkedLedgerHash_lte", + "name": "canonical", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "stagedLedgerHash_lt", + "name": "dateTime", "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "OR", + "name": "fee", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateBlockchainStateQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "date_gt", + "name": "prover", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "snarkedLedgerHash_in", + "name": "workIds", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "Snark", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": [ { - "defaultValue": null, + "args": [], "description": "", - "name": "date_ne", + "name": "amount", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Float", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "stagedLedgerHash_nin", + "name": "blockHeight", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "snarkedLedgerHash_ne", + "name": "blockStateHash", "type": { "kind": "SCALAR", "name": "String", @@ -21520,19 +28702,19 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "stagedLedgerHash", + "name": "dateTime", "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "snarkedLedgerHash_gt", + "name": "failureReason", "type": { "kind": "SCALAR", "name": "String", @@ -21540,59 +28722,69 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "utcDate_ne", + "name": "fee", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Float", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "snarkedLedgerHash", + "name": "feePayer", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "BlockTransactionUserCommandFeePayer", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "utcDate_lt", + "name": "feeToken", "type": { "kind": "SCALAR", - "name": "Long", + "name": "Int", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "utcDate_exists", + "name": "from", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "date_gte", + "name": "fromAccount", + "type": { + "kind": "OBJECT", + "name": "BlockTransactionUserCommandFromAccount", + "ofType": null + } + }, + { + "args": [], + "description": "", + "name": "hash", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "stagedLedgerHash_gt", + "name": "id", "type": { "kind": "SCALAR", "name": "String", @@ -21600,154 +28792,131 @@ } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "utcDate_nin", + "name": "isDelegation", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Long", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "utcDate_gt", + "name": "kind", "type": { "kind": "SCALAR", - "name": "Long", + "name": "String", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateBlockchainStateQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { - "defaultValue": null, + "args": [], "description": "", - "name": "hash_exists", + "name": "memo", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "totalCurrency_gt", + "name": "nonce", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "totalCurrency_nin", + "name": "receiver", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "kind": "OBJECT", + "name": "BlockTransactionUserCommandReceiver", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "totalCurrency_in", + "name": "source", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Float", - "ofType": null - } + "kind": "OBJECT", + "name": "BlockTransactionUserCommandSource", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "totalCurrency_ne", + "name": "to", "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "AND", + "name": "toAccount", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", - "ofType": null - } - } + "kind": "OBJECT", + "name": "BlockTransactionUserCommandToAccount", + "ofType": null } }, { - "defaultValue": null, + "args": [], "description": "", - "name": "totalCurrency_gte", + "name": "token", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Int", "ofType": null } - }, + } + ], + "inputFields": null, + "interfaces": [], + "kind": "OBJECT", + "name": "BlockTransactionUserCommand", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "hash_lt", + "name": "set_verification_key_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_nin", + "name": "stake", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_gt", + "name": "send", "type": { "kind": "SCALAR", "name": "String", @@ -21757,7 +28926,7 @@ { "defaultValue": null, "description": "", - "name": "hash_ne", + "name": "set_verification_key", "type": { "kind": "SCALAR", "name": "String", @@ -21767,7 +28936,7 @@ { "defaultValue": null, "description": "", - "name": "totalCurrency_exists", + "name": "set_delegate_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -21777,17 +28946,17 @@ { "defaultValue": null, "description": "", - "name": "totalCurrency_lte", + "name": "send_unset", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash_gte", + "name": "set_delegate", "type": { "kind": "SCALAR", "name": "String", @@ -21797,27 +28966,27 @@ { "defaultValue": null, "description": "", - "name": "totalCurrency", + "name": "set_permissions_unset", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "totalCurrency_lt", + "name": "edit_state_unset", "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hash", + "name": "set_permissions", "type": { "kind": "SCALAR", "name": "String", @@ -21827,49 +28996,27 @@ { "defaultValue": null, "description": "", - "name": "hash_lte", + "name": "stake_unset", "type": { "kind": "SCALAR", - "name": "String", + "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": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", - "ofType": null - } - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "hash_in", + "name": "edit_state", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput", + "name": "StakePermissionUpdateInput", "possibleTypes": null }, { @@ -21880,55 +29027,47 @@ { "defaultValue": null, "description": "", - "name": "AND", + "name": "balance", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Float", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochLength_gte", + "name": "delegate", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "startCheckpoint", + "name": "nonce", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochLength_lte", + "name": "permissions", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "NextstakePermissionInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lockCheckpoint_lte", + "name": "receipt_chain_hash", "type": { "kind": "SCALAR", "name": "String", @@ -21938,79 +29077,121 @@ { "defaultValue": null, "description": "", - "name": "startCheckpoint_gt", + "name": "timing", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "NextstakeTimingInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "startCheckpoint_nin", + "name": "pk", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "seed_lt", + "name": "token", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochLength_nin", + "name": "voting_for", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "seed_nin", + "name": "ledgerHash", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "seed_exists", + "name": "public_key", "type": { "kind": "SCALAR", - "name": "Boolean", + "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": "seed_ne", + "name": "recipient", "type": { "kind": "SCALAR", "name": "String", @@ -22020,27 +29201,31 @@ { "defaultValue": null, "description": "", - "name": "epochLength_ne", + "name": "recipient_gte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "ledger", + "name": "recipient_in", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "seed_gte", + "name": "type_lt", "type": { "kind": "SCALAR", "name": "String", @@ -22050,7 +29235,21 @@ { "defaultValue": null, "description": "", - "name": "lockCheckpoint_lt", + "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", @@ -22060,17 +29259,21 @@ { "defaultValue": null, "description": "", - "name": "epochLength_gt", + "name": "fee_in", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Long", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "lockCheckpoint_ne", + "name": "recipient_lt", "type": { "kind": "SCALAR", "name": "String", @@ -22080,57 +29283,69 @@ { "defaultValue": null, "description": "", - "name": "seed_gt", + "name": "type_nin", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "lockCheckpoint_gt", + "name": "fee", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lockCheckpoint", + "name": "OR", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", + "ofType": null + } + } } }, { "defaultValue": null, "description": "", - "name": "startCheckpoint_exists", + "name": "type_ne", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "startCheckpoint_ne", + "name": "fee_lt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "seed_lte", + "name": "type", "type": { "kind": "SCALAR", "name": "String", @@ -22140,7 +29355,7 @@ { "defaultValue": null, "description": "", - "name": "startCheckpoint_in", + "name": "type_in", "type": { "kind": "LIST", "name": null, @@ -22154,23 +29369,23 @@ { "defaultValue": null, "description": "", - "name": "epochLength_lt", + "name": "fee_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochLength_in", + "name": "fee_nin", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "Long", "ofType": null } } @@ -22178,41 +29393,35 @@ { "defaultValue": null, "description": "", - "name": "seed", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - { - "defaultValue": null, - "description": "", - "name": "startCheckpoint_lte", + "name": "type_exists", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lockCheckpoint_in", + "name": "AND", "type": { "kind": "LIST", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionFeeTransferQueryInput", + "ofType": null + } } } }, { "defaultValue": null, "description": "", - "name": "ledger_exists", + "name": "fee_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -22222,63 +29431,47 @@ { "defaultValue": null, "description": "", - "name": "lockCheckpoint_nin", + "name": "recipient_gt", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lockCheckpoint_exists", + "name": "fee_gte", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "seed_in", + "name": "recipient_ne", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "type_lte", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "startCheckpoint_lt", + "name": "recipient_lte", "type": { "kind": "SCALAR", "name": "String", @@ -22288,17 +29481,17 @@ { "defaultValue": null, "description": "", - "name": "epochLength", + "name": "fee_gt", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Long", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochLength_exists", + "name": "recipient_exists", "type": { "kind": "SCALAR", "name": "Boolean", @@ -22308,7 +29501,7 @@ { "defaultValue": null, "description": "", - "name": "lockCheckpoint_gte", + "name": "type_gte", "type": { "kind": "SCALAR", "name": "String", @@ -22318,17 +29511,17 @@ { "defaultValue": null, "description": "", - "name": "startCheckpoint_gte", + "name": "fee_lte", "type": { "kind": "SCALAR", - "name": "String", + "name": "Long", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumQueryInput", + "name": "BlockTransactionFeeTransferQueryInput", "possibleTypes": null }, { @@ -22339,27 +29532,27 @@ { "defaultValue": null, "description": "", - "name": "publicKey", + "name": "create", "type": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "TransactionInsertInput", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "balance", + "name": "link", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountBalanceInsertInput", + "kind": "SCALAR", + "name": "String", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockWinnerAccountInsertInput", + "name": "PayoutPaymentHashRelationInput", "possibleTypes": null }, { @@ -22370,27 +29563,27 @@ { "defaultValue": null, "description": "", - "name": "coinbase_unset", + "name": "totalCurrency_inc", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "coinbaseReceiverAccount", + "name": "totalCurrency_unset", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionCoinbaseReceiverAccountUpdateInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "coinbaseReceiverAccount_unset", + "name": "slot_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -22400,76 +29593,67 @@ { "defaultValue": null, "description": "", - "name": "feeTransfer", + "name": "hasAncestorInSameCheckpointWindow", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionFeeTransferUpdateInput", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "feeTransfer_unset", + "name": "totalCurrency", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "userCommands", + "name": "epoch", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUserCommandUpdateInput", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "userCommands_unset", + "name": "slot_inc", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "coinbase", + "name": "nextEpochData", "type": { - "kind": "SCALAR", - "name": "Long", + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumUpdateInput", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockTransactionUpdateInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "token_lte", + "name": "stakingEpochData", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "blockchainLength_inc", "type": { "kind": "SCALAR", "name": "Int", @@ -22479,7 +29663,7 @@ { "defaultValue": null, "description": "", - "name": "token_ne", + "name": "blockHeight_inc", "type": { "kind": "SCALAR", "name": "Int", @@ -22489,43 +29673,37 @@ { "defaultValue": null, "description": "", - "name": "AND", + "name": "epochCount", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionFromAccountQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "epochCount_inc", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "OR", + "name": "slotSinceGenesis", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionFromAccountQueryInput", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_exists", + "name": "lastVrfOutput_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -22535,21 +29713,17 @@ { "defaultValue": null, "description": "", - "name": "token_in", + "name": "lastVrfOutput", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_lt", + "name": "minWindowDensity_inc", "type": { "kind": "SCALAR", "name": "Int", @@ -22559,62 +29733,47 @@ { "defaultValue": null, "description": "", - "name": "token_gte", + "name": "epochCount_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_nin", + "name": "epoch_unset", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token", + "name": "slotSinceGenesis_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "token_gt", + "name": "stakingEpochData_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "TransactionFromAccountQueryInput", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "blockchainLength_unset", + "name": "hasAncestorInSameCheckpointWindow_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -22624,7 +29783,7 @@ { "defaultValue": null, "description": "", - "name": "epochCount", + "name": "blockchainLength", "type": { "kind": "SCALAR", "name": "Int", @@ -22634,27 +29793,27 @@ { "defaultValue": null, "description": "", - "name": "stakingEpochData", + "name": "blockHeight_unset", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "minWindowDensity_inc", + "name": "minWindowDensity_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "minWindowDensity_unset", + "name": "nextEpochData_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -22664,17 +29823,17 @@ { "defaultValue": null, "description": "", - "name": "stakingEpochData_unset", + "name": "epoch_inc", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epoch_inc", + "name": "minWindowDensity", "type": { "kind": "SCALAR", "name": "Int", @@ -22684,7 +29843,7 @@ { "defaultValue": null, "description": "", - "name": "slot_inc", + "name": "slot", "type": { "kind": "SCALAR", "name": "Int", @@ -22694,33 +29853,44 @@ { "defaultValue": null, "description": "", - "name": "nextEpochData", + "name": "slotSinceGenesis_inc", "type": { - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateNextEpochDatumUpdateInput", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "blockchainLength_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epoch", + "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": "", @@ -22734,7 +29904,7 @@ { "defaultValue": null, "description": "", - "name": "blockHeight_unset", + "name": "totalCurrency_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -22744,57 +29914,86 @@ { "defaultValue": null, "description": "", - "name": "slot_unset", + "name": "hash", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "slotSinceGenesis", + "name": "hash_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockchainLength", + "name": "totalCurrency", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } - }, + } + ], + "interfaces": null, + "kind": "INPUT_OBJECT", + "name": "BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput", + "possibleTypes": null + }, + { + "description": "", + "enumValues": null, + "fields": null, + "inputFields": [ { "defaultValue": null, "description": "", - "name": "epoch_unset", + "name": "fee_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "slot", + "name": "prover_nin", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "totalCurrency", + "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", @@ -22804,27 +30003,31 @@ { "defaultValue": null, "description": "", - "name": "totalCurrency_unset", + "name": "blockHeight_ne", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hasAncestorInSameCheckpointWindow", + "name": "workIds_in", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "lastVrfOutput_unset", + "name": "canonical_ne", "type": { "kind": "SCALAR", "name": "Boolean", @@ -22834,37 +30037,55 @@ { "defaultValue": null, "description": "", - "name": "slotSinceGenesis_unset", + "name": "dateTime_ne", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "minWindowDensity", + "name": "workIds", "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "slotSinceGenesis_inc", + "name": "fee_ne", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "hasAncestorInSameCheckpointWindow_unset", + "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", @@ -22874,99 +30095,93 @@ { "defaultValue": null, "description": "", - "name": "nextEpochData_unset", + "name": "blockHeight_lt", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_inc", + "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": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } } }, { "defaultValue": null, "description": "", - "name": "epochCount_inc", + "name": "prover", "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockchainLength_inc", + "name": "blockHeight_exists", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "lastVrfOutput", + "name": "fee_gt", "type": { "kind": "SCALAR", - "name": "String", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "epochCount_unset", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - } - ], - "interfaces": null, - "kind": "INPUT_OBJECT", - "name": "BlockProtocolStateConsensusStateUpdateInput", - "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", + "name": "workIds_nin", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "__InputValue", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "deprecationReason", + "name": "prover_ne", "type": { "kind": "SCALAR", "name": "String", @@ -22974,9 +30189,9 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "description", + "name": "prover_lte", "type": { "kind": "SCALAR", "name": "String", @@ -22984,1080 +30199,424 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "isDeprecated", + "name": "prover_gte", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "name", + "name": "blockHeight_lte", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "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": "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": [ - { - "args": [], + "defaultValue": null, "description": "", - "name": "token", + "name": "fee_gte", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "BlockTransactionUserCommandFeePayer", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "BlockQueryInput", - "ofType": null - } - } - ], + "defaultValue": null, "description": "", - "name": "deleteManyBlocks", + "name": "fee_exists", "type": { - "kind": "OBJECT", - "name": "DeleteManyPayload", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "SnarkQueryInput", - "ofType": null - } - } - ], + "defaultValue": null, "description": "", - "name": "deleteManySnarks", + "name": "blockHeight", "type": { - "kind": "OBJECT", - "name": "DeleteManyPayload", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "StakeQueryInput", - "ofType": null - } - } - ], + "defaultValue": null, "description": "", - "name": "deleteManyStakes", + "name": "blockHeight_in", "type": { - "kind": "OBJECT", - "name": "DeleteManyPayload", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionQueryInput", - "ofType": null - } - } - ], + "defaultValue": null, "description": "", - "name": "deleteManyTransactions", + "name": "prover_gt", "type": { - "kind": "OBJECT", - "name": "DeleteManyPayload", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "BlockQueryInput", - "ofType": null - } - } - } - ], + "defaultValue": null, "description": "", - "name": "deleteOneBlock", + "name": "blockHeight_gte", "type": { - "kind": "OBJECT", - "name": "Block", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SnarkQueryInput", - "ofType": null - } - } - } - ], + "defaultValue": null, "description": "", - "name": "deleteOneSnark", + "name": "dateTime_gt", "type": { - "kind": "OBJECT", - "name": "Snark", + "kind": "SCALAR", + "name": "DateTime", "ofType": null } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "StakeQueryInput", - "ofType": null - } - } - } - ], + "defaultValue": null, "description": "", - "name": "deleteOneStake", + "name": "fee", "type": { - "kind": "OBJECT", - "name": "Stake", + "kind": "SCALAR", + "name": "Float", "ofType": null } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionQueryInput", - "ofType": null - } - } - } - ], + "defaultValue": null, "description": "", - "name": "deleteOneTransaction", + "name": "fee_nin", "type": { - "kind": "OBJECT", - "name": "Transaction", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "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 - } - } - } - } - } - ], + "defaultValue": null, "description": "", - "name": "insertManyBlocks", + "name": "dateTime", "type": { - "kind": "OBJECT", - "name": "InsertManyPayload", + "kind": "SCALAR", + "name": "DateTime", "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 - } - } - } - } - } - ], + "defaultValue": null, "description": "", - "name": "insertManySnarks", + "name": "prover_lt", "type": { - "kind": "OBJECT", - "name": "InsertManyPayload", + "kind": "SCALAR", + "name": "String", "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 - } - } - } - } - } - ], + "defaultValue": null, "description": "", - "name": "insertManyStakes", + "name": "dateTime_lte", "type": { - "kind": "OBJECT", - "name": "InsertManyPayload", + "kind": "SCALAR", + "name": "DateTime", "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 - } - } - } - } - } - ], + "defaultValue": null, "description": "", - "name": "insertManyTransactions", + "name": "canonical_exists", "type": { - "kind": "OBJECT", - "name": "InsertManyPayload", + "kind": "SCALAR", + "name": "Boolean", "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": "insertOneBlock", + "name": "block_exists", "type": { - "kind": "OBJECT", - "name": "Block", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "data", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SnarkInsertInput", - "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": "insertOneSnark", + "name": "fee_in", "type": { - "kind": "OBJECT", - "name": "Snark", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "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": "insertOneStake", + "name": "blockHeight_gt", "type": { - "kind": "OBJECT", - "name": "Stake", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "data", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionInsertInput", - "ofType": null - } - } - } - ], + "defaultValue": null, "description": "", - "name": "insertOneTransaction", + "name": "workIds_exists", "type": { - "kind": "OBJECT", - "name": "Transaction", + "kind": "SCALAR", + "name": "Boolean", "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 - } - } - } - ], + "defaultValue": null, "description": "", - "name": "replaceOneBlock", + "name": "dateTime_gte", "type": { - "kind": "OBJECT", - "name": "Block", + "kind": "SCALAR", + "name": "DateTime", "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 - } - } - } - ], + "defaultValue": null, "description": "", - "name": "replaceOneSnark", + "name": "block", "type": { - "kind": "OBJECT", - "name": "Snark", + "kind": "INPUT_OBJECT", + "name": "BlockQueryInput", "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 - } - } - } - ], + "defaultValue": null, "description": "", - "name": "replaceOneStake", + "name": "prover_exists", "type": { - "kind": "OBJECT", - "name": "Stake", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "data", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionInsertInput", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionQueryInput", - "ofType": null - } - } - ], + "defaultValue": null, "description": "", - "name": "replaceOneTransaction", + "name": "canonical", "type": { - "kind": "OBJECT", - "name": "Transaction", + "kind": "SCALAR", + "name": "Boolean", "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 - } - } - } - ], + "defaultValue": null, "description": "", - "name": "updateManyBlocks", + "name": "dateTime_lt", "type": { - "kind": "OBJECT", - "name": "UpdateManyPayload", + "kind": "SCALAR", + "name": "DateTime", "ofType": null } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "set", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "SnarkUpdateInput", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "SnarkQueryInput", - "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": "updateManySnarks", + "name": "source", "type": { - "kind": "OBJECT", - "name": "UpdateManyPayload", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandSourceInsertInput", "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 - } - } - } - ], + "defaultValue": null, "description": "", - "name": "updateManyStakes", + "name": "nonce", "type": { - "kind": "OBJECT", - "name": "UpdateManyPayload", + "kind": "SCALAR", + "name": "Int", "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 - } - } - } - ], + "defaultValue": null, "description": "", - "name": "updateManyTransactions", + "name": "amount", "type": { - "kind": "OBJECT", - "name": "UpdateManyPayload", + "kind": "SCALAR", + "name": "Float", "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 - } - } - } - ], + "defaultValue": null, "description": "", - "name": "updateOneBlock", + "name": "receiver", "type": { - "kind": "OBJECT", - "name": "Block", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandReceiverInsertInput", "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 - } - } - } - ], + "defaultValue": null, "description": "", - "name": "updateOneSnark", + "name": "blockHeight", "type": { - "kind": "OBJECT", - "name": "Snark", + "kind": "SCALAR", + "name": "Int", "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 - } - } - } - ], + "defaultValue": null, "description": "", - "name": "updateOneStake", + "name": "id", "type": { - "kind": "OBJECT", - "name": "Stake", + "kind": "SCALAR", + "name": "String", "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 - } - } - } - ], + "defaultValue": null, "description": "", - "name": "updateOneTransaction", + "name": "from", "type": { - "kind": "OBJECT", - "name": "Transaction", + "kind": "SCALAR", + "name": "String", "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 - } - } - } - ], + "defaultValue": null, "description": "", - "name": "upsertOneBlock", + "name": "memo", "type": { - "kind": "OBJECT", - "name": "Block", + "kind": "SCALAR", + "name": "String", "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 - } - } - } - ], + "defaultValue": null, "description": "", - "name": "upsertOneSnark", + "name": "toAccount", "type": { - "kind": "OBJECT", - "name": "Snark", + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandToAccountInsertInput", "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 - } - } - } - ], + "defaultValue": null, "description": "", - "name": "upsertOneStake", + "name": "failureReason", "type": { - "kind": "OBJECT", - "name": "Stake", + "kind": "SCALAR", + "name": "String", "ofType": null } }, { - "args": [ - { - "defaultValue": null, - "description": "", - "name": "data", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "TransactionInsertInput", - "ofType": null - } - } - }, - { - "defaultValue": null, - "description": "", - "name": "query", - "type": { - "kind": "INPUT_OBJECT", - "name": "TransactionQueryInput", - "ofType": null - } - } - ], + "defaultValue": null, "description": "", - "name": "upsertOneTransaction", + "name": "fee", "type": { - "kind": "OBJECT", - "name": "Transaction", + "kind": "SCALAR", + "name": "Float", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "Mutation", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": [ + }, { - "args": [], + "defaultValue": null, "description": "", - "name": "edit_state", + "name": "blockStateHash", "type": { "kind": "SCALAR", "name": "String", @@ -24065,19 +30624,19 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "send", + "name": "feeToken", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "set_delegate", + "name": "hash", "type": { "kind": "SCALAR", "name": "String", @@ -24085,9 +30644,9 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "set_permissions", + "name": "kind", "type": { "kind": "SCALAR", "name": "String", @@ -24095,9 +30654,9 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "set_verification_key", + "name": "to", "type": { "kind": "SCALAR", "name": "String", @@ -24105,51 +30664,59 @@ } }, { - "args": [], + "defaultValue": null, "description": "", - "name": "stake", + "name": "isDelegation", "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null } - } - ], - "inputFields": null, - "interfaces": [], - "kind": "OBJECT", - "name": "StakePermission", - "possibleTypes": null - }, - { - "description": "", - "enumValues": null, - "fields": null, - "inputFields": [ + }, { "defaultValue": null, "description": "", - "name": "link", + "name": "fromAccount", + "type": { + "kind": "INPUT_OBJECT", + "name": "BlockTransactionUserCommandFromAccountInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "dateTime", "type": { "kind": "SCALAR", - "name": "String", + "name": "DateTime", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "create", + "name": "feePayer", "type": { "kind": "INPUT_OBJECT", - "name": "BlockInsertInput", + "name": "BlockTransactionUserCommandFeePayerInsertInput", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "token", + "type": { + "kind": "SCALAR", + "name": "Int", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "SnarkBlockStateHashRelationInput", + "name": "BlockTransactionUserCommandInsertInput", "possibleTypes": null }, { @@ -24160,27 +30727,27 @@ { "defaultValue": null, "description": "", - "name": "blockStateHash_unset", + "name": "vesting_increment", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_unset", + "name": "initial_minimum_balance", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee", + "name": "vesting_period_inc", "type": { "kind": "SCALAR", "name": "Int", @@ -24190,37 +30757,37 @@ { "defaultValue": null, "description": "", - "name": "blockHeight", + "name": "initial_minimum_balance_inc", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockStateHash", + "name": "cliff_time_unset", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_inc", + "name": "cliff_amount_inc", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "blockHeight_unset", + "name": "cliff_amount_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -24230,21 +30797,27 @@ { "defaultValue": null, "description": "", - "name": "workIds", + "name": "cliff_time_inc", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "Int", + "ofType": null } }, { "defaultValue": null, "description": "", - "name": "dateTime_unset", + "name": "vesting_increment_inc", + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + { + "defaultValue": null, + "description": "", + "name": "vesting_increment_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -24254,7 +30827,7 @@ { "defaultValue": null, "description": "", - "name": "workIds_unset", + "name": "vesting_period_unset", "type": { "kind": "SCALAR", "name": "Boolean", @@ -24264,47 +30837,47 @@ { "defaultValue": null, "description": "", - "name": "dateTime", + "name": "cliff_time", "type": { "kind": "SCALAR", - "name": "DateTime", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "prover", + "name": "vesting_period", "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "prover_unset", + "name": "cliff_amount", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null } }, { "defaultValue": null, "description": "", - "name": "fee_inc", + "name": "initial_minimum_balance_unset", "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } } ], "interfaces": null, "kind": "INPUT_OBJECT", - "name": "BlockSnarkJobUpdateInput", + "name": "NextstakeTimingUpdateInput", "possibleTypes": null } ] diff --git a/mina_schemas/mina_explorer_schema.py b/mina_schemas/mina_explorer_schema.py index 7ab21dc..2f4fd37 100644 --- a/mina_schemas/mina_explorer_schema.py +++ b/mina_schemas/mina_explorer_schema.py @@ -11,7 +11,7 @@ ######################################################################## class BlockSortByInput(sgqlc.types.Enum): __schema__ = mina_explorer_schema - __choices__ = ('DATETIME_DESC', 'STATEHASH_ASC', 'RECEIVEDTIME_DESC', 'CREATOR_ASC', 'CREATOR_DESC', 'STATEHASHFIELD_ASC', 'DATETIME_ASC', 'STATEHASH_DESC', 'RECEIVEDTIME_ASC', 'BLOCKHEIGHT_ASC', 'BLOCKHEIGHT_DESC', 'STATEHASHFIELD_DESC') + __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 @@ -26,25 +26,35 @@ 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__ = ('PROVER_ASC', 'PROVER_DESC', 'BLOCKHEIGHT_ASC', 'BLOCKSTATEHASH_DESC', 'DATETIME_ASC', 'DATETIME_DESC', 'FEE_DESC', 'BLOCKHEIGHT_DESC', 'BLOCKSTATEHASH_ASC', 'FEE_ASC') + __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__ = ('NONCE_ASC', 'PK_ASC', 'PK_DESC', 'RECEIPT_CHAIN_HASH_ASC', 'RECEIPT_CHAIN_HASH_DESC', 'EPOCH_ASC', 'EPOCH_DESC', 'PUBLIC_KEY_ASC', 'BALANCE_ASC', 'BALANCE_DESC', 'TOKEN_ASC', 'CHAINID_ASC', 'CHAINID_DESC', 'PUBLIC_KEY_DESC', 'NONCE_DESC', 'LEDGERHASH_ASC', 'VOTING_FOR_ASC', 'VOTING_FOR_DESC', 'DELEGATE_DESC', 'TOKEN_DESC', 'LEDGERHASH_DESC', 'DELEGATE_ASC') + __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__ = ('BLOCKSTATEHASH_ASC', 'NONCE_ASC', 'TO_DESC', 'BLOCKHEIGHT_DESC', 'DATETIME_ASC', 'FEE_DESC', 'FEETOKEN_ASC', 'KIND_DESC', 'AMOUNT_ASC', 'HASH_ASC', 'DATETIME_DESC', 'FROM_DESC', 'ID_DESC', 'MEMO_ASC', 'BLOCKSTATEHASH_DESC', 'FAILUREREASON_DESC', 'FEETOKEN_DESC', 'FEE_ASC', 'HASH_DESC', 'TOKEN_ASC', 'TOKEN_DESC', 'FAILUREREASON_ASC', 'TO_ASC', 'BLOCKHEIGHT_ASC', 'NONCE_DESC', 'ID_ASC', 'FROM_ASC', 'MEMO_DESC', 'KIND_ASC', 'AMOUNT_DESC') + __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') @@ -59,17 +69,17 @@ class BlockCreatorAccountInsertInput(sgqlc.types.Input): class BlockCreatorAccountQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('public_key', 'public_key_gt', 'public_key_lte', 'public_key_exists', 'public_key_nin', 'and_', 'public_key_in', 'or_', 'public_key_ne', 'public_key_lt', 'public_key_gte') - public_key = sgqlc.types.Field(String, graphql_name='publicKey') + __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') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockCreatorAccountQueryInput')), graphql_name='AND') - 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('BlockCreatorAccountQueryInput')), graphql_name='OR') public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') - public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') @@ -82,19 +92,19 @@ class BlockCreatorAccountUpdateInput(sgqlc.types.Input): class BlockInsertInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('received_time', 'state_hash', 'block_height', 'state_hash_field', 'snark_jobs', 'creator', 'date_time', 'canonical', 'creator_account', 'transactions', 'winner_account', 'protocol_state') - received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') - state_hash = sgqlc.types.Field(String, graphql_name='stateHash') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + __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') - snark_jobs = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobInsertInput'), graphql_name='snarkJobs') - creator = sgqlc.types.Field(String, graphql_name='creator') + 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') - creator_account = sgqlc.types.Field(BlockCreatorAccountInsertInput, graphql_name='creatorAccount') - transactions = sgqlc.types.Field('BlockTransactionInsertInput', graphql_name='transactions') 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): @@ -108,282 +118,283 @@ class BlockProtocolStateBlockchainStateInsertInput(sgqlc.types.Input): class BlockProtocolStateBlockchainStateQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('staged_ledger_hash_lte', 'snarked_ledger_hash_nin', 'staged_ledger_hash_exists', 'date_exists', 'utc_date_in', 'and_', 'date_in', 'staged_ledger_hash_ne', 'date', 'staged_ledger_hash_in', 'staged_ledger_hash_gte', 'snarked_ledger_hash_lt', 'date_lte', 'snarked_ledger_hash_exists', 'date_lt', 'utc_date_lte', 'snarked_ledger_hash_gte', 'date_nin', 'utc_date', 'utc_date_gte', 'snarked_ledger_hash_lte', 'staged_ledger_hash_lt', 'or_', 'date_gt', 'snarked_ledger_hash_in', 'date_ne', 'staged_ledger_hash_nin', 'snarked_ledger_hash_ne', 'staged_ledger_hash', 'snarked_ledger_hash_gt', 'utc_date_ne', 'snarked_ledger_hash', 'utc_date_lt', 'utc_date_exists', 'date_gte', 'staged_ledger_hash_gt', 'utc_date_nin', 'utc_date_gt') - staged_ledger_hash_lte = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_lte') - snarked_ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='snarkedLedgerHash_nin') - staged_ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stagedLedgerHash_exists') - date_exists = sgqlc.types.Field(Boolean, graphql_name='date_exists') + __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') - date_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='date_in') - staged_ledger_hash_ne = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_ne') - date = sgqlc.types.Field(Long, graphql_name='date') - staged_ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stagedLedgerHash_in') - staged_ledger_hash_gte = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_gte') - snarked_ledger_hash_lt = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_lt') - date_lte = sgqlc.types.Field(Long, graphql_name='date_lte') - snarked_ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='snarkedLedgerHash_exists') - date_lt = sgqlc.types.Field(Long, graphql_name='date_lt') - utc_date_lte = sgqlc.types.Field(Long, graphql_name='utcDate_lte') - snarked_ledger_hash_gte = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_gte') - date_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='date_nin') - utc_date = sgqlc.types.Field(Long, graphql_name='utcDate') - utc_date_gte = sgqlc.types.Field(Long, graphql_name='utcDate_gte') snarked_ledger_hash_lte = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_lte') staged_ledger_hash_lt = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_lt') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateBlockchainStateQueryInput')), graphql_name='OR') - date_gt = sgqlc.types.Field(Long, graphql_name='date_gt') + 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') - date_ne = sgqlc.types.Field(Long, graphql_name='date_ne') staged_ledger_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stagedLedgerHash_nin') - snarked_ledger_hash_ne = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash_ne') - staged_ledger_hash = sgqlc.types.Field(String, graphql_name='stagedLedgerHash') + 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') - utc_date_ne = sgqlc.types.Field(Long, graphql_name='utcDate_ne') snarked_ledger_hash = sgqlc.types.Field(String, graphql_name='snarkedLedgerHash') - utc_date_lt = sgqlc.types.Field(Long, graphql_name='utcDate_lt') + 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_gt = sgqlc.types.Field(String, graphql_name='stagedLedgerHash_gt') + 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') - utc_date_gt = sgqlc.types.Field(Long, graphql_name='utcDate_gt') + 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__ = ('utc_date', 'utc_date_unset', 'date', 'date_unset', 'snarked_ledger_hash', 'snarked_ledger_hash_unset', 'staged_ledger_hash', 'staged_ledger_hash_unset') + __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') - staged_ledger_hash = sgqlc.types.Field(String, graphql_name='stagedLedgerHash') - staged_ledger_hash_unset = sgqlc.types.Field(Boolean, graphql_name='stagedLedgerHash_unset') class BlockProtocolStateConsensusStateInsertInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('last_vrf_output', 'slot_since_genesis', 'total_currency', 'next_epoch_data', 'min_window_density', 'epoch_count', 'slot', 'has_ancestor_in_same_checkpoint_window', 'staking_epoch_data', 'block_height', 'blockchain_length', 'epoch') - last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') - slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') + __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') - next_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateNextEpochDatumInsertInput', graphql_name='nextEpochData') - min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') + last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') - slot = sgqlc.types.Field(Int, graphql_name='slot') - has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') 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__ = ('lock_checkpoint', 'seed', 'start_checkpoint', 'epoch_length', 'ledger') - lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') - seed = sgqlc.types.Field(String, graphql_name='seed') + __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(Long, graphql_name='totalCurrency') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') class BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('hash_ne', 'total_currency_in', 'hash_lte', 'hash_gte', 'total_currency_gt', 'hash_nin', 'hash_lt', 'total_currency_exists', 'total_currency_nin', 'total_currency_lte', 'total_currency', 'hash_exists', 'hash_gt', 'hash_in', 'total_currency_ne', 'or_', 'hash', 'total_currency_gte', 'total_currency_lt', 'and_') - hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') - total_currency_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='totalCurrency_in') - hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') - hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') - total_currency_gt = sgqlc.types.Field(Long, graphql_name='totalCurrency_gt') - hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') + __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_exists = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_exists') - total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='totalCurrency_nin') - total_currency_lte = sgqlc.types.Field(Long, graphql_name='totalCurrency_lte') - total_currency = sgqlc.types.Field(Long, graphql_name='totalCurrency') - hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') - hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') + 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') - total_currency_ne = sgqlc.types.Field(Long, graphql_name='totalCurrency_ne') + 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') - hash = sgqlc.types.Field(String, graphql_name='hash') - total_currency_gte = sgqlc.types.Field(Long, graphql_name='totalCurrency_gte') - total_currency_lt = sgqlc.types.Field(Long, graphql_name='totalCurrency_lt') + 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__ = ('hash_unset', 'total_currency', 'total_currency_unset', 'hash') - hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') - total_currency = sgqlc.types.Field(Long, graphql_name='totalCurrency') + __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__ = ('and_', 'epoch_length_gte', 'start_checkpoint', 'epoch_length_lte', 'lock_checkpoint_lte', 'start_checkpoint_gt', 'start_checkpoint_nin', 'seed_lt', 'epoch_length_nin', 'seed_nin', 'seed_exists', 'seed_ne', 'epoch_length_ne', 'ledger', 'seed_gte', 'lock_checkpoint_lt', 'epoch_length_gt', 'lock_checkpoint_ne', 'seed_gt', 'lock_checkpoint_gt', 'lock_checkpoint', 'start_checkpoint_exists', 'start_checkpoint_ne', 'seed_lte', 'start_checkpoint_in', 'epoch_length_lt', 'epoch_length_in', 'seed', 'start_checkpoint_lte', 'lock_checkpoint_in', 'ledger_exists', 'lock_checkpoint_nin', 'lock_checkpoint_exists', 'seed_in', 'or_', 'start_checkpoint_lt', 'epoch_length', 'epoch_length_exists', 'lock_checkpoint_gte', 'start_checkpoint_gte') + __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_gte = sgqlc.types.Field(Int, graphql_name='epochLength_gte') - start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') + 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') - lock_checkpoint_lte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lte') - start_checkpoint_gt = sgqlc.types.Field(String, graphql_name='startCheckpoint_gt') - start_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_nin') + 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') - epoch_length_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_nin') + ledger_exists = sgqlc.types.Field(Boolean, graphql_name='ledger_exists') seed_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_nin') - seed_exists = sgqlc.types.Field(Boolean, graphql_name='seed_exists') - seed_ne = sgqlc.types.Field(String, graphql_name='seed_ne') - epoch_length_ne = sgqlc.types.Field(Int, graphql_name='epochLength_ne') - ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumLedgerQueryInput, graphql_name='ledger') - seed_gte = sgqlc.types.Field(String, graphql_name='seed_gte') + start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') lock_checkpoint_lt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lt') - epoch_length_gt = sgqlc.types.Field(Int, graphql_name='epochLength_gt') - lock_checkpoint_ne = sgqlc.types.Field(String, graphql_name='lockCheckpoint_ne') - seed_gt = sgqlc.types.Field(String, graphql_name='seed_gt') - lock_checkpoint_gt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gt') + 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') - start_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_exists') - start_checkpoint_ne = sgqlc.types.Field(String, graphql_name='startCheckpoint_ne') - seed_lte = sgqlc.types.Field(String, graphql_name='seed_lte') + 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') - epoch_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_in') - seed = sgqlc.types.Field(String, graphql_name='seed') - start_checkpoint_lte = sgqlc.types.Field(String, graphql_name='startCheckpoint_lte') - lock_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_in') - ledger_exists = sgqlc.types.Field(Boolean, graphql_name='ledger_exists') + 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') - lock_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_exists') - seed_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_in') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateNextEpochDatumQueryInput')), graphql_name='OR') - start_checkpoint_lt = sgqlc.types.Field(String, graphql_name='startCheckpoint_lt') + seed = sgqlc.types.Field(String, graphql_name='seed') epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') - epoch_length_exists = sgqlc.types.Field(Boolean, graphql_name='epochLength_exists') - lock_checkpoint_gte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gte') - start_checkpoint_gte = sgqlc.types.Field(String, graphql_name='startCheckpoint_gte') class BlockProtocolStateConsensusStateNextEpochDatumUpdateInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('ledger', 'lock_checkpoint', 'lock_checkpoint_unset', 'epoch_length_inc', 'epoch_length_unset', 'seed_unset', 'seed', 'epoch_length', 'start_checkpoint_unset', 'ledger_unset', 'start_checkpoint') - ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumLedgerUpdateInput, graphql_name='ledger') - lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') + __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') - epoch_length_inc = sgqlc.types.Field(Int, graphql_name='epochLength_inc') - epoch_length_unset = sgqlc.types.Field(Boolean, graphql_name='epochLength_unset') - seed_unset = sgqlc.types.Field(Boolean, graphql_name='seed_unset') seed = sgqlc.types.Field(String, graphql_name='seed') - epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') 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__ = ('block_height_lte', 'total_currency_nin', 'slot_since_genesis_lte', 'slot_in', 'slot_ne', 'blockchain_length_exists', 'slot', 'slot_since_genesis_nin', 'slot_since_genesis_lt', 'blockchain_length_in', 'has_ancestor_in_same_checkpoint_window_ne', 'epoch_count_gte', 'or_', 'total_currency_in', 'last_vrf_output_lte', 'slot_exists', 'slot_nin', 'epoch_count_ne', 'last_vrf_output_gte', 'block_height_in', 'block_height_lt', 'last_vrf_output_exists', 'last_vrf_output_in', 'staking_epoch_data_exists', 'total_currency', 'slot_lte', 'total_currency_ne', 'epoch_count_nin', 'block_height_nin', 'last_vrf_output_ne', 'min_window_density_lt', 'epoch_lt', 'blockchain_length_lte', 'epoch_in', 'epoch_count_in', 'slot_since_genesis_exists', 'slot_gte', 'blockchain_length', 'epoch_ne', 'min_window_density', 'blockchain_length_nin', 'epoch_nin', 'block_height_exists', 'blockchain_length_ne', 'epoch_count_exists', 'epoch_count', 'slot_since_genesis_ne', 'staking_epoch_data', 'last_vrf_output_lt', 'slot_gt', 'min_window_density_in', 'min_window_density_exists', 'slot_since_genesis', 'slot_since_genesis_in', 'epoch_lte', 'min_window_density_gt', 'epoch_exists', 'block_height', 'block_height_gte', 'epoch_gte', 'epoch_gt', 'next_epoch_data_exists', 'block_height_gt', 'min_window_density_gte', 'has_ancestor_in_same_checkpoint_window_exists', 'slot_lt', 'last_vrf_output_nin', 'next_epoch_data', 'epoch', 'last_vrf_output_gt', 'epoch_count_lte', 'has_ancestor_in_same_checkpoint_window', 'total_currency_gte', 'slot_since_genesis_gte', 'epoch_count_lt', 'total_currency_exists', 'total_currency_lt', 'and_', 'slot_since_genesis_gt', 'blockchain_length_lt', 'block_height_ne', 'blockchain_length_gte', 'min_window_density_ne', 'min_window_density_nin', 'total_currency_lte', 'last_vrf_output', 'epoch_count_gt', 'blockchain_length_gt', 'min_window_density_lte', 'total_currency_gt') - block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') - total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_nin') - slot_since_genesis_lte = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_lte') - slot_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slot_in') - slot_ne = sgqlc.types.Field(Int, graphql_name='slot_ne') - blockchain_length_exists = sgqlc.types.Field(Boolean, graphql_name='blockchainLength_exists') - slot = sgqlc.types.Field(Int, graphql_name='slot') - slot_since_genesis_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slotSinceGenesis_nin') - slot_since_genesis_lt = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_lt') - blockchain_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockchainLength_in') - has_ancestor_in_same_checkpoint_window_ne = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_ne') - epoch_count_gte = sgqlc.types.Field(Int, graphql_name='epochCount_gte') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateQueryInput')), graphql_name='OR') - total_currency_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_in') - last_vrf_output_lte = sgqlc.types.Field(String, graphql_name='lastVrfOutput_lte') - slot_exists = sgqlc.types.Field(Boolean, graphql_name='slot_exists') - slot_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='slot_nin') - epoch_count_ne = sgqlc.types.Field(Int, graphql_name='epochCount_ne') - last_vrf_output_gte = sgqlc.types.Field(String, graphql_name='lastVrfOutput_gte') - block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') - block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') - last_vrf_output_exists = sgqlc.types.Field(Boolean, graphql_name='lastVrfOutput_exists') - last_vrf_output_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lastVrfOutput_in') - staking_epoch_data_exists = sgqlc.types.Field(Boolean, graphql_name='stakingEpochData_exists') - total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') - slot_lte = sgqlc.types.Field(Int, graphql_name='slot_lte') - total_currency_ne = sgqlc.types.Field(Float, graphql_name='totalCurrency_ne') - epoch_count_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochCount_nin') + __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') - last_vrf_output_ne = sgqlc.types.Field(String, graphql_name='lastVrfOutput_ne') - min_window_density_lt = sgqlc.types.Field(Int, graphql_name='minWindowDensity_lt') - epoch_lt = sgqlc.types.Field(Int, graphql_name='epoch_lt') - blockchain_length_lte = sgqlc.types.Field(Int, graphql_name='blockchainLength_lte') - epoch_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_in') - epoch_count_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochCount_in') - slot_since_genesis_exists = sgqlc.types.Field(Boolean, graphql_name='slotSinceGenesis_exists') - slot_gte = sgqlc.types.Field(Int, graphql_name='slot_gte') - blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') - epoch_ne = sgqlc.types.Field(Int, graphql_name='epoch_ne') - min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') blockchain_length_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockchainLength_nin') - epoch_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_nin') - block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') - blockchain_length_ne = sgqlc.types.Field(Int, graphql_name='blockchainLength_ne') - epoch_count_exists = sgqlc.types.Field(Boolean, graphql_name='epochCount_exists') + 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') - staking_epoch_data = sgqlc.types.Field('BlockProtocolStateConsensusStateStakingEpochDatumQueryInput', graphql_name='stakingEpochData') - last_vrf_output_lt = sgqlc.types.Field(String, graphql_name='lastVrfOutput_lt') - slot_gt = sgqlc.types.Field(Int, graphql_name='slot_gt') - min_window_density_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='minWindowDensity_in') + 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') - epoch_lte = sgqlc.types.Field(Int, graphql_name='epoch_lte') + 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') - epoch_exists = sgqlc.types.Field(Boolean, graphql_name='epoch_exists') + 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') - block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') - epoch_gte = sgqlc.types.Field(Int, graphql_name='epoch_gte') - epoch_gt = sgqlc.types.Field(Int, graphql_name='epoch_gt') - next_epoch_data_exists = sgqlc.types.Field(Boolean, graphql_name='nextEpochData_exists') - block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') - min_window_density_gte = sgqlc.types.Field(Int, graphql_name='minWindowDensity_gte') - has_ancestor_in_same_checkpoint_window_exists = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_exists') - slot_lt = sgqlc.types.Field(Int, graphql_name='slot_lt') - last_vrf_output_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lastVrfOutput_nin') - next_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumQueryInput, graphql_name='nextEpochData') + blockchain_length_lt = sgqlc.types.Field(Int, graphql_name='blockchainLength_lt') epoch = sgqlc.types.Field(Int, graphql_name='epoch') - last_vrf_output_gt = sgqlc.types.Field(String, graphql_name='lastVrfOutput_gt') + 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') - has_ancestor_in_same_checkpoint_window = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow') - total_currency_gte = sgqlc.types.Field(Float, graphql_name='totalCurrency_gte') - slot_since_genesis_gte = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_gte') + 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') - total_currency_exists = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_exists') - total_currency_lt = sgqlc.types.Field(Float, graphql_name='totalCurrency_lt') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateQueryInput')), graphql_name='AND') - slot_since_genesis_gt = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_gt') - blockchain_length_lt = sgqlc.types.Field(Int, graphql_name='blockchainLength_lt') - block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') - blockchain_length_gte = sgqlc.types.Field(Int, graphql_name='blockchainLength_gte') - min_window_density_ne = sgqlc.types.Field(Int, graphql_name='minWindowDensity_ne') - min_window_density_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='minWindowDensity_nin') - total_currency_lte = sgqlc.types.Field(Float, graphql_name='totalCurrency_lte') - last_vrf_output = sgqlc.types.Field(String, graphql_name='lastVrfOutput') - epoch_count_gt = sgqlc.types.Field(Int, graphql_name='epochCount_gt') - blockchain_length_gt = sgqlc.types.Field(Int, graphql_name='blockchainLength_gt') - min_window_density_lte = sgqlc.types.Field(Int, graphql_name='minWindowDensity_lte') - total_currency_gt = sgqlc.types.Field(Float, graphql_name='totalCurrency_gt') class BlockProtocolStateConsensusStateStakingEpochDatumInsertInput(sgqlc.types.Input): @@ -398,343 +409,343 @@ class BlockProtocolStateConsensusStateStakingEpochDatumInsertInput(sgqlc.types.I class BlockProtocolStateConsensusStateStakingEpochDatumLedgerInsertInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('total_currency', 'hash') - total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') + __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__ = ('hash_exists', 'total_currency_gt', 'total_currency_nin', 'total_currency_in', 'total_currency_ne', 'and_', 'total_currency_gte', 'hash_lt', 'hash_nin', 'hash_gt', 'hash_ne', 'total_currency_exists', 'total_currency_lte', 'hash_gte', 'total_currency', 'total_currency_lt', 'hash', 'hash_lte', 'or_', 'hash_in') - hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') + __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') - total_currency_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_nin') - total_currency_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='totalCurrency_in') - total_currency_ne = sgqlc.types.Field(Float, graphql_name='totalCurrency_ne') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput')), graphql_name='AND') - total_currency_gte = sgqlc.types.Field(Float, graphql_name='totalCurrency_gte') - hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') 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') - total_currency_lte = sgqlc.types.Field(Float, graphql_name='totalCurrency_lte') 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') - total_currency_lt = sgqlc.types.Field(Float, graphql_name='totalCurrency_lt') - hash = sgqlc.types.Field(String, graphql_name='hash') - hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput')), graphql_name='OR') - hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') + 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__ = ('total_currency_unset', 'hash', 'hash_unset', 'total_currency', 'total_currency_inc') - total_currency_unset = sgqlc.types.Field(Boolean, graphql_name='totalCurrency_unset') + __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__ = ('epoch_length_lt', 'epoch_length', 'seed_in', 'start_checkpoint_gte', 'start_checkpoint_exists', 'ledger', 'lock_checkpoint_lte', 'epoch_length_in', 'start_checkpoint_lt', 'or_', 'seed_gte', 'seed_lt', 'lock_checkpoint_gt', 'seed_ne', 'seed', 'lock_checkpoint_nin', 'seed_exists', 'ledger_exists', 'start_checkpoint_in', 'lock_checkpoint_in', 'lock_checkpoint_gte', 'seed_nin', 'lock_checkpoint_lt', 'lock_checkpoint_exists', 'start_checkpoint_ne', 'seed_gt', 'start_checkpoint_gt', 'seed_lte', 'start_checkpoint_lte', 'start_checkpoint_nin', 'start_checkpoint', 'lock_checkpoint', 'epoch_length_gte', 'lock_checkpoint_ne', 'epoch_length_lte', 'epoch_length_nin', 'epoch_length_ne', 'epoch_length_gt', 'epoch_length_exists', 'and_') - epoch_length_lt = sgqlc.types.Field(Int, graphql_name='epochLength_lt') - epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') + __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') - start_checkpoint_gte = sgqlc.types.Field(String, graphql_name='startCheckpoint_gte') + 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') - ledger = sgqlc.types.Field(BlockProtocolStateConsensusStateStakingEpochDatumLedgerQueryInput, graphql_name='ledger') - lock_checkpoint_lte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lte') - epoch_length_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epochLength_in') + 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') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateConsensusStateStakingEpochDatumQueryInput')), graphql_name='OR') + 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') - seed_lt = sgqlc.types.Field(String, graphql_name='seed_lt') lock_checkpoint_gt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gt') - seed_ne = sgqlc.types.Field(String, graphql_name='seed_ne') + 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') - 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') + 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') - start_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_in') lock_checkpoint_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='lockCheckpoint_in') - lock_checkpoint_gte = sgqlc.types.Field(String, graphql_name='lockCheckpoint_gte') - seed_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='seed_nin') lock_checkpoint_lt = sgqlc.types.Field(String, graphql_name='lockCheckpoint_lt') - lock_checkpoint_exists = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_exists') - start_checkpoint_ne = sgqlc.types.Field(String, graphql_name='startCheckpoint_ne') + 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_lte = sgqlc.types.Field(String, graphql_name='seed_lte') - start_checkpoint_lte = sgqlc.types.Field(String, graphql_name='startCheckpoint_lte') - start_checkpoint_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='startCheckpoint_nin') - start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') - lock_checkpoint = sgqlc.types.Field(String, graphql_name='lockCheckpoint') - epoch_length_gte = sgqlc.types.Field(Int, graphql_name='epochLength_gte') - lock_checkpoint_ne = sgqlc.types.Field(String, graphql_name='lockCheckpoint_ne') - epoch_length_lte = sgqlc.types.Field(Int, graphql_name='epochLength_lte') + 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') - epoch_length_ne = sgqlc.types.Field(Int, graphql_name='epochLength_ne') - epoch_length_gt = sgqlc.types.Field(Int, graphql_name='epochLength_gt') - epoch_length_exists = sgqlc.types.Field(Boolean, graphql_name='epochLength_exists') + 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', 'seed', 'start_checkpoint', 'lock_checkpoint_unset', 'epoch_length_inc', 'start_checkpoint_unset', 'ledger_unset', 'seed_unset', 'epoch_length_unset', 'lock_checkpoint', 'ledger') - epoch_length = sgqlc.types.Field(Int, graphql_name='epochLength') - seed = sgqlc.types.Field(String, graphql_name='seed') - start_checkpoint = sgqlc.types.Field(String, graphql_name='startCheckpoint') - lock_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='lockCheckpoint_unset') - epoch_length_inc = sgqlc.types.Field(Int, graphql_name='epochLength_inc') - start_checkpoint_unset = sgqlc.types.Field(Boolean, graphql_name='startCheckpoint_unset') - ledger_unset = sgqlc.types.Field(Boolean, graphql_name='ledger_unset') - seed_unset = sgqlc.types.Field(Boolean, graphql_name='seed_unset') + __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__ = ('blockchain_length_unset', 'epoch_count', 'staking_epoch_data', 'min_window_density_inc', 'min_window_density_unset', 'staking_epoch_data_unset', 'epoch_inc', 'slot_inc', 'next_epoch_data', 'block_height', 'epoch', 'total_currency_inc', 'block_height_unset', 'slot_unset', 'slot_since_genesis', 'blockchain_length', 'epoch_unset', 'slot', 'total_currency', 'total_currency_unset', 'has_ancestor_in_same_checkpoint_window', 'last_vrf_output_unset', 'slot_since_genesis_unset', 'min_window_density', 'slot_since_genesis_inc', 'has_ancestor_in_same_checkpoint_window_unset', 'next_epoch_data_unset', 'block_height_inc', 'epoch_count_inc', 'blockchain_length_inc', 'last_vrf_output', 'epoch_count_unset') - blockchain_length_unset = sgqlc.types.Field(Boolean, graphql_name='blockchainLength_unset') - epoch_count = sgqlc.types.Field(Int, graphql_name='epochCount') - staking_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateStakingEpochDatumUpdateInput, graphql_name='stakingEpochData') - min_window_density_inc = sgqlc.types.Field(Int, graphql_name='minWindowDensity_inc') - min_window_density_unset = sgqlc.types.Field(Boolean, graphql_name='minWindowDensity_unset') - staking_epoch_data_unset = sgqlc.types.Field(Boolean, graphql_name='stakingEpochData_unset') - epoch_inc = sgqlc.types.Field(Int, graphql_name='epoch_inc') - slot_inc = sgqlc.types.Field(Int, graphql_name='slot_inc') - next_epoch_data = sgqlc.types.Field(BlockProtocolStateConsensusStateNextEpochDatumUpdateInput, graphql_name='nextEpochData') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - epoch = sgqlc.types.Field(Int, graphql_name='epoch') + __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') - block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') - slot_unset = sgqlc.types.Field(Boolean, graphql_name='slot_unset') - slot_since_genesis = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis') - blockchain_length = sgqlc.types.Field(Int, graphql_name='blockchainLength') - epoch_unset = sgqlc.types.Field(Boolean, graphql_name='epoch_unset') - slot = sgqlc.types.Field(Int, graphql_name='slot') - total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') 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') - last_vrf_output_unset = sgqlc.types.Field(Boolean, graphql_name='lastVrfOutput_unset') - slot_since_genesis_unset = sgqlc.types.Field(Boolean, graphql_name='slotSinceGenesis_unset') - min_window_density = sgqlc.types.Field(Int, graphql_name='minWindowDensity') - slot_since_genesis_inc = sgqlc.types.Field(Int, graphql_name='slotSinceGenesis_inc') - has_ancestor_in_same_checkpoint_window_unset = sgqlc.types.Field(Boolean, graphql_name='hasAncestorInSameCheckpointWindow_unset') - next_epoch_data_unset = sgqlc.types.Field(Boolean, graphql_name='nextEpochData_unset') + 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') - blockchain_length_inc = sgqlc.types.Field(Int, graphql_name='blockchainLength_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__ = ('previous_state_hash', 'blockchain_state', 'consensus_state') + __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') - consensus_state = sgqlc.types.Field(BlockProtocolStateConsensusStateInsertInput, graphql_name='consensusState') class BlockProtocolStateQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('previous_state_hash_lt', 'previous_state_hash_gt', 'previous_state_hash_nin', 'previous_state_hash_exists', 'blockchain_state_exists', 'consensus_state_exists', 'previous_state_hash_lte', 'previous_state_hash_in', 'and_', 'previous_state_hash_gte', 'consensus_state', 'blockchain_state', 'or_', 'previous_state_hash', 'previous_state_hash_ne') - previous_state_hash_lt = sgqlc.types.Field(String, graphql_name='previousStateHash_lt') - previous_state_hash_gt = sgqlc.types.Field(String, graphql_name='previousStateHash_gt') - previous_state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='previousStateHash_nin') - previous_state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='previousStateHash_exists') + __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') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateQueryInput')), graphql_name='AND') - previous_state_hash_gte = sgqlc.types.Field(String, graphql_name='previousStateHash_gte') + 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') - blockchain_state = sgqlc.types.Field(BlockProtocolStateBlockchainStateQueryInput, graphql_name='blockchainState') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockProtocolStateQueryInput')), graphql_name='OR') previous_state_hash = sgqlc.types.Field(String, graphql_name='previousStateHash') - previous_state_hash_ne = sgqlc.types.Field(String, graphql_name='previousStateHash_ne') + 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__ = ('consensus_state_unset', 'previous_state_hash', 'previous_state_hash_unset', 'blockchain_state', 'blockchain_state_unset', 'consensus_state') - consensus_state_unset = sgqlc.types.Field(Boolean, graphql_name='consensusState_unset') - previous_state_hash = sgqlc.types.Field(String, graphql_name='previousStateHash') + __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__ = ('state_hash_nin', 'snark_jobs_exists', 'state_hash_in', 'creator_exists', 'date_time_lt', 'block_height_lte', 'state_hash_gte', 'creator_account', 'snark_jobs_in', 'state_hash', 'state_hash_field_ne', 'creator_lt', 'creator_ne', 'creator', 'creator_nin', 'received_time_gte', 'and_', 'canonical', 'block_height_gt', 'snark_jobs', 'state_hash_field_in', 'date_time_nin', 'date_time_exists', 'state_hash_field_nin', 'state_hash_ne', 'canonical_exists', 'received_time_ne', 'winner_account', 'creator_in', 'state_hash_field_gt', 'canonical_ne', 'state_hash_field', 'block_height_exists', 'block_height_gte', 'creator_gt', 'received_time_in', 'block_height_lt', 'or_', 'date_time_lte', 'transactions_exists', 'state_hash_lte', 'date_time', 'received_time_gt', 'snark_jobs_nin', 'date_time_in', 'date_time_ne', 'block_height_in', 'state_hash_field_lt', 'received_time_lt', 'protocol_state_exists', 'state_hash_lt', 'date_time_gte', 'creator_lte', 'state_hash_field_lte', 'winner_account_exists', 'received_time_lte', 'block_height_ne', 'transactions', 'received_time_exists', 'block_height', 'protocol_state', 'date_time_gt', 'state_hash_field_gte', 'received_time', 'state_hash_gt', 'received_time_nin', 'state_hash_field_exists', 'state_hash_exists', 'creator_gte', 'creator_account_exists', 'block_height_nin') - state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_nin') - snark_jobs_exists = sgqlc.types.Field(Boolean, graphql_name='snarkJobs_exists') - state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHash_in') - creator_exists = sgqlc.types.Field(Boolean, graphql_name='creator_exists') - date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') - block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') - state_hash_gte = sgqlc.types.Field(String, graphql_name='stateHash_gte') + __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') - snark_jobs_in = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs_in') - state_hash = sgqlc.types.Field(String, graphql_name='stateHash') - state_hash_field_ne = sgqlc.types.Field(String, graphql_name='stateHashField_ne') - creator_lt = sgqlc.types.Field(String, graphql_name='creator_lt') - creator_ne = sgqlc.types.Field(String, graphql_name='creator_ne') - creator = sgqlc.types.Field(String, graphql_name='creator') - creator_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='creator_nin') - received_time_gte = sgqlc.types.Field(DateTime, graphql_name='receivedTime_gte') and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockQueryInput')), graphql_name='AND') - canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') - block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') - snark_jobs = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs') - state_hash_field_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHashField_in') - 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') - state_hash_field_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='stateHashField_nin') - state_hash_ne = sgqlc.types.Field(String, graphql_name='stateHash_ne') - canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') + 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') - state_hash_field_gt = sgqlc.types.Field(String, graphql_name='stateHashField_gt') - canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') + 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') - block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') + 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') - creator_gt = sgqlc.types.Field(String, graphql_name='creator_gt') - received_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='receivedTime_in') - block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockQueryInput')), graphql_name='OR') - date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') - transactions_exists = sgqlc.types.Field(Boolean, graphql_name='transactions_exists') - state_hash_lte = sgqlc.types.Field(String, graphql_name='stateHash_lte') date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - received_time_gt = sgqlc.types.Field(DateTime, graphql_name='receivedTime_gt') - snark_jobs_nin = sgqlc.types.Field(sgqlc.types.list_of('BlockSnarkJobQueryInput'), graphql_name='snarkJobs_nin') - date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') - date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') - block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') - state_hash_field_lt = sgqlc.types.Field(String, graphql_name='stateHashField_lt') + 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') - protocol_state_exists = sgqlc.types.Field(Boolean, graphql_name='protocolState_exists') - state_hash_lt = sgqlc.types.Field(String, graphql_name='stateHash_lt') - date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') + 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_lte = sgqlc.types.Field(String, graphql_name='stateHashField_lte') - winner_account_exists = sgqlc.types.Field(Boolean, graphql_name='winnerAccount_exists') - received_time_lte = sgqlc.types.Field(DateTime, graphql_name='receivedTime_lte') - block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') - transactions = sgqlc.types.Field('BlockTransactionQueryInput', graphql_name='transactions') - received_time_exists = sgqlc.types.Field(Boolean, graphql_name='receivedTime_exists') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - protocol_state = sgqlc.types.Field(BlockProtocolStateQueryInput, graphql_name='protocolState') - date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') state_hash_field_gte = sgqlc.types.Field(String, graphql_name='stateHashField_gte') - received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') - state_hash_gt = sgqlc.types.Field(String, graphql_name='stateHash_gt') + 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') - state_hash_field_exists = sgqlc.types.Field(Boolean, graphql_name='stateHashField_exists') - state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stateHash_exists') - creator_gte = sgqlc.types.Field(String, graphql_name='creator_gte') - creator_account_exists = sgqlc.types.Field(Boolean, graphql_name='creatorAccount_exists') - block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_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__ = ('work_ids', 'block_height', 'block_state_hash', 'date_time', 'fee', 'prover') - work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + __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__ = ('fee_lte', 'prover_in', 'fee_exists', 'block_state_hash_lt', 'block_state_hash_ne', 'date_time_in', 'prover_gte', 'block_height_lt', 'fee_ne', 'work_ids_in', 'block_state_hash', 'date_time_ne', 'fee_lt', 'block_height_gte', 'block_height_in', 'fee_gte', 'block_height', 'work_ids_nin', 'block_height_lte', 'block_height_ne', 'prover_lte', 'block_height_nin', 'block_state_hash_in', 'date_time_gt', 'block_state_hash_lte', 'prover', 'fee_in', 'date_time_lt', 'prover_gt', 'date_time', 'fee_gt', 'date_time_exists', 'block_height_exists', 'prover_nin', 'or_', 'block_state_hash_gt', 'prover_exists', 'block_state_hash_exists', 'fee', 'work_ids', 'work_ids_exists', 'block_state_hash_gte', 'fee_nin', 'block_height_gt', 'date_time_lte', 'prover_lt', 'date_time_gte', 'and_', 'date_time_nin', 'block_state_hash_nin', 'prover_ne') - fee_lte = sgqlc.types.Field(Int, graphql_name='fee_lte') - prover_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_in') - fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') - block_state_hash_lt = sgqlc.types.Field(String, graphql_name='blockStateHash_lt') - block_state_hash_ne = sgqlc.types.Field(String, graphql_name='blockStateHash_ne') + __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') - prover_gte = sgqlc.types.Field(String, graphql_name='prover_gte') - block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') fee_ne = sgqlc.types.Field(Int, graphql_name='fee_ne') - work_ids_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_in') - block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') - date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') - fee_lt = sgqlc.types.Field(Int, graphql_name='fee_lt') - block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') - block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') - fee_gte = sgqlc.types.Field(Int, graphql_name='fee_gte') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - work_ids_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_nin') - block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') - block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') - prover_lte = sgqlc.types.Field(String, graphql_name='prover_lte') - block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') - block_state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_in') date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') - block_state_hash_lte = sgqlc.types.Field(String, graphql_name='blockStateHash_lte') - prover = sgqlc.types.Field(String, graphql_name='prover') - fee_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_in') + 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') - prover_gt = sgqlc.types.Field(String, graphql_name='prover_gt') + 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') - date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') 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') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockSnarkJobQueryInput')), graphql_name='OR') - block_state_hash_gt = sgqlc.types.Field(String, graphql_name='blockStateHash_gt') - prover_exists = sgqlc.types.Field(Boolean, graphql_name='prover_exists') + 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') - work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') - work_ids_exists = sgqlc.types.Field(Boolean, graphql_name='workIds_exists') - block_state_hash_gte = sgqlc.types.Field(String, graphql_name='blockStateHash_gte') - fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_nin') + 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') - date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') - prover_lt = sgqlc.types.Field(String, graphql_name='prover_lt') - date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockSnarkJobQueryInput')), graphql_name='AND') - 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') - prover_ne = sgqlc.types.Field(String, graphql_name='prover_ne') + 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__ = ('block_state_hash_unset', 'fee_unset', 'fee', 'block_height', 'block_state_hash', 'block_height_inc', 'block_height_unset', 'work_ids', 'date_time_unset', 'work_ids_unset', 'date_time', 'prover', 'prover_unset', 'fee_inc') - block_state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_unset') - fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') - fee = sgqlc.types.Field(Int, graphql_name='fee') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') - block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') - block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') - work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') + __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') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + 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') - fee_inc = sgqlc.types.Field(Int, graphql_name='fee_inc') + 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): @@ -745,25 +756,25 @@ class BlockTransactionCoinbaseReceiverAccountInsertInput(sgqlc.types.Input): class BlockTransactionCoinbaseReceiverAccountQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('public_key_ne', 'public_key_gt', 'and_', 'public_key_gte', 'public_key_in', 'or_', 'public_key', 'public_key_lt', 'public_key_nin', 'public_key_exists', 'public_key_lte') - public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') - public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionCoinbaseReceiverAccountQueryInput')), graphql_name='AND') - public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') - public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') + __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_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_nin') - public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') - public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') - + 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', 'public_key_unset') - public_key = sgqlc.types.Field(String, graphql_name='publicKey') + __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): @@ -776,36 +787,36 @@ class BlockTransactionFeeTransferInsertInput(sgqlc.types.Input): class BlockTransactionFeeTransferQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('type_in', 'fee_nin', 'type_exists', 'type_gte', 'fee_exists', 'type_lt', 'type_lte', 'fee_lt', 'type', 'recipient_in', 'fee_ne', 'and_', 'type_gt', 'fee_gt', 'type_nin', 'recipient_nin', 'type_ne', 'fee_in', 'recipient_gte', 'recipient_lt', 'fee_gte', 'recipient_exists', 'fee', 'recipient', 'recipient_lte', 'recipient_ne', 'recipient_gt', 'fee_lte', 'or_') - type_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='type_in') - fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_nin') - type_exists = sgqlc.types.Field(Boolean, graphql_name='type_exists') - type_gte = sgqlc.types.Field(String, graphql_name='type_gte') - fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') + __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') - type_lte = sgqlc.types.Field(String, graphql_name='type_lte') + 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') - recipient_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='recipient_in') + 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') - type_gt = sgqlc.types.Field(String, graphql_name='type_gt') - fee_gt = sgqlc.types.Field(Long, graphql_name='fee_gt') - type_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='type_nin') - recipient_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='recipient_nin') - type_ne = sgqlc.types.Field(String, graphql_name='type_ne') - fee_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_in') - recipient_gte = sgqlc.types.Field(String, graphql_name='recipient_gte') - recipient_lt = sgqlc.types.Field(String, graphql_name='recipient_lt') + 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_exists = sgqlc.types.Field(Boolean, graphql_name='recipient_exists') - fee = sgqlc.types.Field(Long, graphql_name='fee') - recipient = sgqlc.types.Field(String, graphql_name='recipient') - recipient_lte = sgqlc.types.Field(String, graphql_name='recipient_lte') recipient_ne = sgqlc.types.Field(String, graphql_name='recipient_ne') - recipient_gt = sgqlc.types.Field(String, graphql_name='recipient_gt') + 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') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionFeeTransferQueryInput')), graphql_name='OR') class BlockTransactionFeeTransferUpdateInput(sgqlc.types.Input): @@ -821,43 +832,42 @@ class BlockTransactionFeeTransferUpdateInput(sgqlc.types.Input): class BlockTransactionInsertInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('user_commands', 'coinbase', 'coinbase_receiver_account', 'fee_transfer') - user_commands = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandInsertInput'), graphql_name='userCommands') + __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__ = ('or_', 'coinbase_receiver_account', 'fee_transfer_in', 'coinbase_gt', 'and_', 'coinbase_ne', 'coinbase_exists', 'user_commands', 'coinbase', 'coinbase_lt', 'coinbase_nin', 'fee_transfer', 'coinbase_in', 'coinbase_lte', 'fee_transfer_nin', 'coinbase_receiver_account_exists', 'user_commands_in', 'coinbase_gte', 'user_commands_nin', 'fee_transfer_exists', 'user_commands_exists') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionQueryInput')), graphql_name='OR') + __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') - fee_transfer_in = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer_in') + coinbase_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='coinbase_nin') coinbase_gt = sgqlc.types.Field(Long, graphql_name='coinbase_gt') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionQueryInput')), graphql_name='AND') - coinbase_ne = sgqlc.types.Field(Long, graphql_name='coinbase_ne') - coinbase_exists = sgqlc.types.Field(Boolean, graphql_name='coinbase_exists') - user_commands = sgqlc.types.Field(sgqlc.types.list_of('BlockTransactionUserCommandQueryInput'), graphql_name='userCommands') - coinbase = sgqlc.types.Field(Long, graphql_name='coinbase') + 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') - coinbase_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='coinbase_nin') - fee_transfer = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer') - coinbase_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='coinbase_in') + user_commands_exists = sgqlc.types.Field(Boolean, graphql_name='userCommands_exists') coinbase_lte = sgqlc.types.Field(Long, graphql_name='coinbase_lte') - fee_transfer_nin = sgqlc.types.Field(sgqlc.types.list_of(BlockTransactionFeeTransferQueryInput), graphql_name='feeTransfer_nin') - coinbase_receiver_account_exists = sgqlc.types.Field(Boolean, graphql_name='coinbaseReceiverAccount_exists') - 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') + 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') - user_commands_exists = sgqlc.types.Field(Boolean, graphql_name='userCommands_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_unset', 'coinbase_receiver_account', 'coinbase_receiver_account_unset', 'fee_transfer', 'fee_transfer_unset', 'user_commands', 'user_commands_unset', 'coinbase') - coinbase_unset = sgqlc.types.Field(Boolean, graphql_name='coinbase_unset') + __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') @@ -865,6 +875,7 @@ class BlockTransactionUpdateInput(sgqlc.types.Input): 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): @@ -875,26 +886,26 @@ class BlockTransactionUserCommandFeePayerInsertInput(sgqlc.types.Input): class BlockTransactionUserCommandFeePayerQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('token_gte', 'token_lt', 'token_lte', 'token_ne', 'token_gt', 'token_in', 'token_nin', 'token_exists', 'and_', 'token', 'or_') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') - token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + __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_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') 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') - token = sgqlc.types.Field(Int, graphql_name='token') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFeePayerQueryInput')), graphql_name='OR') class BlockTransactionUserCommandFeePayerUpdateInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('token_unset', 'token', 'token_inc') - token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + __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): @@ -905,207 +916,207 @@ class BlockTransactionUserCommandFromAccountInsertInput(sgqlc.types.Input): class BlockTransactionUserCommandFromAccountQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('token_gte', 'token_lt', 'or_', 'token_lte', 'token_in', 'and_', 'token', 'token_nin', 'token_ne', 'token_exists', 'token_gt') + __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_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandFromAccountQueryInput')), graphql_name='OR') 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_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 BlockTransactionUserCommandFromAccountUpdateInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('token_unset', 'token', 'token_inc') - token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + __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__ = ('id', 'source', 'to_account', 'kind', 'from_', 'token', 'date_time', 'hash', 'is_delegation', 'fee', 'amount', 'fee_payer', 'from_account', 'block_height', 'receiver', 'failure_reason', 'block_state_hash', 'nonce', 'memo', 'fee_token', 'to') - id = sgqlc.types.Field(String, graphql_name='id') + __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') - to_account = sgqlc.types.Field('BlockTransactionUserCommandToAccountInsertInput', graphql_name='toAccount') - kind = sgqlc.types.Field(String, graphql_name='kind') - from_ = sgqlc.types.Field(String, graphql_name='from') - token = sgqlc.types.Field(Int, graphql_name='token') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - hash = sgqlc.types.Field(String, graphql_name='hash') - is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') - fee = sgqlc.types.Field(Int, graphql_name='fee') - amount = sgqlc.types.Field(Int, graphql_name='amount') - fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerInsertInput, graphql_name='feePayer') - from_account = sgqlc.types.Field(BlockTransactionUserCommandFromAccountInsertInput, graphql_name='fromAccount') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + 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') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - memo = sgqlc.types.Field(String, graphql_name='memo') 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__ = ('receiver_exists', 'hash_gte', 'failure_reason', 'hash_exists', 'nonce', 'block_state_hash_exists', 'id', 'from_gte', 'fee_gt', 'failure_reason_in', 'nonce_lte', 'block_state_hash', 'source_exists', 'kind_nin', 'token_gt', 'fee_token_gte', 'from_in', 'fee_token_lte', 'from_lte', 'from_account_exists', 'to_account_exists', 'to_ne', 'is_delegation', 'kind_ne', 'fee_exists', 'fee_lt', 'nonce_in', 'block_state_hash_gt', 'id_exists', 'memo', 'from_account', 'id_gt', 'block_state_hash_in', 'block_height_exists', 'id_gte', 'id_lte', 'memo_lt', 'date_time_exists', 'kind_in', 'hash_nin', 'block_state_hash_gte', 'to_gte', 'block_height_gte', 'to_nin', 'amount_gte', 'id_lt', 'fee_lte', 'amount_gt', 'fee_token', 'nonce_gte', 'is_delegation_exists', 'token_exists', 'fee_token_gt', 'and_', 'token_lt', 'date_time', 'fee_payer_exists', 'block_state_hash_ne', 'token_lte', 'kind_gte', 'nonce_nin', 'fee_token_nin', 'date_time_ne', 'amount_lt', 'id_ne', 'id_nin', 'source', 'from_nin', 'block_state_hash_lte', 'amount_exists', 'failure_reason_lte', 'amount_in', 'fee_token_ne', 'failure_reason_exists', 'nonce_lt', 'block_height', 'memo_gte', 'failure_reason_ne', 'amount_lte', 'block_height_ne', 'token_in', 'block_state_hash_lt', 'fee_token_exists', 'fee_token_lt', 'fee_in', 'or_', 'hash_ne', 'nonce_ne', 'from_gt', 'amount_ne', 'hash_gt', 'to_account', 'to_exists', 'block_height_lt', 'id_in', 'nonce_gt', 'hash', 'from_ne', 'kind_lte', 'nonce_exists', 'block_height_nin', 'hash_lte', 'date_time_lt', 'token_gte', 'fee_gte', 'failure_reason_lt', 'date_time_gte', 'to_gt', 'memo_in', 'to_lte', 'memo_nin', 'memo_exists', 'from_', 'date_time_gt', 'hash_in', 'to', 'fee_payer', 'amount', 'block_state_hash_nin', 'kind_exists', 'is_delegation_ne', 'failure_reason_gte', 'kind', 'from_lt', 'to_lt', 'memo_ne', 'block_height_gt', 'date_time_nin', 'date_time_lte', 'from_exists', 'fee_ne', 'amount_nin', 'hash_lt', 'fee_token_in', 'block_height_in', 'block_height_lte', 'date_time_in', 'kind_gt', 'kind_lt', 'fee_nin', 'fee', 'memo_gt', 'token_nin', 'token_ne', 'to_in', 'failure_reason_gt', 'failure_reason_nin', 'token', 'memo_lte', 'receiver') - receiver_exists = sgqlc.types.Field(Boolean, graphql_name='receiver_exists') - hash_gte = sgqlc.types.Field(String, graphql_name='hash_gte') - failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') - hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - block_state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_exists') - id = sgqlc.types.Field(String, graphql_name='id') - from_gte = sgqlc.types.Field(String, graphql_name='from_gte') - fee_gt = sgqlc.types.Field(Int, graphql_name='fee_gt') - failure_reason_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_in') - nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') + __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') - source_exists = sgqlc.types.Field(Boolean, graphql_name='source_exists') + 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') - fee_token_gte = sgqlc.types.Field(Int, graphql_name='feeToken_gte') - from_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_in') - fee_token_lte = sgqlc.types.Field(Int, graphql_name='feeToken_lte') - from_lte = sgqlc.types.Field(String, graphql_name='from_lte') + 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') - to_account_exists = sgqlc.types.Field(Boolean, graphql_name='toAccount_exists') - to_ne = sgqlc.types.Field(String, graphql_name='to_ne') - is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') + 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_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') - fee_lt = sgqlc.types.Field(Int, graphql_name='fee_lt') - nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') - block_state_hash_gt = sgqlc.types.Field(String, graphql_name='blockStateHash_gt') - id_exists = sgqlc.types.Field(Boolean, graphql_name='id_exists') - memo = sgqlc.types.Field(String, graphql_name='memo') - from_account = sgqlc.types.Field(BlockTransactionUserCommandFromAccountQueryInput, graphql_name='fromAccount') - id_gt = sgqlc.types.Field(String, graphql_name='id_gt') - block_state_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_in') - block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') - id_gte = sgqlc.types.Field(String, graphql_name='id_gte') + 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') - date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') - kind_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_in') - hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') - block_state_hash_gte = sgqlc.types.Field(String, graphql_name='blockStateHash_gte') - to_gte = sgqlc.types.Field(String, graphql_name='to_gte') - block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') + 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') - amount_gte = sgqlc.types.Field(Int, graphql_name='amount_gte') - id_lt = sgqlc.types.Field(String, graphql_name='id_lt') - fee_lte = sgqlc.types.Field(Int, graphql_name='fee_lte') - amount_gt = sgqlc.types.Field(Int, graphql_name='amount_gt') - fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') - nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') - is_delegation_exists = sgqlc.types.Field(Boolean, graphql_name='isDelegation_exists') - token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') - fee_token_gt = sgqlc.types.Field(Int, graphql_name='feeToken_gt') + memo = sgqlc.types.Field(String, graphql_name='memo') and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandQueryInput')), graphql_name='AND') - token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - fee_payer_exists = sgqlc.types.Field(Boolean, graphql_name='feePayer_exists') - block_state_hash_ne = sgqlc.types.Field(String, graphql_name='blockStateHash_ne') - token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') - kind_gte = sgqlc.types.Field(String, graphql_name='kind_gte') - nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') - fee_token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_nin') - date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') - amount_lt = sgqlc.types.Field(Int, graphql_name='amount_lt') - id_ne = sgqlc.types.Field(String, graphql_name='id_ne') - id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_nin') - source = sgqlc.types.Field('BlockTransactionUserCommandSourceQueryInput', graphql_name='source') - from_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='from_nin') - block_state_hash_lte = sgqlc.types.Field(String, graphql_name='blockStateHash_lte') amount_exists = sgqlc.types.Field(Boolean, graphql_name='amount_exists') - failure_reason_lte = sgqlc.types.Field(String, graphql_name='failureReason_lte') - amount_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='amount_in') - fee_token_ne = sgqlc.types.Field(Int, graphql_name='feeToken_ne') - failure_reason_exists = sgqlc.types.Field(Boolean, graphql_name='failureReason_exists') - nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - memo_gte = sgqlc.types.Field(String, graphql_name='memo_gte') - failure_reason_ne = sgqlc.types.Field(String, graphql_name='failureReason_ne') - amount_lte = sgqlc.types.Field(Int, graphql_name='amount_lte') - block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') - token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') - block_state_hash_lt = sgqlc.types.Field(String, graphql_name='blockStateHash_lt') - fee_token_exists = sgqlc.types.Field(Boolean, graphql_name='feeToken_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') - fee_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_in') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandQueryInput')), graphql_name='OR') - hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') - nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') - from_gt = sgqlc.types.Field(String, graphql_name='from_gt') - amount_ne = sgqlc.types.Field(Int, graphql_name='amount_ne') + 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') - to_account = sgqlc.types.Field('BlockTransactionUserCommandToAccountQueryInput', graphql_name='toAccount') - to_exists = sgqlc.types.Field(Boolean, graphql_name='to_exists') - block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') - id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_in') - nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') - hash = sgqlc.types.Field(String, graphql_name='hash') - from_ne = sgqlc.types.Field(String, graphql_name='from_ne') - kind_lte = sgqlc.types.Field(String, graphql_name='kind_lte') + 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') - block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') - hash_lte = sgqlc.types.Field(String, graphql_name='hash_lte') - date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') - fee_gte = sgqlc.types.Field(Int, graphql_name='fee_gte') - failure_reason_lt = sgqlc.types.Field(String, graphql_name='failureReason_lt') - date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') - to_gt = sgqlc.types.Field(String, graphql_name='to_gt') - memo_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_in') + 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_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_nin') - memo_exists = sgqlc.types.Field(Boolean, graphql_name='memo_exists') - from_ = sgqlc.types.Field(String, graphql_name='from') - date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') - hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') + 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') - fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerQueryInput, graphql_name='feePayer') - amount = sgqlc.types.Field(Int, graphql_name='amount') - block_state_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='blockStateHash_nin') - kind_exists = sgqlc.types.Field(Boolean, graphql_name='kind_exists') - is_delegation_ne = sgqlc.types.Field(Boolean, graphql_name='isDelegation_ne') - failure_reason_gte = sgqlc.types.Field(String, graphql_name='failureReason_gte') - kind = sgqlc.types.Field(String, graphql_name='kind') - from_lt = sgqlc.types.Field(String, graphql_name='from_lt') - to_lt = sgqlc.types.Field(String, graphql_name='to_lt') - memo_ne = sgqlc.types.Field(String, graphql_name='memo_ne') - block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') - date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') - date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') - from_exists = sgqlc.types.Field(Boolean, graphql_name='from_exists') - fee_ne = sgqlc.types.Field(Int, graphql_name='fee_ne') - amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='amount_nin') - hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') - fee_token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_in') + 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') - block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') + 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') - kind_gt = sgqlc.types.Field(String, graphql_name='kind_gt') - kind_lt = sgqlc.types.Field(String, graphql_name='kind_lt') - fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='fee_nin') - fee = sgqlc.types.Field(Int, graphql_name='fee') - memo_gt = sgqlc.types.Field(String, graphql_name='memo_gt') - token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + 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') - failure_reason_gt = sgqlc.types.Field(String, graphql_name='failureReason_gt') - failure_reason_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_nin') - token = sgqlc.types.Field(Int, graphql_name='token') + 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') - receiver = sgqlc.types.Field('BlockTransactionUserCommandReceiverQueryInput', graphql_name='receiver') + 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): @@ -1116,25 +1127,25 @@ class BlockTransactionUserCommandReceiverInsertInput(sgqlc.types.Input): class BlockTransactionUserCommandReceiverQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('public_key_exists', 'public_key', 'public_key_lte', 'public_key_nin', 'or_', 'public_key_gt', 'public_key_lt', 'public_key_ne', 'public_key_gte', 'public_key_in', 'and_') - public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') - public_key = sgqlc.types.Field(String, graphql_name='publicKey') + __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_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('BlockTransactionUserCommandReceiverQueryInput')), 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') - 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') 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', 'public_key_unset') - public_key = sgqlc.types.Field(String, graphql_name='publicKey') + __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): @@ -1145,25 +1156,25 @@ class BlockTransactionUserCommandSourceInsertInput(sgqlc.types.Input): class BlockTransactionUserCommandSourceQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('and_', 'public_key_gt', 'public_key', 'public_key_in', 'public_key_exists', 'or_', 'public_key_nin', 'public_key_lt', 'public_key_ne', 'public_key_gte', 'public_key_lte') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandSourceQueryInput')), graphql_name='AND') - 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') + __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') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandSourceQueryInput')), graphql_name='OR') - 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_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_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') 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_unset', 'public_key') - public_key_unset = sgqlc.types.Field(Boolean, graphql_name='publicKey_unset') + __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): @@ -1174,200 +1185,200 @@ class BlockTransactionUserCommandToAccountInsertInput(sgqlc.types.Input): class BlockTransactionUserCommandToAccountQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('token_lt', 'or_', 'token_exists', 'token_nin', 'and_', 'token_lte', 'token_gt', 'token_ne', 'token_gte', 'token', 'token_in') - token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockTransactionUserCommandToAccountQueryInput')), graphql_name='OR') - token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') - token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') + __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_gt = sgqlc.types.Field(Int, graphql_name='token_gt') - token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') 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_unset', 'token', 'token_inc') - token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') + __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__ = ('receiver', 'hash_unset', 'fee_token_unset', 'nonce', 'id', 'date_time_unset', 'fee_unset', 'failure_reason_unset', 'token', 'to_account_unset', 'from_unset', 'kind', 'fee_payer', 'to_account', 'source_unset', 'fee', 'memo', 'is_delegation_unset', 'hash', 'token_unset', 'from_account', 'failure_reason', 'block_state_hash_unset', 'block_state_hash', 'from_', 'source', 'from_account_unset', 'block_height_unset', 'memo_unset', 'fee_payer_unset', 'amount_inc', 'fee_inc', 'amount', 'receiver_unset', 'kind_unset', 'nonce_inc', 'amount_unset', 'token_inc', 'block_height', 'fee_token_inc', 'fee_token', 'id_unset', 'to', 'nonce_unset', 'block_height_inc', 'to_unset', 'is_delegation', 'date_time') - receiver = sgqlc.types.Field(BlockTransactionUserCommandReceiverUpdateInput, graphql_name='receiver') - hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') - fee_token_unset = sgqlc.types.Field(Boolean, graphql_name='feeToken_unset') + __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') - id = sgqlc.types.Field(String, graphql_name='id') - date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') - fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + 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') - to_account_unset = sgqlc.types.Field(Boolean, graphql_name='toAccount_unset') - from_unset = sgqlc.types.Field(Boolean, graphql_name='from_unset') - kind = sgqlc.types.Field(String, graphql_name='kind') - fee_payer = sgqlc.types.Field(BlockTransactionUserCommandFeePayerUpdateInput, graphql_name='feePayer') - to_account = sgqlc.types.Field(BlockTransactionUserCommandToAccountUpdateInput, graphql_name='toAccount') + 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 = sgqlc.types.Field(Int, graphql_name='fee') - memo = sgqlc.types.Field(String, graphql_name='memo') - is_delegation_unset = sgqlc.types.Field(Boolean, graphql_name='isDelegation_unset') - hash = sgqlc.types.Field(String, graphql_name='hash') + 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') - failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') - block_state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='blockStateHash_unset') - block_state_hash = sgqlc.types.Field(String, graphql_name='blockStateHash') + 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') - source = sgqlc.types.Field(BlockTransactionUserCommandSourceUpdateInput, graphql_name='source') - from_account_unset = sgqlc.types.Field(Boolean, graphql_name='fromAccount_unset') - block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') - memo_unset = sgqlc.types.Field(Boolean, graphql_name='memo_unset') - fee_payer_unset = sgqlc.types.Field(Boolean, graphql_name='feePayer_unset') - amount_inc = sgqlc.types.Field(Int, graphql_name='amount_inc') - fee_inc = sgqlc.types.Field(Int, graphql_name='fee_inc') - amount = sgqlc.types.Field(Int, graphql_name='amount') + 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') - kind_unset = sgqlc.types.Field(Boolean, graphql_name='kind_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') - amount_unset = sgqlc.types.Field(Boolean, graphql_name='amount_unset') + 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') - fee_token_inc = sgqlc.types.Field(Int, graphql_name='feeToken_inc') - fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') - id_unset = sgqlc.types.Field(Boolean, graphql_name='id_unset') - to = sgqlc.types.Field(String, graphql_name='to') - nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') - block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') - to_unset = sgqlc.types.Field(Boolean, graphql_name='to_unset') - is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - - -class BlockUpdateInput(sgqlc.types.Input): - __schema__ = mina_explorer_schema - __field_names__ = ('date_time', 'creator_account_unset', 'snark_jobs', 'block_height_unset', 'canonical_unset', 'snark_jobs_unset', 'transactions_unset', 'protocol_state', 'protocol_state_unset', 'creator_account', 'state_hash_field', 'canonical', 'block_height', 'state_hash_unset', 'received_time_unset', 'creator', 'transactions', 'winner_account', 'winner_account_unset', 'date_time_unset', 'block_height_inc', 'creator_unset', 'state_hash_field_unset', 'state_hash', 'received_time') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - creator_account_unset = sgqlc.types.Field(Boolean, graphql_name='creatorAccount_unset') - snark_jobs = sgqlc.types.Field(sgqlc.types.list_of(BlockSnarkJobUpdateInput), graphql_name='snarkJobs') + 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') - canonical_unset = sgqlc.types.Field(Boolean, graphql_name='canonical_unset') - snark_jobs_unset = sgqlc.types.Field(Boolean, graphql_name='snarkJobs_unset') - transactions_unset = sgqlc.types.Field(Boolean, graphql_name='transactions_unset') - protocol_state = sgqlc.types.Field(BlockProtocolStateUpdateInput, graphql_name='protocolState') - protocol_state_unset = sgqlc.types.Field(Boolean, graphql_name='protocolState_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') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='stateHash_unset') - received_time_unset = sgqlc.types.Field(Boolean, graphql_name='receivedTime_unset') - creator = sgqlc.types.Field(String, graphql_name='creator') - transactions = sgqlc.types.Field(BlockTransactionUpdateInput, graphql_name='transactions') - winner_account = sgqlc.types.Field('BlockWinnerAccountUpdateInput', graphql_name='winnerAccount') winner_account_unset = sgqlc.types.Field(Boolean, graphql_name='winnerAccount_unset') - date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_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') - state_hash = sgqlc.types.Field(String, graphql_name='stateHash') - received_time = sgqlc.types.Field(DateTime, graphql_name='receivedTime') + 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__ = ('block_height', 'liquid', 'locked', 'state_hash', 'total', 'unknown') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + __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__ = ('total_in', 'locked_lte', 'liquid_lt', 'state_hash_lte', 'unknown_ne', 'unknown_gte', 'state_hash_ne', 'block_height_nin', 'locked_gte', 'block_height_exists', 'or_', 'block_height_lt', 'state_hash_lt', 'unknown_nin', 'total_exists', 'state_hash_nin', 'state_hash_gt', 'liquid_ne', 'state_hash', 'unknown_in', 'total_lte', 'unknown_lt', 'block_height', 'liquid_gte', 'state_hash_gte', 'locked_exists', 'total_ne', 'and_', 'block_height_lte', 'liquid_nin', 'total', 'block_height_gte', 'liquid_in', 'unknown_gt', 'unknown_lte', 'locked_gt', 'block_height_gt', 'block_height_ne', 'locked_lt', 'locked_ne', 'locked', 'state_hash_exists', 'total_gte', 'state_hash_in', 'liquid', 'unknown_exists', 'locked_nin', 'locked_in', 'total_nin', 'total_gt', 'total_lt', 'liquid_lte', 'block_height_in', 'liquid_exists', 'unknown', 'liquid_gt') + __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_lte = sgqlc.types.Field(Long, graphql_name='locked_lte') - liquid_lt = sgqlc.types.Field(Int, graphql_name='liquid_lt') - state_hash_lte = sgqlc.types.Field(String, graphql_name='stateHash_lte') - unknown_ne = sgqlc.types.Field(Long, graphql_name='unknown_ne') + 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') - state_hash_ne = sgqlc.types.Field(String, graphql_name='stateHash_ne') - block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') - locked_gte = sgqlc.types.Field(Long, graphql_name='locked_gte') - block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountBalanceQueryInput')), graphql_name='OR') - block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') - state_hash_lt = sgqlc.types.Field(String, graphql_name='stateHash_lt') - unknown_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='unknown_nin') - total_exists = sgqlc.types.Field(Boolean, graphql_name='total_exists') + 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_gt = sgqlc.types.Field(String, graphql_name='stateHash_gt') - liquid_ne = sgqlc.types.Field(Int, graphql_name='liquid_ne') - state_hash = sgqlc.types.Field(String, graphql_name='stateHash') - unknown_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='unknown_in') - total_lte = sgqlc.types.Field(Long, graphql_name='total_lte') - unknown_lt = sgqlc.types.Field(Long, graphql_name='unknown_lt') + 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') - state_hash_gte = sgqlc.types.Field(String, graphql_name='stateHash_gte') - locked_exists = sgqlc.types.Field(Boolean, graphql_name='locked_exists') - total_ne = sgqlc.types.Field(Long, graphql_name='total_ne') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountBalanceQueryInput')), graphql_name='AND') + 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') - liquid_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='liquid_nin') - total = sgqlc.types.Field(Long, graphql_name='total') - block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') - liquid_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='liquid_in') - unknown_gt = sgqlc.types.Field(Long, graphql_name='unknown_gt') - unknown_lte = sgqlc.types.Field(Long, graphql_name='unknown_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') - block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') - locked_lt = sgqlc.types.Field(Long, graphql_name='locked_lt') - locked_ne = sgqlc.types.Field(Long, graphql_name='locked_ne') - locked = sgqlc.types.Field(Long, graphql_name='locked') - state_hash_exists = sgqlc.types.Field(Boolean, graphql_name='stateHash_exists') - total_gte = sgqlc.types.Field(Long, graphql_name='total_gte') + 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') - liquid = sgqlc.types.Field(Int, graphql_name='liquid') - unknown_exists = sgqlc.types.Field(Boolean, graphql_name='unknown_exists') - locked_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='locked_nin') - locked_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='locked_in') - total_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='total_nin') - total_gt = sgqlc.types.Field(Long, graphql_name='total_gt') - total_lt = sgqlc.types.Field(Long, graphql_name='total_lt') - liquid_lte = sgqlc.types.Field(Int, graphql_name='liquid_lte') + 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') - liquid_gt = sgqlc.types.Field(Int, graphql_name='liquid_gt') + 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__ = ('block_height_inc', 'total_unset', 'block_height_unset', 'liquid_unset', 'state_hash', 'liquid_inc', 'locked_unset', 'state_hash_unset', 'total', 'block_height', 'liquid', 'locked', 'unknown', 'unknown_unset') - block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') - total_unset = sgqlc.types.Field(Boolean, graphql_name='total_unset') - block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') - liquid_unset = sgqlc.types.Field(Boolean, graphql_name='liquid_unset') - state_hash = sgqlc.types.Field(String, graphql_name='stateHash') - liquid_inc = sgqlc.types.Field(Int, graphql_name='liquid_inc') - locked_unset = sgqlc.types.Field(Boolean, graphql_name='locked_unset') - state_hash_unset = sgqlc.types.Field(Boolean, graphql_name='stateHash_unset') - total = sgqlc.types.Field(Long, graphql_name='total') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') + __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): @@ -1379,20 +1390,20 @@ class BlockWinnerAccountInsertInput(sgqlc.types.Input): class BlockWinnerAccountQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('balance_exists', 'public_key_gt', 'public_key', 'public_key_exists', 'public_key_ne', 'public_key_gte', 'and_', 'balance', 'public_key_in', 'or_', 'public_key_lt', 'public_key_nin', 'public_key_lte') - balance_exists = sgqlc.types.Field(Boolean, graphql_name='balance_exists') + __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_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') - public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') - public_key_gte = sgqlc.types.Field(String, graphql_name='publicKey_gte') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountQueryInput')), graphql_name='AND') - balance = sgqlc.types.Field(BlockWinnerAccountBalanceQueryInput, graphql_name='balance') 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') - public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') + and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BlockWinnerAccountQueryInput')), graphql_name='AND') class BlockWinnerAccountUpdateInput(sgqlc.types.Input): @@ -1404,462 +1415,1003 @@ class BlockWinnerAccountUpdateInput(sgqlc.types.Input): public_key_unset = sgqlc.types.Field(Boolean, graphql_name='publicKey_unset') -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): +class NextstakeInsertInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('work_ids', 'block_height', 'block', 'canonical', 'date_time', 'fee', 'prover') - work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') - 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') + __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 SnarkQueryInput(sgqlc.types.Input): +class NextstakePermissionInsertInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('prover_gt', 'date_time_exists', 'canonical_ne', 'fee_ne', 'date_time_nin', 'prover_lt', 'fee', 'block_height', 'date_time_in', 'and_', 'prover_lte', 'block_height_in', 'prover', 'block_exists', 'canonical_exists', 'fee_lte', 'fee_gt', 'block_height_lte', 'date_time_lte', 'block_height_lt', 'block_height_exists', 'work_ids', 'block_height_nin', 'fee_exists', 'prover_in', 'block_height_gte', 'fee_lt', 'date_time_gte', 'block_height_gt', 'fee_in', 'prover_nin', 'block_height_ne', 'date_time_ne', 'date_time_lt', 'prover_gte', 'prover_exists', 'or_', 'prover_ne', 'work_ids_in', 'date_time_gt', 'block', 'fee_nin', 'date_time', 'work_ids_exists', 'work_ids_nin', 'canonical', 'fee_gte') - prover_gt = sgqlc.types.Field(String, graphql_name='prover_gt') - date_time_exists = sgqlc.types.Field(Boolean, graphql_name='dateTime_exists') - canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') - 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') - prover_lt = sgqlc.types.Field(String, graphql_name='prover_lt') - fee = sgqlc.types.Field(Float, graphql_name='fee') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SnarkQueryInput')), graphql_name='AND') - prover_lte = sgqlc.types.Field(String, graphql_name='prover_lte') - block_height_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_in') - prover = sgqlc.types.Field(String, graphql_name='prover') - block_exists = sgqlc.types.Field(Boolean, graphql_name='block_exists') - canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') - fee_lte = sgqlc.types.Field(Float, graphql_name='fee_lte') - fee_gt = sgqlc.types.Field(Float, graphql_name='fee_gt') - block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') - date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') - block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') - block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') - work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') - block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') - fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') - prover_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_in') - block_height_gte = sgqlc.types.Field(Int, graphql_name='blockHeight_gte') - fee_lt = sgqlc.types.Field(Float, graphql_name='fee_lt') - date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') - block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') - fee_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='fee_in') - prover_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='prover_nin') - block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') - date_time_ne = sgqlc.types.Field(DateTime, graphql_name='dateTime_ne') - date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') - prover_gte = sgqlc.types.Field(String, graphql_name='prover_gte') - prover_exists = sgqlc.types.Field(Boolean, graphql_name='prover_exists') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SnarkQueryInput')), graphql_name='OR') - prover_ne = sgqlc.types.Field(String, graphql_name='prover_ne') - work_ids_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_in') - date_time_gt = sgqlc.types.Field(DateTime, graphql_name='dateTime_gt') - block = sgqlc.types.Field(BlockQueryInput, graphql_name='block') - fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='fee_nin') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - work_ids_exists = sgqlc.types.Field(Boolean, graphql_name='workIds_exists') - work_ids_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds_nin') - canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') - fee_gte = sgqlc.types.Field(Float, graphql_name='fee_gte') + __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 SnarkUpdateInput(sgqlc.types.Input): +class NextstakePermissionQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('fee_unset', 'block', 'prover', 'block_height_inc', 'block_unset', 'work_ids', 'canonical', 'block_height_unset', 'block_height', 'fee_inc', 'canonical_unset', 'prover_unset', 'date_time_unset', 'work_ids_unset', 'date_time', 'fee') - fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') - block = sgqlc.types.Field(SnarkBlockStateHashRelationInput, graphql_name='block') - prover = sgqlc.types.Field(String, graphql_name='prover') - block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') - block_unset = sgqlc.types.Field(Boolean, graphql_name='block_unset') - work_ids = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='workIds') - canonical = sgqlc.types.Field(Boolean, graphql_name='canonical') - block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') + __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') - canonical_unset = sgqlc.types.Field(Boolean, graphql_name='canonical_unset') - prover_unset = sgqlc.types.Field(Boolean, graphql_name='prover_unset') - date_time_unset = sgqlc.types.Field(Boolean, graphql_name='dateTime_unset') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') work_ids_unset = sgqlc.types.Field(Boolean, graphql_name='workIds_unset') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - fee = sgqlc.types.Field(Float, graphql_name='fee') + 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__ = ('receipt_chain_hash', 'ledger_hash', 'timing', 'delegate', 'token', 'pk', 'voting_for', 'chain_id', 'balance', 'nonce', 'permissions', 'epoch', 'public_key') - 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') - delegate = sgqlc.types.Field(String, graphql_name='delegate') - token = sgqlc.types.Field(Int, graphql_name='token') - pk = sgqlc.types.Field(String, graphql_name='pk') + __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') - chain_id = sgqlc.types.Field(String, graphql_name='chainId') - balance = sgqlc.types.Field(Float, graphql_name='balance') 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_verification_key', 'stake', 'edit_state', 'send', 'set_delegate', 'set_permissions') + __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') - set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') - set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') class StakePermissionQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('edit_state_lt', 'send_lt', 'and_', 'send_gte', 'set_delegate_in', 'edit_state_exists', 'stake_exists', 'send_in', 'set_verification_key_gte', 'send_ne', 'or_', 'set_verification_key_nin', 'set_delegate_nin', 'set_permissions_exists', 'set_permissions', 'set_permissions_lt', 'send_gt', 'set_permissions_in', 'set_verification_key_gt', 'edit_state_nin', 'set_verification_key', 'set_delegate_gt', 'set_permissions_gte', 'set_verification_key_exists', 'edit_state_gt', 'set_delegate', 'stake_ne', 'edit_state_ne', 'set_delegate_exists', 'send_nin', 'set_verification_key_lte', 'send_lte', 'set_permissions_ne', 'edit_state_gte', 'send', 'stake', 'set_permissions_lte', 'set_verification_key_in', 'edit_state', 'set_delegate_gte', 'set_permissions_gt', 'edit_state_lte', 'edit_state_in', 'set_delegate_lte', 'set_verification_key_ne', 'set_delegate_lt', 'set_verification_key_lt', 'set_delegate_ne', 'set_permissions_nin', 'send_exists') - edit_state_lt = sgqlc.types.Field(String, graphql_name='edit_state_lt') - send_lt = sgqlc.types.Field(String, graphql_name='send_lt') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakePermissionQueryInput')), graphql_name='AND') - send_gte = sgqlc.types.Field(String, graphql_name='send_gte') - set_delegate_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_delegate_in') - edit_state_exists = sgqlc.types.Field(Boolean, graphql_name='edit_state_exists') - stake_exists = sgqlc.types.Field(Boolean, graphql_name='stake_exists') - send_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='send_in') - set_verification_key_gte = sgqlc.types.Field(String, graphql_name='set_verification_key_gte') + __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') - set_verification_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_verification_key_nin') - set_delegate_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_delegate_nin') - set_permissions_exists = sgqlc.types.Field(Boolean, graphql_name='set_permissions_exists') + 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_permissions_lt = sgqlc.types.Field(String, graphql_name='set_permissions_lt') + 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_permissions_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_permissions_in') - set_verification_key_gt = sgqlc.types.Field(String, graphql_name='set_verification_key_gt') - edit_state_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='edit_state_nin') - set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') - set_delegate_gt = sgqlc.types.Field(String, graphql_name='set_delegate_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_verification_key_exists = sgqlc.types.Field(Boolean, graphql_name='set_verification_key_exists') - edit_state_gt = sgqlc.types.Field(String, graphql_name='edit_state_gt') set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') - stake_ne = sgqlc.types.Field(Boolean, graphql_name='stake_ne') edit_state_ne = sgqlc.types.Field(String, graphql_name='edit_state_ne') - set_delegate_exists = sgqlc.types.Field(Boolean, graphql_name='set_delegate_exists') - send_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='send_nin') - set_verification_key_lte = sgqlc.types.Field(String, graphql_name='set_verification_key_lte') - send_lte = sgqlc.types.Field(String, graphql_name='send_lte') + send_lt = sgqlc.types.Field(String, graphql_name='send_lt') set_permissions_ne = sgqlc.types.Field(String, graphql_name='set_permissions_ne') - edit_state_gte = sgqlc.types.Field(String, graphql_name='edit_state_gte') - send = sgqlc.types.Field(String, graphql_name='send') + set_verification_key_lte = sgqlc.types.Field(String, graphql_name='set_verification_key_lte') stake = sgqlc.types.Field(Boolean, graphql_name='stake') - set_permissions_lte = sgqlc.types.Field(String, graphql_name='set_permissions_lte') - set_verification_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_verification_key_in') - edit_state = sgqlc.types.Field(String, graphql_name='edit_state') - set_delegate_gte = sgqlc.types.Field(String, graphql_name='set_delegate_gte') - set_permissions_gt = sgqlc.types.Field(String, graphql_name='set_permissions_gt') - edit_state_lte = sgqlc.types.Field(String, graphql_name='edit_state_lte') - edit_state_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='edit_state_in') - set_delegate_lte = sgqlc.types.Field(String, graphql_name='set_delegate_lte') - set_verification_key_ne = sgqlc.types.Field(String, graphql_name='set_verification_key_ne') + 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_verification_key_lt = sgqlc.types.Field(String, graphql_name='set_verification_key_lt') - set_delegate_ne = sgqlc.types.Field(String, graphql_name='set_delegate_ne') set_permissions_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='set_permissions_nin') - send_exists = sgqlc.types.Field(Boolean, graphql_name='send_exists') + 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__ = ('send', 'set_verification_key_unset', 'edit_state_unset', 'send_unset', 'edit_state', 'set_delegate', 'set_delegate_unset', 'stake_unset', 'set_permissions', 'set_permissions_unset', 'set_verification_key', 'stake') - send = sgqlc.types.Field(String, graphql_name='send') + __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') - edit_state_unset = sgqlc.types.Field(Boolean, graphql_name='edit_state_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') - edit_state = sgqlc.types.Field(String, graphql_name='edit_state') set_delegate = sgqlc.types.Field(String, graphql_name='set_delegate') - set_delegate_unset = sgqlc.types.Field(Boolean, graphql_name='set_delegate_unset') - stake_unset = sgqlc.types.Field(Boolean, graphql_name='stake_unset') - set_permissions = sgqlc.types.Field(String, graphql_name='set_permissions') set_permissions_unset = sgqlc.types.Field(Boolean, graphql_name='set_permissions_unset') - set_verification_key = sgqlc.types.Field(String, graphql_name='set_verification_key') - stake = sgqlc.types.Field(Boolean, graphql_name='stake') + 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__ = ('public_key_nin', 'ledger_hash_exists', 'chain_id_nin', 'receipt_chain_hash_exists', 'voting_for_lte', 'nonce_gte', 'timing_exists', 'token_exists', 'voting_for_gt', 'epoch_in', 'epoch', 'ledger_hash_in', 'nonce_lte', 'receipt_chain_hash_gt', 'pk_gte', 'delegate_nin', 'receipt_chain_hash_ne', 'nonce_in', 'balance_nin', 'public_key_gte', 'delegate_exists', 'chain_id_in', 'ledger_hash_lte', 'pk_lte', 'epoch_gte', 'balance_exists', 'receipt_chain_hash_in', 'public_key_gt', 'balance_gt', 'epoch_exists', 'token_gte', 'epoch_lt', 'chain_id', 'pk_in', 'pk_lt', 'balance', 'token_lte', 'delegate_lte', 'delegate_in', 'voting_for_lt', 'permissions_exists', 'balance_ne', 'ledger_hash_gte', 'delegate', 'nonce_nin', 'chain_id_exists', 'delegate_gt', 'chain_id_lt', 'chain_id_lte', 'pk', 'receipt_chain_hash_lte', 'receipt_chain_hash_nin', 'ledger_hash_gt', 'chain_id_ne', 'public_key_exists', 'epoch_nin', 'voting_for', 'pk_ne', 'nonce_gt', 'voting_for_in', 'ledger_hash', 'or_', 'chain_id_gte', 'token', 'epoch_lte', 'balance_lt', 'timing', 'voting_for_ne', 'token_gt', 'public_key_ne', 'receipt_chain_hash_gte', 'delegate_ne', 'receipt_chain_hash', 'token_in', 'epoch_gt', 'public_key_lte', 'public_key', 'voting_for_gte', 'token_lt', 'balance_in', 'voting_for_nin', 'public_key_in', 'receipt_chain_hash_lt', 'token_nin', 'epoch_ne', 'balance_lte', 'pk_gt', 'balance_gte', 'voting_for_exists', 'permissions', 'delegate_gte', 'pk_nin', 'ledger_hash_ne', 'nonce_exists', 'chain_id_gt', 'token_ne', 'public_key_lt', 'delegate_lt', 'nonce_lt', 'ledger_hash_nin', 'and_', 'nonce_ne', 'nonce', 'ledger_hash_lt', 'pk_exists') - public_key_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='public_key_nin') - ledger_hash_exists = sgqlc.types.Field(Boolean, graphql_name='ledgerHash_exists') - chain_id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='chainId_nin') - receipt_chain_hash_exists = sgqlc.types.Field(Boolean, graphql_name='receipt_chain_hash_exists') - voting_for_lte = sgqlc.types.Field(String, graphql_name='voting_for_lte') - nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') - timing_exists = sgqlc.types.Field(Boolean, graphql_name='timing_exists') - token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') - voting_for_gt = sgqlc.types.Field(String, graphql_name='voting_for_gt') - epoch_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_in') - epoch = sgqlc.types.Field(Int, graphql_name='epoch') - ledger_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='ledgerHash_in') - nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') - receipt_chain_hash_gt = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_gt') - pk_gte = sgqlc.types.Field(String, graphql_name='pk_gte') - delegate_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='delegate_nin') + __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') - nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') - balance_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='balance_nin') - public_key_gte = sgqlc.types.Field(String, graphql_name='public_key_gte') - delegate_exists = sgqlc.types.Field(Boolean, graphql_name='delegate_exists') - chain_id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='chainId_in') ledger_hash_lte = sgqlc.types.Field(String, graphql_name='ledgerHash_lte') - pk_lte = sgqlc.types.Field(String, graphql_name='pk_lte') - epoch_gte = sgqlc.types.Field(Int, graphql_name='epoch_gte') - balance_exists = sgqlc.types.Field(Boolean, graphql_name='balance_exists') receipt_chain_hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='receipt_chain_hash_in') - public_key_gt = sgqlc.types.Field(String, graphql_name='public_key_gt') - balance_gt = sgqlc.types.Field(Float, graphql_name='balance_gt') - epoch_exists = sgqlc.types.Field(Boolean, graphql_name='epoch_exists') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') - epoch_lt = sgqlc.types.Field(Int, graphql_name='epoch_lt') - chain_id = sgqlc.types.Field(String, graphql_name='chainId') - pk_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='pk_in') - pk_lt = sgqlc.types.Field(String, graphql_name='pk_lt') - balance = sgqlc.types.Field(Float, graphql_name='balance') - token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') - delegate_lte = sgqlc.types.Field(String, graphql_name='delegate_lte') - delegate_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='delegate_in') - voting_for_lt = sgqlc.types.Field(String, graphql_name='voting_for_lt') - permissions_exists = sgqlc.types.Field(Boolean, graphql_name='permissions_exists') + 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') - chain_id_exists = sgqlc.types.Field(Boolean, graphql_name='chainId_exists') - delegate_gt = sgqlc.types.Field(String, graphql_name='delegate_gt') + 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') - chain_id_lte = sgqlc.types.Field(String, graphql_name='chainId_lte') + 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') - receipt_chain_hash_lte = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_lte') - receipt_chain_hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='receipt_chain_hash_nin') - ledger_hash_gt = sgqlc.types.Field(String, graphql_name='ledgerHash_gt') + 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') - public_key_exists = sgqlc.types.Field(Boolean, graphql_name='public_key_exists') - epoch_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='epoch_nin') + 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') - pk_ne = sgqlc.types.Field(String, graphql_name='pk_ne') - nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') - voting_for_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='voting_for_in') - ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeQueryInput')), graphql_name='OR') - chain_id_gte = sgqlc.types.Field(String, graphql_name='chainId_gte') - token = sgqlc.types.Field(Int, graphql_name='token') - epoch_lte = sgqlc.types.Field(Int, graphql_name='epoch_lte') - balance_lt = sgqlc.types.Field(Float, graphql_name='balance_lt') - timing = sgqlc.types.Field('StakeTimingQueryInput', graphql_name='timing') - voting_for_ne = sgqlc.types.Field(String, graphql_name='voting_for_ne') - token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') - public_key_ne = sgqlc.types.Field(String, graphql_name='public_key_ne') - receipt_chain_hash_gte = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_gte') - delegate_ne = sgqlc.types.Field(String, graphql_name='delegate_ne') - receipt_chain_hash = sgqlc.types.Field(String, graphql_name='receipt_chain_hash') - token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') - epoch_gt = sgqlc.types.Field(Int, graphql_name='epoch_gt') - public_key_lte = sgqlc.types.Field(String, graphql_name='public_key_lte') - public_key = sgqlc.types.Field(String, graphql_name='public_key') - voting_for_gte = sgqlc.types.Field(String, graphql_name='voting_for_gte') - token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - balance_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='balance_in') + 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') - public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='public_key_in') - receipt_chain_hash_lt = sgqlc.types.Field(String, graphql_name='receipt_chain_hash_lt') - token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') - epoch_ne = sgqlc.types.Field(Int, graphql_name='epoch_ne') - balance_lte = sgqlc.types.Field(Float, graphql_name='balance_lte') pk_gt = sgqlc.types.Field(String, graphql_name='pk_gt') - balance_gte = sgqlc.types.Field(Float, graphql_name='balance_gte') - voting_for_exists = sgqlc.types.Field(Boolean, graphql_name='voting_for_exists') - permissions = sgqlc.types.Field(StakePermissionQueryInput, graphql_name='permissions') - delegate_gte = sgqlc.types.Field(String, graphql_name='delegate_gte') pk_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='pk_nin') - ledger_hash_ne = sgqlc.types.Field(String, graphql_name='ledgerHash_ne') 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') - token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') - public_key_lt = sgqlc.types.Field(String, graphql_name='public_key_lt') - delegate_lt = sgqlc.types.Field(String, graphql_name='delegate_lt') - nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') + 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') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeQueryInput')), graphql_name='AND') + 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') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - ledger_hash_lt = sgqlc.types.Field(String, graphql_name='ledgerHash_lt') - pk_exists = sgqlc.types.Field(Boolean, graphql_name='pk_exists') + 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', 'vesting_period', 'initial_minimum_balance', 'vesting_increment', 'untimed_slot', 'cliff_amount', 'timed_in_epoch', 'cliff_time', 'timed_weighting') + __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') - vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') + 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') untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') - cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') - cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') + 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__ = ('initial_minimum_balance', 'initial_minimum_balance_lt', 'untimed_slot_in', 'vesting_increment_lte', 'or_', 'initial_minimum_balance_gte', 'timed_weighting', 'untimed_slot_gt', 'vesting_increment_exists', 'untimed_slot_gte', 'timed_weighting_gt', 'vesting_increment_nin', 'cliff_amount_ne', 'cliff_amount_nin', 'cliff_time_lt', 'vesting_period_lt', 'timed_weighting_ne', 'vesting_period', 'vesting_period_nin', 'vesting_increment', 'vesting_increment_gt', 'cliff_time', 'timed_epoch_end', 'untimed_slot', 'initial_minimum_balance_exists', 'cliff_amount_gte', 'timed_in_epoch_exists', 'cliff_amount_lte', 'initial_minimum_balance_nin', 'cliff_time_nin', 'initial_minimum_balance_in', 'and_', 'vesting_period_gte', 'vesting_increment_lt', 'vesting_increment_gte', 'cliff_amount_lt', 'vesting_period_lte', 'cliff_time_lte', 'timed_in_epoch_ne', 'timed_epoch_end_exists', 'timed_weighting_nin', 'timed_epoch_end_ne', 'cliff_time_exists', 'cliff_time_gt', 'timed_weighting_lte', 'timed_weighting_in', 'cliff_time_gte', 'vesting_period_exists', 'untimed_slot_exists', 'cliff_time_ne', 'timed_weighting_exists', 'cliff_amount_exists', 'cliff_amount_in', 'vesting_period_gt', 'untimed_slot_lte', 'timed_weighting_lt', 'cliff_amount', 'untimed_slot_lt', 'untimed_slot_ne', 'initial_minimum_balance_gt', 'vesting_increment_ne', 'vesting_increment_in', 'vesting_period_ne', 'untimed_slot_nin', 'timed_in_epoch', 'initial_minimum_balance_ne', 'initial_minimum_balance_lte', 'timed_weighting_gte', 'vesting_period_in', 'cliff_amount_gt', 'cliff_time_in') - 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') + __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') - vesting_increment_lte = sgqlc.types.Field(Float, graphql_name='vesting_increment_lte') - 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 = sgqlc.types.Field(Float, graphql_name='timed_weighting') - untimed_slot_gt = sgqlc.types.Field(Int, graphql_name='untimed_slot_gt') + 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') - untimed_slot_gte = sgqlc.types.Field(Int, graphql_name='untimed_slot_gte') - timed_weighting_gt = sgqlc.types.Field(Float, graphql_name='timed_weighting_gt') - vesting_increment_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='vesting_increment_nin') - cliff_amount_ne = sgqlc.types.Field(Float, graphql_name='cliff_amount_ne') + 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') - cliff_time_lt = sgqlc.types.Field(Int, graphql_name='cliff_time_lt') - vesting_period_lt = sgqlc.types.Field(Int, graphql_name='vesting_period_lt') - timed_weighting_ne = sgqlc.types.Field(Float, graphql_name='timed_weighting_ne') - vesting_period = sgqlc.types.Field(Int, graphql_name='vesting_period') - vesting_period_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='vesting_period_nin') - vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') - vesting_increment_gt = sgqlc.types.Field(Float, graphql_name='vesting_increment_gt') - cliff_time = sgqlc.types.Field(Int, graphql_name='cliff_time') - timed_epoch_end = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end') - untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') - 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_in_epoch_exists = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_exists') - cliff_amount_lte = sgqlc.types.Field(Float, graphql_name='cliff_amount_lte') - initial_minimum_balance_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='initial_minimum_balance_nin') - cliff_time_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='cliff_time_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') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('StakeTimingQueryInput')), graphql_name='AND') - vesting_period_gte = sgqlc.types.Field(Int, graphql_name='vesting_period_gte') - vesting_increment_lt = sgqlc.types.Field(Float, graphql_name='vesting_increment_lt') - vesting_increment_gte = sgqlc.types.Field(Float, graphql_name='vesting_increment_gte') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') cliff_amount_lt = sgqlc.types.Field(Float, graphql_name='cliff_amount_lt') - vesting_period_lte = sgqlc.types.Field(Int, graphql_name='vesting_period_lte') + 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') - timed_in_epoch_ne = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_ne') - timed_epoch_end_exists = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end_exists') - timed_weighting_nin = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='timed_weighting_nin') + 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') - cliff_time_exists = sgqlc.types.Field(Boolean, graphql_name='cliff_time_exists') - cliff_time_gt = sgqlc.types.Field(Int, graphql_name='cliff_time_gt') - timed_weighting_lte = sgqlc.types.Field(Float, graphql_name='timed_weighting_lte') + 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') - cliff_time_gte = sgqlc.types.Field(Int, graphql_name='cliff_time_gte') - vesting_period_exists = sgqlc.types.Field(Boolean, graphql_name='vesting_period_exists') - untimed_slot_exists = sgqlc.types.Field(Boolean, graphql_name='untimed_slot_exists') - cliff_time_ne = sgqlc.types.Field(Int, graphql_name='cliff_time_ne') timed_weighting_exists = sgqlc.types.Field(Boolean, graphql_name='timed_weighting_exists') - cliff_amount_exists = sgqlc.types.Field(Boolean, graphql_name='cliff_amount_exists') - cliff_amount_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='cliff_amount_in') - vesting_period_gt = sgqlc.types.Field(Int, graphql_name='vesting_period_gt') - untimed_slot_lte = sgqlc.types.Field(Int, graphql_name='untimed_slot_lte') - timed_weighting_lt = sgqlc.types.Field(Float, graphql_name='timed_weighting_lt') + 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') - untimed_slot_lt = sgqlc.types.Field(Int, graphql_name='untimed_slot_lt') + 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') - initial_minimum_balance_gt = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_gt') - vesting_increment_ne = sgqlc.types.Field(Float, graphql_name='vesting_increment_ne') - vesting_increment_in = sgqlc.types.Field(sgqlc.types.list_of(Float), graphql_name='vesting_increment_in') - vesting_period_ne = sgqlc.types.Field(Int, graphql_name='vesting_period_ne') - untimed_slot_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='untimed_slot_nin') + 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') - initial_minimum_balance_ne = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_ne') - initial_minimum_balance_lte = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance_lte') + 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') - vesting_period_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='vesting_period_in') - cliff_amount_gt = sgqlc.types.Field(Float, graphql_name='cliff_amount_gt') - cliff_time_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='cliff_time_in') class StakeTimingUpdateInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('timed_in_epoch', 'timed_weighting_inc', 'cliff_amount_unset', 'initial_minimum_balance_unset', 'timed_epoch_end', 'cliff_time', 'initial_minimum_balance_inc', 'untimed_slot_unset', 'cliff_amount', 'timed_in_epoch_unset', 'untimed_slot', 'cliff_time_inc', 'untimed_slot_inc', 'vesting_increment_inc', 'timed_weighting_unset', 'vesting_increment', 'initial_minimum_balance', 'vesting_period', 'vesting_period_inc', 'vesting_increment_unset', 'vesting_period_unset', 'cliff_time_unset', 'timed_weighting', 'timed_epoch_end_unset', 'cliff_amount_inc') - timed_in_epoch = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch') - timed_weighting_inc = sgqlc.types.Field(Float, graphql_name='timed_weighting_inc') - cliff_amount_unset = sgqlc.types.Field(Boolean, graphql_name='cliff_amount_unset') - initial_minimum_balance_unset = sgqlc.types.Field(Boolean, graphql_name='initial_minimum_balance_unset') - timed_epoch_end = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end') + __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') - cliff_amount = sgqlc.types.Field(Float, graphql_name='cliff_amount') - timed_in_epoch_unset = sgqlc.types.Field(Boolean, graphql_name='timed_in_epoch_unset') - untimed_slot = sgqlc.types.Field(Int, graphql_name='untimed_slot') - cliff_time_inc = sgqlc.types.Field(Int, graphql_name='cliff_time_inc') + 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') - vesting_increment_inc = sgqlc.types.Field(Float, graphql_name='vesting_increment_inc') - timed_weighting_unset = sgqlc.types.Field(Boolean, graphql_name='timed_weighting_unset') - vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') - initial_minimum_balance = sgqlc.types.Field(Float, graphql_name='initial_minimum_balance') + 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_period_inc = sgqlc.types.Field(Int, graphql_name='vesting_period_inc') + vesting_increment = sgqlc.types.Field(Float, graphql_name='vesting_increment') 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_unset = sgqlc.types.Field(Boolean, graphql_name='cliff_time_unset') - timed_weighting = sgqlc.types.Field(Float, graphql_name='timed_weighting') - timed_epoch_end_unset = sgqlc.types.Field(Boolean, graphql_name='timed_epoch_end_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__ = ('delegate', 'token_unset', 'chain_id', 'balance_inc', 'receipt_chain_hash', 'epoch', 'timing_unset', 'public_key', 'ledger_hash', 'ledger_hash_unset', 'pk_unset', 'voting_for', 'delegate_unset', 'nonce_inc', 'token_inc', 'token', 'epoch_unset', 'timing', 'receipt_chain_hash_unset', 'nonce_unset', 'chain_id_unset', 'epoch_inc', 'permissions_unset', 'nonce', 'permissions', 'voting_for_unset', 'balance', 'pk', 'public_key_unset', 'balance_unset') - delegate = sgqlc.types.Field(String, graphql_name='delegate') - token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') - chain_id = sgqlc.types.Field(String, graphql_name='chainId') - balance_inc = sgqlc.types.Field(Float, graphql_name='balance_inc') + __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') - epoch = sgqlc.types.Field(Int, graphql_name='epoch') - timing_unset = sgqlc.types.Field(Boolean, graphql_name='timing_unset') - public_key = sgqlc.types.Field(String, graphql_name='public_key') + token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') ledger_hash = sgqlc.types.Field(String, graphql_name='ledgerHash') - ledger_hash_unset = sgqlc.types.Field(Boolean, graphql_name='ledgerHash_unset') - pk_unset = sgqlc.types.Field(Boolean, graphql_name='pk_unset') - voting_for = sgqlc.types.Field(String, graphql_name='voting_for') - delegate_unset = sgqlc.types.Field(Boolean, graphql_name='delegate_unset') - nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') - token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') - token = sgqlc.types.Field(Int, graphql_name='token') epoch_unset = sgqlc.types.Field(Boolean, graphql_name='epoch_unset') - timing = sgqlc.types.Field(StakeTimingUpdateInput, graphql_name='timing') - receipt_chain_hash_unset = sgqlc.types.Field(Boolean, graphql_name='receipt_chain_hash_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') - chain_id_unset = sgqlc.types.Field(Boolean, graphql_name='chainId_unset') - epoch_inc = sgqlc.types.Field(Int, graphql_name='epoch_inc') - permissions_unset = sgqlc.types.Field(Boolean, graphql_name='permissions_unset') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - permissions = sgqlc.types.Field(StakePermissionUpdateInput, graphql_name='permissions') + 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') - public_key_unset = sgqlc.types.Field(Boolean, graphql_name='public_key_unset') - balance_unset = sgqlc.types.Field(Boolean, graphql_name='balance_unset') + chain_id = sgqlc.types.Field(String, graphql_name='chainId') + delegate = sgqlc.types.Field(String, graphql_name='delegate') class TransactionBlockStateHashRelationInput(sgqlc.types.Input): @@ -1877,26 +2429,26 @@ class TransactionFeePayerInsertInput(sgqlc.types.Input): class TransactionFeePayerQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('token', 'token_gt', 'token_gte', 'token_in', 'or_', 'token_lt', 'token_lte', 'and_', 'token_exists', 'token_ne', 'token_nin') - token = sgqlc.types.Field(Int, graphql_name='token') - token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') + __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') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFeePayerQueryInput')), graphql_name='OR') + 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') - token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFeePayerQueryInput')), graphql_name='AND') - token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') - token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') 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', 'token_inc', 'token_unset') + __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') - token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') class TransactionFromAccountInsertInput(sgqlc.types.Input): @@ -1907,18 +2459,18 @@ class TransactionFromAccountInsertInput(sgqlc.types.Input): class TransactionFromAccountQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('token_lte', 'token_ne', 'and_', 'or_', 'token_exists', 'token_in', 'token_lt', 'token_gte', 'token_nin', 'token', 'token_gt') + __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_ne = sgqlc.types.Field(Int, graphql_name='token_ne') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFromAccountQueryInput')), graphql_name='AND') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionFromAccountQueryInput')), graphql_name='OR') - token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') - token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') - token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') 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): @@ -1931,180 +2483,180 @@ class TransactionFromAccountUpdateInput(sgqlc.types.Input): class TransactionInsertInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('to', 'is_delegation', 'nonce', 'source', 'to_account', 'token', 'fee_payer', 'from_account', 'fee', 'amount', 'failure_reason', 'date_time', 'kind', 'hash', 'block_height', 'memo', 'receiver', 'id', 'fee_token', 'canonical', 'block', 'from_') - to = sgqlc.types.Field(String, graphql_name='to') - is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') + __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') - to_account = sgqlc.types.Field('TransactionToAccountInsertInput', graphql_name='toAccount') token = sgqlc.types.Field(Int, graphql_name='token') - fee_payer = sgqlc.types.Field(TransactionFeePayerInsertInput, graphql_name='feePayer') + 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') - fee = sgqlc.types.Field(Long, graphql_name='fee') - amount = sgqlc.types.Field(Long, graphql_name='amount') - failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + 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_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - memo = sgqlc.types.Field(String, graphql_name='memo') - receiver = sgqlc.types.Field('TransactionReceiverInsertInput', graphql_name='receiver') - id = sgqlc.types.Field(String, graphql_name='id') + 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') - block = sgqlc.types.Field(TransactionBlockStateHashRelationInput, graphql_name='block') - from_ = sgqlc.types.Field(String, graphql_name='from') + 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__ = ('amount_gte', 'kind', 'fee_token_lt', 'token_ne', 'fee_token_ne', 'hash_lte', 'amount_in', 'fee_gt', 'kind_ne', 'to_account', 'memo_exists', 'fee_payer_exists', 'token_lt', 'hash_ne', 'amount_exists', 'fee_token_exists', 'to_lt', 'kind_lt', 'hash_nin', 'block_height_lt', 'token_exists', 'date_time_in', 'canonical', 'nonce', 'from_exists', 'canonical_exists', 'from_', 'from_ne', 'to_nin', 'nonce_lte', 'fee_token_gte', 'id_nin', 'amount', 'kind_lte', 'memo_lte', 'failure_reason_lt', 'kind_gt', 'id_gt', 'from_lt', 'receiver_exists', 'id_in', 'failure_reason_gte', 'kind_nin', 'from_gte', 'canonical_ne', 'token', 'nonce_exists', 'date_time_gte', 'kind_gte', 'fee_token', 'from_lte', 'is_delegation', 'block_height_lte', 'is_delegation_exists', 'to_in', 'date_time_lt', 'hash_in', 'fee_payer', 'from_gt', 'memo_gt', 'hash_exists', 'fee_lt', 'id_ne', 'amount_ne', 'block_exists', 'block_height_gt', 'hash_lt', 'failure_reason_nin', 'nonce_gt', 'is_delegation_ne', 'block_height_nin', 'to_ne', 'fee_lte', 'source_exists', 'date_time_lte', 'date_time', 'nonce_gte', 'from_account_exists', 'id_exists', 'fee_ne', 'failure_reason_ne', 'amount_gt', 'fee_token_gt', 'fee_exists', 'block_height', 'kind_in', 'fee_in', 'block_height_in', 'to_exists', 'date_time_gt', 'memo', 'block_height_ne', 'id_gte', 'amount_lte', 'id_lte', 'memo_in', 'to_gte', 'receiver', 'or_', 'date_time_exists', 'token_gte', 'kind_exists', 'token_nin', 'block', 'source', 'id', 'fee', 'fee_gte', 'hash_gte', 'amount_nin', 'amount_lt', 'id_lt', 'failure_reason_exists', 'and_', 'token_in', 'token_gt', 'hash', 'date_time_nin', 'nonce_ne', 'fee_token_lte', 'to_lte', 'token_lte', 'memo_gte', 'fee_nin', 'to', 'from_account', 'to_account_exists', 'failure_reason_in', 'memo_ne', 'nonce_in', 'block_height_exists', 'fee_token_in', 'failure_reason_lte', 'failure_reason', 'hash_gt', 'memo_nin', 'fee_token_nin', 'from_nin', 'from_in', 'nonce_lt', 'failure_reason_gt', 'memo_lt', 'to_gt', 'nonce_nin', 'block_height_gte', 'date_time_ne') - amount_gte = sgqlc.types.Field(Long, graphql_name='amount_gte') + __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') - fee_token_lt = sgqlc.types.Field(Int, graphql_name='feeToken_lt') - token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') - fee_token_ne = sgqlc.types.Field(Int, graphql_name='feeToken_ne') + 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') - amount_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='amount_in') - fee_gt = sgqlc.types.Field(Long, graphql_name='fee_gt') - kind_ne = sgqlc.types.Field(String, graphql_name='kind_ne') - to_account = sgqlc.types.Field('TransactionToAccountQueryInput', graphql_name='toAccount') - memo_exists = sgqlc.types.Field(Boolean, graphql_name='memo_exists') fee_payer_exists = sgqlc.types.Field(Boolean, graphql_name='feePayer_exists') - token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') - hash_ne = sgqlc.types.Field(String, graphql_name='hash_ne') - amount_exists = sgqlc.types.Field(Boolean, graphql_name='amount_exists') - fee_token_exists = sgqlc.types.Field(Boolean, graphql_name='feeToken_exists') - to_lt = sgqlc.types.Field(String, graphql_name='to_lt') + 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') - hash_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_nin') - block_height_lt = sgqlc.types.Field(Int, graphql_name='blockHeight_lt') - token_exists = sgqlc.types.Field(Boolean, graphql_name='token_exists') - date_time_in = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_in') + 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') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - from_exists = sgqlc.types.Field(Boolean, graphql_name='from_exists') - canonical_exists = sgqlc.types.Field(Boolean, graphql_name='canonical_exists') - from_ = sgqlc.types.Field(String, graphql_name='from') - from_ne = sgqlc.types.Field(String, graphql_name='from_ne') - to_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_nin') - nonce_lte = sgqlc.types.Field(Int, graphql_name='nonce_lte') - fee_token_gte = sgqlc.types.Field(Int, graphql_name='feeToken_gte') - id_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_nin') - amount = sgqlc.types.Field(Long, graphql_name='amount') + 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') - memo_lte = sgqlc.types.Field(String, graphql_name='memo_lte') - failure_reason_lt = sgqlc.types.Field(String, graphql_name='failureReason_lt') - kind_gt = sgqlc.types.Field(String, graphql_name='kind_gt') - id_gt = sgqlc.types.Field(String, graphql_name='id_gt') - from_lt = sgqlc.types.Field(String, graphql_name='from_lt') - receiver_exists = sgqlc.types.Field(Boolean, graphql_name='receiver_exists') - id_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='id_in') - failure_reason_gte = sgqlc.types.Field(String, graphql_name='failureReason_gte') + 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') - from_gte = sgqlc.types.Field(String, graphql_name='from_gte') - canonical_ne = sgqlc.types.Field(Boolean, graphql_name='canonical_ne') - token = sgqlc.types.Field(Int, graphql_name='token') - nonce_exists = sgqlc.types.Field(Boolean, graphql_name='nonce_exists') date_time_gte = sgqlc.types.Field(DateTime, graphql_name='dateTime_gte') - kind_gte = sgqlc.types.Field(String, graphql_name='kind_gte') - fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') - from_lte = sgqlc.types.Field(String, graphql_name='from_lte') - is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') - block_height_lte = sgqlc.types.Field(Int, graphql_name='blockHeight_lte') - is_delegation_exists = sgqlc.types.Field(Boolean, graphql_name='isDelegation_exists') - to_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='to_in') - date_time_lt = sgqlc.types.Field(DateTime, graphql_name='dateTime_lt') - hash_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='hash_in') - fee_payer = sgqlc.types.Field(TransactionFeePayerQueryInput, graphql_name='feePayer') - from_gt = sgqlc.types.Field(String, graphql_name='from_gt') - memo_gt = sgqlc.types.Field(String, graphql_name='memo_gt') - hash_exists = sgqlc.types.Field(Boolean, graphql_name='hash_exists') - fee_lt = sgqlc.types.Field(Long, graphql_name='fee_lt') - id_ne = sgqlc.types.Field(String, graphql_name='id_ne') - amount_ne = sgqlc.types.Field(Long, graphql_name='amount_ne') - block_exists = sgqlc.types.Field(Boolean, graphql_name='block_exists') - block_height_gt = sgqlc.types.Field(Int, graphql_name='blockHeight_gt') - hash_lt = sgqlc.types.Field(String, graphql_name='hash_lt') - failure_reason_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_nin') - nonce_gt = sgqlc.types.Field(Int, graphql_name='nonce_gt') + 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') - block_height_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='blockHeight_nin') - to_ne = sgqlc.types.Field(String, graphql_name='to_ne') - fee_lte = sgqlc.types.Field(Long, graphql_name='fee_lte') - source_exists = sgqlc.types.Field(Boolean, graphql_name='source_exists') - date_time_lte = sgqlc.types.Field(DateTime, graphql_name='dateTime_lte') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') - nonce_gte = sgqlc.types.Field(Int, graphql_name='nonce_gte') - from_account_exists = sgqlc.types.Field(Boolean, graphql_name='fromAccount_exists') + 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_ne = sgqlc.types.Field(Long, graphql_name='fee_ne') - failure_reason_ne = sgqlc.types.Field(String, graphql_name='failureReason_ne') - amount_gt = sgqlc.types.Field(Long, graphql_name='amount_gt') fee_token_gt = sgqlc.types.Field(Int, graphql_name='feeToken_gt') - fee_exists = sgqlc.types.Field(Boolean, graphql_name='fee_exists') - block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - kind_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='kind_in') - fee_in = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_in') + 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') - to_exists = sgqlc.types.Field(Boolean, graphql_name='to_exists') + 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') - memo = sgqlc.types.Field(String, graphql_name='memo') - block_height_ne = sgqlc.types.Field(Int, graphql_name='blockHeight_ne') - id_gte = sgqlc.types.Field(String, graphql_name='id_gte') - amount_lte = sgqlc.types.Field(Long, graphql_name='amount_lte') - id_lte = sgqlc.types.Field(String, graphql_name='id_lte') - memo_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_in') - to_gte = sgqlc.types.Field(String, graphql_name='to_gte') - receiver = sgqlc.types.Field('TransactionReceiverQueryInput', graphql_name='receiver') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionQueryInput')), graphql_name='OR') + 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') - token_gte = sgqlc.types.Field(Int, graphql_name='token_gte') - kind_exists = sgqlc.types.Field(Boolean, graphql_name='kind_exists') - token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_nin') - block = sgqlc.types.Field(BlockQueryInput, graphql_name='block') - source = sgqlc.types.Field('TransactionSourceQueryInput', graphql_name='source') + 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') - fee = sgqlc.types.Field(Long, graphql_name='fee') - fee_gte = sgqlc.types.Field(Long, graphql_name='fee_gte') + 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') - amount_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='amount_nin') - amount_lt = sgqlc.types.Field(Long, graphql_name='amount_lt') - id_lt = sgqlc.types.Field(String, graphql_name='id_lt') - failure_reason_exists = sgqlc.types.Field(Boolean, graphql_name='failureReason_exists') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionQueryInput')), graphql_name='AND') - token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='token_in') - token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') + memo_gt = sgqlc.types.Field(String, graphql_name='memo_gt') hash = sgqlc.types.Field(String, graphql_name='hash') - date_time_nin = sgqlc.types.Field(sgqlc.types.list_of(DateTime), graphql_name='dateTime_nin') - nonce_ne = sgqlc.types.Field(Int, graphql_name='nonce_ne') - fee_token_lte = sgqlc.types.Field(Int, graphql_name='feeToken_lte') - to_lte = sgqlc.types.Field(String, graphql_name='to_lte') - token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') - memo_gte = sgqlc.types.Field(String, graphql_name='memo_gte') - fee_nin = sgqlc.types.Field(sgqlc.types.list_of(Long), graphql_name='fee_nin') - to = sgqlc.types.Field(String, graphql_name='to') - from_account = sgqlc.types.Field(TransactionFromAccountQueryInput, graphql_name='fromAccount') - to_account_exists = sgqlc.types.Field(Boolean, graphql_name='toAccount_exists') - failure_reason_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='failureReason_in') - memo_ne = sgqlc.types.Field(String, graphql_name='memo_ne') - nonce_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_in') - block_height_exists = sgqlc.types.Field(Boolean, graphql_name='blockHeight_exists') - fee_token_in = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_in') - failure_reason_lte = sgqlc.types.Field(String, graphql_name='failureReason_lte') - failure_reason = sgqlc.types.Field(String, graphql_name='failureReason') - hash_gt = sgqlc.types.Field(String, graphql_name='hash_gt') - memo_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='memo_nin') - fee_token_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='feeToken_nin') + 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') - nonce_lt = sgqlc.types.Field(Int, graphql_name='nonce_lt') - failure_reason_gt = sgqlc.types.Field(String, graphql_name='failureReason_gt') - memo_lt = sgqlc.types.Field(String, graphql_name='memo_lt') - to_gt = sgqlc.types.Field(String, graphql_name='to_gt') - nonce_nin = sgqlc.types.Field(sgqlc.types.list_of(Int), graphql_name='nonce_nin') + 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): @@ -2115,18 +2667,18 @@ class TransactionReceiverInsertInput(sgqlc.types.Input): class TransactionReceiverQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('public_key_exists', 'public_key', 'public_key_gte', 'public_key_lt', 'public_key_gt', 'public_key_lte', 'public_key_nin', 'or_', 'public_key_in', 'and_', 'public_key_ne') - public_key_exists = sgqlc.types.Field(Boolean, graphql_name='publicKey_exists') + __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') - public_key_lt = sgqlc.types.Field(String, graphql_name='publicKey_lt') + 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') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionReceiverQueryInput')), graphql_name='OR') - public_key_in = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_in') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionReceiverQueryInput')), graphql_name='AND') 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): @@ -2144,17 +2696,17 @@ class TransactionSourceInsertInput(sgqlc.types.Input): class TransactionSourceQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('and_', 'public_key_gt', 'public_key_lte', 'public_key_ne', 'or_', 'public_key_nin', 'public_key_lt', 'public_key_in', 'public_key_gte', 'public_key', 'public_key_exists') - and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionSourceQueryInput')), graphql_name='AND') - public_key_gt = sgqlc.types.Field(String, graphql_name='publicKey_gt') - public_key_lte = sgqlc.types.Field(String, graphql_name='publicKey_lte') - public_key_ne = sgqlc.types.Field(String, graphql_name='publicKey_ne') + __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_nin = sgqlc.types.Field(sgqlc.types.list_of(String), graphql_name='publicKey_nin') + 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') @@ -2173,79 +2725,81 @@ class TransactionToAccountInsertInput(sgqlc.types.Input): class TransactionToAccountQueryInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('or_', 'token_ne', 'token', 'token_exists', 'token_gte', 'token_lt', 'token_in', 'token_nin', 'token_gt', 'and_', 'token_lte') - or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionToAccountQueryInput')), graphql_name='OR') - token_ne = sgqlc.types.Field(Int, graphql_name='token_ne') + __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_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') + 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') - token_gt = sgqlc.types.Field(Int, graphql_name='token_gt') and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('TransactionToAccountQueryInput')), graphql_name='AND') - token_lte = sgqlc.types.Field(Int, graphql_name='token_lte') + token_lt = sgqlc.types.Field(Int, graphql_name='token_lt') class TransactionToAccountUpdateInput(sgqlc.types.Input): __schema__ = mina_explorer_schema - __field_names__ = ('token', 'token_inc', 'token_unset') - token = sgqlc.types.Field(Int, graphql_name='token') + __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__ = ('receiver', 'fee_token', 'kind_unset', 'nonce_inc', 'block', 'fee_token_inc', 'block_height_inc', 'memo', 'memo_unset', 'canonical', 'from_', 'source', 'nonce', 'to_account_unset', 'fee_payer_unset', 'hash', 'kind', 'block_height', 'from_unset', 'is_delegation_unset', 'to_account', 'canonical_unset', 'date_time_unset', 'fee_token_unset', 'token', 'fee_payer', 'from_account', 'fee_unset', 'amount_unset', 'nonce_unset', 'to', 'to_unset', 'source_unset', 'block_height_unset', 'is_delegation', 'id', 'hash_unset', 'amount', 'token_unset', 'fee', 'failure_reason_unset', 'id_unset', 'token_inc', 'from_account_unset', 'receiver_unset', 'block_unset', 'failure_reason', 'date_time') - receiver = sgqlc.types.Field(TransactionReceiverUpdateInput, graphql_name='receiver') - fee_token = sgqlc.types.Field(Int, graphql_name='feeToken') - kind_unset = sgqlc.types.Field(Boolean, graphql_name='kind_unset') - nonce_inc = sgqlc.types.Field(Int, graphql_name='nonce_inc') - block = sgqlc.types.Field(TransactionBlockStateHashRelationInput, graphql_name='block') - fee_token_inc = sgqlc.types.Field(Int, graphql_name='feeToken_inc') - block_height_inc = sgqlc.types.Field(Int, graphql_name='blockHeight_inc') - memo = sgqlc.types.Field(String, graphql_name='memo') - memo_unset = sgqlc.types.Field(Boolean, graphql_name='memo_unset') + __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') - from_ = sgqlc.types.Field(String, graphql_name='from') - source = sgqlc.types.Field(TransactionSourceUpdateInput, graphql_name='source') - nonce = sgqlc.types.Field(Int, graphql_name='nonce') - to_account_unset = sgqlc.types.Field(Boolean, graphql_name='toAccount_unset') - fee_payer_unset = sgqlc.types.Field(Boolean, graphql_name='feePayer_unset') - hash = sgqlc.types.Field(String, graphql_name='hash') - kind = sgqlc.types.Field(String, graphql_name='kind') + date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') block_height = sgqlc.types.Field(Int, graphql_name='blockHeight') - from_unset = sgqlc.types.Field(Boolean, graphql_name='from_unset') - is_delegation_unset = sgqlc.types.Field(Boolean, graphql_name='isDelegation_unset') - to_account = sgqlc.types.Field(TransactionToAccountUpdateInput, graphql_name='toAccount') + 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') - fee_token_unset = sgqlc.types.Field(Boolean, graphql_name='feeToken_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') - fee_payer = sgqlc.types.Field(TransactionFeePayerUpdateInput, graphql_name='feePayer') - from_account = sgqlc.types.Field(TransactionFromAccountUpdateInput, graphql_name='fromAccount') - fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') + 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') - nonce_unset = sgqlc.types.Field(Boolean, graphql_name='nonce_unset') - to = sgqlc.types.Field(String, graphql_name='to') - to_unset = sgqlc.types.Field(Boolean, graphql_name='to_unset') - source_unset = sgqlc.types.Field(Boolean, graphql_name='source_unset') - block_height_unset = sgqlc.types.Field(Boolean, graphql_name='blockHeight_unset') is_delegation = sgqlc.types.Field(Boolean, graphql_name='isDelegation') - id = sgqlc.types.Field(String, graphql_name='id') + fee_unset = sgqlc.types.Field(Boolean, graphql_name='fee_unset') hash_unset = sgqlc.types.Field(Boolean, graphql_name='hash_unset') - amount = sgqlc.types.Field(Long, graphql_name='amount') - token_unset = sgqlc.types.Field(Boolean, graphql_name='token_unset') - fee = sgqlc.types.Field(Long, graphql_name='fee') - failure_reason_unset = sgqlc.types.Field(Boolean, graphql_name='failureReason_unset') - id_unset = sgqlc.types.Field(Boolean, graphql_name='id_unset') - token_inc = sgqlc.types.Field(Int, graphql_name='token_inc') - from_account_unset = sgqlc.types.Field(Boolean, graphql_name='fromAccount_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') - block_unset = sgqlc.types.Field(Boolean, graphql_name='block_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') - date_time = sgqlc.types.Field(DateTime, graphql_name='dateTime') + 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') @@ -2325,7 +2879,7 @@ 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(Long, graphql_name='totalCurrency') + total_currency = sgqlc.types.Field(Float, graphql_name='totalCurrency') class BlockProtocolStateConsensusStateStakingEpochDatum(sgqlc.types.Type): @@ -2382,12 +2936,12 @@ class BlockTransactionFeeTransfer(sgqlc.types.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(Int, graphql_name='amount') + 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(Int, graphql_name='fee') + 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') @@ -2474,9 +3028,17 @@ class InsertManyPayload(sgqlc.types.Type): class Mutation(sgqlc.types.Type): __schema__ = mina_explorer_schema - __field_names__ = ('delete_many_blocks', 'delete_many_snarks', 'delete_many_stakes', 'delete_many_transactions', 'delete_one_block', 'delete_one_snark', 'delete_one_stake', 'delete_one_transaction', 'insert_many_blocks', 'insert_many_snarks', 'insert_many_stakes', 'insert_many_transactions', 'insert_one_block', 'insert_one_snark', 'insert_one_stake', 'insert_one_transaction', 'replace_one_block', 'replace_one_snark', 'replace_one_stake', 'replace_one_transaction', 'update_many_blocks', 'update_many_snarks', 'update_many_stakes', 'update_many_transactions', 'update_one_block', 'update_one_snark', 'update_one_stake', 'update_one_transaction', 'upsert_one_block', 'upsert_one_snark', 'upsert_one_stake', 'upsert_one_transaction') + __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(( @@ -2493,6 +3055,14 @@ class Mutation(sgqlc.types.Type): ) 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(( @@ -2509,6 +3079,14 @@ class Mutation(sgqlc.types.Type): ) 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(( @@ -2525,6 +3103,14 @@ class Mutation(sgqlc.types.Type): ) 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(( @@ -2542,6 +3128,16 @@ class Mutation(sgqlc.types.Type): 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(( @@ -2555,18 +3151,28 @@ class Mutation(sgqlc.types.Type): )) ) replace_one_transaction = sgqlc.types.Field('Transaction', graphql_name='replaceOneTransaction', args=sgqlc.types.ArgDict(( - ('data', sgqlc.types.Arg(sgqlc.types.non_null(TransactionInsertInput), graphql_name='data', default=None)), ('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(( - ('set', sgqlc.types.Arg(sgqlc.types.non_null(SnarkUpdateInput), graphql_name='set', default=None)), ('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(( @@ -2582,6 +3188,16 @@ class Mutation(sgqlc.types.Type): 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(( @@ -2600,8 +3216,18 @@ class Mutation(sgqlc.types.Type): )) ) upsert_one_block = sgqlc.types.Field(Block, graphql_name='upsertOneBlock', 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)), + ('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(( @@ -2610,28 +3236,116 @@ class Mutation(sgqlc.types.Type): )) ) upsert_one_stake = sgqlc.types.Field('Stake', graphql_name='upsertOneStake', 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)), + ('query', sgqlc.types.Arg(StakeQueryInput, graphql_name='query', default=None)), )) ) upsert_one_transaction = sgqlc.types.Field('Transaction', graphql_name='upsertOneTransaction', args=sgqlc.types.ArgDict(( - ('data', sgqlc.types.Arg(sgqlc.types.non_null(TransactionInsertInput), graphql_name='data', default=None)), ('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', 'snark', 'snarks', 'stake', 'stakes', 'transaction', 'transactions') + __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(( - ('query', sgqlc.types.Arg(BlockQueryInput, graphql_name='query', default=None)), ('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(( @@ -2725,13 +3439,13 @@ class StakeTiming(sgqlc.types.Type): 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(Long, graphql_name='amount') + 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(Long, graphql_name='fee') + 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') diff --git a/setup.py b/setup.py index da0bc71..9ba4614 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from __future__ import with_statement try: - from setuptools import setup + from setuptools import setup, find_packages except ImportError: from distutils.core import setup @@ -12,7 +12,7 @@ setup( name="MinaClient", - version="0.0.14", + 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", @@ -24,6 +24,7 @@ extras_require={"test": tests_require, "pytest": ["pytest"]}, tests_require=tests_require, long_description=open("README.md").read(), + packages=find_packages(), classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", From 50e70c85083b1fc81037fb9ef949d5a1c1fbc6c4 Mon Sep 17 00:00:00 2001 From: Jan Backes Date: Wed, 19 Jan 2022 11:17:31 +0000 Subject: [PATCH 25/25] no message --- mina_schemas/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 mina_schemas/__init__.py diff --git a/mina_schemas/__init__.py b/mina_schemas/__init__.py new file mode 100644 index 0000000..e69de29