Created
November 6, 2018 16:28
-
-
Save satran004/4829d8476c2724ae2ad7256f02c91804 to your computer and use it in GitHub Desktop.
AION GraphQL - Get Blocks
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
BLOCKS_QUERY: string = ` | |
query blocks($first: Long) { | |
blockApi { | |
blocks(first: $first) { | |
number | |
hash | |
parentHash | |
nrgLimit | |
nrgConsumed | |
timestamp | |
txDetails { | |
from | |
to | |
value | |
txHash | |
} | |
} | |
} | |
} | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment