Skip to content

Instantly share code, notes, and snippets.

@stonegao
Forked from buddies2705/NewlyCreatedTokenQuery.ql
Created September 22, 2021 11:47
Show Gist options
  • Save stonegao/e8bb89593a6704868d6ed39bd0dd1477 to your computer and use it in GitHub Desktop.
Save stonegao/e8bb89593a6704868d6ed39bd0dd1477 to your computer and use it in GitHub Desktop.
GraphQL API to get the newly created Ethereum Tokens
{
ethereum {
smartContractCalls(options: {desc: "block.height", limit: 10}, smartContractMethod: {is: "Contract Creation"}, smartContractType: {is: Token}) {
block {
height
timestamp {
time
}
}
smartContract {
contractType
address {
address
annotation
}
currency {
name
symbol
decimals
tokenType
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment