Created
May 22, 2019 20:13
-
-
Save emailnjv/93cd01194fbe52875a3b7f947b39f2bf to your computer and use it in GitHub Desktop.
This file contains 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
query Addresses($providerAddress: String) { | |
Addresses(where: {address: {_eq: $providerAddress}}) { | |
Provider { | |
provider_name | |
logo | |
location | |
union_score | |
social: Socials(limit: 1, order_by: {created_at: desc}) { | |
blog | |
discord | |
github | |
gitlab | |
medium | |
slack | |
website | |
} | |
arkProviderData: ARK_Provider_Data(limit: 1, order_by: {created_at: desc}) { | |
provider_name | |
address | |
ark_rank | |
efficiency | |
apr | |
missed_blocks | |
number_of_delegators | |
produced_blocks | |
reward_payout | |
special_offers | |
token_balance | |
overall_stake | |
} | |
lptProviderData: LPT_Provider_Data(limit: 1, order_by: {created_at: desc}) { | |
provider_name | |
address | |
apr | |
inflation_fee | |
overall_stake | |
price_per_segment | |
transcoding_fee | |
special_offers | |
status | |
token_balance | |
fee | |
} | |
xtzProviderData: XTZ_Provider_Data(limit: 1, order_by: {created_at: desc}) { | |
provider_name | |
address | |
capacity | |
efficiency | |
apr | |
fee | |
number_of_delegators | |
overall_stake | |
special_offers | |
staking_since | |
} | |
atomProviderData: ATOM_Provider_Data(limit: 1, order_by: {created_at: desc}) { | |
address | |
apr | |
fee | |
number_of_delegators | |
overall_stake | |
voting_power | |
uptime | |
token_balance | |
} | |
providersToTokens: Providers_to_Tokens { | |
tokensByName: Token { | |
symbol | |
token_name | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment