This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script determines which accounts have satisfied the Foundation requirements | |
from gql import gql, Client | |
from gql.transport.aiohttp import AIOHTTPTransport | |
from tabulate import tabulate | |
# Select your transport with a defined url endpoint | |
transport = AIOHTTPTransport(url="https://graphql.minaexplorer.com") | |
# Create a GraphQL client using the defined transport | |
client = Client(transport=transport, fetch_schema_from_transport=True) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+---------------------------------------------------------+-------------------+---------------------------------------------------------+--------------------+-----------+------------+---------------------------------------------------------+--------------+------+ | |
| publicKey | balance | delegate | delegationTotal | blocksWon | payout | coinbaseReceiver | receiverSame | paid | | |
+---------------------------------------------------------+-------------------+---------------------------------------------------------+--------------------+-----------+------------+---------------------------------------------------------+--------------+------+ | |
| B62qjWrka3sHmyX9E3LLk7DYwTkD3xpVxJVWeC1jWesvUCw98jzwLEb | 998358.556781594 | B62qmvuzJ1q3FcPSvYMYMeBhYt9H9FLZCW5Kyioi7jiSzy2z39SSyC2 | 4329508.416582901 | 26 | 4100.88326 | B62qmvuzJ1q3FcPSvYMYMeBhYt9H9FLZCW5Kyioi7jiSzy2z |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script replicates the Granola dashboard | |
from gql import gql, Client | |
from gql.transport.aiohttp import AIOHTTPTransport | |
# Select your transport with a defined url endpoint | |
transport = AIOHTTPTransport(url="https://graphql.minaexplorer.com") | |
# Create a GraphQL client using the defined transport | |
client = Client(transport=transport, fetch_schema_from_transport=True) |
OlderNewer